2018-07-22 12:47:33 |
Stephen McEntee |
bug |
|
|
added bug |
2018-09-11 22:25:52 |
Launchpad Janitor |
pcmanfm (Ubuntu): status |
New |
Confirmed |
|
2018-09-18 11:24:32 |
ATIpro |
bug |
|
|
added subscriber ATIpro |
2018-09-20 08:18:49 |
doc-1 |
bug |
|
|
added subscriber doc-1 |
2018-09-24 19:27:58 |
ԜаӀtеr Ⅼарсһуnѕkі |
pcmanfm (Ubuntu): status |
Confirmed |
Incomplete |
|
2018-10-01 17:26:47 |
Janos Verebes |
attachment added |
|
Tar Gzip compressed Log files of PCManFM crash https://bugs.launchpad.net/ubuntu/+source/pcmanfm/+bug/1782984/+attachment/5195416/+files/Logs_of_PcManFM_Crash.tar.gz |
|
2018-10-10 13:09:18 |
Janos Verebes |
attachment added |
|
crash file of PCManFM Lubuntu 18.04.1 _10.10.2018 https://bugs.launchpad.net/ubuntu/+source/pcmanfm/+bug/1782984/+attachment/5199477/+files/_usr_bin_pcmanfm.1000.crash |
|
2018-10-22 01:45:42 |
Simon Quigley |
pcmanfm (Ubuntu): status |
Incomplete |
Confirmed |
|
2018-10-22 19:21:04 |
Janos Verebes |
attachment added |
|
pcmanfm130withlibfm125.jpg https://bugs.launchpad.net/ubuntu/+source/pcmanfm/+bug/1782984/+attachment/5204236/+files/pcmanfm130withlibfm125.jpg |
|
2018-10-27 14:01:37 |
David |
bug |
|
|
added subscriber David |
2018-11-30 18:30:30 |
MarkF |
attachment added |
|
last 21 seconds of strace for PCManFM when GIMP 2.10.8 crashed https://bugs.launchpad.net/ubuntu/+source/pcmanfm/+bug/1782984/+attachment/5217742/+files/strace-pcmanfm_GIMP-crash.log.gz |
|
2018-11-30 19:32:55 |
MarkF |
attachment added |
|
last 25 seconds of strace for PCManFM when PCManFM crashed https://bugs.launchpad.net/ubuntu/+source/pcmanfm/+bug/1782984/+attachment/5217757/+files/strace-pcmanfm-crash.log.gz |
|
2019-04-07 19:26:59 |
ԜаӀtеr Ⅼарсһуnѕkі |
pcmanfm (Ubuntu): status |
Confirmed |
Triaged |
|
2019-04-07 19:27:06 |
ԜаӀtеr Ⅼарсһуnѕkі |
pcmanfm (Ubuntu): importance |
Undecided |
Critical |
|
2019-04-07 20:14:05 |
ԜаӀtеr Ⅼарсһуnѕkі |
description |
I have been using Lubuntu for several years, and in my experience PCManFM is persistently unstable and subject to regular random crashes. Typically, after using PCManFM for a while it freezes when a folder is selected (mouse left-click) and crashes. Since upgrading to Lubuntu 18.04, these PCManFM crashes have become more frequent (1+ crash per day). Similar problems have been reported by others, but apparently the fundamental issue remains unresolved:
https://ubuntuforums.org/showthread.php?t=1889611
https://ubuntuforums.org/showthread.php?t=1890206
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: pcmanfm 1.2.5-3ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18
Uname: Linux 4.15.0-29-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
Config_pcmanfm_System_Lubuntu: Error: [Errno 2] No such file or directory: '/etc/xdg/pcmanfm/Lubuntu/lubuntu.conf'
CurrentDesktop: LXDE
Date: Sun Jul 22 13:31:33 2018
EcryptfsInUse: Yes
InstallationDate: Installed on 2017-11-10 (253 days ago)
InstallationMedia: Lubuntu 17.10 "Artful Aardvark" - Release amd64 (20171017.1)
SourcePackage: pcmanfm
Udisks_dump: Error: [Errno 2] No such file or directory: 'udisks': 'udisks'
UpgradeStatus: Upgraded to bionic on 2018-05-02 (81 days ago) |
STEPS TO REPRODUCE
==================
The bug seems to occur when clicking on a file or folder. It is random and difficult to provide clear steps to reproduce. It is, however, a common situation.
EXPECTED RESULTS
================
pcmanfm works without problem.
ACTUAL RESULTS
==============
All pcmanfm windows become unresponsive, though background processes (e.g. copying) may continue without problem. with the same error message in ~/.cache/lxsession/LXDE/run.log:
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
pcmanfm: xcb_io.c:259: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
** Message: 19:58:49.267: app.vala:130: pcmanfm exit with this type of exit: 6
** Message: 19:58:49.268: app.vala:148: Exit not normal, try to reload
(note the timestamp on the message will vary)
AFFECTED VERSIONS
=================
1.2.5-3ubuntu1
NOT 1.2.4-1ubuntu0.1
UPSTREAM BUG
============
https://sourceforge.net/p/pcmanfm/bugs/1089/
ADDITIONAL NOTES
================
Other GTK2 file managers (e.g. Thunar) and applications (e.g. GIMP, Leafpad) seem to have the same problems. This is probably at least rooted in a GTK2 bug:
https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/1808710
To further assert this, note that there is a SpaceFM file manager that is available in GTK2 and GTK3. The GTK2 version displays the behavior. The GTK3 version does not. Same with LibreOffice. |
|
2019-04-07 20:16:26 |
ԜаӀtеr Ⅼарсһуnѕkі |
tags |
amd64 apport-bug bionic |
amd64 apport-bug bionic lubuntu |
|
2019-04-07 20:17:11 |
ԜаӀtеr Ⅼарсһуnѕkі |
summary |
PCManFM crashes frequently on Lubuntu 18.04 |
PCManFM freezes with Assertion `!xcb_xlib_threads_sequence_lost' failed when clicking on a file or folder in 18.04 |
|
2019-06-07 12:52:13 |
mindw0rm |
bug |
|
|
added subscriber mindw0rm |
2019-07-01 15:54:32 |
Bayu Aditya H. |
bug watch added |
|
https://github.com/rust-windowing/glutin/issues/1034 |
|
2019-11-08 13:36:03 |
Hans P. Möller |
bug |
|
|
added subscriber Hans P. Möller |
2019-11-08 18:48:54 |
Stephen McEntee |
removed subscriber Stephen McEntee |
|
|
|
2019-11-20 21:12:55 |
Ilya Kotov |
bug watch added |
|
https://gitlab.freedesktop.org/mesa/mesa/issues/108 |
|
2020-01-02 18:50:53 |
alex-mobigo |
attachment added |
|
Google Chrome affected by similar error https://bugs.launchpad.net/ubuntu/+source/pcmanfm/+bug/1782984/+attachment/5317148/+files/2020-01-02-152943_1119x504_scrot.png |
|
2020-01-03 17:47:52 |
Ramom Flores |
bug |
|
|
added subscriber Ramom Flores |
2020-06-07 08:45:38 |
Tycho Kirchner |
bug |
|
|
added subscriber Tycho Kirchner |
2020-06-07 08:50:47 |
Tycho Kirchner |
bug watch added |
|
https://gitlab.gnome.org/GNOME/gtk/-/issues/2767 |
|
2020-06-07 09:07:02 |
Tycho Kirchner |
bug task added |
|
libx11 (Ubuntu) |
|
2020-06-20 04:09:45 |
Mathew Hodson |
bug |
|
|
added subscriber Mathew Hodson |
2020-07-05 21:31:12 |
Launchpad Janitor |
libx11 (Ubuntu): status |
New |
Confirmed |
|
2020-07-05 21:31:47 |
iman |
bug |
|
|
added subscriber iman |
2020-07-05 22:53:22 |
Mathew Hodson |
libx11 (Ubuntu): importance |
Undecided |
High |
|
2020-07-05 22:53:42 |
Mathew Hodson |
bug watch removed |
https://github.com/rust-windowing/glutin/issues/1034 |
|
|
2020-07-05 22:53:54 |
Mathew Hodson |
bug watch removed |
https://gitlab.freedesktop.org/mesa/mesa/issues/108 |
|
|
2020-07-05 22:54:12 |
Mathew Hodson |
bug watch removed |
https://gitlab.gnome.org/GNOME/gtk/-/issues/2767 |
|
|
2020-07-05 23:02:02 |
Mathew Hodson |
summary |
PCManFM freezes with Assertion `!xcb_xlib_threads_sequence_lost' failed when clicking on a file or folder in 18.04 |
Assertion `!xcb_xlib_threads_sequence_lost' failed with multiple applications |
|
2020-07-21 11:58:48 |
alex-mobigo |
attachment added |
|
This patch is not the fix. WARNING https://bugs.launchpad.net/ubuntu/+source/pcmanfm/+bug/1782984/+attachment/5394608/+files/Fix-poll_for_response-race-condition.diff |
|
2020-07-21 12:30:35 |
Ubuntu Foundations Team Bug Bot |
tags |
amd64 apport-bug bionic lubuntu |
amd64 apport-bug bionic lubuntu patch |
|
2020-07-21 12:30:44 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Review Team |
2020-11-22 02:34:05 |
Mathew Hodson |
bug task deleted |
pcmanfm (Ubuntu) |
|
|
2021-01-22 07:56:44 |
Mathew Hodson |
nominated for series |
|
Ubuntu Bionic |
|
2021-01-22 07:56:44 |
Mathew Hodson |
bug task added |
|
libx11 (Ubuntu Bionic) |
|
2021-01-22 07:56:44 |
Mathew Hodson |
nominated for series |
|
Ubuntu Groovy |
|
2021-01-22 07:56:44 |
Mathew Hodson |
bug task added |
|
libx11 (Ubuntu Groovy) |
|
2021-01-22 07:56:44 |
Mathew Hodson |
nominated for series |
|
Ubuntu Focal |
|
2021-01-22 07:56:44 |
Mathew Hodson |
bug task added |
|
libx11 (Ubuntu Focal) |
|
2021-01-22 07:57:05 |
Mathew Hodson |
libx11 (Ubuntu Bionic): importance |
Undecided |
High |
|
2021-01-22 07:57:07 |
Mathew Hodson |
libx11 (Ubuntu Focal): importance |
Undecided |
High |
|
2021-01-22 07:57:10 |
Mathew Hodson |
libx11 (Ubuntu Groovy): importance |
Undecided |
High |
|
2021-01-22 07:57:38 |
Mathew Hodson |
libx11 (Ubuntu): status |
Confirmed |
Fix Released |
|
2021-01-26 14:35:54 |
Martin Wimpress |
libx11 (Ubuntu): assignee |
|
Timo Aaltonen (tjaalton) |
|
2021-01-26 14:36:22 |
Martin Wimpress |
libx11 (Ubuntu Focal): assignee |
|
Timo Aaltonen (tjaalton) |
|
2021-02-02 14:34:04 |
Martin Wimpress |
libx11 (Ubuntu Bionic): assignee |
|
Timo Aaltonen (tjaalton) |
|
2021-02-02 14:34:14 |
Martin Wimpress |
libx11 (Ubuntu Groovy): assignee |
|
Timo Aaltonen (tjaalton) |
|
2021-02-23 21:30:47 |
Launchpad Janitor |
libx11 (Ubuntu Bionic): status |
New |
Confirmed |
|
2021-02-23 21:30:47 |
Launchpad Janitor |
libx11 (Ubuntu Focal): status |
New |
Confirmed |
|
2021-02-23 21:30:47 |
Launchpad Janitor |
libx11 (Ubuntu Groovy): status |
New |
Confirmed |
|
2021-07-28 23:10:41 |
Brian Murray |
libx11 (Ubuntu Groovy): status |
Confirmed |
Won't Fix |
|
2021-08-05 07:24:03 |
Timo Aaltonen |
libx11 (Ubuntu Focal): status |
Confirmed |
In Progress |
|
2021-08-05 07:24:05 |
Timo Aaltonen |
libx11 (Ubuntu Bionic): status |
Confirmed |
In Progress |
|
2021-08-05 20:27:28 |
Ryan VanderMeulen |
bug |
|
|
added subscriber Ryan VanderMeulen |
2021-08-13 13:14:46 |
Timo Aaltonen |
description |
STEPS TO REPRODUCE
==================
The bug seems to occur when clicking on a file or folder. It is random and difficult to provide clear steps to reproduce. It is, however, a common situation.
EXPECTED RESULTS
================
pcmanfm works without problem.
ACTUAL RESULTS
==============
All pcmanfm windows become unresponsive, though background processes (e.g. copying) may continue without problem. with the same error message in ~/.cache/lxsession/LXDE/run.log:
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
pcmanfm: xcb_io.c:259: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
** Message: 19:58:49.267: app.vala:130: pcmanfm exit with this type of exit: 6
** Message: 19:58:49.268: app.vala:148: Exit not normal, try to reload
(note the timestamp on the message will vary)
AFFECTED VERSIONS
=================
1.2.5-3ubuntu1
NOT 1.2.4-1ubuntu0.1
UPSTREAM BUG
============
https://sourceforge.net/p/pcmanfm/bugs/1089/
ADDITIONAL NOTES
================
Other GTK2 file managers (e.g. Thunar) and applications (e.g. GIMP, Leafpad) seem to have the same problems. This is probably at least rooted in a GTK2 bug:
https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/1808710
To further assert this, note that there is a SpaceFM file manager that is available in GTK2 and GTK3. The GTK2 version displays the behavior. The GTK3 version does not. Same with LibreOffice. |
[Impact]
There is a race in libx11 causing applications to randomly abort. It's not trivial to reproduce, but there are enough duplicates that this deserves an SRU to bionic & focal.
[Fix]
Backport a commit from upstream:
From dbb55e1a5e82870466b095097d9e46046680ec25 Mon Sep 17 00:00:00 2001
From: Frediano Ziglio <fziglio@redhat.com>
Date: Wed, 29 Jan 2020 09:06:54 +0000
Subject: [PATCH] Fix poll_for_response race condition
In poll_for_response is it possible that event replies are skipped
and a more up to date message reply is returned.
This will cause next poll_for_event call to fail aborting the program.
This was proved using some slow ssh tunnel or using some program
to slow down server replies (I used a combination of xtrace and strace).
How the race happens:
- program enters into poll_for_response;
- poll_for_event is called but the server didn't still send the reply;
- pending_requests is not NULL because we send a request (see call
to append_pending_request in _XSend);
- xcb_poll_for_reply64 is called from poll_for_response;
- xcb_poll_for_reply64 will read from server, at this point
server reply with an event (say sequence N) and the reply to our
last request (say sequence N+1);
- xcb_poll_for_reply64 returns the reply for the request we asked;
- last_request_read is set to N+1 sequence in poll_for_response;
- poll_for_response returns the response to the request;
- poll_for_event is called (for instance from another poll_for_response);
- event with sequence N is retrieved;
- the N sequence is widen, however, as the "new" number computed from
last_request_read is less than N the number is widened to N + 2^32
(assuming last_request_read is still contained in 32 bit);
- poll_for_event enters the nested if statement as req is NULL;
- we compare the widen N (which now does not fit into 32 bit) with
request (which fits into 32 bit) hitting the throw_thread_fail_assert.
To avoid the race condition and to avoid the sequence to go back
I check again for new events after getting the response and
return this last event if present saving the reply to return it
later.
To test the race and the fix it's helpful to add a delay (I used a
"usleep(5000)") before calling xcb_poll_for_reply64.
Original patch written by Frediano Ziglio, see
https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/34
Reworked primarily for readability by Peter Hutterer, see
https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/53
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
bionic needs another commit so that the real fix applies.
[Test case]
It's a race condition, the SRU sponsor (tjaalton) does not have a test case for this, but the bug subscribers seem to.
[Where things could go wrong]
In theory there might be a case where a race still happens, but since this has been upstream for a year now with no follow-up commits, it's safe to assume that there are no regressions.
--
STEPS TO REPRODUCE
==================
The bug seems to occur when clicking on a file or folder. It is random and difficult to provide clear steps to reproduce. It is, however, a common situation.
EXPECTED RESULTS
================
pcmanfm works without problem.
ACTUAL RESULTS
==============
All pcmanfm windows become unresponsive, though background processes (e.g. copying) may continue without problem. with the same error message in ~/.cache/lxsession/LXDE/run.log:
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
pcmanfm: xcb_io.c:259: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
** Message: 19:58:49.267: app.vala:130: pcmanfm exit with this type of exit: 6
** Message: 19:58:49.268: app.vala:148: Exit not normal, try to reload
(note the timestamp on the message will vary)
AFFECTED VERSIONS
=================
1.2.5-3ubuntu1
NOT 1.2.4-1ubuntu0.1
UPSTREAM BUG
============
https://sourceforge.net/p/pcmanfm/bugs/1089/
ADDITIONAL NOTES
================
Other GTK2 file managers (e.g. Thunar) and applications (e.g. GIMP, Leafpad) seem to have the same problems. This is probably at least rooted in a GTK2 bug:
https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/1808710
To further assert this, note that there is a SpaceFM file manager that is available in GTK2 and GTK3. The GTK2 version displays the behavior. The GTK3 version does not. Same with LibreOffice. |
|
2021-08-31 17:19:53 |
Brian Murray |
libx11 (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2021-08-31 17:19:55 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2021-08-31 17:19:57 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2021-08-31 17:20:06 |
Brian Murray |
tags |
amd64 apport-bug bionic lubuntu patch |
amd64 apport-bug bionic lubuntu patch verification-needed verification-needed-focal |
|
2021-08-31 17:29:57 |
Brian Murray |
libx11 (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2021-08-31 17:30:07 |
Brian Murray |
tags |
amd64 apport-bug bionic lubuntu patch verification-needed verification-needed-focal |
amd64 apport-bug bionic lubuntu patch verification-needed verification-needed-bionic verification-needed-focal |
|
2021-09-04 16:57:11 |
Mathew Hodson |
tags |
amd64 apport-bug bionic lubuntu patch verification-needed verification-needed-bionic verification-needed-focal |
amd64 apport-bug bionic lubuntu patch verification-done-bionic verification-needed-focal |
|
2021-09-15 02:17:26 |
Daniel van Vugt |
bug |
|
|
added subscriber Daniel van Vugt |
2021-09-30 18:14:09 |
Mathew Hodson |
tags |
amd64 apport-bug bionic lubuntu patch verification-done-bionic verification-needed-focal |
amd64 apport-bug bionic patch verification-done-bionic verification-needed-focal |
|
2021-10-16 16:57:07 |
Mathew Hodson |
removed subscriber Mathew Hodson |
|
|
|
2022-03-23 18:41:37 |
Simon Déziel |
bug |
|
|
added subscriber Simon Déziel |
2023-06-01 08:14:57 |
Łukasz Zemczak |
libx11 (Ubuntu Bionic): status |
Fix Committed |
Won't Fix |
|