From: hawk at pld-linux dot org Operating system: PLD Linux 2.0 PHP version: 5.1.4 PHP Bug Type: Reproducible crash Bug description: CLI segmentation faults during cleanup (only with sybase-ct extension enabled)
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 bug report at http://bugs.php.net/?id=37499&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37499&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37499&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37499&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37499&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37499&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37499&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37499&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37499&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37499&r=support Expected behavior: http://bugs.php.net/fix.php?id=37499&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37499&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37499&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37499&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37499&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37499&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37499&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37499&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37499&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37499&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37499&r=mysqlcfg