php.net |  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: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: hawk at pld-linux dot org
New email:
PHP Version: OS:

 

 [2006-05-18 14:13 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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] tony2001@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 09:01:28 2024 UTC