Bug 326056 - Okular crashed after PDF update with latex
Summary: Okular crashed after PDF update with latex
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.17.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: drkonqi, triaged
: 327063 327545 331965 335186 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-10-15 16:00 UTC by Martin
Modified: 2018-10-27 03:59 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (3.94 KB, text/plain)
2013-11-12 19:23 UTC, Dennis Schridde
Details
New crash information added by DrKonqi (5.57 KB, text/plain)
2013-11-22 18:25 UTC, Julian Haddad
Details
New crash information added by DrKonqi (4.14 KB, text/plain)
2013-12-17 15:59 UTC, kmgesicki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin 2013-10-15 16:00:36 UTC
Application: okular (0.17.2)
KDE Platform Version: 4.11.2
Qt Version: 4.8.4
Operating System: Linux 3.8.0-31-generic x86_64
Distribution: Ubuntu 13.04

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

I was viewing a PDF in Okular (externally opened) and compiled a new version of the file when the program crashed.

I found an old bug report from 2010 which seemed to be related but it was marked as fixed. Maybe it is a regression?

-- 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 0x7fc7a8a1d7c0 (LWP 7469))]

Thread 2 (Thread 0x7fc79159b700 (LWP 7472)):
#0  0x00007fc7a2b5307f in __pthread_mutex_unlock_usercnt (mutex=0x7fc78c000a60, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  0x00007fc7a26bc5f1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc7a267c8f3 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc7a267d0fe in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc7a267d304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc7a6446036 in QEventDispatcherGlib::processEvents (this=0x7fc78c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fc7a641638f in QEventLoop::processEvents (this=this@entry=0x7fc79159ad90, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fc7a6416618 in QEventLoop::exec (this=this@entry=0x7fc79159ad90, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fc7a6318410 in QThread::exec (this=this@entry=0x29e14a0) at thread/qthread.cpp:542
#9  0x00007fc7a63f7edf in QInotifyFileSystemWatcherEngine::run (this=0x29e14a0) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007fc7a631abec in QThreadPrivate::start (arg=0x29e14a0) at thread/qthread_unix.cpp:338
#11 0x00007fc7a2b4ff8e in start_thread (arg=0x7fc79159b700) at pthread_create.c:311
#12 0x00007fc7a5a52e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fc7a8a1d7c0 (LWP 7469)):
[KCrash Handler]
#6  findNode (akey=<synthetic pointer>, this=0x2a111d0) at /usr/include/qt4/QtCore/qmap.h:486
#7  constFind (akey=<synthetic pointer>, this=0x2a111d0) at /usr/include/qt4/QtCore/qmap.h:614
#8  Okular::Page::hasPixmap (this=0x2b17200, observer=observer@entry=0x241fe28, width=885, height=height@entry=1327, rect=...) at ../core/page.cpp:232
#9  0x00007fc79747f202 in PageView::slotRequestVisiblePixmaps (this=this@entry=0x241fe00, newValue=<optimized out>) at ../ui/pageview.cpp:4180
#10 0x00007fc79747f749 in PageView::slotRequestVisiblePixmaps (this=0x241fe00, newValue=<optimized out>) at ../ui/pageview.cpp:4098
#11 0x00007fc797480488 in PageView::slotRelayoutPages (this=<optimized out>) at ../ui/pageview.cpp:4047
#12 0x00007fc79748a647 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./pageview.moc:169
#13 PageView::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./pageview.moc:148
#14 0x00007fc7a64315be in QObject::event (this=this@entry=0x241fe00, e=e@entry=0x2ac8260) at kernel/qobject.cpp:1194
#15 0x00007fc7a6e4e1ca in QWidget::event (this=this@entry=0x241fe00, event=event@entry=0x2ac8260) at kernel/qwidget.cpp:8845
#16 0x00007fc7a7201486 in QFrame::event (this=this@entry=0x241fe00, e=e@entry=0x2ac8260) at widgets/qframe.cpp:557
#17 0x00007fc7a7281a4b in QAbstractScrollArea::event (this=0x241fe00, e=0x2ac8260) at widgets/qabstractscrollarea.cpp:996
#18 0x00007fc7a6e018ec in QApplicationPrivate::notify_helper (this=this@entry=0x21d0380, receiver=receiver@entry=0x241fe00, e=e@entry=0x2ac8260) at kernel/qapplication.cpp:4567
#19 0x00007fc7a6e0425b in QApplication::notify (this=this@entry=0x7fffee687350, receiver=receiver@entry=0x241fe00, e=e@entry=0x2ac8260) at kernel/qapplication.cpp:4428
#20 0x00007fc7a7b0b9b6 in KApplication::notify (this=0x7fffee687350, receiver=0x241fe00, event=0x2ac8260) at ../../kdeui/kernel/kapplication.cpp:311
#21 0x00007fc7a641763e in QCoreApplication::notifyInternal (this=0x7fffee687350, receiver=receiver@entry=0x241fe00, event=event@entry=0x2ac8260) at kernel/qcoreapplication.cpp:946
#22 0x00007fc7a641b171 in sendEvent (event=0x2ac8260, receiver=0x241fe00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x2193670) at kernel/qcoreapplication.cpp:1570
#24 0x00007fc7a641b4a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#25 0x00007fc7a6445e83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#26 postEventSourceDispatch (s=0x21d9570) at kernel/qeventdispatcher_glib.cpp:279
#27 0x00007fc7a267cf05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fc7a267d248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fc7a267d304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fc7a6446016 in QEventDispatcherGlib::processEvents (this=0x21cfcb0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#31 0x00007fc7a6ea713e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007fc7a641638f in QEventLoop::processEvents (this=this@entry=0x7fffee686fd0, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007fc7a6416618 in QEventLoop::exec (this=this@entry=0x7fffee686fd0, flags=...) at kernel/qeventloop.cpp:204
#34 0x00007fc7a641bcf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#35 0x00007fc7a6dffffc in QApplication::exec () at kernel/qapplication.cpp:3828
#36 0x00000000004082ce in main (argc=<optimized out>, argv=<optimized out>) at ../../shell/main.cpp:100

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

