Bug 423098 - Random okular crashing when focused.
Summary: Random okular crashing when focused.
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-06-17 11:30 UTC by Chinmay
Modified: 2022-11-11 05:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chinmay 2020-06-17 11:30:38 UTC
Application: okular (1.10.0)

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

-- Information about the crash:
- What I was doing when the application crashed:

I wasn't doing anything in okular and I was in other window.  When I focused screen on which okular was open, it automatically closed. This happens every time after I added this ppa `sudo add-apt-repository ppa:kubuntu-ppa/backports`. I use dwm tiling window manager and not default KDE Plasma. I have updated my kubuntu to 20.04 and since then many KDE applications (eg: `systemsettings5`) are failing to open. Okular wasn't one of them but when I added this ppa, it started to crash.

- Custom settings of the application:

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2958c12800 (LWP 2878556))]

Thread 7 (Thread 0x7f293bfff700 (LWP 2878562)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5581bbf0f418) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5581bbf0f3c8, cond=0x5581bbf0f3f0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5581bbf0f3f0, mutex=0x5581bbf0f3c8) at pthread_cond_wait.c:638
#3  0x00007f2946dff3db in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f2946dfefeb in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f295b6d9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f295bfa0103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f2942733700 (LWP 2878561)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5581bbf0f418) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5581bbf0f3c8, cond=0x5581bbf0f3f0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5581bbf0f3f0, mutex=0x5581bbf0f3c8) at pthread_cond_wait.c:638
#3  0x00007f2946dff3db in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f2946dfefeb in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f295b6d9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f295bfa0103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f294ca28700 (LWP 2878560)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5581bbf0f418) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5581bbf0f3c8, cond=0x5581bbf0f3f0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5581bbf0f3f0, mutex=0x5581bbf0f3c8) at pthread_cond_wait.c:638
#3  0x00007f2946dff3db in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f2946dfefeb in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f295b6d9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f295bfa0103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f294d229700 (LWP 2878559)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5581bbf0f418) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5581bbf0f3c8, cond=0x5581bbf0f3f0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5581bbf0f3f0, mutex=0x5581bbf0f3c8) at pthread_cond_wait.c:638
#3  0x00007f2946dff3db in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f2946dfefeb in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f295b6d9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f295bfa0103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f295645d700 (LWP 2878558)):
#0  0x00007f295bf9396f in __GI___poll (fds=0x7f29480029e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f295acd51ae in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f295acd52e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f295c531583 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f295c4d84db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f295c310785 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f295c7b3efa in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f295c3119d2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f295b6d9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f295bfa0103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f2957d60700 (LWP 2878557)):
#0  0x00007f295bf9396f in __GI___poll (fds=0x7f2957d5fca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f295b767c1a in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f295b76990a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f295855f298 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f295c3119d2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f295b6d9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f295bfa0103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f2958c12800 (LWP 2878556)):
[KCrash Handler]
#6  0x00007f295c985ea4 in QScreen::size() const () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#7  0x00007f295c986071 in QScreen::physicalDotsPerInchY() const () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#8  0x00007f295d317d96 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007f295d31af9c in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f295d31c48f in QScroller::scrollTo(QPointF const&, int) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f29551a276f in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so
#12 0x00007f29551a368f in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so
#13 0x00007f29550f6766 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so
#14 0x00007f295c505d5a in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f295cfd025d in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f295d07dd52 in QFrame::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f295d0809d1 in QAbstractScrollArea::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f295cf8da66 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f295cf970f0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f295c4d993a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f295c4dc5b8 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f295c531f67 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f295acd4fbd in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f295acd5240 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f295acd52e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f295c531565 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f295c4d84db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f295c4e0246 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00005581ba1bdd9a in ?? ()
#30 0x00007f295bea50b3 in __libc_start_main (main=0x5581ba1bd680, argc=1, argv=0x7ffd88201df8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd88201de8) at ../csu/libc-start.c:308
#31 0x00005581ba1bf22e in ?? ()
[Inferior 1 (process 2878556) detached]

Possible duplicates by query: bug 416280.

Reported using DrKonqi
Comment 1 Justin Zobel 2022-10-12 03:50:16 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 2 Bug Janitor Service 2022-10-27 05:03:54 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-11-11 05:20:35 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!