httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Boris Zentner <...@2bz.de>
Subject Re: libapreq2 segfaults on startup
Date Sat, 03 Sep 2005 15:20:16 GMT
Hi,

Am 03.09.2005 um 10:39 schrieb Philip M. Gollucci:

>>>> lisa:~ borisz$ perl -MApache2::Request -e1
>>>>
> This works for me
> smgellar.p6m7g8.net rv=0>perl -MApache2::Request -e1
> smgellar.p6m7g8.net rv=0>
>
> Try this and post the results:
> smgellar.p6m7g8.net rv=0>perl -d -MApache2::Request -e1
> Loading DB routines from perl5db.pl version 1.28
> Editor support available.
>
> Enter h or `h h' for help, or `man perldebug' for more help.
>
> main::(-e:1):   1
>   DB<1> t
> Trace = on
>   DB<1> r
> You should get an error and stack trace here.  If not,
> 'T' will give it to you.
>
>

It segfaults immediately.

lisa:/tmp borisz$ perl -d -MApache2::Request -e1

Loading DB routines from perl5db.pl version 1.25
Editor support available.

Enter h or `h h' for help, or `man perldebug' for more help.

dyld: NSLinkModule() error
dyld: Symbol not found: _modperl_xs_sv2request_rec
   Referenced from: /usr/local/cb/perl5.8.4/lib/site_perl/5.8.4/ 
darwin-thread-multi-2level/auto/APR/Request/Apache2/Apache2.bundle
   Expected in: dynamic lookup

Trace/BPT trap

I attached a stacktrace from gdb.

(gdb) run
Starting program: /usr/local/cb/perl5.8.4/bin/perl -MApache2::Request  
-e1
Reading symbols for shared libraries .+ done
Reading symbols for shared libraries ............. done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
dyld: NSLinkModule() error
dyld: Symbol not found: _modperl_xs_sv2request_rec
   Referenced from: /usr/local/cb/perl5.8.4/lib/site_perl/5.8.4/ 
darwin-thread-multi-2level/auto/APR/Request/Apache2/Apache2.bundle
   Expected in: dynamic lookup


Program received signal SIGTRAP, Trace/breakpoint trap.
0x8fe01d48 in __dyld__ZN4dyld4haltEPKc ()
(gdb) bt
#0  0x8fe01d48 in __dyld__ZN4dyld4haltEPKc ()
#1  0x00000000 in ?? ()
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
#2  0x8fe01d44 in __dyld__ZN4dyld4haltEPKc ()
Cannot access memory at address 0x0
#3  0x00002b88 in dlopen ()
#4  0x00002cfc in XS_DynaLoader_dl_load_file ()
#5  0x002636d0 in Perl_pp_entersub ()
#6  0x0025c03c in Perl_runops_standard ()
#7  0x00208dc4 in Perl_call_sv ()
#8  0x0020cab4 in S_call_list_body ()
#9  0x0020c6e0 in Perl_call_list ()
#10 0x002332a8 in Perl_newATTRSUB ()
#11 0x0022fcb8 in Perl_utilize ()
#12 0x00227f5c in Perl_yyparse ()
#13 0x0029082c in S_doeval ()
#14 0x00291e04 in Perl_pp_require ()
#15 0x0025c03c in Perl_runops_standard ()
#16 0x00208dc4 in Perl_call_sv ()
#17 0x0020cab4 in S_call_list_body ()
#18 0x0020c6e0 in Perl_call_list ()
#19 0x002332a8 in Perl_newATTRSUB ()
#20 0x0022fcb8 in Perl_utilize ()
#21 0x00227f5c in Perl_yyparse ()
#22 0x00208058 in S_parse_body ()
#23 0x0020706c in perl_parse ()
#24 0x00002788 in main ()
(gdb)

--
Boris



Mime
View raw message