perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BeeThere Admin <ad...@beethere.net>
Subject Intermittent Segfaults
Date Thu, 16 Mar 2006 01:24:21 GMT
I noticed segfaults in my error logs a couple days ago. I am getting 1 for about every 1K page
views. I am able to reproduce it now, but still can't make any sense of it. I'm sending a
backtrace, and my environment.
 
It is not based on any particular or even area of my site URL. It definately happens under
greater load.
 
Note: Though there are a few lines in the backtrace about caching, I am NOT using any of the
caching functionality right now. At least, I do not have any of it enabled.
 
My Env:
Perl: 5.8.7
EmbPerl: 2.0.0 (I did get a patch to get the caching to work via the infinate benevolence
of Gerald)
Apache: 2.0.54
 
The relevant (Embperl) parts of my httpd.conf is:
 
LoadModule  embperl_module /home/carl/projects/GOB/third-party/perl/lib/5.8.7/i686-linux/auto/Embperl/Embperl.so
PerlRequire Embperl.pm
PerlRequire /home/carl/projects/GOB/uis/pre_compile_pages.pl
Embperl_Top_Include "use strict;"
Embperl_Input_Escmode 0
Embperl_Syntax EmbperlBlocks
Embperl_Object_Base base.htt
Embperl_Options 524432
Embperl_UseEnv on
EMBPERL_LOG /home/carl/projects/GOB/third-party/apache/logs/embperl_log
EMBPERL_SESSION_HANDLER_CLASS no
EMBPERL_OPTIONS 524432
EMBPERL_ESCMODE 0
EMBPERL_DEBUG 0

* I have 3 directories that contain EmbPerl apps (3 base.htt files). 
* I'm not using the Object functionality.
 
The backtrace is below.
 
I would really appreciate some input on this. I am just about to have a major release, with
a whole lot more data, a major marketing push, and a bunch of relationships that are going
to drive traffic. All of that is waiting on resolution of this problem. I will happily do
anything I can on my side to help.
 
-Carl
 
