[Bug 334176] New: nmh: repl segfaults
https://bugzilla.novell.com/show_bug.cgi?id=334176#c399271 Summary: nmh: repl segfaults Product: openSUSE 10.3 Version: Final Platform: x86 OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: thomas.baumann@ch.tum.de QAContact: qa@suse.de Found By: --- in package nmh repl segfaults This seems because of an optimization of gcc42. The Bug has been solved in debian sid: nmh (1.2-3) unstable; urgency=low * Apply patches from #399271 by Dean Gaudet. + 05-segfault-399271 fixes segfaults caused by gcc optimizing away NULL tests (Closes: #399271, #420653, #425638) Thanks to Matt Taggart and Sanjoy Mahajan for testing Dean's fix. @DPATCH@ diff -udr nmh-1.2.orig/h/nmh.h nmh-1.2/h/nmh.h --- nmh-1.2.orig/h/nmh.h 2007-05-21 23:41:43.577421877 -0700 +++ nmh-1.2/h/nmh.h 2007-05-21 23:41:57.149076687 -0700 @@ -41,5 +41,7 @@ #if STDC_HEADERS || HAVE_STRING_H # include <string.h> +# define strcasecmp my_strcasecmp +# define strncasecmp my_strncasecmp /* An ANSI string.h and pre-ANSI memory.h might conflict. */ # if !STDC_HEADERS && HAVE_MEMORY_H # include <memory.h> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=334176 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |max@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=334176 User Markus.Kuhn@cl.cam.ac.uk added comment https://bugzilla.novell.com/show_bug.cgi?id=334176#c1 Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ian.grant@cl.cam.ac.uk, Markus.Kuhn@cl.cam.ac.uk Priority|P5 - None |P2 - High --- Comment #1 from Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 2008-01-09 12:08:35 MST --- Same problem here, the repl command segfaults reliably each time, making the current version of the nmh package practically useless and leaves me without working email after an upgrade to openSUSE 10.3. :-( Core was generated by `repl'. Program terminated with signal 11, Segmentation fault. #0 0x000000000041588a in strcasecmp () (gdb) bt #0 0x000000000041588a in strcasecmp () #1 0x0000000000403c19 in ?? () #2 0x000000000040fd5d in ?? () #3 0x000000000040477c in ?? () #4 0x0000000000403255 in ?? () #5 0x00002b52d8ad7b54 in __libc_start_main () from /lib64/libc.so.6 #6 0x0000000000402ed9 in ?? () #7 0x00007fffd2612628 in ?? () #8 0x0000000000000000 in ?? () -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=334176 User Markus.Kuhn@cl.cam.ac.uk added comment https://bugzilla.novell.com/show_bug.cgi?id=334176#c2 Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major --- Comment #2 from Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 2008-01-09 12:12:20 MST --- See also the related Bug #347684 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=334176 User Markus.Kuhn@cl.cam.ac.uk added comment https://bugzilla.novell.com/show_bug.cgi?id=334176#c3 --- Comment #3 from Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 2008-07-05 05:26:57 MDT --- This bug is still *not* fixed in openSUSE 11 (final): nmh-1.2-111.1 $ repl Segmentation fault -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=334176 Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|openSUSE 10.3 |openSUSE 11.0 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=334176 User max@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=334176#c4 Reinhard Max <max@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #4 from Reinhard Max <max@novell.com> 2008-07-07 05:03:56 MDT --- Whoops, I worked on it in February, but for some reason forgot to submit the updated package for inclusion in 11.0. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=334176 User max@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=334176#c5 Reinhard Max <max@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #5 from Reinhard Max <max@novell.com> 2008-11-07 05:53:53 MST --- Appears to be finally fixed in version 1.3, which will ship with openSUSE 11.1. Backported builds for 10.3 and 11.0 will soon be available from the openSUSE build service: http://download.opensuse.org/repositories/home:/rmax:/Factory/ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com