Hi Stefan,

Sorry for me late reply, but the last week was horrible full of work...

I just tried to find out what's wrong, but it's not so easy. 

It would be very helpfull if you have a chance to create a small tests case,
that doesn't depends on other files, that reproduces this behaviour. Then I
could debug it here on my computer.

In case that is not so easy, please set EMBPERL_DEBUG to 0x7fffffff and
rerun it. Then send me the /tmp/embperl.log and again the stackbacktrace
(because it seems that it not always crashs at the same point)

Gerald


---------------------------------------------------------------------------
Gerald Richter            ecos electronic communication services gmbh
IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
---------------------------------------------------------------------------
ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
---------------------------------------------------------------------------
  

> -----Original Message-----
> From: Stefan Cars [mailto:[EMAIL PROTECTED] 
> Sent: Monday, August 30, 2004 9:48 PM
> To: Gerald Richter
> Cc: [EMAIL PROTECTED]
> Subject: Re: Really weird problems.
> 
> Gerald Richter wrote:
> > Hi,
> > 
> > 
> >>GDB shows the following information when running ./httpd -X:
> >>
> >>Program received signal SIGSEGV, Segmentation fault.
> >>0x28591d65 in EMBPERL2_Node_selfCloneNode ()
> >>   from
> >>/usr/local/lib/perl5/site_perl/5.8.2/mach/auto/Embperl/Embperl.so
> >>
> > 
> > 
> > Could you try Embperl-2.0rc1 ?
> > 
> > If it still segfaults, could you please compile Embperl with
> > 
> > perl Makefile.PL debug
> > make install
> > 
> > And again make a stackbacktrace.
> > 
> > Gerald
> 
> It crashes again. Look below:
> 
> Crash:
> Program received signal SIGSEGV, Segmentation fault.
> 0x28595244 in EMBPERL2_Node_selfPreviousSibling (a=0x86d1034,
>      pDomTree=0x86a8074, pNode=0x8be918c, nRepeatLevel=0) at 
> epdom.c:3540
> 3540            return Node_selfLevel (a, pDomTree, pNode -> xPrev, 
> nRepeatLevel) ;
> 
> 
> Here is a bt:
> 
> #0  0x28595244 in EMBPERL2_Node_selfPreviousSibling (a=0x86d1034,
>      pDomTree=0x86a8074, pNode=0x8be918c, nRepeatLevel=0) at 
> epdom.c:3540
> #1  0x2859207a in EMBPERL2_DomTree_checkpoint (r=0x8b7a034,
> nRunCheckpoint=23)
>      at epdom.c:1871
> #2  0x2857486a in XS_XML__Embperl__DOM__Tree_iCheckpoint 
> (cv=0x88fd0e0)
>      at DOM.xs:257
> #3  0x284d2a8b in Perl_pp_entersub ()
>     from /usr/local/lib/perl5/5.8.2/mach/CORE/libperl.so
> #4  0x284cb7b5 in Perl_runops_standard ()
>     from /usr/local/lib/perl5/5.8.2/mach/CORE/libperl.so
> #5  0x28478383 in S_call_body ()
>     from /usr/local/lib/perl5/5.8.2/mach/CORE/libperl.so
> #6  0x284780ca in Perl_call_sv ()
>     from /usr/local/lib/perl5/5.8.2/mach/CORE/libperl.so
> #7  0x2857fbea in EMBPERL2_CallStoredCV (r=0x8b7a034, 
> sArg=0x0, pSub=0x2,
>      numArgs=1, pArgs=0xbfbfe690, flags=0, pRet=0xbfbfe69c) 
> at epeval.c:744
> #8  0x2859a614 in embperl_Execute2 (r=0x8b7a034, 
> xSrcDomTree=146627120,
>      pCV=0x8bf9f7c, pResultDomTree=0x2) at epcomp.c:1838
> #9  0x2859a9e0 in embperl_Execute (r=0x8b7a034, 
> xSrcDomTree=2, pCV=0x2,
>      pResultDomTree=0x8b7a1a4) at epcomp.c:1951 #10 
> 0x2859de0d in ProviderEpRun_GetContentIndex (r=0x8b7a034,
>      pProvider=0x8838e80, pData=0x8b7a1a4, bUseCache=0 '\0')
>      at epprovider.c:1780
> #11 0x2859c50b in Cache_GetContentIndex (r=0x8b7a034, pItem=0x8173400,
>      pData=0x8b7a1a4, bUseCache=0 '\0') at epcache.c:1021
> #12 0x28579713 in ProcessFile (r=0x8b7a034, nFileSize=0) at 
> epmain.c:1263
> #13 0x285798d3 in embperl_RunRequest (r=0x8b7a034) at epmain.c:1343
> #14 0x28579ba5 in embperl_ExecuteRequest (pApacheReqSV=0x2, 
> pPerlParam=0x2)
>      at epmain.c:1447
> #15 0x2857159f in XS_Embperl__Req_ExecuteRequest (cv=0x88f98d4)
>      at Embperl.xs:109
> #16 0x284d2a8b in Perl_pp_entersub ()
>     from /usr/local/lib/perl5/5.8.2/mach/CORE/libperl.so
> #17 0x284cb7b5 in Perl_runops_standard ()
>     from /usr/local/lib/perl5/5.8.2/mach/CORE/libperl.so
> #18 0x28478383 in S_call_body ()
>     from /usr/local/lib/perl5/5.8.2/mach/CORE/libperl.so
> #19 0x284780ca in Perl_call_sv ()
>     from /usr/local/lib/perl5/5.8.2/mach/CORE/libperl.so
> #20 0x2843e76d in modperl_callback ()
>     from /usr/local/apache2_embperl/modules/mod_perl.so
> #21 0x2843ec2a in modperl_callback_run_handlers ()
>     from /usr/local/apache2_embperl/modules/mod_perl.so
> #22 0x2843ed3c in modperl_callback_per_dir ()
>     from /usr/local/apache2_embperl/modules/mod_perl.so
> #23 0x2843b69d in modperl_response_handler_run ()
> #24 0x2843b8c1 in modperl_response_handler_cgi ()
>     from /usr/local/apache2_embperl/modules/mod_perl.so
> #25 0x0809f3d2 in ap_run_handler (r=0x8b71050) at config.c:151
> #26 0x0809f896 in ap_invoke_handler (r=0x8b71050) at config.c:358
> #27 0x08088963 in ap_process_request (r=0x8b71050) at 
> http_request.c:246
> #28 0x08084615 in ap_process_http_connection (c=0x8b6b128) at 
> http_core.c:250
> #29 0x080a8b16 in ap_run_process_connection (c=0x8b6b128) at 
> connection.c:42 #30 0x0809df8f in child_main 
> (child_num_arg=2) at prefork.c:609
> #31 0x0809e136 in make_child (s=0x80ed6d8, slot=0) at prefork.c:649
> #32 0x0809e18f in startup_children (number_to_start=15) at 
> prefork.c:721
> #33 0x0809e87d in ap_mpm_run (_pconf=0x809d968, plog=0x8128018, s=0xf)
>      at prefork.c:940
> #34 0x080a382a in main (argc=2, argv=0xbfbfecfc) at main.c:617
> #35 0x08063012 in _start ()
> 
> 
> 
> 
> 
> 
> ---
> Stefan Cars
> Snowfall Communications
> http://www.snowfall.se
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to