ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> modperl
modperl
Re: axkit segfaults
by other posts by this author
Sep 30 2001 4:20PM messages near this date
Re: axkit segfaults | Re: axkit segfaults
I read th FAQ but no succes:



kampen@eureka:/w20/htdocs/xmltest >  strings /w20/bin/httpd  |grep -i XML
kampen@eureka:/w20/htdocs/xmltest >  


I removed ssl and php4  from the build and only concentrated on modperl
1.26 and apache 1.3.20:
[Sun Sep 30 18:06:32 2001] [notice] Apache/1.3.20 (Unix) AxKit/1.4
mod_perl/1.26 configured -- resuming normal operations






(gdb) run -X
Starting program: /w20/bin/httpd -X

Program received signal SIGSEGV, Segmentation fault.
0x80c476f in Perl_gv_init ()
(gdb) bt
#0  0x80c476f in Perl_gv_init ()
#1  0x80c4a4b in Perl_gv_fetchmeth ()
#2  0x80c4ee8 in Perl_gv_fetchmethod_autoload ()
#3  0x80c4e08 in Perl_gv_fetchmethod ()
#4  0x8108ced in Perl_sv_clear ()
#5  0x810935e in Perl_sv_free ()
#6  0x811a086 in Perl_free_tmps ()
#7  0x80c1827 in perl_eval_sv ()
#8  0x808cf7e in perl_require_module ()
#9  0x402e9a8f in XS_AxKit_load_module () from
/usr/lib/perl5/site_perl/5.6.0/i586-linux/auto/AxKit/AxKit.so
#10 0x81030cd in Perl_pp_entersub ()
#11 0x80fdc80 in Perl_runops_standard ()
#12 0x80c158a in S_call_body ()
#13 0x80c1351 in perl_call_sv ()
#14 0x8087651 in perl_call_handler ()
#15 0x8086f2c in perl_run_stacked_handlers ()
#16 0x80859a4 in perl_handler ()
#17 0x8093019 in ap_invoke_handler ()
#18 0x80a85ef in process_request_internal ()
#19 0x80a8662 in ap_process_request ()
#20 0x809f296 in child_main ()
#21 0x809f455 in make_child ()
#22 0x809f5d6 in startup_children ()
#23 0x809fc5c in standalone_main ()
#24 0x80a048c in main ()
#25 0x400b4baf in __libc_start_main () from /lib/libc.so.6
(gdb) quit
The program is running.  Exit anyway? (y or n) y




I first tried the installation that was mentioned in the AxKit INSTALL
file. After that I tried building building it again in two steps with the
PREP command. In all cases the gdb bt looks quite similar. Each time  I
did new untar's on modperl and apache  tarballs.



kampen@eureka:~/down/modperl/mod_perl-1.26 >  less arnold 
#!/bin/bash

perl Makefile.PL         EVERYTHING=1         USE_APACI=1         DYNAMIC=1         APACHE_P
REFIX=/usr/local/apache         APACHE_SRC=../../httpd/apache_1.3.20/src          DO_HTTPD=1
         PREP_HTTPD=1 

$ make
# make install


kampen@eureka:~/down/httpd/apache_1.3.20 >  less arnold 
#!/bin/bash

SSL_BASE=/usr/local/ssl
./configure         --prefix=/usr/local/apache         --enable-module=rewrite         --ena
ble-shared=rewrite         --activate-module=src/modules/perl/libperl.a         --enable-mod
ule=perl         --enable-module=rewrite         --enable-module=proxy         --disable-rul
e=expat         --enable-suexec         --suexec-uidmin=65534         --suexec-gidmin=65534 
        
$ make
# make install





Arnold van kampen






On Fri, 28 Sep 2001, Robin Berjon wrote:

>  On Friday 28 September 2001 15:19, test@[...].nl wrote:
>  > I used the an test.xml from  example taken from axkit.org
>  
>  You don't mention having checked you don't have expat compiled in. Quoting 
>  from the FAQ:
>  
>  "First of all, to find out if this is your problem, execute the command: 
>  strings /path/to/apache/bin/httpd | grep -i XML. If there are any results at 
>  all then you are going to see these segfaults until you recompile Apache (and 
>  probably mod_perl too)"
>  
>  -- 
>  _______________________________________________________________________
>  Robin Berjon <robin@[...].com> -- CTO
>  k n o w s c a p e : // venture knowledge agency www.knowscape.com
>  -----------------------------------------------------------------------
>  Learn from your parents mistakes - use birth control. 
>  
Thread:

Robin Berjon

Robin Berjon

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved