stas 2002/11/25 23:39:57 Modified: src/docs/1.0/guide troubleshooting.pod Log: document the DynaLoader vs XSLoader segfaul problem as explained by Doug back in May. Revision Changes Path 1.15 +29 -4 modperl-docs/src/docs/1.0/guide/troubleshooting.pod Index: troubleshooting.pod =================================================================== RCS file: /home/cvs/modperl-docs/src/docs/1.0/guide/troubleshooting.pod,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- troubleshooting.pod 25 Oct 2002 13:10:13 -0000 1.14 +++ troubleshooting.pod 26 Nov 2002 07:39:57 -0000 1.15 @@ -31,14 +31,39 @@ =head2 SegFaults During Startup +Possible reasons and solutions: + +=over + +=item * + You have to build mod_perl with the same compiler as Perl was built with. Otherwise you may see segmentation faults and other weird things happen. -However if this is not the situation and you still experience -segmentation faults, please refer to the I<SUPPORT> file in the -mod_perl source distribution and post the trace from the core file as -explained there. +=item * + +This could be the XSLoader vs. DynaLoader problem, where the list of +dl_handles created by XSLoader is wiped out by DynaLoader. Try +adding: + + use DynaLoader (); + +to your I<startup.pl> before any other module is loaded. + +This has been resolved in perl 5.8.0. For earlier versions of Perl you +need to comment out: + + [EMAIL PROTECTED] = (); # things we have loaded + [EMAIL PROTECTED] = (); # Modules we have loaded + +in I<DynaLoader.pm>. + +=back + +However if none of this cases applies and you still experience +segmentation faults, please report the problem using the L<following +guidelines|guide::help/How_to_Report_Problems>. =head2 libexec/libperl.so: open failed: No such file or directory
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]