#47829 [NoF->Fbk]: Segmentation fault on startup with PDO Firebird compiled in
| From: | felipe@php.net | Date: | Tue, 15 Dec 2009 00:50:32 +0000 |
| Subject: | #47829 [NoF->Fbk]: Segmentation fault on startup with PDO Firebird compiled in | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-145734@lists.php.net to get a copy of this message | ||
ID: 47829
Updated by: felipe@php.net
Reported By: info at programmiernutte dot net
-Status: No Feedback
+Status: Feedback
Bug Type: PDO related
Operating System: Debian Etch x86_64
PHP Version: 5.3.0RC1
New Comment:
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
Previous Comments:
------------------------------------------------------------------------
[2009-11-20 01:00:01] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2009-11-13 00:41:17] felipe@php.net
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2009-09-03 20:53:35] kuzvesov at list dot ru
I have this bug in the following 32-bit configuration, both using
ibase_* functions and PDO extension, php CLI.
Configuration:
uname:
FreeBSD dbserv 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52
UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
i386
pkg_info:
firebird-client-2.0.3_2 Firebird-2 database client
firebird-server-2.0.3_2 Firebird-2 relational database (server)
php5-5.2.6_2 PHP Scripting Language
php5-interbase-5.2.6_2 The interbase shared extension for php
php5-pdo-5.2.6_2 The pdo shared extension for php
php5-pdo_firebird-5.2.6_2 The pdo_firebird shared extension for php
After moving to FreeBSD 7.2 amd64, php 5.2.9, the bug is still there.
------------------------------------------------------------------------
[2009-05-01 07:29:53] info at programmiernutte dot net
Same thing:
localhost:~/php5.2-200905010630/sapi/cli# ./php
Segmentation fault
gdb trace:
(gdb) run
Starting program: /root/php5.2-200905010630/sapi/cli/php
warning: no loadable sections found in added symbol-file system-
supplied DSO at 0x7ffff79fe000
[Thread debugging using libthread_db enabled]
[New Thread 47269144047376 (LWP 16865)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47269144047376 (LWP 16865)]
0x000000000062c1aa in _zend_hash_add_or_update (ht=0xa8f740,
arKey=0x8bbb92 "firebird", nKeyLength=8, pData=0x7ffff7995060,
nDataSize=8, pDest=0x0, flag=2) at /root/php5.2-
200905010630/Zend/zend_hash.c:218
218 p = ht->arBuckets[nIndex];
(gdb) where
#0 0x000000000062c1aa in _zend_hash_add_or_update (ht=0xa8f740,
arKey=0x8bbb92 "firebird", nKeyLength=8,
pData=0x7ffff7995060, nDataSize=8, pDest=0x0, flag=2) at
/root/php5.2-200905010630/Zend/zend_hash.c:218
#1 0x000000000052718f in php_pdo_register_driver (driver=0xa661c0) at
/root/php5.2-200905010630/ext/pdo/pdo.c:184
#2 0x00000000005311c0 in zm_startup_pdo_firebird (type=<value
optimized out>, module_number=9157530)
at /root/php5.2-200905010630/ext/pdo_firebird/pdo_firebird.c:58
#3 0x00000000006257c3 in zend_startup_module_ex (module=0xae52d0) at
/root/php5.2-200905010630/Zend/zend_API.c:1472
#4 0x000000000062a995 in zend_hash_apply (ht=0xa93bc0,
apply_func=0x6256c0 <zend_startup_module_ex>)
at /root/php5.2-200905010630/Zend/zend_hash.c:673
#5 0x0000000000623fea in zend_startup_modules () at /root/php5.2-
200905010630/Zend/zend_API.c:1519
#6 0x00000000005deebd in php_module_startup (sf=<value optimized
out>, additional_modules=0x0, num_additional_modules=0)
at /root/php5.2-200905010630/main/main.c:1843
#7 0x00000000006a171d in php_cli_startup (sapi_module=0x0) at
/root/php5.2-200905010630/sapi/cli/php_cli.c:386
#8 0x00000000006a1e11 in main (argc=1, argv=0x7ffff7995688) at
/root/php5.2-200905010630/sapi/cli/php_cli.c:745
------------------------------------------------------------------------
[2009-04-30 10:48:27] jani@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/47829
--
Edit this bug report at http://bugs.php.net/?id=47829&edit=1