You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by FredB <nu...@free.fr> on 2016/01/12 15:52:35 UTC

Random segmentation fault

Hello,

I have exactly the same issue that here https://mail-archives.apache.org/mod_mbox/perl-modperl/201509.mbox/%3CCAC5eUSu85CoiT0MkQvwvxjfrhJcn13DqJfV=EgFuXvwsWYrXLg@mail.gmail.com%3E

Same OS, Debian Jessie, and no problem at all with same configuration and Debian wheezy -> apache2 2.2.22 and mod_perl 2.0.7
After a while apache2 crashes with "Out of memory" but the complete system are using less than 15% of ram ...

*** Error in `/usr/sbin/apache2': double free or corruption (!prev): 0x00007f8590000f10 ***
[Tue Jan 12 14:32:25.852805 2016] [core:notice] [pid 19350:tid 140212941145984] AH00052: child pid 1487 exit signal Segmentation fault (11)
[Tue Jan 12 14:32:25.852857 2016] [core:notice] [pid 19350:tid 140212941145984] AH00052: child pid 1488 exit signal Aborted (6)
Out of memory!
Out of memory!
PerlIOApache_flush: flush can't be called before the response phase, <FIC> line 1599.
*** longjmp causes uninitialized stack frame ***: /usr/sbin/apache2 terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x731ff)[0x7f85dd8051ff]
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f85dd8884c7]
/lib/x86_64-linux-gnu/libc.so.6(+0xf63fd)[0x7f85dd8883fd]
/lib/x86_64-linux-gnu/libc.so.6(__longjmp_chk+0x29)[0x7f85dd888359]
/usr/lib/x86_64-linux-gnu/libperl.so.5.20(+0x4d2f1)[0x7f85da4f72f1]
/usr/lib/x86_64-linux-gnu/libperl.so.5.20(Perl_my_failure_exit+0x43)[0x7f85da5000b3]
/usr/lib/x86_64-linux-gnu/libperl.so.5.20(Perl_die_unwind+0x27d)[0x7f85da5af08d]
/usr/lib/x86_64-linux-gnu/libperl.so.5.20(Perl_vcroak+0x39)[0x7f85da551ab9]
/usr/lib/x86_64-linux-gnu/libperl.so.5.20(+0xa8584)[0x7f85da552584]
/usr/lib/apache2/modules/mod_perl.so(+0x1e3d1)[0x7f85da8863d1]
/usr/lib/x86_64-linux-gnu/libperl.so.5.20(Perl_PerlIO_flush+0x3f)[0x7f85da5ef44f]
/usr/lib/x86_64-linux-gnu/libperl.so.5.20(PerlIOBase_close+0x26)[0x7f85da5f1346]
/usr/lib/apache2/modules/mod_perl.so(+0x1e3e9)[0x7f85da8863e9]
/usr/lib/x86_64-linux-gnu/libperl.so.5.20(PerlIO__close+0x28)[0x7f85da5f13f8]
/usr/lib/x86_64-linux-gnu/libperl.so.5.20(Perl_PerlIO_close+0xf)[0x7f85da5f143f]
/usr/lib/x86_64-linux-gnu/libperl.so.5.20(Perl_io_close+0xba)[0x7f85da5cbe8a]
/usr/lib/x86_64-linux-gnu/libperl.so.5.20(Perl_do_close+0x69)[0x7f85da5cbfb9]
/usr/lib/apache2/modules/mod_perl.so(modperl_response_handler_cgi+0x138)[0x7f85da87b3a8]
/usr/sbin/apache2(ap_run_handler+0x40)[0x7f85de69f2a0]
/usr/sbin/apache2(ap_invoke_handler+0x69)[0x7f85de69f7e9]
/usr/sbin/apache2(ap_process_async_request+0x392)[0x7f85de6b5682]
/usr/sbin/apache2(+0x6b1f0)[0x7f85de6b21f0]
/usr/sbin/apache2(ap_run_process_connection+0x40)[0x7f85de6a8b10]
/usr/lib/apache2/modules/mod_mpm_event.so(+0x6d7a)[0x7f85dacb7d7a]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x80a4)[0x7f85ddb430a4]
[Tue Jan 12 14:32:28.857012 2016] [core:notice] [pid 19350:tid 140212941145984] AH00052: child pid 1649 exit signal Segmentation fault (11)
[Tue Jan 12 14:32:28.857070 2016] [core:notice] [pid 19350:tid 140212941145984] AH00052: child pid 1650 exit signal Segmentation fault (11)
[Tue Jan 12 14:32:30.860185 2016] [core:notice] [pid 19350:tid 140212941145984] AH00052: child pid 1756 exit signal Segmentation fault (11)
[Tue Jan 12 14:32:31.861317 2016] [core:notice] [pid 19350:tid 140212941145984] AH00052: child pid 1809 exit signal Segmentation fault (11)
[Tue Jan 12 14:32:31.861365 2016] [core:notice] [pid 19350:tid 140212941145984] AH00052: child pid 1810 exit signal Segmentation fault (11)
[Tue Jan 12 14:32:34.865446 2016] [core:notice] [pid 19350:tid 140212941145984] AH00052: child pid 1968 exit signal Segmentation fault (11)

Any help will be greatly appreciated

Fred

Re: Random segmentation fault

Posted by John Dunlap <jo...@lariat.co>.
I ended up falling back to the previous Debian release. I'm planning to try
again in Debian 9.

On Tue, Jan 12, 2016 at 9:52 AM, FredB <nu...@free.fr> wrote:

> Hello,
>
> I have exactly the same issue that here
> https://mail-archives.apache.org/mod_mbox/perl-modperl/201509.mbox/%3CCAC5eUSu85CoiT0MkQvwvxjfrhJcn13DqJfV=EgFuXvwsWYrXLg@mail.gmail.com%3E
>
> Same OS, Debian Jessie, and no problem at all with same configuration and
> Debian wheezy -> apache2 2.2.22 and mod_perl 2.0.7
> After a while apache2 crashes with "Out of memory" but the complete system
> are using less than 15% of ram ...
>
> *** Error in `/usr/sbin/apache2': double free or corruption (!prev):
> 0x00007f8590000f10 ***
> [Tue Jan 12 14:32:25.852805 2016] [core:notice] [pid 19350:tid
> 140212941145984] AH00052: child pid 1487 exit signal Segmentation fault (11)
> [Tue Jan 12 14:32:25.852857 2016] [core:notice] [pid 19350:tid
> 140212941145984] AH00052: child pid 1488 exit signal Aborted (6)
> Out of memory!
> Out of memory!
> PerlIOApache_flush: flush can't be called before the response phase, <FIC>
> line 1599.
> *** longjmp causes uninitialized stack frame ***: /usr/sbin/apache2
> terminated
> ======= Backtrace: =========
> /lib/x86_64-linux-gnu/libc.so.6(+0x731ff)[0x7f85dd8051ff]
> /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f85dd8884c7]
> /lib/x86_64-linux-gnu/libc.so.6(+0xf63fd)[0x7f85dd8883fd]
> /lib/x86_64-linux-gnu/libc.so.6(__longjmp_chk+0x29)[0x7f85dd888359]
> /usr/lib/x86_64-linux-gnu/libperl.so.5.20(+0x4d2f1)[0x7f85da4f72f1]
>
> /usr/lib/x86_64-linux-gnu/libperl.so.5.20(Perl_my_failure_exit+0x43)[0x7f85da5000b3]
>
> /usr/lib/x86_64-linux-gnu/libperl.so.5.20(Perl_die_unwind+0x27d)[0x7f85da5af08d]
> /usr/lib/x86_64-linux-gnu/libperl.so.5.20(Perl_vcroak+0x39)[0x7f85da551ab9]
> /usr/lib/x86_64-linux-gnu/libperl.so.5.20(+0xa8584)[0x7f85da552584]
> /usr/lib/apache2/modules/mod_perl.so(+0x1e3d1)[0x7f85da8863d1]
>
> /usr/lib/x86_64-linux-gnu/libperl.so.5.20(Perl_PerlIO_flush+0x3f)[0x7f85da5ef44f]
>
> /usr/lib/x86_64-linux-gnu/libperl.so.5.20(PerlIOBase_close+0x26)[0x7f85da5f1346]
> /usr/lib/apache2/modules/mod_perl.so(+0x1e3e9)[0x7f85da8863e9]
>
> /usr/lib/x86_64-linux-gnu/libperl.so.5.20(PerlIO__close+0x28)[0x7f85da5f13f8]
>
> /usr/lib/x86_64-linux-gnu/libperl.so.5.20(Perl_PerlIO_close+0xf)[0x7f85da5f143f]
>
> /usr/lib/x86_64-linux-gnu/libperl.so.5.20(Perl_io_close+0xba)[0x7f85da5cbe8a]
>
> /usr/lib/x86_64-linux-gnu/libperl.so.5.20(Perl_do_close+0x69)[0x7f85da5cbfb9]
>
> /usr/lib/apache2/modules/mod_perl.so(modperl_response_handler_cgi+0x138)[0x7f85da87b3a8]
> /usr/sbin/apache2(ap_run_handler+0x40)[0x7f85de69f2a0]
> /usr/sbin/apache2(ap_invoke_handler+0x69)[0x7f85de69f7e9]
> /usr/sbin/apache2(ap_process_async_request+0x392)[0x7f85de6b5682]
> /usr/sbin/apache2(+0x6b1f0)[0x7f85de6b21f0]
> /usr/sbin/apache2(ap_run_process_connection+0x40)[0x7f85de6a8b10]
> /usr/lib/apache2/modules/mod_mpm_event.so(+0x6d7a)[0x7f85dacb7d7a]
> /lib/x86_64-linux-gnu/libpthread.so.0(+0x80a4)[0x7f85ddb430a4]
> [Tue Jan 12 14:32:28.857012 2016] [core:notice] [pid 19350:tid
> 140212941145984] AH00052: child pid 1649 exit signal Segmentation fault (11)
> [Tue Jan 12 14:32:28.857070 2016] [core:notice] [pid 19350:tid
> 140212941145984] AH00052: child pid 1650 exit signal Segmentation fault (11)
> [Tue Jan 12 14:32:30.860185 2016] [core:notice] [pid 19350:tid
> 140212941145984] AH00052: child pid 1756 exit signal Segmentation fault (11)
> [Tue Jan 12 14:32:31.861317 2016] [core:notice] [pid 19350:tid
> 140212941145984] AH00052: child pid 1809 exit signal Segmentation fault (11)
> [Tue Jan 12 14:32:31.861365 2016] [core:notice] [pid 19350:tid
> 140212941145984] AH00052: child pid 1810 exit signal Segmentation fault (11)
> [Tue Jan 12 14:32:34.865446 2016] [core:notice] [pid 19350:tid
> 140212941145984] AH00052: child pid 1968 exit signal Segmentation fault (11)
>
> Any help will be greatly appreciated
>
> Fred
>



-- 
John Dunlap
*CTO | Lariat *

*Direct:*
*john@lariat.co <jo...@lariat.co>*

*Customer Service:*
877.268.6667
support@lariat.co