I have some problems with Devel::DProf ... after running a few requests I
get either when it boots:

Program received signal SIGSEGV, Segmentation fault.
0x40113eec in chunk_free (ar_ptr=0x401a8040, p=0x81d3668) at malloc.c:3047
3047    malloc.c: No such file or directory.
(gdb) bt
#0  0x40113eec in chunk_free (ar_ptr=0x401a8040, p=0x81d3668) at
malloc.c:3047
#1  0x401148a5 in chunk_realloc (ar_ptr=0x401a8040, oldp=0x81d3668,
oldsize=1736, nb=2600)
    at malloc.c:3351
#2  0x40114344 in __libc_realloc (oldmem=0x81d3670, bytes=2592) at
malloc.c:3190
#3  0x81090cb in Perl_saferealloc ()
#4  0x40015113 in prof_mark ()
   from
/home/value/apps/perl5.005_03/lib/site_perl/5.005/i686-linux/auto/Devel/DProf/DProf.so
#5  0x400158e9 in XS_DB_sub ()
   from
/home/value/apps/perl5.005_03/lib/site_perl/5.005/i686-linux/auto/Devel/DProf/DProf.so
#6  0x8114056 in Perl_pp_entersub ()
#7  0x80e03ec in perl_call_sv ()
#8  0x80e25c9 in perl_call_method ()
#9  0x808a8d8 in perl_tie_hash ()
#10 0x8089026 in perl_section ()
#11 0x809f039 in ap_clear_module_list ()
#12 0x809fab3 in ap_handle_command ()
#13 0x809fb47 in ap_srm_command_loop ()
#14 0x809ff50 in ap_process_resource_config ()
#15 0x80a0812 in ap_read_config ()
#16 0x80aa829 in main ()
#17 0x400d31eb in __libc_start_main (main=0x80aa59c <main>, argc=2,
argv=0xbffffcd4, 
    init=0x80608c8 <_init>, fini=0x8140fdc <_fini>, rtld_fini=0x4000a610
<_dl_fini>, 
    stack_end=0xbffffccc) at ../sysdeps/generic/libc-start.c:90


... or if it starts it dies after not too many requests with:

Program received signal SIGSEGV, Segmentation fault.
0x40100093 in _IO_vfprintf (s=0x819a5f0, format=0x40015f28 "@ %ld %ld
%ld\n", ap=0xbffff5ec)
    at vfprintf.c:1059
1059    vfprintf.c: No such file or directory.
(gdb) bt
#0  0x40100093 in _IO_vfprintf (s=0x819a5f0, format=0x40015f28 "@ %ld %ld %ld\n", 
    ap=0xbffff5ec) at vfprintf.c:1059
#1  0x40107f47 in fprintf (stream=0x819a5f0, format=0x40015f28 "@ %ld %ld %ld\n")
    at fprintf.c:32
#2  0x40014f6e in prof_dump_until ()
   from 
/home/value/apps/perl5.005_03/lib/site_perl/5.005/i686-linux/auto/Devel/DProf/DProf.so
#3  0x400153b0 in prof_mark ()

or 

Program received signal SIGSEGV, Segmentation fault.
0x4010c4af in _IO_fflush (fp=0x819a5f0) at iofflush.c:41
41      iofflush.c: No such file or directory.
(gdb) bt
#0  0x4010c4af in _IO_fflush (fp=0x819a5f0) at iofflush.c:41
#1  0x40014feb in prof_dump_until ()
   from
/home/value/apps/perl5.005_03/lib/site_perl/5.005/i686-linux/auto/Devel/DProf/DProf.so
#2  0x400153b0 in prof_mark ()
   from
/home/value/apps/perl5.005_03/lib/site_perl/5.005/i686-linux/auto/Devel/DProf/DProf.so
#3  0x4001585f in XS_DB_sub ()
   from
/home/value/apps/perl5.005_03/lib/site_perl/5.005/i686-linux/auto/Devel/DProf/DProf.so
#4  0x8114056 in Perl_pp_entersub ()
#5  0x80e03ec in perl_call_sv ()
#6  0x8118afe in Perl_sv_clear ()
#7  0x811c6a8 in Perl_sv_free ()
#8  0x8128973 in Perl_free_tmps ()
#9  0x8114e0d in Perl_pp_nextstate ()
#10 0x8140eed in Perl_runops_standard ()
#11 0x80e0401 in perl_call_sv ()
#12 0x400158df in XS_DB_sub ()
   from
/home/value/apps/perl5.005_03/lib/site_perl/5.005/i686-linux/auto/Devel/DProf/DProf.so
#13 0x8114056 in Perl_pp_entersub ()
#14 0x80e03ec in perl_call_sv ()
#15 0x808590b in perl_call_handler ()
#16 0x808525e in perl_run_stacked_handlers ()
#17 0x808400d in perl_handler ()
#18 0x809ea03 in ap_invoke_handler ()
#19 0x80b1f39 in ap_some_auth_required ()
#20 0x80b1f9c in ap_process_request ()
#21 0x80a983e in ap_child_terminate ()
#22 0x80a99cc in ap_child_terminate ()
#23 0x80a9b29 in ap_child_terminate ()
#24 0x80aa156 in ap_child_terminate ()
#25 0x80aa8e3 in main ()
#26 0x400d31eb in __libc_start_main (main=0x80aa59c <main>, argc=2,
argv=0xbffffcd4, 
    init=0x80608c8 <_init>, fini=0x8140fdc <_fini>, rtld_fini=0x4000a610
<_dl_fini>, 
    stack_end=0xbffffccc) at ../sysdeps/generic/libc-start.c:90


the multiple ap_child_terminate's make it look like the -X doesn't take
effect? Or what's going on? Any clues?


 - ask

-- 
ask bjoern hansen - <http://www.netcetera.dk/~ask/>
more than 70M impressions per day, <http://valueclick.com>


Reply via email to