php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20060 PHP crash
Submitted: 2002-10-24 09:19 UTC Modified: 2002-10-24 13:02 UTC
From: se at e-kazan dot ru Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.3.0-pre1 OS: RedHat 8.0.
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: se at e-kazan dot ru
New email:
PHP Version: OS:

 

 [2002-10-24 09:19 UTC] se at e-kazan dot ru
PHP 4.3.0pre1 & Apache 2.0.43 crashes:

[root@x bin]# gdb httpd
GNU gdb Red Hat Linux (5.2.1-4)
...skipped...
(gdb) run -k start
Starting program: /usr/local/apache/bin/httpd -k start
[New Thread 8192 (LWP 1741)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 8192 (LWP 1741)]
0x40464d40 in free () from /usr/lib/libdmalloc.so

PHP was compiled with:

./configure --with-mod_charset=yes --with-msql --with-mysql --with-pgsql --with-zlib --with-imap=/usr/src/imap-2002.RC8 --with-apxs2=/usr/local/apache/bin/apxs --with-gd --with-jpeg-dir=../jpeg-6b/ --with-png-dir=../libpng/ --with-freetype-dir=../freetype2-current --enable-gd-native-ttf --enable-dmalloc

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-24 09:26 UTC] derick@php.net
Please do not compile with dmalloc, enable Zend debugging (--enable-debug) and enter "bt" to get a backtrace from GDB.

regards,
Derick
 [2002-10-24 09:32 UTC] se at e-kazan dot ru
W/o dmalloc PHP starts properly. Are U sure that I should compile without 'dmalloc' module?
 [2002-10-24 09:35 UTC] derick@php.net
Definitely, it's not really useful to compile it into PHP.

Derick
 [2002-10-24 09:38 UTC] se at e-kazan dot ru
Okay. I'll compile PHP without.
 [2002-10-24 09:39 UTC] derick@php.net
Back to feedback status
 [2002-10-24 09:39 UTC] se at e-kazan dot ru
Thanx for your help. :)
 [2002-10-24 09:59 UTC] se at e-kazan dot ru
I have compiled. 5 tests were failed.

FAIL gdimagefill() function (Bug #19366 (in bundled libgd)) [ext/gd/tests/bug19266.phpt]
FAIL User-space streams [ext/standard/tests/file/userstreams.phpt]
FAIL implode() function [ext/standard/tests/strings/implode.phpt]
FAIL xml_parse_into_struct/umlauts in tags [ext/xml/tests/007.phpt]
FAIL System commands tests [pear/tests/pear_system.phpt]

W/o this key (--enable-debug) PHP have failed only 3 tests.

I have started 'gbd' with PHP with '--enable-debug' and w/o '--enable-dmalloc' and got next result:

--------------------------------------

(gdb) [root@burg bin]# gdb httpd 
GNU gdb Red Hat Linux (5.2.1-4)
...skipped...
(gdb) run -k start
Starting program: /usr/local/apache/bin/httpd -k start
[New Thread 8192 (LWP 21488)]
Program exited normally.
(gdb) bt
No stack.
(gdb) quit
--------------------------------------
 [2002-10-24 13:02 UTC] sniper@php.net
Most of these are fixed in CVS. Please don't add anymore comments to this report. (and use the latest CVS snaphots instead of the outdated 4.3.0-pre1)

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jul 01 20:01:31 2024 UTC