ID:               36246
 Comment by:       fabian dot martin at gmail dot com
 Reported By:      eustaquiorangel at yahoo dot com
 Status:           No Feedback
 Bug Type:         XSLT related
 Operating System: Linux, Slackware 10.2 (current)
 PHP Version:      5.1.2
 New Comment:

I have the same Problem on two different Server, but I'm don't using
XSLT.

Here are the Logs.

Server 1 (PHP 5.2.11, running as FastCGI):

*** glibc detected *** ps: double free or corruption (fasttop):
0x0968fe30 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb7ef48f4]
/lib/i686/cmov/libc.so.6(cfree+0x96)[0xb7ef6896]
ps[0x8049af2]
ps[0x804a735]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7e9c7a5]
ps[0x8049401]
======= Memory map: ========
08048000-0805b000 r-xp 00000000 08:05 16794109   /bin/ps
0805b000-0805c000 rw-p 00012000 08:05 16794109   /bin/ps
0805c000-0807c000 rw-p 00000000 00:00 0 
0968f000-096b0000 rw-p 00000000 00:00 0          [heap]
b7b00000-b7b21000 rw-p 00000000 00:00 0 
b7b21000-b7c00000 ---p 00000000 00:00 0 
b7c2f000-b7c59000 r-xp 00000000 08:05 933898     /lib/libgcc_s.so.1
b7c59000-b7c5a000 rw-p 00029000 08:05 933898     /lib/libgcc_s.so.1
b7c63000-b7c84000 rw-p 00000000 00:00 0 
b7c84000-b7c85000 ---p 00000000 00:00 0 
b7c85000-b7e85000 r--p 00000000 08:05 17662043  
/usr/lib/locale/locale-archive
b7e85000-b7e86000 rw-p 00000000 00:00 0 
b7e86000-b7fde000 r-xp 00000000 08:05 12222473  
/lib/i686/cmov/libc-2.9.so
b7fde000-b7fdf000 ---p 00158000 08:05 12222473  
/lib/i686/cmov/libc-2.9.so
b7fdf000-b7fe1000 r--p 00158000 08:05 12222473  
/lib/i686/cmov/libc-2.9.so
b7fe1000-b7fe2000 rw-p 0015a000 08:05 12222473  
/lib/i686/cmov/libc-2.9.so
b7fe2000-b7fe5000 rw-p 00000000 00:00 0 
b7fe5000-b7ff3000 r-xp 00000000 08:05 933943     /lib/libproc-3.2.8.so
b7ff3000-b7ff4000 rw-p 0000e000 08:05 933943     /lib/libproc-3.2.8.so
b7ff4000-b8006000 rw-p 00000000 00:00 0 
b800e000-b8011000 rw-p 00000000 00:00 0 
b8011000-b8012000 r-xp 00000000 00:00 0          [vdso]
b8012000-b802e000 r-xp 00000000 08:05 17186860   /lib/ld-2.9.so
b802e000-b802f000 r--p 0001b000 08:05 17186860   /lib/ld-2.9.so
b802f000-b8030000 rw-p 0001c000 08:05 17186860   /lib/ld-2.9.so
bfe04000-bfe19000 rw-p 00000000 00:00 0          [stack]

-----------------------------------------------------------

Server 2 (PHP 5.2.11, running as FastCGI):

*** glibc detected *** ps: double free or corruption (fasttop):
0x000000000063a8a0 *** ======= Backtrace: =========
/lib/libc.so.6[0x7f17861706c8]
/lib/libc.so.6(cfree+0x76)[0x7f17861721d6]
ps[0x4022f0]
ps[0x402f6e]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7f178611d5c6]
ps[0x401ba9]
======= Memory map: ========
00400000-00418000 r-xp 00000000 09:01 93617                            
 /bin/ps
00618000-00619000 rw-p 00018000 09:01 93617                            
 /bin/ps
00619000-0065a000 rw-p 00619000 00:00 0                                
 [heap]
7f1780000000-7f1780021000 rw-p 7f1780000000 00:00 0
7f1780021000-7f1784000000 ---p 7f1780021000 00:00 0 
7f1785b96000-7f1785bb0000 r-xp 00000000 09:01 61865                    
 /lib/libgcc_s.so.1
7f1785bb0000-7f1785daf000 ---p 0001a000 09:01 61865                    
 /lib/libgcc_s.so.1
7f1785daf000-7f1785db0000 rw-p 00019000 09:01 61865                    
 /lib/libgcc_s.so.1
7f1785db7000-7f1785dbe000 r--s 00000000 09:05 389                      
 /usr/lib/gconv/gconv-modules.cache
