here is a valgrind root@debian:~# cat test.sh . /etc/apache2/envvars valgrind apache2 -X root@debian:~# ./test.sh ==17127== Memcheck, a memory error detector ==17127== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. ==17127== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info ==17127== Command: apache2 -X ==17127== [Thu Aug 09 10:28:46 2012] [warn] NameVirtualHost *:80 has no VirtualHosts Loading webgui.conf
Starting WebGUI 7.10.24 ==17130== ==17130== HEAP SUMMARY: ==17130== in use at exit: 131,990,986 bytes in 1,832,636 blocks ==17130== total heap usage: 3,445,949 allocs, 1,613,313 frees, 303,771,341 bytes allocated ==17130== ==17127== Jump to the invalid address stated on the next line ==17127== at 0x23204B60: ??? ==17127== by 0x8BB9BAB: Perl_convert (in /usr/lib/libperl.so.5.14.2) ==17127== by 0x8BC18B5: Perl_utilize (in /usr/lib/libperl.so.5.14.2) ==17127== by 0x8BEF486: Perl_yyparse (in /usr/lib/libperl.so.5.14.2) ==17127== by 0x8C67BB1: ??? (in /usr/lib/libperl.so.5.14.2) ==17127== by 0x8C7204E: Perl_pp_require (in /usr/lib/libperl.so.5.14.2) ==17127== by 0x8C2D9B5: Perl_runops_standard (in /usr/lib/libperl.so.5.14.2) ==17127== by 0x8BC8E05: Perl_eval_sv (in /usr/lib/libperl.so.5.14.2) ==17127== by 0x895D4B5: modperl_require_module (in /usr/lib/apache2/modules/mod_perl.so) ==17127== by 0x8954FB6: ??? (in /usr/lib/apache2/modules/mod_perl.so) ==17127== by 0x8C63CDB: Perl_leave_scope (in /usr/lib/libperl.so.5.14.2) ==17127== by 0x8BCE299: perl_parse (in /usr/lib/libperl.so.5.14.2) ==17127== Address 0x23204b60 is not stack'd, malloc'd or (recently) free'd ==17127== ==17127== ==17127== Process terminating with default action of signal 11 (SIGSEGV) ==17127== Access not within mapped region at address 0x23204B60 ==17127== at 0x23204B60: ??? ==17127== by 0x8BB9BAB: Perl_convert (in /usr/lib/libperl.so.5.14.2) ==17127== by 0x8BC18B5: Perl_utilize (in /usr/lib/libperl.so.5.14.2) ==17127== by 0x8BEF486: Perl_yyparse (in /usr/lib/libperl.so.5.14.2) ==17127== by 0x8C67BB1: ??? (in /usr/lib/libperl.so.5.14.2) ==17127== by 0x8C7204E: Perl_pp_require (in /usr/lib/libperl.so.5.14.2) ==17127== by 0x8C2D9B5: Perl_runops_standard (in /usr/lib/libperl.so.5.14.2) ==17127== by 0x8BC8E05: Perl_eval_sv (in /usr/lib/libperl.so.5.14.2) ==17127== by 0x895D4B5: modperl_require_module (in /usr/lib/apache2/modules/mod_perl.so) ==17127== by 0x8954FB6: ??? (in /usr/lib/apache2/modules/mod_perl.so) ==17127== by 0x8C63CDB: Perl_leave_scope (in /usr/lib/libperl.so.5.14.2) ==17127== by 0x8BCE299: perl_parse (in /usr/lib/libperl.so.5.14.2) ==17127== If you believe this happened as a result of a stack ==17127== overflow in your program's main thread (unlikely but ==17127== possible), you can try to increase the size of the ==17127== main thread stack using the --main-stacksize= flag. ==17127== The main thread stack size used in this run was 8388608. ==17127== ==17127== HEAP SUMMARY: ==17127== in use at exit: 278,062 bytes in 2,222 blocks ==17127== total heap usage: 4,751,534 allocs, 4,749,312 frees, 601,393,165 bytes allocated ==17127== ==17127== LEAK SUMMARY: ==17127== definitely lost: 57,366 bytes in 1,482 blocks ==17127== indirectly lost: 264 bytes in 7 blocks ==17127== possibly lost: 0 bytes in 0 blocks ==17127== still reachable: 220,432 bytes in 733 blocks ==17127== suppressed: 0 bytes in 0 blocks ==17127== Rerun with --leak-check=full to see details of leaked memory ==17127== ==17127== For counts of detected and suppressed errors, rerun with: -v ==17127== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 132 from 8) ./test.sh: line 2: 17127 Segmentation fault valgrind apache2 -X root@debian:~# ==17130== LEAK SUMMARY: ==17130== definitely lost: 52,478 bytes in 1,338 blocks ==17130== indirectly lost: 0 bytes in 0 blocks ==17130== possibly lost: 478 bytes in 25 blocks ==17130== still reachable: 131,938,030 bytes in 1,831,273 blocks ==17130== suppressed: 0 bytes in 0 blocks ==17130== Rerun with --leak-check=full to see details of leaked memory ==17130== ==17130== For counts of detected and suppressed errors, rerun with: -v ==17130== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 69 from 8) On 14/07/12 20:18, Debian Bug Tracking System wrote: > Thank you for filing a new Bug report with Debian. > > This is an automatically generated reply to let you know your message > has been received. > > Your message is being forwarded to the package maintainers and other > interested parties for their attention; they will reply in due course. > > Your message has been sent to the package maintainer(s): > Ernesto Hernández-Novich (USB) <e...@usb.ve> > > If you wish to submit further information on this problem, please > send it to 681...@bugs.debian.org. > > Please do not send mail to ow...@bugs.debian.org unless you wish > to report a problem with the Bug-tracking system. > -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org