[okular] [Bug 411130] New: Searching CHM files crashes Okular
Enmk
bugzilla_noreply at kde.org
Wed Aug 21 08:37:12 BST 2019
https://bugs.kde.org/show_bug.cgi?id=411130
Bug ID: 411130
Summary: Searching CHM files crashes Okular
Product: okular
Version: 1.8.0
Platform: Neon Packages
OS: Linux
Status: REPORTED
Keywords: drkonqi
Severity: crash
Priority: NOR
Component: general
Assignee: okular-devel at kde.org
Reporter: v.nemkov at gmail.com
Target Milestone: ---
Application: okular (1.8.0)
Qt Version: 5.12.3
Frameworks Version: 5.61.0
Operating System: Linux 5.0.0-25-generic x86_64
Distribution: KDE neon User Edition 5.16
-- Information about the crash:
- What I was doing when the application crashed:
* Downloaded a Python 2.7.16 docs in CHM format from
https://www.python.org/ftp/python/2.7.16/python2716.chm
* Opened the said chm with Okular
* Typed 'set' in search bar
* Navigated search results to a 'Standard library' page
* Clicked the page to open
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 0x7fea4d576200 (LWP 30784))]
Thread 4 (Thread 0x7fea20ea4700 (LWP 30789)):
#0 0x00007fea45f829f3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55b0ab5234b8) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55b0ab523468,
cond=0x55b0ab523490) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x55b0ab523490, mutex=0x55b0ab523468) at
pthread_cond_wait.c:655
#3 0x00007fea21a870aa in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4 0x00007fea21a86dd7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5 0x00007fea45f7c6db in start_thread (arg=0x7fea20ea4700) at
pthread_create.c:463
#6 0x00007fea491e588f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 3 (Thread 0x7fea32af2700 (LWP 30788)):
#0 _dl_update_slotinfo (req_modid=2) at ../elf/dl-tls.c:651
#1 0x00007fea4d3aa87c in update_get_addr (ti=0x7fea49f6d670) at
../elf/dl-tls.c:799
#2 0x00007fea4d3b0a28 in __tls_get_addr () at
../sysdeps/x86_64/tls_get_addr.S:55
#3 0x00007fea498e4c26 in get_thread_data () at thread/qthread_unix.cpp:184
#4 QThreadData::current (createIfNecessary=createIfNecessary at entry=true) at
thread/qthread_unix.cpp:239
#5 0x00007fea49b1bcaa in postEventSourcePrepare (s=0x7fea2c004ba0,
timeout=0x7fea32af1ba4) at kernel/qeventdispatcher_glib.cpp:252
#6 0x00007fea43c49b28 in g_main_context_prepare () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7 0x00007fea43c4a4fb in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#8 0x00007fea43c4a6dc in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9 0x00007fea49b1bdcb in QEventDispatcherGlib::processEvents
(this=0x7fea2c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#10 0x00007fea49abd03a in QEventLoop::exec (this=this at entry=0x7fea32af1d70,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:225
#11 0x00007fea498e44ca in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:531
#12 0x00007fea49f8a015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#13 0x00007fea498e5c72 in QThreadPrivate::start (arg=0x7fea4a201d80) at
thread/qthread_unix.cpp:361
#14 0x00007fea45f7c6db in start_thread (arg=0x7fea32af2700) at
pthread_create.c:463
#15 0x00007fea491e588f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 2 (Thread 0x7fea3b7b8700 (LWP 30787)):
#0 0x00007fea491d8bf9 in __GI___poll (fds=0x7fea3b7b7ca8, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007fea469fe747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2 0x00007fea46a0036a in xcb_wait_for_event () from
/usr/lib/x86_64-linux-gnu/libxcb.so.1
#3 0x00007fea3e59f578 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4 0x00007fea498e5c72 in QThreadPrivate::start (arg=0x55b0ab27d110) at
thread/qthread_unix.cpp:361
#5 0x00007fea45f7c6db in start_thread (arg=0x7fea3b7b8700) at
pthread_create.c:463
#6 0x00007fea491e588f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 1 (Thread 0x7fea4d576200 (LWP 30784)):
[KCrash Handler]
#6 QWidget::window (this=0x55b0ad940680) at kernel/qwidget.cpp:4330
#7 0x00007fea4ab86e4c in QWidgetPrivate::sharedPainter (this=0x55b0ac7c56f0)
at
../../include/QtWidgets/5.12.3/QtWidgets/private/../../../../../src/widgets/kernel/qwidget_p.h:985
#8 QWidget::render (this=this at entry=0x55b0ad940680,
painter=painter at entry=0x7ffdd5addcc0, targetOffset=..., sourceRegion=...,
renderFlags=renderFlags at entry=...) at kernel/qwidget.cpp:5185
#9 0x00007fea4ab8795b in QWidget::render (this=this at entry=0x55b0ad940680,
target=target at entry=0x55b0acaace40, targetOffset=..., sourceRegion=...,
renderFlags=..., renderFlags at entry=...) at kernel/qwidget.cpp:5126
#10 0x00007fea1b92ae42 in copyWidget (r=..., p=p at entry=0x7ffdd5ade348,
widget=widget at entry=0x55b0ad940680, tx=tx at entry=50, ty=ty at entry=5929,
buffer=0x55b0acaace40, buffered=true) at
./src/rendering/render_replaced.cpp:744
#11 0x00007fea1b92b371 in khtml::RenderWidget::paintWidget (pI=...,
widget=0x55b0ad940680, tx=50, ty=5929, buffer=buffer at entry=0x55b0ac69d990) at
./src/rendering/render_replaced.cpp:818
#12 0x00007fea1b909787 in khtml::RenderLayer::paintScrollbars
(this=this at entry=0x55b0ac69d930, pI=...) at
./src/rendering/render_layer.cpp:1082
#13 0x00007fea1b90e5a8 in khtml::RenderLayer::paintLayer (this=0x55b0ac69d930,
rootLayer=rootLayer at entry=0x55b0ac4efb60, p=<optimized out>,
paintDirtyRect=..., selectionOnly=selectionOnly at entry=false) at
./src/rendering/render_layer.cpp:1179
#14 0x00007fea1b90e0b6 in khtml::RenderLayer::paintLayer (this=0x55b0ac4efce0,
rootLayer=rootLayer at entry=0x55b0ac4efb60, p=<optimized out>,
paintDirtyRect=..., selectionOnly=selectionOnly at entry=false) at
./src/rendering/render_layer.cpp:1231
#15 0x00007fea1b90e14b in khtml::RenderLayer::paintLayer
(this=this at entry=0x55b0ac4efb60, rootLayer=rootLayer at entry=0x55b0ac4efb60,
p=<optimized out>, p at entry=0x7ffdd5ade348, paintDirtyRect=...,
selectionOnly=selectionOnly at entry=false) at
./src/rendering/render_layer.cpp:1238
#16 0x00007fea1b90e7e2 in khtml::RenderLayer::paint
(this=this at entry=0x55b0ac4efb60, p=p at entry=0x7ffdd5ade348, damageRect=...,
selectionOnly=selectionOnly at entry=false) at
./src/rendering/render_layer.cpp:1098
#17 0x00007fea1b78e719 in KHTMLView::paint (this=0x55b0ac4051f0,
p=0x7ffdd5ade348, rc=..., yOff=0, more=0x7ffdd5ade347) at
./src/khtmlview.cpp:3381
#18 0x00007fea20491a4c in CHMGenerator::slotCompleted (this=0x55b0ab8caea0) at
./generators/chm/generator_chm.cpp:205
#19 0x00007fea49aee875 in QMetaObject::activate (sender=0x55b0ac390cb0,
signalOffset=<optimized out>, local_signal_index=<optimized out>,
argv=<optimized out>) at kernel/qobject.cpp:3795
#20 0x00007fea1b7931f5 in KHTMLView::timerEvent (this=0x55b0ac4051f0,
e=<optimized out>) at ./src/khtmlview.cpp:4252
#21 0x00007fea49aef39b in QObject::event (this=this at entry=0x55b0ac4051f0,
e=e at entry=0x7ffdd5adeb00) at kernel/qobject.cpp:1282
#22 0x00007fea4ab8a0db in QWidget::event (this=this at entry=0x55b0ac4051f0,
event=event at entry=0x7ffdd5adeb00) at kernel/qwidget.cpp:9388
#23 0x00007fea4ac2c7ee in QFrame::event (this=this at entry=0x55b0ac4051f0,
e=e at entry=0x7ffdd5adeb00) at widgets/qframe.cpp:550
#24 0x00007fea4ac2f523 in QAbstractScrollArea::event (this=0x55b0ac4051f0,
e=0x7ffdd5adeb00) at widgets/qabstractscrollarea.cpp:1168
#25 0x00007fea1b794acf in KHTMLView::event (this=0x55b0ac4051f0,
e=0x7ffdd5adeb00) at ./src/khtmlview.cpp:558
#26 0x00007fea4ab4965c in QApplicationPrivate::notify_helper
(this=this at entry=0x55b0ab25c0f0, receiver=receiver at entry=0x55b0ac4051f0,
e=e at entry=0x7ffdd5adeb00) at kernel/qapplication.cpp:3736
#27 0x00007fea4ab50b90 in QApplication::notify (this=0x7ffdd5adee30,
receiver=0x55b0ac4051f0, e=0x7ffdd5adeb00) at kernel/qapplication.cpp:3483
#28 0x00007fea49abed18 in QCoreApplication::notifyInternal2
(receiver=0x55b0ac4051f0, event=0x7ffdd5adeb00) at
kernel/qcoreapplication.cpp:1060
#29 0x00007fea49b1b219 in QTimerInfoList::activateTimers (this=0x55b0ab2b9440)
at kernel/qtimerinfo_unix.cpp:643
#30 0x00007fea49b1b9e1 in timerSourceDispatch (source=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:182
#31 0x00007fea43c4a417 in g_main_context_dispatch () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fea43c4a650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fea43c4a6dc in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fea49b1bdaf in QEventDispatcherGlib::processEvents
(this=0x55b0ab2c80c0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#35 0x00007fea49abd03a in QEventLoop::exec (this=this at entry=0x7ffdd5aded50,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:225
#36 0x00007fea49ac6170 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1363
#37 0x000055b0a9b5c8f7 in main (argc=<optimized out>, argv=<optimized out>) at
./shell/main.cpp:90
The reporter indicates this bug may be a duplicate of or related to bug 359670.
Possible duplicates by query: bug 359670.
Reported using DrKonqi
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list