|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-10-21 15:37 UTC] iliaa@php.net
[2007-10-21 15:44 UTC] magnus@php.net
[2007-10-22 20:22 UTC] helly@php.net
[2007-10-30 01:00 UTC] php-bugs at lists dot php dot net
[2008-01-07 10:52 UTC] gchiesa at smos dot org
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 07:00:01 2025 UTC |
Description: ------------ Segmentation fault got anytime I call dba_open() since I upgraded from Ubuntu 7.04 French to 7.10 French (Apache 2.2.4,PHP5.2.3). Reproduce code: --------------- $dbfile=" some "; $id = dba_open ($dbfile, "n", "db4"); // tested wl or n if (!$id) { echo "dba_open failed\n"; exit; } dba_replace ("key", "some value", $id); echo "<PRE>\n"; if ($the_key = dba_firstkey($id)) do { print("$the_key => "); print dba_fetch($the_key, $id); print("\n"); } while ($the_key = dba_nextkey($id)); echo "</PRE>\n"; dba_close ($id); Expected result: ---------------- key => some value Actual result: -------------- Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1216125264 (LWP 1289)] 0x085d7410 in ?? () (gdb) bt #0 0x085d7410 in ?? () #1 0xb71f09ad in dba_open_db4 () from /usr/lib/apache2/modules/libphp5.so #2 0xb71eefe5 in ?? () from /usr/lib/apache2/modules/libphp5.so #3 0x08603d1c in ?? () #4 0xbfb590f8 in ?? () #5 0x00000001 in ?? () #6 0x00000000 in ?? ()