|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-05-22 03:44 UTC] joey at cvs dot php dot net
[2000-07-24 17:37 UTC] david@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 18 21:00:01 2025 UTC |
After building php4-200003150545 with --with-sybase and running ./php -i from the command line, php crashes thus: <hr><a name="module_xml"><h2>xml</h2> XML support active<hr><a name="module_sybase"><h2>sybase</h2> Program received signal SIGSEGV, Segmentation fault. Backtrace from GDB: 0xef424674 in strlen () from /usr/lib/libc.so.1 (gdb) bt #0 0xef424674 in strlen () from /usr/lib/libc.so.1 #1 0xef45a41c in _doprnt () from /usr/lib/libc.so.1 #2 0xef4638c0 in vsnprintf () from /usr/lib/libc.so.1 #3 0x79390 in php_printf ( format=0x165f90 "<table cellpadding=5><tr><td>Allow persistent links:</td><td>%s</td></tr>\n<tr><td>Persistent links:</td><td>%d/%s</td></tr>\n<tr><td>Total links:</td><td>%d/%s</td></tr>\n<tr><td>Application name:</td><"...) at main.c:290 #4 0x102e44 in php_info_sybase (zend_module=0x1d0760) at sybase.c:1202 #5 0x48cc8 in _display_module_info (module=0x1d0760, arg=0xeffff5c8) at info.c:46 #6 0xa4ab4 in zend_hash_apply_with_argument (ht=0x1c8b7c, apply_func=0x48c58 <_display_module_info>, argument=0xeffff5c8) at zend_hash.c:672 #7 0x494e8 in php_print_info (flag=-1) at info.c:196 #8 0x24b20 in main (argc=2, argv=0xeffff72c) at cgi_main.c:470 Yet, a simple test script allows me to connect to a database fetch about 700 rows with no problem: sybase.c(933) : Freeing 0x00389740 (16 bytes), script=phptest.php Last leak repeated 2996 times sybase.c(938) : Freeing 0x00384AD8 (4 bytes), script=phptest.php zend_variables.c(126) : Actual location (location was relayed) Last leak repeated 2992 times