#44554 [Fbk]: *** glibc detected *** double free or corruption when using sqlite handler
| From: | jani@php.net | Date: | Mon, 18 Jan 2010 10:29:23 +0000 |
| Subject: | #44554 [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-146763@lists.php.net to get a copy of this message | ||
ID: 44554
Updated by: jani@php.net
Reported By: vlada at mysh dot cz
Status: Feedback
Bug Type: Session related
Operating System: Debian etch or lenny
PHP Version: 5.2.12
New Comment:
Also, this is kinda hard to reproduce so could you try and get a GDB
bactrace of this? Instructions can be found here how to do it:
http://bugs.php.net/bugs-generating-backtrace.php
Previous Comments:
------------------------------------------------------------------------
[2010-01-18 10:27:27] jani@php.net
Just to clarify: you are using your own compile and not any debian
package? And no 3rd party patches are applied?
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
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