Summary: | Searching CHM files crashes Okular | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Enmk <v.nemkov> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | aacid |
Priority: | NOR | Keywords: | drkonqi |
Version: | 1.8.0 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Enmk
2019-08-21 07:37:12 UTC
Well, actually I've opened a subsection of the 'The Python standard library'/'Builting types'/'set and frozenset', but any other page may cause a crash too. It is not always reproducible from the first try, click around the 'Contents'. It also looks like that setting '100%' zoom mode rather than 'Fit width', reduces chances of crashing. Backtrace of doing the same in '100%' zoom mode: 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 0x7ff1480c8200 (LWP 444))] Thread 7 (Thread 0x7ff112ffd700 (LWP 498)): #0 0x00007ff140ad4ed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7ff112ffcbe0, expected=0, futex_word=0x56105d01db94) at ../sysdeps/unix/sysv/linux/futex-internal.h:142 #1 __pthread_cond_wait_common (abstime=0x7ff112ffcca0, mutex=0x56105d01db40, cond=0x56105d01db68) at pthread_cond_wait.c:533 #2 __pthread_cond_timedwait (cond=0x56105d01db68, mutex=0x56105d01db40, abstime=0x7ff112ffcca0) at pthread_cond_wait.c:667 #3 0x00007ff14443ed36 in QWaitConditionPrivate::wait_relative (this=0x56105d01db40, deadline=...) at thread/qwaitcondition_unix.cpp:136 #4 QWaitConditionPrivate::wait (deadline=..., this=0x56105d01db40) at thread/qwaitcondition_unix.cpp:144 #5 QWaitCondition::wait (this=<optimized out>, mutex=0x56105c166e60, deadline=...) at thread/qwaitcondition_unix.cpp:225 #6 0x00007ff14443f096 in QWaitCondition::wait (this=this@entry=0x56105b73dce0, mutex=mutex@entry=0x56105c166e60, time=<optimized out>) at thread/qwaitcondition_unix.cpp:209 #7 0x00007ff14443c740 in QThreadPoolThread::run (this=0x56105b73dcd0) at thread/qthreadpool.cpp:139 #8 0x00007ff144437c72 in QThreadPrivate::start (arg=0x56105b73dcd0) at thread/qthread_unix.cpp:361 #9 0x00007ff140ace6db in start_thread (arg=0x7ff112ffd700) at pthread_create.c:463 #10 0x00007ff143d3788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 6 (Thread 0x7ff113fff700 (LWP 497)): #0 0x00007ff140ad4ed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7ff113ffebe0, expected=0, futex_word=0x56105b079d14) at ../sysdeps/unix/sysv/linux/futex-internal.h:142 #1 __pthread_cond_wait_common (abstime=0x7ff113ffeca0, mutex=0x56105b079cc0, cond=0x56105b079ce8) at pthread_cond_wait.c:533 #2 __pthread_cond_timedwait (cond=0x56105b079ce8, mutex=0x56105b079cc0, abstime=0x7ff113ffeca0) at pthread_cond_wait.c:667 #3 0x00007ff14443ed36 in QWaitConditionPrivate::wait_relative (this=0x56105b079cc0, deadline=...) at thread/qwaitcondition_unix.cpp:136 #4 QWaitConditionPrivate::wait (deadline=..., this=0x56105b079cc0) at thread/qwaitcondition_unix.cpp:144 #5 QWaitCondition::wait (this=<optimized out>, mutex=0x56105c166e60, deadline=...) at thread/qwaitcondition_unix.cpp:225 #6 0x00007ff14443f096 in QWaitCondition::wait (this=this@entry=0x56105b777ec0, mutex=mutex@entry=0x56105c166e60, time=<optimized out>) at thread/qwaitcondition_unix.cpp:209 #7 0x00007ff14443c740 in QThreadPoolThread::run (this=0x56105b777eb0) at thread/qthreadpool.cpp:139 #8 0x00007ff144437c72 in QThreadPrivate::start (arg=0x56105b777eb0) at thread/qthread_unix.cpp:361 #9 0x00007ff140ace6db in start_thread (arg=0x7ff113fff700) at pthread_create.c:463 #10 0x00007ff143d3788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 5 (Thread 0x7ff1137fe700 (LWP 496)): #0 0x00007ff140ad4ed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7ff1137fdbe0, expected=0, futex_word=0x56105c175734) at ../sysdeps/unix/sysv/linux/futex-internal.h:142 #1 __pthread_cond_wait_common (abstime=0x7ff1137fdca0, mutex=0x56105c1756e0, cond=0x56105c175708) at pthread_cond_wait.c:533 #2 __pthread_cond_timedwait (cond=0x56105c175708, mutex=0x56105c1756e0, abstime=0x7ff1137fdca0) at pthread_cond_wait.c:667 #3 0x00007ff14443ed36 in QWaitConditionPrivate::wait_relative (this=0x56105c1756e0, deadline=...) at thread/qwaitcondition_unix.cpp:136 #4 QWaitConditionPrivate::wait (deadline=..., this=0x56105c1756e0) at thread/qwaitcondition_unix.cpp:144 #5 QWaitCondition::wait (this=<optimized out>, mutex=0x56105c166e60, deadline=...) at thread/qwaitcondition_unix.cpp:225 #6 0x00007ff14443f096 in QWaitCondition::wait (this=this@entry=0x56105c1d11e0, mutex=mutex@entry=0x56105c166e60, time=<optimized out>) at thread/qwaitcondition_unix.cpp:209 #7 0x00007ff14443c740 in QThreadPoolThread::run (this=0x56105c1d11d0) at thread/qthreadpool.cpp:139 #8 0x00007ff144437c72 in QThreadPrivate::start (arg=0x56105c1d11d0) at thread/qthread_unix.cpp:361 #9 0x00007ff140ace6db in start_thread (arg=0x7ff1137fe700) at pthread_create.c:463 #10 0x00007ff143d3788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 4 (Thread 0x7ff11baed700 (LWP 449)): #0 0x00007ff140ad49f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x561059d53b98) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x561059d53b48, cond=0x561059d53b70) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x561059d53b70, mutex=0x561059d53b48) at pthread_cond_wait.c:655 #3 0x00007ff11c6d00aa in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #4 0x00007ff11c6cfdd7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #5 0x00007ff140ace6db in start_thread (arg=0x7ff11baed700) at pthread_create.c:463 #6 0x00007ff143d3788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7ff12d6a4700 (LWP 448)): #0 0x00007ff143d2abf9 in __GI___poll (fds=0x7ff128004db0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007ff13e79c5c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007ff13e79c6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ff14466ddcb in QEventDispatcherGlib::processEvents (this=0x7ff128000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #4 0x00007ff14460f03a in QEventLoop::exec (this=this@entry=0x7ff12d6a3d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225 #5 0x00007ff1444364ca in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531 #6 0x00007ff144adc015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #7 0x00007ff144437c72 in QThreadPrivate::start (arg=0x7ff144d53d80) at thread/qthread_unix.cpp:361 #8 0x00007ff140ace6db in start_thread (arg=0x7ff12d6a4700) at pthread_create.c:463 #9 0x00007ff143d3788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7ff13630a700 (LWP 447)): #0 0x00007ff143d2abf9 in __GI___poll (fds=0x7ff136309ca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007ff141550747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #2 0x00007ff14155236a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #3 0x00007ff1390f1578 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #4 0x00007ff144437c72 in QThreadPrivate::start (arg=0x561059aaf110) at thread/qthread_unix.cpp:361 #5 0x00007ff140ace6db in start_thread (arg=0x7ff13630a700) at pthread_create.c:463 #6 0x00007ff143d3788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7ff1480c8200 (LWP 444)): [KCrash Handler] #6 QObject::parent (this=0x56105c264ae0) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:408 #7 QWidget::parentWidget (this=0x56105c264ae0) at ../../include/QtWidgets/../../src/widgets/kernel/qwidget.h:860 #8 QWidget::window (this=0x56105c264ae0) at kernel/qwidget.cpp:4329 #9 0x00007ff1456d8e4c in QWidgetPrivate::sharedPainter (this=0x56105b23d0b0) at ../../include/QtWidgets/5.12.3/QtWidgets/private/../../../../../src/widgets/kernel/qwidget_p.h:985 #10 QWidget::render (this=this@entry=0x56105c264ae0, painter=painter@entry=0x7fff0d8bb150, targetOffset=..., sourceRegion=..., renderFlags=renderFlags@entry=...) at kernel/qwidget.cpp:5185 #11 0x00007ff1456d995b in QWidget::render (this=this@entry=0x56105c264ae0, target=target@entry=0x56105b61d890, targetOffset=..., sourceRegion=..., renderFlags=..., renderFlags@entry=...) at kernel/qwidget.cpp:5126 #12 0x00007ff11a579e42 in copyWidget (r=..., p=p@entry=0x7fff0d8bb7d8, widget=widget@entry=0x56105c264ae0, tx=tx@entry=20, ty=ty@entry=6112, buffer=0x56105b61d890, buffered=true) at ./src/rendering/render_replaced.cpp:744 #13 0x00007ff11a57a371 in khtml::RenderWidget::paintWidget (pI=..., widget=0x56105c264ae0, tx=20, ty=6112, buffer=buffer@entry=0x56105aeb1b20) at ./src/rendering/render_replaced.cpp:818 #14 0x00007ff11a558787 in khtml::RenderLayer::paintScrollbars (this=this@entry=0x56105aeb1ac0, pI=...) at ./src/rendering/render_layer.cpp:1082 #15 0x00007ff11a55d5a8 in khtml::RenderLayer::paintLayer (this=0x56105aeb1ac0, rootLayer=rootLayer@entry=0x56105ad21cb0, p=<optimized out>, paintDirtyRect=..., selectionOnly=selectionOnly@entry=false) at ./src/rendering/render_layer.cpp:1179 #16 0x00007ff11a55d0b6 in khtml::RenderLayer::paintLayer (this=0x56105ad21e30, rootLayer=rootLayer@entry=0x56105ad21cb0, p=<optimized out>, paintDirtyRect=..., selectionOnly=selectionOnly@entry=false) at ./src/rendering/render_layer.cpp:1231 #17 0x00007ff11a55d14b in khtml::RenderLayer::paintLayer (this=this@entry=0x56105ad21cb0, rootLayer=rootLayer@entry=0x56105ad21cb0, p=<optimized out>, p@entry=0x7fff0d8bb7d8, paintDirtyRect=..., selectionOnly=selectionOnly@entry=false) at ./src/rendering/render_layer.cpp:1238 #18 0x00007ff11a55d7e2 in khtml::RenderLayer::paint (this=this@entry=0x56105ad21cb0, p=p@entry=0x7fff0d8bb7d8, damageRect=..., selectionOnly=selectionOnly@entry=false) at ./src/rendering/render_layer.cpp:1098 #19 0x00007ff11a3dd719 in KHTMLView::paint (this=0x56105ac18550, p=0x7fff0d8bb7d8, rc=..., yOff=0, more=0x7fff0d8bb7d7) at ./src/khtmlview.cpp:3381 #20 0x00007ff11b099a4c in CHMGenerator::slotCompleted (this=0x56105a0fd250) at ./generators/chm/generator_chm.cpp:205 #21 0x00007ff144640875 in QMetaObject::activate (sender=0x56105abc0da0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3795 #22 0x00007ff11a3e21f5 in KHTMLView::timerEvent (this=0x56105ac18550, e=<optimized out>) at ./src/khtmlview.cpp:4252 #23 0x00007ff14464139b in QObject::event (this=this@entry=0x56105ac18550, e=e@entry=0x7fff0d8bbf90) at kernel/qobject.cpp:1282 #24 0x00007ff1456dc0db in QWidget::event (this=this@entry=0x56105ac18550, event=event@entry=0x7fff0d8bbf90) at kernel/qwidget.cpp:9388 #25 0x00007ff14577e7ee in QFrame::event (this=this@entry=0x56105ac18550, e=e@entry=0x7fff0d8bbf90) at widgets/qframe.cpp:550 #26 0x00007ff145781523 in QAbstractScrollArea::event (this=0x56105ac18550, e=0x7fff0d8bbf90) at widgets/qabstractscrollarea.cpp:1168 #27 0x00007ff11a3e3acf in KHTMLView::event (this=0x56105ac18550, e=0x7fff0d8bbf90) at ./src/khtmlview.cpp:558 #28 0x00007ff14569b65c in QApplicationPrivate::notify_helper (this=this@entry=0x561059a8e0f0, receiver=receiver@entry=0x56105ac18550, e=e@entry=0x7fff0d8bbf90) at kernel/qapplication.cpp:3736 #29 0x00007ff1456a2b90 in QApplication::notify (this=0x7fff0d8bc2c0, receiver=0x56105ac18550, e=0x7fff0d8bbf90) at kernel/qapplication.cpp:3483 #30 0x00007ff144610d18 in QCoreApplication::notifyInternal2 (receiver=0x56105ac18550, event=0x7fff0d8bbf90) at kernel/qcoreapplication.cpp:1060 #31 0x00007ff14466d219 in QTimerInfoList::activateTimers (this=0x561059aeb420) at kernel/qtimerinfo_unix.cpp:643 #32 0x00007ff14466d9e1 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182 #33 0x00007ff13e79c417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #34 0x00007ff13e79c650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #35 0x00007ff13e79c6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #36 0x00007ff14466ddaf in QEventDispatcherGlib::processEvents (this=0x561059afa0a0, flags=...) at kernel/qeventdispatcher_glib.cpp:422 #37 0x00007ff14460f03a in QEventLoop::exec (this=this@entry=0x7fff0d8bc1e0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225 #38 0x00007ff144618170 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1363 #39 0x0000561057c4e8f7 in main (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:90 I can reproduce just browsing to page 4 or 5 My initial guess is that the problem is that some pages are crazy tall and something gets confused in khtml when that happens. Which using khtml in itself is a big issue since it's basically dead tech, so the fix long term is movign away from html, short term i don't know if there's any fix for this particular crash :/ 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! 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! 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! |