|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2009-07-03 07:09 UTC] gerwin at digitalus dot nl
Description: ------------ When executing php -i (php information) it shows some output but then it will segfault. Reproduce code: --------------- On commandline: php -i Expected result: ---------------- Probably missing entries Actual result: -------------- Segmentation faul. Strace: write(1, "PDO Driver for SQLite 3.x", 25PDO Driver for SQLite 3.x) = 25 write(1, " => ", 4 => ) = 4 write(1, "enabled", 7enabled) = 7 write(1, "\n", 1 ) = 1 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 18:00:01 2025 UTC |
I have pretty similiar behaviour in 5.3.2 too. I get segfault if a db_file from PDO command exists (new PDO("sqlite:db_file");). php -i (-m too) also shows segfault: # php -i ... pdo_sqlite PDO Driver for SQLite 3.x => enabled Segmentation fault Here is the backtrace: root@c300:/home/dev# gdb php GNU gdb 6.8 ... This GDB was configured as "i486-slackware-linux"... (gdb) run -i Starting program: /usr/bin/php -i [Thread debugging using libthread_db enabled] Error while reading shared library symbols: Cannot find new threads: generic error Cannot find new threads: generic error (gdb) bt #0 0xb8006351 in _dl_debug_state () from /lib/ld-linux.so.2 #1 0xb8009f0b in dl_open_worker () from /lib/ld-linux.so.2 #2 0xb8005596 in _dl_catch_error () from /lib/ld-linux.so.2 #3 0xb800973e in _dl_open () from /lib/ld-linux.so.2 #4 0xb7dd6bec in dlopen_doit () from /lib/libdl.so.2 #5 0xb8005596 in _dl_catch_error () from /lib/ld-linux.so.2 #6 0xb7dd700c in _dlerror_run () from /lib/libdl.so.2 #7 0xb7dd6b1c in dlopen@@GLIBC_2.1 () from /lib/libdl.so.2 #8 0x081d01e6 in php_load_extension (filename=0xb7c35eb4 "curl.so", type=1, start_now=0) at /home/dev/php-5.3.2/ext/standard/dl.c:147 #9 0x082609fc in php_load_php_extension_cb (arg=0x864af88) at /home/dev/php-5.3.2/main/php_ini.c:349 #10 0x082c3ed2 in zend_llist_apply (l=0x863ecbc, func=0x82609cd <php_load_php_extension_cb>) at /home/dev/php-5.3.2/Zend/zend_llist.c:193 #11 0x0826195f in php_ini_register_extensions () at /home/dev/php-5.3.2/main/php_ini.c:722 #12 0x082598d6 in php_module_startup (sf=0x862cb20, additional_modules=0x0, num_additional_modules=0) at /home/dev/php-5.3.2/main/main.c:2021 #13 0x083a550f in php_cli_startup (sapi_module=0x862cb20) at /home/dev/php-5.3.2/sapi/cli/php_cli.c:401 #14 0x083a62f8 in main (argc=2, argv=0xbf87c6d4) at /home/dev/php-5.3.2/sapi/cli/php_cli.c:775