#0  0xf7d9c89d in EMBPERL2_Node_appendChild () from /home/carl/projects/GOB/third-party/perl/lib/5.8.7/i686-linux/auto/Embperl/Embperl.so
(gdb) bt
#0  0xf7d9c89d in EMBPERL2_Node_appendChild () from /home/carl/projects/GOB/third-party/perl/lib/5.8.7/i686-linux/auto/Embperl/Embperl.so
#1  0xf7d97a73 in embperl_Parse () from /home/carl/projects/GOB/third-party/perl/lib/5.8.7/i686-linux/auto/Embperl/Embperl.so
#2  0xf7da55a7 in ProviderEpParse_GetContentIndex () from /home/carl/projects/GOB/third-party/perl/lib/5.8.7/i686-linux/auto/Embperl/Embperl.so
#3  0xf7da4300 in Cache_GetContentIndex () from /home/carl/projects/GOB/third-party/perl/lib/5.8.7/i686-linux/auto/Embperl/Embperl.so
#4  0xf7da571a in ProviderEpCompile_GetContentIndex () from /home/carl/projects/GOB/third-party/perl/lib/5.8.7/i686-linux/auto/Embperl/Embperl.so
#5  0xf7da41c0 in Cache_GetContentSvIndex () from /home/carl/projects/GOB/third-party/perl/lib/5.8.7/i686-linux/auto/Embperl/Embperl.so
#6  0xf7da5985 in ProviderEpRun_GetContentIndex () from /home/carl/projects/GOB/third-party/perl/lib/5.8.7/i686-linux/auto/Embperl/Embperl.so
#7  0xf7da4300 in Cache_GetContentIndex () from /home/carl/projects/GOB/third-party/perl/lib/5.8.7/i686-linux/auto/Embperl/Embperl.so
#8  0xf7d8558b in ProcessFile () from /home/carl/projects/GOB/third-party/perl/lib/5.8.7/i686-linux/auto/Embperl/Embperl.so
#9  0xf7d859ba in embperl_RunComponent () from /home/carl/projects/GOB/third-party/perl/lib/5.8.7/i686-linux/auto/Embperl/Embperl.so
#10 0xf7d85c93 in embperl_ExecuteComponent () from /home/carl/projects/GOB/third-party/perl/lib/5.8.7/i686-linux/auto/Embperl/Embperl.so
#11 0xf7dc26be in XS_Embperl__Req_execute_component () from /home/carl/projects/GOB/third-party/perl/lib/5.8.7/i686-linux/auto/Embperl/Embperl.so
#12 0xf7eac35e in Perl_pp_entersub () from /home/carl/projects/GOB/third-party/apache/modules/mod_perl.so
#13 0xf7eaaead in Perl_runops_standard () from /home/carl/projects/GOB/third-party/apache/modules/mod_perl.so
#14 0xf7e5e62b in S_call_body () from /home/carl/projects/GOB/third-party/apache/modules/mod_perl.so
#15 0xf7e5f175 in Perl_call_sv () from /home/carl/projects/GOB/third-party/apache/modules/mod_perl.so
#16 0xf7d8ac24 in EMBPERL2_CallStoredCV () from /home/carl/projects/GOB/third-party/perl/lib/5.8.7/i686-linux/auto/Embperl/Embperl.so
#17 0xf7da0000 in embperl_Execute () from /home/carl/projects/GOB/third-party/perl/lib/5.8.7/i686-linux/auto/Embperl/Embperl.so
#18 0xf7da59b9 in ProviderEpRun_GetContentIndex () from /home/carl/projects/GOB/third-party/perl/lib/5.8.7/i686-linux/auto/Embperl/Embperl.so
#19 0xf7da4300 in Cache_GetContentIndex () from /home/carl/projects/GOB/third-party/perl/lib/5.8.7/i686-linux/auto/Embperl/Embperl.so
#20 0xf7d8558b in ProcessFile () from /home/carl/projects/GOB/third-party/perl/lib/5.8.7/i686-linux/auto/Embperl/Embperl.so
#21 0xf7d860df in embperl_RunRequest () from /home/carl/projects/GOB/third-party/perl/lib/5.8.7/i686-linux/auto/Embperl/Embperl.so
#22 0xf7dc23f4 in XS_Embperl__Req_run () from /home/carl/projects/GOB/third-party/perl/lib/5.8.7/i686-linux/auto/Embperl/Embperl.so
#23 0xf7eac35e in Perl_pp_entersub () from /home/carl/projects/GOB/third-party/apache/modules/mod_perl.so
#24 0xf7eaaead in Perl_runops_standard () from /home/carl/projects/GOB/third-party/apache/modules/mod_perl.so
#25 0xf7e5e62b in S_call_body () from /home/carl/projects/GOB/third-party/apache/modules/mod_perl.so
#26 0xf7e5f175 in Perl_call_sv () from /home/carl/projects/GOB/third-party/apache/modules/mod_perl.so
#27 0xf7e4b984 in modperl_callback () from /home/carl/projects/GOB/third-party/apache/modules/mod_perl.so
#28 0xf7e4bd6c in modperl_callback_run_handlers () from /home/carl/projects/GOB/third-party/apache/modules/mod_perl.so
#29 0xf7e4c112 in modperl_callback_per_dir () from /home/carl/projects/GOB/third-party/apache/modules/mod_perl.so
#30 0xf7e482ad in modperl_response_handler_run () from /home/carl/projects/GOB/third-party/apache/modules/mod_perl.so
#31 0xf7e4842a in modperl_response_handler_cgi () from /home/carl/projects/GOB/third-party/apache/modules/mod_perl.so
#32 0x080673db in ap_run_handler (r=0x8571550) at config.c:152
#33 0x08069d85 in ap_invoke_handler (r=0x8571550) at config.c:364
#34 0x080655df in ap_process_request (r=0x8571550) at http_request.c:249
#35 0x08060e6c in ap_process_http_connection (c=0x857b660) at http_core.c:251
#36 0x0807013b in ap_run_process_connection (c=0x857b660) at connection.c:43
#37 0x080664e8 in child_main (child_num_arg=Variable "child_num_arg" is not available.
) at prefork.c:610
#38 0x08066671 in make_child (s=Variable "s" is not available.
) at prefork.c:704
#39 0x08066701 in startup_children (number_to_start=2) at prefork.c:722
#40 0x08066dcd in ap_mpm_run (_pconf=0x809c0a8, plog=0x80c6150, s=0x809de58) at prefork.c:941
#41 0x0806be4a in main (argc=3, argv=0xffffc3a4) at main.c:618
(gdb) 
Mime
View raw message