[Bug 13729] New: Thunar process hangs on poll() when trying to unmount USB storage

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 13729] New: Thunar process hangs on poll() when trying to unmount USB storage

bugzilla-daemon
https://bugzilla.xfce.org/show_bug.cgi?id=13729

            Bug ID: 13729
           Summary: Thunar process hangs on poll() when trying to unmount
                    USB storage
    Classification: Xfce Core
           Product: Thunar
           Version: 1.6.11
          Hardware: PC (x86_64)
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]
                CC: [hidden email], [hidden email]
  Target Milestone: 1.8.0

Thunar 1.6.11, Fedora 26.

A request to unmount a mounted USB storage volume results in the following
strace of the thunar process:

eventfd2(0, EFD_CLOEXEC|EFD_NONBLOCK)   = 17
futex(0x7fd7fe8f6218, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource
temporarily unavailable)
futex(0x7fd7fe8f6218, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x560aed102fb0, FUTEX_WAKE_PRIVATE, 1) = 0
write(9, "\1\0\0\0\0\0\0\0", 8)         = 8
futex(0x560aed100380, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560aed1000a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560aed0f80a8, FUTEX_WAKE_PRIVATE, 1) = 1
poll([{fd=17, events=POLLIN}], 1, 25000 <unfinished ...>) = ?

Thunar creates a new event file descriptor, and get stuck poll()ing it.

Someone else, with a lot more patience than me, captured a fuller strace that
shows multiple instances of this pattern repeated (multiple poll() timeouts,
with each one taking 25 seconds). More info here:

https://bugzilla.redhat.com/show_bug.cgi?id=1469789

Specifically here:

https://bugzilla.redhat.com/attachment.cgi?id=1302303

Eventually Thunar does succeed in unmounting the volume, but this apparently
take many, many minutes, for all of these poll()s to time out. Until it's over,
Thunar is completely dead in the water, and does not respond to any X events.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[hidden email]
https://mail.xfce.org/mailman/listinfo/xfce-bugs
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 13729] Thunar process hangs on poll() when trying to unmount USB storage

bugzilla-daemon
https://bugzilla.xfce.org/show_bug.cgi?id=13729

Kevin Fenzi <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[hidden email]
https://mail.xfce.org/mailman/listinfo/xfce-bugs
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 13729] Thunar process hangs on poll() when trying to unmount USB storage

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugzilla.xfce.org/show_bug.cgi?id=13729

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #1 from [hidden email] ---
Same here vs Thunar 1.6.12. On two different machines.

Very frustrating to have your window freeze for no apparent reason. FYI umount
actually is instantaneous:

> gio mount -e /path/to/drive

That's why I think the issue is with thunar.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[hidden email]
https://mail.xfce.org/mailman/listinfo/xfce-bugs
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 13729] Thunar process hangs on poll() when trying to unmount USB storage

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugzilla.xfce.org/show_bug.cgi?id=13729

Mukundan Ragavan <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[hidden email]
https://mail.xfce.org/mailman/listinfo/xfce-bugs
Loading...