Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jhorwitz (4227)

jhorwitz
  reversethis-{gro.gnihsams} {ta} {ffej}
http://www.smashing.org/

System administrator, Perl hacker, author of "Unix System Management Primer Plus" (SAMS 2003), mod_parrot, extproc_perl, Authen::Krb4, Authen::Krb5.

Journal of jhorwitz (4227)

Thursday May 22, 2003
09:10 AM

Optimize, Shmoptimize

[ #12375 ]
Good lord. I've been hunting down a strange SEGFAULT with the next release of extproc_perl, and after hours and hours of looking at perfectly good code, the culprit was...optimization flags! Turns out that ExtUtils::Embed is nice enough to let you specify your own optimizations, which in my case turned out to be nothing at all. I guess this makes sense since you're embedding Perl in YOUR program, and not building Perl itself. In any case, I decided to use Perl's optimization flags from the Config module, and voila! SEGFAULT gone.

And just for kicks, to further the definition of irony, at the time of the error I was implementing debugging functionality in my code! ARGH!

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.