Bug 310332 - Konqueror crashes when viewing chm file
Summary: Konqueror crashes when viewing chm file
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml renderer (show other bugs)
Version: 4.8.4
Platform: Debian unstable Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-19 11:18 UTC by Jan Binder
Modified: 2013-03-16 02:14 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 Jan Binder 2012-11-19 11:18:39 UTC
Application: konqueror (4.8.4 (4.8.4))
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.2
Operating System: Linux 3.7.0-rc4n1+ x86_64
Distribution: Debian GNU/Linux unstable (sid)

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

Opening a specific chm file with Konqueror will caus Konqueror to hang for a few seconds and then crash.

The crash can be reproduced every time.

-- Backtrace:
Application: Konqueror (konqueror), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9a365b9760 (LWP 26252))]

Thread 2 (Thread 0x7f9a21f60700 (LWP 26253)):
#0  0x00007f9a35e53e33 in *__GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9a2ec62624 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9a2ec62744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9a33936296 in QEventDispatcherGlib::processEvents (this=0xdbe860, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f9a339068af in QEventLoop::processEvents (this=this@entry=0x7f9a21f5fe10, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9a33906b38 in QEventLoop::exec (this=0x7f9a21f5fe10, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f9a33809d70 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f9a338e71bf in QInotifyFileSystemWatcherEngine::run (this=0xeb34e0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f9a3380cd0b in QThreadPrivate::start (arg=0xeb34e0) at thread/qthread_unix.cpp:307
#9  0x00007f9a2f52bb50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#10 0x00007f9a35e5ea7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9a365b9760 (LWP 26252)):
[KCrash Handler]
#6  QWidget::window (this=0x7f9a3610a0f8) at kernel/qwidget.cpp:4344
#7  0x00007f9a32a8109e in sharedPainter (this=0xf8a6c10) at ../../include/QtGui/private/../../../src/gui/kernel/qwidget_p.h:1013
#8  QWidgetPrivate::render (this=0xf8a6c10, target=0xf873f40, targetOffset=..., sourceRegion=..., renderFlags=..., readyToRender=readyToRender@entry=false) at kernel/qwidget.cpp:5730
#9  0x00007f9a32a813a9 in QWidget::render (this=<optimized out>, target=<optimized out>, targetOffset=..., sourceRegion=..., renderFlags=...) at kernel/qwidget.cpp:5182
#10 0x00007f9a17944ef2 in copyWidget (r=..., p=p@entry=0x7fff45c20260, widget=widget@entry=0xf699b30, tx=tx@entry=0, ty=ty@entry=595, buffer=0xf873f40, buffered=true) at ../../khtml/rendering/render_replaced.cpp:716
#11 0x00007f9a17945502 in khtml::RenderWidget::paintWidget (pI=..., widget=0xf699b30, tx=0, ty=595, buffer=0x1914a08) at ../../khtml/rendering/render_replaced.cpp:785
#12 0x00007f9a17928617 in khtml::RenderLayer::paintScrollbars (this=this@entry=0x19149a8, pI=...) at ../../khtml/rendering/render_layer.cpp:1003
#13 0x00007f9a1792c6bf in khtml::RenderLayer::paintLayer (this=0x19149a8, rootLayer=rootLayer@entry=0x1796160, p=0x7fff45c20260, paintDirtyRect=..., selectionOnly=selectionOnly@entry=false) at ../../khtml/rendering/render_layer.cpp:1094
#14 0x00007f9a1792ca00 in khtml::RenderLayer::paintLayer (this=0x17962e0, rootLayer=rootLayer@entry=0x1796160, p=0x7fff45c20260, paintDirtyRect=..., selectionOnly=selectionOnly@entry=false) at ../../khtml/rendering/render_layer.cpp:1146
#15 0x00007f9a1792cb1a in khtml::RenderLayer::paintLayer (this=0x1796160, rootLayer=0x1796160, p=0x7fff45c20260, paintDirtyRect=..., selectionOnly=false) at ../../khtml/rendering/render_layer.cpp:1152
#16 0x00007f9a177bdc13 in KHTMLView::paint (this=0x169cb40, p=0x7fff45c20260, rc=..., yOff=0, more=0x7fff45c2024f) at ../../khtml/khtmlview.cpp:3267
#17 0x00007f9a1819cd8a in ?? () from /usr/lib/kde4/okularGenerator_chmlib.so
#18 0x00007f9a3391d54f in QMetaObject::activate (sender=0x15b2d50, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#19 0x00007f9a177ce2e4 in KHTMLView::timerEvent (this=0x169cb40, e=<optimized out>) at ../../khtml/khtmlview.cpp:4080
#20 0x00007f9a3391c85c in QObject::event (this=0x169cb40, e=<optimized out>) at kernel/qobject.cpp:1157
#21 0x00007f9a32a8269a in QWidget::event (this=0x169cb40, event=0x7fff45c20f30) at kernel/qwidget.cpp:8830
#22 0x00007f9a32e2dd56 in QFrame::event (this=0x169cb40, e=0x7fff45c20f30) at widgets/qframe.cpp:557
#23 0x00007f9a32ead99b in QAbstractScrollArea::event (this=0x169cb40, e=0x7fff45c20f30) at widgets/qabstractscrollarea.cpp:996
#24 0x00007f9a177c1d72 in KHTMLView::event (this=0x169cb40, e=0x7fff45c20f30) at ../../khtml/khtmlview.cpp:546
#25 0x00007f9a32a3370c in QApplicationPrivate::notify_helper (this=this@entry=0x84a290, receiver=receiver@entry=0x169cb40, e=e@entry=0x7fff45c20f30) at kernel/qapplication.cpp:4556
#26 0x00007f9a32a37b8a in QApplication::notify (this=0x7fff45c214a0, receiver=0x169cb40, e=0x7fff45c20f30) at kernel/qapplication.cpp:4417
#27 0x00007f9a34393886 in KApplication::notify (this=0x7fff45c214a0, receiver=0x169cb40, event=0x7fff45c20f30) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x00007f9a33907b5e in QCoreApplication::notifyInternal (this=0x7fff45c214a0, receiver=0x169cb40, event=0x7fff45c20f30) at kernel/qcoreapplication.cpp:915
#29 0x00007f9a33938a52 in sendEvent (event=0x7fff45c20f30, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#30 QTimerInfoList::activateTimers (this=0x847da0) at kernel/qeventdispatcher_unix.cpp:611
#31 0x00007f9a33935c04 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#32 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
#33 0x00007f9a2ec62355 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f9a2ec62688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f9a2ec62744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f9a33936276 in QEventDispatcherGlib::processEvents (this=0x81db30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#37 0x00007f9a32ad483e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f9a339068af in QEventLoop::processEvents (this=this@entry=0x7fff45c211a0, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f9a33906b38 in QEventLoop::exec (this=0x7fff45c211a0, flags=...) at kernel/qeventloop.cpp:204
#40 0x00007f9a3390bcf8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#41 0x00007f9a361c0062 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_konqueror.so
#42 0x00007f9a35da2ead in __libc_start_main (main=<optimized out>, argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff45c21718) at libc-start.c:228
#43 0x0000000000400771 in _start ()

Reported using DrKonqi
Comment 1 Jan Binder 2012-11-19 11:28:30 UTC
The file that causes the crash:
http://intern.sfz-bw.de/~jan.binder/patch/LD.Api.chm (4.6MB)

How to reproduce:
open the linked file witch Konqueror.
Comment 2 Jan Binder 2013-03-16 02:14:08 UTC
Ok, Konqueror now uses the Okular kpart, which just takes ages to load instead of crashing.