Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107644 - glibc error running apache/php/phpldapadmin
Summary: glibc error running apache/php/phpldapadmin
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-29 14:36 UTC by Vijay Avarachen
Modified: 2006-01-04 03:20 UTC (History)
0 users

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


Attachments
emerge info output (emerge.info,1.81 KB, text/plain)
2005-09-29 14:36 UTC, Vijay Avarachen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vijay Avarachen 2005-09-29 14:36:22 UTC
I have phpldapadmin installed.  Whenever I try to use it I get very poor
performance.  Most time the page won't even load fully.  I have to hit the
refresh button multiple times to get the page to load all the way.  After a
little digging around I noticed the following error messages in my apache log file:

"*** glibc detected *** corrupted double-linked list: 0x40466a4c ***
[Wed Sep 28 23:30:21 2005] [notice] child pid 31339 exit signal Aborted (6)"

I though it might be due to "hardenedphp" flag, so I re-emerge php without that
flag but no luck.

The only thing I can suspect is the "hardened" flag in glibc.

spduslisldap02 apache2 # emerge -pvD apache php glibc

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] net-www/apache-2.0.54-r9  +berkdb +doc +gdbm -ipv6 +ldap
(-selinux) +ssl -static -threads 5,470 kB

[ebuild   R   ] dev-php/php-4.4.0  -X +berkdb +crypt +curl -debug -doc -fdftk
-firebird +flash -freetds +gd -gd-external +gdbm -gmp +hardenedphp* -imap
-informix -ipv6 +java +jpeg -kerberos +ldap +mcal +memlimit -mssql -mysql
+ncurses +nls -oci8 -odbc +pam +png -postgres +readline -snmp +spell +ssl +tiff
+truetype +xml2 -yaz 0 kB

[ebuild   R   ] sys-libs/glibc-2.3.5-r1  -build -erandom -glibc-compat20
-glibc-omitfp +hardened -linuxthreads-tls (-multilib) +nls -nptl -nptlonly +pic
-profile (-selinux) +userlocales 15,628 kB


I setup phpldapadmin (same version) on a CentOS box and it worked flawlessly.

Reproducible: Always
Steps to Reproduce:
1.Start Apache with phpldapadmin installed/configured
2.Use phpldapadmin
3.
Actual Results:  
The page will hang frequently, form buttons won't show up, only partial pages
will load.  User has to refresh page multiple time to get the page load properly

Expected Results:  
Web pages should load quickly
Changes made to ldap should show immediately
All form options should display

See attachment for emerge info
Comment 1 Vijay Avarachen 2005-09-29 14:36:55 UTC
Created attachment 69523 [details]
emerge info output
Comment 2 Vijay Avarachen 2005-10-19 07:22:44 UTC
I recently emerged the latest Apache (2.0.54-r31), PHP (4.4.0-r3) and
phpLDAPadmin (0.9.7_alpha6) and same results.
Comment 3 Kamil Gornik 2005-11-13 15:44:45 UTC
for me similar, esp. when PEAR_Error object called, but got some with php's
gettype, seems there's no rule why it comes.
Usu it's 
*** glibc detected *** free(): invalid next size (fast): 0x085d8298 ***
Abort
but coredumps from time to time.

PHP bumped recently for me (4.4.0-r3).
Comment 4 Kamil Gornik 2005-11-13 15:45:45 UTC
oups, 4.4.0-r4, my mistake
Comment 5 SpanKY gentoo-dev 2005-12-02 20:30:02 UTC
most likely bug in apache/php, not in glibc
Comment 6 Luca Longinotti (RETIRED) gentoo-dev 2006-01-04 03:18:25 UTC
dev-lang/php-4.4.1-r5 is in, maybe this fixed the mentioned issues, please try that and report back.
Comment 7 Luca Longinotti (RETIRED) gentoo-dev 2006-01-04 03:20:18 UTC
Sorry, I meant dev-lang/php-4.4.1-r3. :)
Best regards, CHTEKK.