ID: 45066
Updated by: [EMAIL PROTECTED]
Reported By: dirk at bean-it dot nl
-Status: Open
+Status: Feedback
Bug Type: MySQL related
Operating System: Debian 4.0 / x86_64
PHP Version: 5.2.6
New Comment:
Please try without Suhosin patch.
Previous Comments:
------------------------------------------------------------------------
[2008-07-30 15:09:40] apex at xepa dot nl
Correction the the above post, although it's running now I seem to be
getting some segmentation faults, it does not happen all the time mind
you. It could be related, this backtrace is without debugging symbols.
If needed I can recompile to add a debug backtrace too.
--
Command: gdb /usr/bin/php5
(gdb) run -v
<snip>
[New Thread -1224143984 (LWP 15600)]
PHP 5.2.6-2 with Suhosin-Patch 0.9.6.2 (cli) (built: Jul 3 2008
07:52:34)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
(no debugging symbols found)
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1224201328 (zombie)]
0xb78333af in _Unwind_FindEnclosingFunction () from /lib/libgcc_s.so.1
(gdb) bt
#0 0xb78333af in _Unwind_FindEnclosingFunction () from
/lib/libgcc_s.so.1
#1 0xb7833c43 in _Unwind_Backtrace () from /lib/libgcc_s.so.1
#2 0xb7833d6b in _Unwind_ForcedUnwind () from /lib/libgcc_s.so.1
#3 0xb785f7a6 in _Unwind_ForcedUnwind () from
/lib/i686/cmov/libpthread.so.0
#4 0xb785d211 in __pthread_unwind () from
/lib/i686/cmov/libpthread.so.0
#5 0xb78575f0 in pthread_exit () from /lib/i686/cmov/libpthread.so.0
#6 0xb7a97f14 in pthread_exit () from /lib/i686/cmov/libc.so.6
#7 0xb71e0e1e in ?? ()
---
strace of the same thing I mailed to andrey at php dot net
--
------------------------------------------------------------------------
[2008-07-30 14:55:27] apex at xepa dot nl
Seems this bug is related to /usr/lib/libmysqlclient_r.so.15. Was using
5.0.32, which I upgraded to 5.0.51 and now mysql and mysqli can run
together again.
--
Michiel Brandenburg
------------------------------------------------------------------------
[2008-07-22 14:11:10] dirk at bean-it dot nl
mysqlnd is yet to be released for production use... So for now, that
seems not to be the way.
I'll upgrade the mysql libs on a test machine after my vacation (after
august 5th, that is). I'll post my findings here.
Thanks for looking in to this!
Cheers,
Dirk
------------------------------------------------------------------------
[2008-07-21 18:16:20] [EMAIL PROTECTED]
Which means that one will be better served with mysqlnd?
------------------------------------------------------------------------
[2008-07-17 23:09:21] [EMAIL PROTECTED]
By the looks of the valgrind output, IMO, this is some bug in the mysql
lib. Try google for __lll_mutex_lock_wait and you get plenty of hits
pointing to discussion forums. Corrupted heap, -lpthread vs -pthread,
etc. among the possible problems..
------------------------------------------------------------------------
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/45066
--
Edit this bug report at http://bugs.php.net/?id=45066&edit=1