7f1785dbe000-7f1785de0000 rw-p 7f1785dbe000 00:00 0
7f1785de0000-7f1785de1000 ---p 7f1785de0000 00:00 0 
7f1785de1000-7f17860ff000 r--p 00000000 09:05 4194433                  
 /usr/lib/locale/locale-archive
7f17860ff000-7f1786246000 r-xp 00000000 09:01 62149                    
 /lib/libc-2.9.so
7f1786246000-7f1786446000 ---p 00147000 09:01 62149                    
 /lib/libc-2.9.so
7f1786446000-7f178644a000 r--p 00147000 09:01 62149                    
 /lib/libc-2.9.so
7f178644a000-7f178644b000 rw-p 0014b000 09:01 62149                    
 /lib/libc-2.9.so
7f178644b000-7f1786450000 rw-p 7f178644b000 00:00 0 
7f1786450000-7f1786461000 r-xp 00000000 09:01 61889                    
 /lib/libproc-3.2.8.so
7f1786461000-7f1786660000 ---p 00011000 09:01 61889                    
 /lib/libproc-3.2.8.so
7f1786660000-7f1786661000 rw-p 00010000 09:01 61889                    
 /lib/libproc-3.2.8.so
7f1786661000-7f1786674000 rw-p 7f1786661000 00:00 0 
7f1786674000-7f1786691000 r-xp 00000000 09:01 62146                    
 /lib/ld-2.9.so
7f1786884000-7f1786886000 rw-p 7f1786884000 00:00 0
7f178688d000-7f1786890000 rw-p 7f178688d000 00:00 0 
7f1786890000-7f1786891000 r--p 0001c000 09:01 62146                    
 /lib/ld-2.9.so
7f1786891000-7f1786892000 rw-p 0001d000 09:01 62146                    
 /lib/ld-2.9.so
7fff8e87c000-7fff8e891000 rw-p 7ffffffea000 00:00 0                    
 [stack]
7fff8e9fe000-7fff8e9ff000 r-xp 7fff8e9fe000 00:00 0                    
 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                
 [vsyscall]


Previous Comments:
------------------------------------------------------------------------

[2006-02-27 20:48:33] joe at virtualmin dot com

I was wrong.  FastCGI was not involved.  In my case, it was happening
because both mod_php4 and mod_php5 were being loaded into Apache. 
Removing one of them resolved the issue.

------------------------------------------------------------------------

[2006-02-27 20:23:00] joe at virtualmin dot com

Just an added data point:

I'm getting this same crasher, but only when mod_fastcgi is enabled
(not even using a PHP script--but it appears to happen when PHP is being
loaded by fcgi).  Here's the pseudo-backtrace from the log (I'll try to
reproduce it in gdb later):

*** glibc detected *** /usr/sbin/httpd: double free or corruption
(fasttop): 0x09ece438 ***
======= Backtrace: =========
/lib/libc.so.6[0x560124]
/lib/libc.so.6(__libc_free+0x77)[0x56065f]
/etc/httpd/modules/libphp5.so(zend_hash_destroy+0x75)[0x4188587]
/etc/httpd/modules/libphp5.so(sapi_shutdown+0x20)[0x414c599]
/etc/httpd/modules/libphp5.so[0x41bc65c]
/usr/lib/libapr-0.so.0[0xa18ed5]
/usr/lib/libapr-0.so.0(apr_pool_clear+0x35)[0xa19c80]
/usr/sbin/httpd(main+0x468)[0x65774b]
/lib/libc.so.6(__libc_start_main+0xdf)[0x511d5f]
/usr/sbin/httpd[0x649151]
======= Memory map: ========

------------------------------------------------------------------------

[2006-02-09 01:00:05] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2006-02-01 20:23:26] tony2...@php.net

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.



------------------------------------------------------------------------

[2006-02-01 20:13:01] eustaquiorangel at yahoo dot com

> We can't reproduce it, so you tell us.

Too many variables there, but definitely something is different from
5.1.1 to 5.1.2. To reproduce it the way we have here you'll need the
exactly the same environment, but this is a complicated matter. OS,
Apache version, all the scripts needed to run our environment. 

As I'm trying to make this works since before yesterday, I can't wait
more to put the computer to work. I'll stick with 5.1.1 (ooofs, it's
working fine) and if on the next upgrade (I'll skip 5.1.2 for sure! ;-)
it happens again I'll open a bug report again, hopefuly with more time
available to spend to check it. You can close this report.

Btw, I understand that reproduce the problem helps a lot, but since
it's my first bug report here, I'm curious: thinking about all the
scripts installed on all over the world, how can you dig more into this
kind of thing without having the same enviroment?

------------------------------------------------------------------------

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/36246

-- 
Edit this bug report at http://bugs.php.net/?id=36246&edit=1

Reply via email to