#37499 [Opn->Csd]: CLI segmentation faults during cleanup (only with sybase-ct extension enabled)
| From: | tony2001@php.net | Date: | Wed, 24 May 2006 20:22:44 +0000 |
| Subject: | #37499 [Opn->Csd]: CLI segmentation faults during cleanup (only with sybase-ct extension enabled) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-97542@lists.php.net to get a copy of this message | ||
ID: 37499
Updated by: tony2001@php.net
Reported By: hawk at pld-linux dot org
-Status: Open
+Status: Closed
Bug Type: Sybase-ct (ctlib) related
Operating System: PLD Linux 2.0
PHP Version: 5.1.4
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2006-05-18 14:15:17] hawk at pld-linux dot org
Reproduce code of course was /usr/bin/php -r 'print "Hello world";'
------------------------------------------------------------------------
[2006-05-18 14:13:02] hawk at pld-linux dot org
Description:
------------
CLI segfaults exactly the same way as was described in bug #34725 but
only when sybase-ct extension is enabled.
PLD Linux 2.0, php 5.1.4, default PLD packages, sybase-ct is compiled
as shared.
Reproduce code:
---------------
/usr/bin/php -r '"Hello world";'
Expected result:
----------------
Displays "Hello World" as it should but also reports segmentation
fault.
Actual result:
--------------
(gdb) run
Starting program: /usr/bin/php -r 'print "Hello World";'
Hello World
Program received signal SIGSEGV, Segmentation fault.
0x4fccba80 in ?? ()
(gdb) bt
#0 0x4fccba80 in ?? ()
#1 0x4fb920d1 in tsrm_shutdown () at
/home/users/hawk/rpm/BUILD/php-5.1.4/TSRM/TSRM.c:180
#2 0x0804ad94 in main (argc=3, argv=0xbffff004) at
/home/users/hawk/rpm/BUILD/php-5.1.4/sapi/cli/php_cli.c:1255
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37499&edit=1