[OGDev] Floating point exception

IvorW ivorw-openguides at xemaps.com
Wed Oct 10 08:41:45 BST 2007


Rev Simon Rumble wrote:
> I accidentally posted this to OG London.  Whoops.  Sorry if you get it 
> twice.
>
> Following upgrade to the latest Debian package (0.59-1) my Openguide is 
> failing.  Running it directly, I get the not terribly helpful:
>
> simon at stout:/etc/openguides/default$ /usr/lib/cgi-bin/openguides/wiki.cgi
> Floating point exception
>
> It looks like a Debian perl thing...  Also getting the same error from 
> my blog (blosxom) though not all perl programs.
>
> There's a megabyte or so strace here, from running wiki.cgi.  Looks like 
> it's loading the modules fine, but then breaks.  Anyone with Perl and 
> strace voodoo got any ideas?  No logged bugs against perl-base that give 
> me any clues...
>
> http://www.rumble.net/stuff/strace
>   
Simon, can you paste or attach the output of perl -V

Can you launch the script in the debugger?

perl -d /usr/lib/cgi-bin/openguides/wiki.cgi

(does it crap out before getting to the debugger prompt?)

If the answer to this is yes, it craps out, you might still be able to
find out how far it's getting with Devel::Modlist (you will probably
need to install this module from CPAN).

I'd also suggest getting help from somewhere else, like perlmonks or the
London.pm list.



More information about the OpenGuides-Dev mailing list