NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/51652: makefs dies due to segmentation fault



>Number:         51652
>Category:       bin
>Synopsis:       makefs dies due to segmentation fault
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 25 19:35:00 +0000 2016
>Originator:     Sevan Janiyan
>Release:        NetBSD-Head
>Organization:
>Environment:
NetBSD 7.99.42 (GENERIC) #0: Sat Nov 12 17:28:54 UTC 2016 amd64 x86_64
>Description:
Running makefs with a trivial test case of a couple of empty directories results in a coredump.

Is is also present on downstream consumers such as FreeBSD
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212370

Heads up by Sascha Wildner.

GNU gdb (GDB) 7.12
Copyright (C) 2016 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--netbsd".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/sbin/makefs...(no debugging symbols found)...done.
[New process 1]
Core was generated by `makefs'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000000124407931 in cd9660_convert_structure ()
(gdb) bt
#0  0x0000000124407931 in cd9660_convert_structure ()
#1  0x00000001244092f4 in cd9660_makefs ()
#2  0x000000012442f5a2 in main ()
>How-To-Repeat:
mkdir /tmp/isoroot; cd /tmp/isoroot; mkdir t T; makefs -t cd9660 /tmp/t.iso .
>Fix:



Home | Main Index | Thread Index | Old Index