#44554 [Opn->Fbk]: *** glibc detected *** double free or corruption when using sqlite handler
| From: | jani@php.net | Date: | Mon, 18 Jan 2010 10:27:28 +0000 |
| Subject: | #44554 [Opn->Fbk]: *** glibc detected *** double free or corruption when using sqlite handler | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-146762@lists.php.net to get a copy of this message | ||
ID: 44554
Updated by: jani@php.net
-Summary: *** glibc detected *** double free or corruption
Reported By: vlada at mysh dot cz
-Status: Open
+Status: Feedback
Bug Type: Session related
Operating System: Debian etch or lenny
PHP Version: 5.2.12
Assigned To: fb-req-jani
New Comment:
Just to clarify: you are using your own compile and not any debian
package? And no 3rd party patches are applied?
Previous Comments:
------------------------------------------------------------------------
[2010-01-17 15:22:28] vlada at mysh dot cz
After a year, I came to same problem on newer server.. There were a lot
of warnings in apache's error_log
*** glibc detected *** /usr/local/apache/bin/httpd: double free or
corruption (out): 0x08b11590 ***
*** glibc detected *** /usr/local/apache/bin/httpd: double free or
corruption (out): 0x08b12a78 ***
*** glibc detected *** /usr/local/apache/bin/httpd: double free or
corruption (out): 0x08b1aa30 ***
*** glibc detected *** /usr/local/apache/bin/httpd: double free or
corruption (out): 0x0a399120 ***
*** glibc detected *** /usr/local/apache/bin/httpd: double free or
corruption (!prev): 0x0a3eab68 ***
etc..
Mainly while using DokuWiki or phpMyAdmin
After I changed session handler from sqlite to files, problem
dissapeared. Now it's a week with files session handler and no new entry
in log saying something about glibc error. So I am sure, it's caused by
sqlite session handler.
------------------------------------------------------------------------
[2008-04-03 21:06:00] jani@php.net
If you can reliably prove it's sqlite session handler that causes it,
please reclassify this report as "Session related" and update the
summary.
------------------------------------------------------------------------
[2008-04-03 18:40:26] vlada at mysh dot cz
So.. I have checked configuration of PHP. Default php.ini-dist worked,
so I make diff between mine and default. Main difference was in method
of saving sessions. We were using sqlite. When I changed it to default,
files type, everything is now OK. I leave this, files session
configuration run for a longer period, but I think, problem was i
sqlite.
------------------------------------------------------------------------
[2008-04-02 10:20:58] jani@php.net
If you have 2 servers and on one you don't have such problems and on
the other one you have, just check what the differences are in those
systems. php.ini, configure lines, compiler versions, etc.
------------------------------------------------------------------------
[2008-04-02 10:13:43] vlada at mysh dot cz
So.. I've sucessfully downgraded to same glibc version as on other
server is. Than recompiled apache and php again with this older libc,
but this errors appears in log again.
Sometimes it causes
exit signal Segmentation fault(11) and sometimes "only" exit signal
Aborted (6).
*** glibc detected *** double free or corruption (out): 0x08408b78 ***
*** glibc detected *** double free or corruption (!prev): 0x0840d220
***
I am sorry for bothering but I going to be quite desperate about this
problem, because I still don't know why it happens.
------------------------------------------------------------------------
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/44554
--
Edit this bug report at http://bugs.php.net/?id=44554&edit=1