https://bugs.kde.org/show_bug.cgi?id=423898
            Bug ID: 423898
           Summary: Plasma crashes when resumed from suspension
           Product: plasmashell
           Version: 5.18.5
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: samarth.hawal...@protonmail.com
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

Application: plasmashell (5.18.5)

Qt Version: 5.12.8
Frameworks Version: 5.68.0
Operating System: Linux 5.4.0-40-generic x86_64
Windowing system: X11
Distribution: Ubuntu 20.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Firefox (the latest update) was being used with some pdf files open in it.
Then, the laptop suspended due to inactivity. On resuming, the crash had
happened.
- Custom settings of the application:
The following custom script was being run.

Contents of /etc/systemd/system/plasma-restart@.service follow:

#Start of file
[Unit]
Description=Plasma Restart Service 
After=suspend.target 
StopWhenUnneeded=yes

[Service]
User=%i
WorkingDirectory=/home/%i
Type=oneshot
Slice=user-%i.slice
RemainAfterExit=yes
ExecStart=/bin/bash -alc "sudo -Hiu %i pkill -ABRT plasmashell"

[Install]
WantedBy=suspend.target 
Alias=plasma-restart@%i.service

#End of file

After this the following command had been run :

sudo systemctl enable plasma-restart@$USER.service

Also, Network Monitor and Application dashboard widgets were on the desktop.

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#6  0x00007f9b8e8e2374 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x556f844ad680) at ../sysdeps/nptl/futex-internal.h:183
#7  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x556f844ad630,
cond=0x556f844ad658) at pthread_cond_wait.c:508
#8  __pthread_cond_wait (cond=0x556f844ad658, mutex=0x556f844ad630) at
pthread_cond_wait.c:638
#9  0x00007f9b8f43bb0f in QWaitConditionPrivate::wait(QDeadlineTimer)
(deadline=..., this=0x556f844ad630) at thread/qwaitcondition_unix.cpp:146
#10 QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=<optimized out>,
mutex=0x556f838ebe28, deadline=...) at thread/qwaitcondition_unix.cpp:225


The reporter indicates this bug may be a duplicate of or related to bug 423865.

Possible duplicates by query: bug 423865, bug 423713, bug 423330, bug 423228,
bug 423109.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to