seaver has asked for the wisdom of the Perl Monks concerning the following question:
I dont get this problem if I run the software locally, but it crashes with a segmentation fault if I try to run it via CGI.
Basically i have a XML-RPC cgi file set-up, and when the method inside is called, it runs the main external perl script.
This perl script, amongst other things, uses two external C programs to do some work...
here's the two lines that uses the two programs:qx "$msms $coords1 $coords2 $$Vertex_Density >$mslog 2>&1"; qx "$hbplus $pdbfile >$hblog 2>&1";
the first program runs without a hitch, the second program is the one that crashes, EVEN though the main perl script runs ok locally.
I've pinpointed two possible areas of fault:
ps there is no output, just "Segmentation Fault"; pps all uids are go. I hope.
20030516 Edit by Corion Removed PRE tags, added formatting
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: External C ran from External Perl ran from CGI
by halley (Prior) on May 16, 2003 at 18:25 UTC | |
|
Re: External C ran from External Perl ran from CGI
by graff (Chancellor) on May 16, 2003 at 19:31 UTC | |
by seaver (Pilgrim) on May 19, 2003 at 17:05 UTC | |
by seaver (Pilgrim) on May 16, 2003 at 20:04 UTC |