Bug 272540 - drkonqi crash while try to report a bug
Summary: drkonqi crash while try to report a bug
Status: RESOLVED DUPLICATE of bug 381644
Alias: None
Product: drkonqi
Classification: Applications
Component: backtraceparsing (show other bugs)
Version: unspecified
Platform: Chakra Linux
: NOR crash
Target Milestone: ---
Assignee: George Kiagiadakis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-05 16:09 UTC by marian.trenkwalder
Modified: 2017-06-26 13:39 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
crash stack trace (5.29 KB, text/plain)
2017-03-02 14:53 UTC, Ovidiu-Florin BOGDAN
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marian.trenkwalder 2011-05-05 16:09:27 UTC
Version:           unspecified
OS:                Linux

Application: Die KDE-Absturzbehandlung (drkonqi), signal: Segmentation fault
[KCrash Handler]
#6  BacktraceLine::type (this=0x1d26120, text=...) at /home/manutortosa/desktop-testing/kdebase-runtime/src/kdebase-runtime-4.6.2/drkonqi/parser/backtraceline.h:59
#7  GdbHighlighter::highlightBlock (this=0x1d26120, text=...) at /home/manutortosa/desktop-testing/kdebase-runtime/src/kdebase-runtime-4.6.2/drkonqi/gdbhighlighter.cpp:78
#8  0x00007f30ca890264 in QSyntaxHighlighterPrivate::reformatBlock (this=0x1d1e4a0, block=...) at text/qsyntaxhighlighter.cpp:225
#9  0x00007f30ca8903fe in QSyntaxHighlighterPrivate::reformatBlocks (this=0x1d1e4a0, from=<value optimized out>, charsRemoved=<value optimized out>, charsAdded=<value optimized out>)
    at text/qsyntaxhighlighter.cpp:206
#10 0x00007f30ca890683 in QSyntaxHighlighterPrivate::rehighlight (this=<value optimized out>) at text/qsyntaxhighlighter.cpp:77
#11 QSyntaxHighlighter::rehighlight (this=<value optimized out>) at text/qsyntaxhighlighter.cpp:400
#12 0x00007f30ca890781 in QSyntaxHighlighterPrivate::_q_delayedRehighlight (this=0x1d26120, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x1d1e560)
    at text/qsyntaxhighlighter.cpp:86
#13 QSyntaxHighlighter::qt_metacall (this=0x1d26120, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x1d1e560) at .moc/debug-shared/moc_qsyntaxhighlighter.cpp:82
#14 0x00007f30c995b33a in QObject::event (this=0x1d26120, e=<value optimized out>) at kernel/qobject.cpp:1217
#15 0x00007f30ca59a9a4 in QApplicationPrivate::notify_helper (this=0x186dd20, receiver=0x1d26120, e=0x1b99b80) at kernel/qapplication.cpp:4462
#16 0x00007f30ca59fd11 in QApplication::notify (this=<value optimized out>, receiver=0x1d26120, e=0x1b99b80) at kernel/qapplication.cpp:4341
#17 0x00007f30cb59c856 in KApplication::notify (this=0x186dbf0, receiver=0x1d26120, event=0x1b99b80) at /home/manutortosa/desktop-testing/kdelibs/src/kdelibs-4.6.2/kdeui/kernel/kapplication.cpp:311
#18 0x00007f30c9944ddc in QCoreApplication::notifyInternal (this=0x186dbf0, receiver=0x1d26120, event=0x1b99b80) at kernel/qcoreapplication.cpp:731
#19 0x00007f30c9948d62 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x182a510) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#20 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x182a510) at kernel/qcoreapplication.cpp:1372
#21 0x00007f30c9972ee3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#22 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#23 0x00007f30c5fb6c33 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#24 0x00007f30c5fb7410 in ?? () from /usr/lib/libglib-2.0.so.0
#25 0x00007f30c5fb76ad in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#26 0x00007f30c997307f in QEventDispatcherGlib::processEvents (this=0x1829cf0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#27 0x00007f30ca64b98e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007f30c9943892 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#29 0x00007f30c9943adc in QEventLoop::exec (this=0x7fffd2fe8dc0, flags=...) at kernel/qeventloop.cpp:201
#30 0x00007f30c994905b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#31 0x000000000041768b in main (argc=19, argv=0x7fffd2fe9438) at /home/manutortosa/desktop-testing/kdebase-runtime/src/kdebase-runtime-4.6.2/drkonqi/main.cpp:109


Reproducible: Didn't try
Comment 1 George Kiagiadakis 2011-05-06 16:22:14 UTC
Strange crash. Looks like this "const BacktraceLine& line" reference in gdbhighlighter.cpp line 76 is an invalid reference. Milian, can you have a look as well?
Comment 2 Milian Wolff 2011-05-30 15:55:48 UTC
indeed looking at the code I would assume the iterator accesses is unchecked and hence leads to the crash hm...

that would probably mean though that the text is not in sync with the line cache... anyhow, to prevent this being more pedantic in the code should not hurt. A proper way to reproduce would be tremendous though
Comment 3 Ovidiu-Florin BOGDAN 2017-03-02 14:53:47 UTC
Created attachment 104319 [details]
crash stack trace

I'm also experiencing this on Kubuntu Zesty 17.04 Beta 1.
Comment 4 Christoph Feck 2017-06-26 13:39:42 UTC
Indeed, this is still happening after the Qt5 port. Updated backtrace at bug 381644.

*** This bug has been marked as a duplicate of bug 381644 ***