#40898 [Opn->Csd]: MySQLi segfaults during module initialization
| From: | tony2001@php.net | Date: | Fri, 23 Mar 2007 08:21:18 +0000 |
| Subject: | #40898 [Opn->Csd]: MySQLi segfaults during module initialization | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-110713@lists.php.net to get a copy of this message | ||
ID: 40898
Updated by: tony2001@php.net
Reported By: demiurg at gmail dot com
-Status: Open
+Status: Closed
Bug Type: MySQLi related
Operating System: Linux i686
PHP Version: 6CVS-2007-03-23 (CVS)
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:
------------------------------------------------------------------------
[2007-03-23 00:41:57] demiurg at gmail dot com
Description:
------------
Please, delete the extra STANDARD_MODULE_HEADER line at
ext/mysqli/mysqli.c:442
Reproduce code:
---------------
# sapi/cli/php -m
Segmentation fault
(gdb) bt
#0 0xb68474c3 in strlen () from /lib/libc.so.6
#1 0x083a0546 in zend_register_module_ex (module=0x85e19c0) at
Zend/zend_API.c:1923
#2 0x0834ba8c in php_register_extensions (ptr=0x85fe7a4, count=54) at
main/main.c:1531
#3 0x0842689b in php_register_internal_extensions () at
main/internal_functions_cli.c:149
#4 0x0834ca4b in php_module_startup (sf=0x85fe600,
additional_modules=0x0, num_additional_modules=0)
at main/main.c:1749
#5 0x08423dbd in php_cli_startup (sapi_module=0x85fe600) at
sapi/cli/php_cli.c:341
#6 0x0842454c in main (argc=2, argv=0xbfca8f14) at
sapi/cli/php_cli.c:719
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40898&edit=1