Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202070 - dev-php5/php-java-bridge-4.3.0 crashes php-5.2.5-r1
Summary: dev-php5/php-java-bridge-4.3.0 crashes php-5.2.5-r1
Status: RESOLVED DUPLICATE of bug 200653
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-12 18:15 UTC by Rafał Mużyło
Modified: 2007-12-12 19:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafał Mużyło 2007-12-12 18:15:54 UTC
It all started with strange apache crash. In the log:
*** glibc detected *** /usr/sbin/apache2: free(): invalid next size (fast): 0x08331428 ***
After googling I found a few bug reports with such line on php related lists.
I tried starting command line php. The result was:
*** glibc detected *** php: free(): invalid next size (fast): 0x08388890 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7b1daf2]
/lib/libc.so.6(cfree+0x87)[0xb7b1f787]
/usr/lib/php5/lib/php/extensions/no-debug-zts-20060613/java.so(java_destroy_cfg+
0x64)[0xb727dce4]
/usr/lib/php5/lib/php/extensions/no-debug-zts-20060613/java.so(zm_shutdown_java+
0x23)[0xb72794e3]
php(module_destructor+0x5f)[0x823737f]
php[0x823e584]
php(zend_hash_graceful_reverse_destroy+0x27)[0x823e837]
php(zend_shutdown+0x44)[0x8232a94]
php(php_module_shutdown+0x4b)[0x81e2d3b]
php(main+0x535)[0x82bdc65]
/lib/libc.so.6(__libc_start_main+0xe0)[0xb7acd3f0]
php[0x8082661]
======= Memory map: ========
08048000-08357000 r-xp 00000000 03:05 1558671    /usr/lib/php5/bin/php
08357000-08367000 r--p 0030e000 03:05 1558671    /usr/lib/php5/bin/php
08367000-08384000 rw-p 0031e000 03:05 1558671    /usr/lib/php5/bin/php
08384000-0867f000 rw-p 08384000 00:00 0          [heap]
b67f4000-b67fd000 r-xp 00000000 03:05 1720463    /lib/libnss_files-2.7.so
b67fd000-b67fe000 r--p 00008000 03:05 1720463    /lib/libnss_files-2.7.so
b67fe000-b67ff000 rw-p 00009000 03:05 1720463    /lib/libnss_files-2.7.so
b6931000-b694e000 r-xp 00000000 03:05 328432     /usr/lib/php5/lib/php/extensions/no-debug-zts-20060613/suhosin.so
b694e000-b6953000 rw-p 0001c000 03:05 328432     /usr/lib/php5/lib/php/extensions/no-debug-zts-20060613/suhosin.so
b6953000-b6954000 rw-p b6953000 00:00 0
b6cdf000-b6ce6000 r-xp 00000000 03:05 1721937    /lib/librt-2.7.so
b6ce6000-b6ce7000 r--p 00006000 03:05 1721937    /lib/librt-2.7.so
b6ce7000-b6ce8000 rw-p 00007000 03:05 1721937    /lib/librt-2.7.so
b7000000-b7021000 rw-p b7000000 00:00 0
b7021000-b7100000 ---p b7021000 00:00 0
b7155000-b715f000 r-xp 00000000 03:05 1869341 /usr/lib/gcc/i686-pc-linux-gnu/4.2.2/libgcc_s.so.1
b715f000-b7160000 r--p 00009000 03:05 1869341    /usr/lib/gcc/i686-pc-linux-gnu/4.2.2/libgcc_s.so.1
b7160000-b7161000 rw-p 0000a000 03:05 1869341    /usr/lib/gcc/i686-pc-linux-gnu/4.2.2/libgcc_s.so.1
b7161000-b7237000 r-xp 00000000 03:05 1147750    /usr/lib/php5/lib/php/extensions/no-debug-zts-20060613/imap.so
b7237000-b7238000 r--p 000d5000 03:05 1147750 /usr/lib/php5/lib/php/extensions/no-debug-zts-20060613/imap.so
When I deactivated this extension everything was working again.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-12-12 19:57:12 UTC

*** This bug has been marked as a duplicate of bug 200653 ***