You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-dev@httpd.apache.org by Stas Bekman <st...@stason.org> on 2003/10/17 19:47:10 UTC

segfault in aq2

t/testall -v
All APREQ Tests:
     Cookie:                   ....
     Param:                make: *** [lib_test] Segmentation fault (core dumped)

gdb t/.libs/testall core.31143

#0  0x4026f07f in mallopt () from /lib/i686/libc.so.6
(gdb) where
#0  0x4026f07f in mallopt () from /lib/i686/libc.so.6
#1  0x4026dd6f in free () from /lib/i686/libc.so.6
#2  0x0804a78d in testparam () at params.c:120
#3  0x08049a28 in CuSuiteInit (testSuite=0x2, name=0x40327440 "\204*­û")
     at CuTest.c:255
#4  0x08049b5d in CuSuiteRun (testSuite=0x8057420) at CuTest.c:287
#5  0x08049ecd in CuSuiteListRunWithSummary (testSuite=0x8052af0)
     at CuTest.c:409
#6  0x0804943d in main (argc=2, argv=0xbffff4a4) at testall.c:134
#7  0x40211c57 in __libc_start_main () from /lib/i686/libc.so.6


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Re: segfault in aq2

Posted by Joe Schaefer <jo...@sunstarsys.com>.
Stas Bekman <st...@stason.org> writes:

[...]

> Should these be added to .cvsignore?
> 
> ? apreq2-config
> ? glue/Makefile
> ? glue/Makefile.in
> ? src/apreq_config.h
> ? src/apreq_config.h.in
> ? src/stamp-h1

Yes.

-- 
Joe Schaefer


Re: segfault in aq2

Posted by Stas Bekman <st...@stason.org>.
Joe Schaefer wrote:
> Stas Bekman <st...@stason.org> writes:
> 
> [...]
> 
> 
>>#1  0x4026dd6f in free () from /lib/i686/libc.so.6
>>#2  0x0804a78d in testparam () at params.c:120
> 
> 
> Oops- forgot to remove the free() when I changed malloc
> to apr_palloc.  Should be fixed now.
> 

Cool. All is fine now. Thanks.

Should these be added to .cvsignore?

? apreq2-config
? glue/Makefile
? glue/Makefile.in
? src/apreq_config.h
? src/apreq_config.h.in
? src/stamp-h1


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Re: segfault in aq2

Posted by Joe Schaefer <jo...@sunstarsys.com>.
Stas Bekman <st...@stason.org> writes:

[...]

> #1  0x4026dd6f in free () from /lib/i686/libc.so.6
> #2  0x0804a78d in testparam () at params.c:120

Oops- forgot to remove the free() when I changed malloc
to apr_palloc.  Should be fixed now.

-- 
Joe Schaefer