Possible duplicates by query: bug 235122, bug 234324, bug 228754, bug 228404, bug 224424.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-11-03 04:30:11 UTC
*** Bug 327063 has been marked as a duplicate of this bug. ***
Comment 2 Dennis Schridde 2013-11-12 19:23:42 UTC
Created attachment 83523 [details]
New crash information added by DrKonqi

okular (0.17.2) on KDE Platform 4.11.2 using Qt 4.8.2

- What I was doing when the application crashed:

Same situation here. latexmk updated the pdf several times in a row and at some point okular crashed.

-- Backtrace (Reduced):
#7  findNode (akey=<synthetic pointer>, this=0x8b59728) at /usr/include/qt4/QtCore/qmap.h:486
#8  constFind (akey=<synthetic pointer>, this=0x8b59728) at /usr/include/qt4/QtCore/qmap.h:614
#9  Okular::Page::hasPixmap (this=0x8a030a0, observer=0x87a4a14, width=1018, height=-2147483648, rect=...) at ../core/page.cpp:232
#10 0x0306a7b5 in PageView::slotRequestVisiblePixmaps (this=0x87a4a00, newValue=<optimized out>) at ../ui/pageview.cpp:4180
#11 0x0306ae21 in PageView::slotRequestVisiblePixmaps (this=0x87a4a00, newValue=1) at ../ui/pageview.cpp:4100
Comment 3 Jekyll Wu 2013-11-13 05:18:53 UTC
*** Bug 327545 has been marked as a duplicate of this bug. ***
Comment 4 Julian Haddad 2013-11-22 18:25:03 UTC
Created attachment 83706 [details]
New crash information added by DrKonqi

okular (0.17.2) on KDE Platform 4.11.2 using Qt 4.8.4

- What I was doing when the application crashed:

Okular crashed when recompiling a latex document.

-- Backtrace (Reduced):
#5  findNode (akey=<synthetic pointer>, this=<optimized out>) at /usr/include/qt4/QtCore/qmap.h:486
#6  constFind (akey=<synthetic pointer>, this=<optimized out>) at /usr/include/qt4/QtCore/qmap.h:614
#7  Okular::Page::hasPixmap (this=0x4a76510, observer=0xd037d8, width=53, height=69, rect=...) at ../core/page.cpp:232
#8  0x00007fc69f4cbfae in ThumbnailListPrivate::slotRequestVisiblePixmaps (this=0xcb9a00) at ../ui/thumbnaillist.cpp:641
#9  0x00007fc69f4cc159 in ThumbnailListPrivate::slotDelayTimeout (this=0xcb9a00) at ../ui/thumbnaillist.cpp:664
Comment 5 kmgesicki 2013-12-17 15:59:58 UTC
Created attachment 84144 [details]
New crash information added by DrKonqi

okular (0.17.2) on KDE Platform 4.11.2 using Qt 4.8.4

- What I was doing when the application crashed:

okular crashed when it was displaying a pdf file which I was modifying using latex and dvipdf

-- Backtrace (Reduced):
#6  0xb0b21ef3 in Okular::Page::hasPixmap (this=0xa375168, observer=observer@entry=0xa0722ac, width=width@entry=82, height=116, rect=...) at ../core/page.cpp:220
#7  0xb0c59d05 in ThumbnailListPrivate::slotRequestVisiblePixmaps (this=0xa07cd08) at ../ui/thumbnaillist.cpp:641
#8  0xb0c59ec2 in ThumbnailListPrivate::slotDelayTimeout (this=0xa07cd08) at ../ui/thumbnaillist.cpp:664
#9  0xb0c5a01b in ThumbnailList::qt_static_metacall (_o=0xa3ea9b0, _id=1936617315, _a=0xbfe4ca18, _c=<optimized out>) at ./thumbnaillist.moc:66
[...]
#11 0xb614d065 in QTimer::timeout (this=this@entry=0x9fb6798) at .moc/release-shared/moc_qtimer.cpp:148
Comment 6 Jekyll Wu 2014-03-10 15:54:17 UTC
*** Bug 331965 has been marked as a duplicate of this bug. ***
Comment 7 Albert Astals Cid 2014-05-08 11:02:27 UTC
Can any of you guys that could reproduce this bug please try with Okular >= 0.19.0 ( KDE >= 4.13.0 ). I know i fixed some bugs regarding refreshing of files and i think this one is one of them. Thanks for caring about Okular :)
Comment 8 sparhawk 2014-05-08 11:04:32 UTC
I haven't seen it for a while in Okular 0.19.0, but it was always intermittent for me anyway.
Comment 9 Albert Astals Cid 2014-05-08 13:06:54 UTC
I know it's intermitent, please keep an eye open and if it happens again with Okular >= 0.19.0 ( KDE >= 4.13.0 ) report back here :-)
Comment 10 sparhawk 2014-05-08 14:57:09 UTC
Will do. :-)

For me, it was very very intermittent though. I think I only came across the bug once or twice in 50 refreshes.
Comment 11 Jekyll Wu 2014-05-23 02:01:05 UTC
*** Bug 335186 has been marked as a duplicate of this bug. ***
Comment 12 Andrew Crouthamel 2018-09-25 03:42: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 set the bug status 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 13 Andrew Crouthamel 2018-10-27 03:59:30 UTC
Dear Bug Submitter,

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!