[Xfce-bugs] [Bug 15972] Segfault when un/mounting a device and tree view active

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Tue Sep 24 23:38:04 CEST 2019


https://bugzilla.xfce.org/show_bug.cgi?id=15972

alexxcons <alexxcons at xfce.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #6 from alexxcons <alexxcons at xfce.org> ---
Thanks for all the details .. currently trying to as well emulate the storage
device ... though I am stuck:

(In reply to fuank from comment #2)
> Created attachment 9041 [details]
> gdb/gef backtrace pointing at line 821
> 
> I have hit a similar crash while mounting, pointing at line 821
> thunar_tree_model_unref_node() this time. Seems closely related.
> 
> Here is my process to emulate having an USB mass storage device being
> plugged in (instead of using a real drive) and the result is the same:
> 
> # dd bs=1M count=64 if=/dev/zero of=/path/to/fake_storage_file
> // create a partition
> # cfdisk fake_storage_file
> 
> # fdisk -lu backing file
> // grab the starting offset, multiply by sector size (usually 512)
> # sudo losetup -o 1048576 /dev/loop1 fake_storage_file
> # sudo mkfs.ext4 /dev/loop1
 "fdisk -lu backing file"
What is the "backing file"  ? You ment : "fake_storage_file" ?
"fdisk -lu fake_storage_file" gives me:
> Disk fake_storage_file: 64 MiB, 67108864 bytes, 131072 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes

... not sure where to get a starting offset from that output

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


More information about the Xfce-bugs mailing list