Skip Menu |

This queue is for tickets about the CGI-SpeedyCGI CPAN distribution.

Report information
The Basics
Id: 50132
Status: new
Priority: 0/
Queue: CGI-SpeedyCGI

People
Owner: Nobody in particular
Requestors: VKHERA [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 2.22
Fixed in: (no value)



Subject: segfault with perl 5.10 and warnings enabled.
I was getting segfaults when my speedy program called exit(). It seems this was debugged and fixed in debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=537996 The relevant patch is: Author: Niko Tyni <ntyni@debian.org> Description: Closes: #537996 The SvIV call crashes in on Perl 5.10.0 when warnings are enabled and the value is undef. --- src/speedy_perl.c +++ src/speedy_perl.c @@ -818,7 +818,7 @@ my_call_sv(get_perlvar(&PERLVAR_RESET_GLOBALS)); /* Copy option values in from the perl vars */ - if (SvIV(PERLVAL_OPTS_CHANGED)) { + if (SvTRUE(PERLVAL_OPTS_CHANGED)) { int i; for (i = 0; i < SPEEDY_NUMOPTS; ++i) { OptRec *o = speedy_optdefs + i;