[okular] [Bug 430972] New: Okular crashes with seg. fault when the okular window is off screen and pdf file is updated.

Rostislav Matveev bugzilla_noreply at kde.org
Wed Dec 30 08:47:01 GMT 2020


https://bugs.kde.org/show_bug.cgi?id=430972

            Bug ID: 430972
           Summary: Okular crashes with seg. fault when the okular window
                    is off screen and pdf file is updated.
           Product: okular
           Version: 1.10.2
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: rostislav.matveev at googlemail.com
  Target Milestone: ---

Application: okular (1.10.2)

Qt Version: 5.12.7
Frameworks Version: 5.71.0
Operating System: Linux 5.3.18-lp152.57-default x86_64
Windowing system: X11
Distribution: "openSUSE Leap 15.2"

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

The crash happens only when okular window is on a non-visible virtual screen
(under FVWM) and the pdf file it displays is updated.
If window is on the other virtual screen, then crash happens consistently, even
just after `touch`ing the pdf file.
The behavior does not depend on the pdf file and the behavior is similar when
okular displays Postscript files.

If Okular window is visible, the view of the file is updated normally.

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f21dbbe8f80 (LWP 11102))]

Thread 7 (Thread 0x7f21b3c75700 (LWP 11110)):
#0  0x00007f21d478b87d in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f21b62eafbb in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007f21b62eaba7 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007f21d47854f9 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f21d77cefbf in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f21b4476700 (LWP 11109)):
#0  0x00007f21d478b87d in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f21b62eafbb in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007f21b62eaba7 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007f21d47854f9 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f21d77cefbf in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f21b4c77700 (LWP 11108)):
#0  0x00007f21d478b87d in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f21b62eafbb in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007f21b62eaba7 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007f21d47854f9 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f21d77cefbf in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f21b5478700 (LWP 11107)):
#0  0x00007f21d478b87d in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f21b62eafbb in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007f21b62eaba7 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007f21d47854f9 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f21d77cefbf in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f21c8e3a700 (LWP 11105)):
#0  0x00007f21d211cf9d in g_main_context_query () from
/usr/lib64/libglib-2.0.so.0
#1  0x00007f21d211d6f7 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f21d211d88c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007f21d8152cdb in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQt5Core.so.5
#4  0x00007f21d80f3e8a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQt5Core.so.5
#5  0x00007f21d7f1921a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f21d85c2cd5 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f21d7f1a9c2 in ?? () from /usr/lib64/libQt5Core.so.5
#8  0x00007f21d47854f9 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f21d77cefbf in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f21c9c6a700 (LWP 11104)):
#0  0x00007f21d77c46db in poll () from /lib64/libc.so.6
#1  0x00007f21d4fff307 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f21d5000f3a in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f21cca5f300 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f21d7f1a9c2 in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007f21d47854f9 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f21d77cefbf in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f21dbbe8f80 (LWP 11102)):
[KCrash Handler]
#4  0x00007f21d898b1e0 in QScreen::size() const () from
/usr/lib64/libQt5Gui.so.5
#5  0x00007f21d898b37d in QScreen::physicalDotsPerInchY() const () from
/usr/lib64/libQt5Gui.so.5
#6  0x00007f21d9514928 in ?? () from /usr/lib64/libQt5Widgets.so.5
#7  0x00007f21d9517d08 in ?? () from /usr/lib64/libQt5Widgets.so.5
#8  0x00007f21d95191af in QScroller::scrollTo(QPointF const&, int) () from
/usr/lib64/libQt5Widgets.so.5
#9  0x00007f21c3d589fd in PageView::scrollTo (this=this at entry=0x5583cd033610,
x=-1, y=-1, smoothMove=<optimized out>) at
/usr/src/debug/okular-20.04.2-lp152.1.1.x86_64/ui/pageview.cpp:4489
#10 0x00007f21c3d58ade in PageView::center (this=this at entry=0x5583cd033610,
cx=<optimized out>, cy=<optimized out>, smoothMove=smoothMove at entry=false) at
/usr/src/debug/okular-20.04.2-lp152.1.1.x86_64/ui/pageview.cpp:4473
#11 0x00007f21c3d58e9a in PageView::slotRelayoutPages (this=0x5583cd033610) at
/usr/src/debug/okular-20.04.2-lp152.1.1.x86_64/ui/pageview.cpp:4836
#12 0x00007f21c3cb238c in PageView::qt_static_metacall (_o=<optimized out>,
_c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
/usr/src/debug/okular-20.04.2-lp152.1.1.x86_64/build/okularpart_autogen/UYX5XTB5RZ/moc_pageview.cpp:340
#13 0x00007f21d81262f2 in QObject::event(QEvent*) () from
/usr/lib64/libQt5Core.so.5
#14 0x00007f21d91f0c53 in QWidget::event(QEvent*) () from
/usr/lib64/libQt5Widgets.so.5
#15 0x00007f21d9293c4e in QFrame::event(QEvent*) () from
/usr/lib64/libQt5Widgets.so.5
#16 0x00007f21d9296983 in QAbstractScrollArea::event(QEvent*) () from
/usr/lib64/libQt5Widgets.so.5
#17 0x00007f21d91b073c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib64/libQt5Widgets.so.5
#18 0x00007f21d91b7d50 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libQt5Widgets.so.5
#19 0x00007f21d80f5c38 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib64/libQt5Core.so.5
#20 0x00007f21d80f87f7 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#21 0x00007f21d81536a3 in ?? () from /usr/lib64/libQt5Core.so.5
#22 0x00007f21d211d464 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#23 0x00007f21d211d800 in ?? () from /usr/lib64/libglib-2.0.so.0
#24 0x00007f21d211d88c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#25 0x00007f21d8152cbf in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQt5Core.so.5
#26 0x00007f21d80f3e8a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQt5Core.so.5
#27 0x00007f21d80fd090 in QCoreApplication::exec() () from
/usr/lib64/libQt5Core.so.5
#28 0x00005583cbac4727 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/okular-20.04.2-lp152.1.1.x86_64/shell/main.cpp:95
[Inferior 1 (process 11102) detached]

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

Possible duplicates by query: bug 426698, bug 426502, bug 426297, bug 425188,
bug 423098.

Reported using DrKonqi

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


More information about the Okular-devel mailing list