Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Jun 2014 04:06:18 +0000
From:      bz-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 190784] New: gpart crash after drive removed
Message-ID:  <bug-190784-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190784

            Bug ID: 190784
           Summary: gpart crash after drive removed
           Product: Base System
           Version: 10.0-RELEASE
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: ari@ish.com.au

This is reproducible by me on three different RELEASE-10.0 systems. How to
reproduce:

--> Remove a disk (eg. by unplugging SATA)
# gpart show
Segmentation fault (core dumped)

# gdb /sbin/gpart /tmp/gpart.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols
found)...
Core was generated by `gpart'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libgeom.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libgeom.so.5
Reading symbols from /lib/libsbuf.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libsbuf.so.6
Reading symbols from /lib/libbsdxml.so.4...(no debugging symbols found)...done.
Loaded symbols for /lib/libbsdxml.so.4
Reading symbols from /lib/libutil.so.9...(no debugging symbols found)...done.
Loaded symbols for /lib/libutil.so.9
Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /lib/geom/geom_part.so...(no debugging symbols
found)...done.
Loaded symbols for /lib/geom/geom_part.so
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols
found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x0000000801160623 in strtoimax_l () from /lib/libc.so.7


I don't have src on these machines to easily rebuild gpart in debug, so
hopefully the above reference is enough to locate the bug.

The above dump was from a machine on 10.0-RELEASE-p4 using freebsd-update
binary release mechanism.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-190784-8>