Subject: bug#18314: [bug] fail to print device info

From: "Brian C. Lane" <[email-masked]>
Date: Fri, 22 Aug 2014 08:31:13 -0700

On Fri, Aug 22, 2014 at 01:31:21AM +0000, lumin wrote:
 
> Error: SEGV_MAPERR (Address not mapped to object)
> Backtrace has 16 calls on stack:
>   16: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x31)
> [0x7ffbda65f5f1]
>   15: parted() [0x40a684]
>   14: /lib/x86_64-linux-gnu/libc.so.6(+0x35480) [0x7ffbd9e6a480]
>   13: /lib/x86_64-linux-gnu/libc.so.6(+0x90875) [0x7ffbd9ec5875]
>   12: /lib/x86_64-linux-gnu/libparted.so.2(+0x1817e) [0x7ffbda66a17e]
>   11: /lib/x86_64-linux-gnu/libparted.so.2(ped_geometry_read+0x35)
> [0x7ffbda665a85]
>   10: /lib/x86_64-linux-gnu/libparted.so.2(+0x1ce16) [0x7ffbda66ee16]
>   9: /lib/x86_64-linux-gnu/libparted.so.2(ped_file_system_probe_specific
> +0x37) [0x7ffbda660a07]
>   8: /lib/x86_64-linux-gnu/libparted.so.2(ped_file_system_probe+0x4e)
> [0x7ffbda660ace]
>   7: /lib/x86_64-linux-gnu/libparted.so.2(+0x2954c) [0x7ffbda67b54c]
>   6: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x48)
> [0x7ffbda6644b8]
>   5: parted() [0x407659]
>   4: parted(interactive_mode+0xff) [0x40c6ef]
>   3: parted(main+0x1175) [0x405f45]
>   2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)
> [0x7ffbd9e56b45]
>   1: parted() [0x405f98]
> ```
> 
> then I erased the first sector of the disk:
> sudo dd if=/dev/zero of=/dev/sdc bs=512 count=1
> then ALL things went back to normal.
> seems like matter of Device driver.

Did you happen to make a copy of the sector? If not there isn't much we
can do to reproduce this.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)