Bug #69716 [NEW]: segfault when enabled mysqli.so module
| From: | xiangzhai83 at gmail dot com | Date: | Thu, 28 May 2015 06:18:06 +0000 |
| Subject: | Bug #69716 [NEW]: segfault when enabled mysqli.so module | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-192950@lists.php.net to get a copy of this message | ||
From: xiangzhai83 at gmail dot com
Operating system: ArchLinux
PHP version: master-Git-2015-05-28 (Git)
Package: MySQLi related
Bug Type: Bug
Bug description:segfault when enabled mysqli.so module
Description:
------------
$ gdb php
$ r -v
...
Program received signal SIGSEGV, Segmentation fault.
zend_startup_module_ex (module=0x0) at
/data/project/php/php-src/Zend/zend_API.c:1818
1818 if (module->module_started) {
$ print
$1 = (zend_module_entry *) 0x0
so zend_module_entry* module is a NULL ptr.
when disabled mysqli.so module, then php -v is ok.
gcc 5.1.1
ArchLinux 4.0.4-2-ARCH ... x86_64 GNU/Linux
libmariadbclient 10.0.18
my configure argument is almost like ArchLinux`s PKGBUILD
https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/php#n61
Regards,
Leslie Zhai
--
Edit bug report at https://bugs.php.net/bug.php?id=69716&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69716&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69716&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69716&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=69716&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=69716&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=69716&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=69716&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=69716&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=69716&r=support
Expected behavior: https://bugs.php.net/fix.php?id=69716&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=69716&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=69716&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=69716&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69716&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=69716&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=69716&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=69716&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=69716&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=69716&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=69716&r=mysqlcfg