[Bug 710877] New: util-linux: hexdump segmentation fault
https://bugzilla.novell.com/show_bug.cgi?id=710877 https://bugzilla.novell.com/show_bug.cgi?id=710877#c0 Summary: util-linux: hexdump segmentation fault Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: puzel@novell.com ReportedBy: lazy.kent@opensuse.org QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=444565) --> (http://bugzilla.novell.com/attachment.cgi?id=444565) input and output (2.19.1) files util-linux-2.19.91 (2.20-rc1) hexdump segmentation fault: $ hexdump -v -e '1/1 "0x%02x,"' < logo.jpg > logo.h Segmentation fault hexdump from util-linux-2.19.1 works without error. -- 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=710877 https://bugzilla.novell.com/show_bug.cgi?id=710877#c Petr Uzel <puzel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED Status Whiteboard| |util-linux Severity|Normal |Major -- 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=710877 https://bugzilla.novell.com/show_bug.cgi?id=710877#c1 Petr Uzel <puzel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |lazy.kent@opensuse.org --- Comment #1 from Petr Uzel <puzel@novell.com> 2011-08-10 09:16:47 UTC --- I can not reproduce. Could you please run it in gdb and provide a stacktrace? Running in valgrind might also help. Thanks. -- 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=710877 https://bugzilla.novell.com/show_bug.cgi?id=710877#c2 --- Comment #2 from Kyrill Detinov <lazy.kent@opensuse.org> 2011-08-10 14:15:38 MSD --- This is reprodusable at least in OBS. https://build.opensuse.org/package/live_build_log?arch=x86_64&package=fbi&project=home%3ALazy_Kent%3Abranches%3AopenSUSE%3AFactory%3AContrib&repository=standard I will provide a stacktrace a bit later. -- 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=710877 https://bugzilla.novell.com/show_bug.cgi?id=710877#c3 Kyrill Detinov <lazy.kent@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|lazy.kent@opensuse.org | --- Comment #3 from Kyrill Detinov <lazy.kent@opensuse.org> 2011-08-10 14:46:55 MSD --- % gdb hexdump GNU gdb (GDB) SUSE (7.2.50.20110206-40.7) Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-suse-linux". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/hexdump...Reading symbols from /usr/lib/debug/usr/bin/hexdump.debug...done. done. (gdb) run -v -e '1/1 "0x%02x,"' < logo.jpg > logo.h Starting program: /usr/bin/hexdump -v -e '1/1 "0x%02x,"' < logo.jpg > logo.h Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2 Try: zypper install -C "debuginfo(build-id)=1e0981446b2abc6a850c2632a822a12d4f7fd087" Missing separate debuginfo for /lib64/libc.so.6 Try: zypper install -C "debuginfo(build-id)=32d2940d53ec8b2986cbf7e41511c36450d3bb70" Program received signal SIGSEGV, Segmentation fault. size (fs=<optimized out>) at parse.c:161 161 parse.c: No such file or directory. in parse.c (gdb) bt #0 size (fs=<optimized out>) at parse.c:161 #1 0x00000000004013c8 in main (argc=<optimized out>, argv=0x7fffffffdfd8) at hexdump.c:69 (gdb) -- 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=710877 https://bugzilla.novell.com/show_bug.cgi?id=710877#c4 --- Comment #4 from Petr Uzel <puzel@novell.com> 2011-08-10 13:10:10 UTC --- Thanks, I can reproduce now. It segfaults only if MALLOC_PERTURB_ is set (default in Factory, but I tested on 11.4). I'm working on the fix. -- 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=710877 https://bugzilla.novell.com/show_bug.cgi?id=710877#c5 --- Comment #5 from Petr Uzel <puzel@novell.com> 2011-08-10 13:33:17 UTC --- Created an attachment (id=445171) --> (http://bugzilla.novell.com/attachment.cgi?id=445171) Fix Patch sent to upstream mailing list. -- 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=710877 https://bugzilla.novell.com/show_bug.cgi?id=710877#c6 Petr Uzel <puzel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #6 from Petr Uzel <puzel@novell.com> 2011-08-10 13:53:01 UTC --- Submitted to Factory as SR#78456 -- 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