|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37499 CLI segmentation faults during cleanup (only with sybase-ct extension enabled)
Submitted: 2006-05-18 14:13 UTC Modified: 2006-05-24 20:22 UTC
From: hawk at pld-linux dot org Assigned:
Status: Closed Package: Sybase-ct (ctlib) related
PHP Version: 5.1.4 OS: PLD Linux 2.0
Private report: No CVE-ID:
 [2006-05-18 14:13 UTC] hawk at pld-linux dot org
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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-18 14:15 UTC] hawk at pld-linux dot org
Reproduce code of course was /usr/bin/php -r 'print "Hello world";'
 [2006-05-24 20:22 UTC]
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
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2015 The PHP Group
All rights reserved.
Last updated: Wed Nov 25 04:01:33 2015 UTC