On Thu, Feb 07, 2002 at 01:03:29AM +0000, Ged Haywood wrote:
> Hi there,

Hi!  Thank you SOOO much for the reply!

[SNIP]

> You might try usemymalloc.

Tried that.  Note: you also tried to help a fellow back in November of
2001 on this VERY same stack trace.

http://groups.yahoo.com/group/modperl/message/39560

> >       Compiler:
> >         optimize='-g',
> 
> Hmmmm...

See below.

> >         ccversion='', gccversion='2.96 20000731 (Red Hat Linux 7.1
2.96-85)', gccosandvers=''
> 
> You've obviously read the docs, so I take it the same compiler built
> Aapche, mod_perl and Perl.  Have you tried this on RH6.2 with the
> compiler that came with that?

Yes.  Note also: the problem didn't use to happen with perl 5.00404,
mod_perl 1.08 and apache 1.3b5 (with exactly the same codebase).

See below.

> > Stack Trace:
> > ===========
> > #0  __pthread_mutex_lock (mutex=0x8bf04999) at mutex.c:99
> > #1  0x401b9cc8 in __libc_free (mem=0x4046cc18) at malloc.c:3152
> > #2  0x403ce028 in Perl_safesysfree (where=0x4046cc18) at util.c:158
> > #3  0x403f20d8 in Perl_sv_clear (sv=0x8198f60) at sv.c:3827
> > #4  0x403f2473 in Perl_sv_free (sv=0x8198f60) at sv.c:3950
> > #5  0x403f80e1 in do_clean_all (sv=0x8198f60) at sv.c:8411
> > #6  0x403e9c5e in S_visit (f=0x403f8094 <do_clean_all>) at sv.c:162
> > #7  0x403e9ce2 in Perl_sv_clean_all () at sv.c:193
> > #8  0x4038594a in perl_destruct (my_perl=0x809a9a8) at perl.c:665
> > #9  0x4035629c in perl_shutdown (s=0x0, p=0x0) at mod_perl.c:294
> > #10 0x40356be6 in mp_dso_unload (data=0x808e714) at mod_perl.c:489
> 
> Have you tried a statically linked mod_perl?

Yes.  See below.

> 73,
> Ged.

Here's what HAS been tried:

- -O2 vs. -O3 vs. -g
- Perl's malloc vs. system malloc
- static vs. dynamic loading of httpd modules
- Different Berkeley db in case there were discrepancies with that
- Different compilers, RedHat releases, glibc releases
- --enable-rule=EXPAT vs. --disable-rule=EXPAT

All failed.

-- 
\_/} Mark P. Fister             Java, Java, everywhere, and all    \_/}
\_/} eBay, Inc.                 the cups did shrink; Java, Java    \_/}
\_/} Austin, TX                 everywhere, nor any drop to drink! \_/}

Reply via email to