Your message dated Sun, 28 Apr 2013 18:41:46 +0100 with message-id <[email protected]> and subject line Re: Bug#537996: More details has caused the Debian Bug report #539220, regarding segfault calling SvIV() after perl_run() to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 539220: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539220 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: speedy-cgi-perl Version: 2.22-10 Severity: normal Hi After upgrading my server to Lenny, I'm seeing regular segfaults of speedy_backend in my syslog: Jul 22 10:26:19 chandra kernel: speedy_backend[17306]: segfault at 206024a ip b7e91585 sp bfb4e6f0 error 4 in libperl.so.5.10.0[b7de0000+149000] I've compiled a version of libperl5.10 with debug symbols and got the backtrace bellow. Not sure if this is a problem with speedy or Perl itself. The CGI script that is crashing has been in use on Etch for a long time without problems and segfaults don't seem to happen if I run the script under regular Perl. Thanks Tomaz Solc (gdb) bt #0 0xb7f87134 in S_find_uninit_var (my_perl=0x909c008, obase=0x947d500, uninit_sv=0x90a1640, match=0 '\0') at sv.c:12139 #1 0xb7f872e0 in Perl_report_uninit (my_perl=0x909c008, uninit_sv=0x90a1640) at sv.c:12182 #2 0xb7f6bcca in S_sv_2iuv_common (my_perl=0x909c008, sv=0x90a1640) at sv.c:2121 #3 0xb7f6c08a in Perl_sv_2iv_flags (my_perl=0x909c008, sv=0x90a1640, flags=2) at sv.c:2208 #4 0x0804df84 in speedy_perl_run () #5 0x0804b871 in _start () (gdb) print *uninit_sv $24 = {sv_any = 0x90a163c, sv_refcnt = 1, sv_flags = 2, sv_u = {svu_iv = 0, svu_uv = 0, svu_rv = 0x0, svu_pv = 0x0, svu_array = 0x0, svu_hash = 0x0, svu_gp = 0x0}} (gdb) print *kid $25 = {op_next = 0x947d500, op_sibling = 0x0, op_ppaddr = 0xb7f5cf2c <Perl_pp_const>, op_targ = 46, op_type = 5, op_opt = 1, op_latefree = 0, op_latefreed = 0, op_attached = 0, op_spare = 0, op_flags = 2 '\002', op_private = 0 '\0'} (gdb) print *((SVOP*)kid) $26 = {op_next = 0x947d500, op_sibling = 0x0, op_ppaddr = 0xb7f5cf2c <Perl_pp_const>, op_targ = 46, op_type = 5, op_opt = 1, op_latefree = 0, op_latefreed = 0, op_attached = 0, op_spare = 0, op_flags = 2 '\002', op_private = 0 '\0', op_sv = 0x0} -- System Information: Debian Release: 5.0.2 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages speedy-cgi-perl depends on: ii libc6 2.7-18 GNU C Library: Shared libraries ii libperl5.10 5.10.0-19 Shared Perl library ii perl 5.10.0-19 Larry Wall's Practical Extraction speedy-cgi-perl recommends no packages. speedy-cgi-perl suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Version: 5.14.2-21 On Thu, Jul 30, 2009 at 12:05:48AM +0300, Niko Tyni wrote: > On Sun, Jul 26, 2009 at 05:01:39PM +0200, Tomaž Šolc wrote: > > >> Somebody with deeper knowledge of Perl guts will have to tell if it just > > >> fixes the symptoms or the cause of the bug. > > > With some trial-and-error I came up with the attached script - that's > > the shortest script I can get to crash. > > I'm attaching a core-only version of the test script and a short C program > that embeds Perl and crashes in the same way on i386 when running the > test script with '-w'. > > I'll apply your SvTRUE workaround for speedy-cgi-perl, but I'm cloning > a separate bug against perl. If the C program is doing something wrong, > I suppose perlembed.pod should have a note about it. As of 5.14.2-21, this doesn't crash: dom@callisto:~/debian/perl/539220$ cc -o test test.c `perl -MExtUtils::Embed -e ccopts -e ldopts` dom@callisto:~/debian/perl/539220$ ./test -w crash.pl Use of uninitialized value in exit at crash.pl line 5. value: 0 So I'm marking this as done. -- Dominic Hargreaves | http://www.larted.org.uk/~dom/ PGP key 5178E2A5 from the.earth.li (keyserver,web,email)
--- End Message ---

