Bug 201636 - Quanta Plus crashes when selecting XML highlighting
Summary: Quanta Plus crashes when selecting XML highlighting
Status: RESOLVED DUPLICATE of bug 200989
Alias: None
Product: quanta
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: András Manţia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-27 10:12 UTC by Daniel Duncan
Modified: 2009-07-28 14:08 UTC (History)
1 user (show)

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 Daniel Duncan 2009-07-27 10:12:43 UTC
Application that crashed: quanta
Version of the application: 3.9.0
KDE Version: 4.3.61 (KDE 4.3.61 (KDE 4.4 >= 20090717))
Qt Version: 4.5.2
Operating System: Linux 2.6.28.5 x86_64

What I was doing when the application crashed:
After opening a file and selecting Tools -> Highlighting -> Markup -> XML Quanta closes and I presented with this crash dialog.  I am able to duplicate it, the text in the file I will post below. If I select new file, copy/paste the content into the window, and then select Tools -> Highlighting -> Markup -> XML Quanta will crash.


<html><HEAD><TITLE>Noc Test</TITLE></HEAD>
<div>
<h1 align="center">NOC DOCS</h1>
<hr />
<div align="center">
<p><ul>
<LI><a href="farmer-contact"> Test Link </a></LI><br />
<li><a href="mystical.txt">Test Link 2</a></li><br />
<li><a href="mydocuments/web/Untitled1" Target="_blank">page 1</a></li>
</ul></p>
</div>
</BODY></html>

 -- Backtrace:
Application: Quanta (quanta), signal: Segmentation fault
[Current thread is 0 (LWP 23099)]

Thread 2 (Thread 0x40bb3950 (LWP 23100)):
#0  0x00007fcea2fb0e1d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fcea32247e7 in QWaitCondition::wait (this=<value optimized out>, mutex=0x7171d0, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  0x00007fce9e9ce22e in KDevelop::DUChainPrivate::CleanupThread::run () from /opt/lib/libkdevplatformlanguage.so.1
#3  0x00007fcea32240e4 in QThreadPrivate::start (arg=0x7171b0) at thread/qthread_unix.cpp:188
#4  0x00007fcea2fac3f7 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fcea18551dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fcea6021700 (LWP 23099)):
[KCrash Handler]
#5  0x00007fce81e130c7 in QVector<KateHlItem*>::value () from /opt/lib/kde4/katepart.so
#6  0x00007fce81e05fc4 in KateHighlighting::doHighlight () from /opt/lib/kde4/katepart.so
#7  0x00007fce81dc6fe4 in KateBuffer::doHighlight () from /opt/lib/kde4/katepart.so
#8  0x00007fce81dc8fb6 in KateBuffer::ensureHighlighted () from /opt/lib/kde4/katepart.so
#9  0x00007fce81da774e in KateDocument::kateTextLine () from /opt/lib/kde4/katepart.so
#10 0x00007fce81df08dc in KateLineLayout::textLine () from /opt/lib/kde4/katepart.so
#11 0x00007fce81de648e in KateRenderer::layoutLine () from /opt/lib/kde4/katepart.so
#12 0x00007fce81dec84a in KateLayoutCache::line () from /opt/lib/kde4/katepart.so
#13 0x00007fce81dedab0 in KateLayoutCache::updateViewCache () from /opt/lib/kde4/katepart.so
#14 0x00007fce81e3bfec in KateViewInternal::doUpdateView () from /opt/lib/kde4/katepart.so
#15 0x00007fce81e3c754 in KateViewInternal::updateView () from /opt/lib/kde4/katepart.so
#16 0x00007fce81e2b912 in KateView::updateView () from /opt/lib/kde4/katepart.so
#17 0x00007fce81d9dd82 in KateDocument::updateConfig () from /opt/lib/kde4/katepart.so
#18 0x00007fce81dc49a7 in KateBuffer::setHighlight () from /opt/lib/kde4/katepart.so
#19 0x00007fce81d9b943 in KateDocument::setHighlightingMode () from /opt/lib/kde4/katepart.so
#20 0x00007fce81e18316 in KateHighlightingMenu::setHl () from /opt/lib/kde4/katepart.so
#21 0x00007fce81e18b3d in KateHighlightingMenu::qt_metacall () from /opt/lib/kde4/katepart.so
#22 0x00007fcea33028e8 in QMetaObject::activate (sender=0x158ea90, from_signal_index=<value optimized out>, to_signal_index=6, argv=0x1b) at kernel/qobject.cpp:3101
#23 0x00007fcea2429f97 in QAction::triggered (this=0x70000000000005a, _t1=true) at .moc/release-shared/moc_qaction.cpp:236
#24 0x00007fcea242af50 in QAction::activate (this=0x158ea90, event=<value optimized out>) at kernel/qaction.cpp:1160
#25 0x00007fcea27cc2b8 in QMenuPrivate::activateCausedStack (this=0x1a2f8c0, causedStack=@0x7fffae05dc20, action=0x158ea90, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:967
#26 0x00007fcea27d2a6d in QMenuPrivate::activateAction (this=0x1a2f8c0, action=0x158ea90, action_e=25842304, self=false) at widgets/qmenu.cpp:1060
#27 0x00007fcea247df90 in QWidget::event (this=0x18a5280, event=0x7fffae05e560) at kernel/qwidget.cpp:7549
#28 0x00007fcea27d10a1 in QMenu::event (this=0x18a5280, e=0x7fffae05e560) at widgets/qmenu.cpp:2353
#29 0x00007fcea242fddf in QApplicationPrivate::notify_helper (this=0x6dcfc0, receiver=0x18a5280, e=0x7fffae05e560) at kernel/qapplication.cpp:4056
#30 0x00007fcea2436fab in QApplication::notify (this=0x7fffae060190, receiver=0x18a5280, e=0x7fffae05e560) at kernel/qapplication.cpp:3758
#31 0x00007fcea5a42c9b in KApplication::notify () from /opt/lib/libkdeui.so.5
#32 0x00007fcea32f1a14 in QCoreApplication::notifyInternal (this=0x7fffae060190, receiver=0x18a5280, event=0x7fffae05e560) at kernel/qcoreapplication.cpp:606
#33 0x00007fcea2436473 in QApplicationPrivate::sendMouseEvent (receiver=0x18a5280, event=0x7fffae05e560, alienWidget=0x0, nativeWidget=0x18a5280, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7fcea2d56e70) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#34 0x00007fcea248f7cc in QETWidget::translateMouseEvent (this=0x18a5280, event=<value optimized out>) at kernel/qapplication_x11.cpp:4343
#35 0x00007fcea248e41c in QApplication::x11ProcessEvent (this=0x7fffae060190, event=0x7fffae05fdd0) at kernel/qapplication_x11.cpp:3550
#36 0x00007fcea24b2113 in x11EventSourceDispatch (s=0x6e08d0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#37 0x00007fce9c46e9c4 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#38 0x00007fce9c471cc5 in ?? () from /usr/lib64/libglib-2.0.so.0
#39 0x00007fce9c4721ab in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#40 0x00007fcea331699f in QEventDispatcherGlib::processEvents (this=0x6dcb80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#41 0x00007fcea24b1f5f in QGuiEventDispatcherGlib::processEvents (this=0x70000000000005a, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#42 0x00007fcea32f0e45 in QEventLoop::processEvents (this=<value optimized out>, flags=@0x7fffae0600a0) at kernel/qeventloop.cpp:149
#43 0x00007fcea32f0fc5 in QEventLoop::exec (this=0x7fffae0600e0, flags=@0x7fffae0600f0) at kernel/qeventloop.cpp:197
#44 0x00007fcea32f2e6c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#45 0x00000000004026ff in main ()

Reported using DrKonqi
Comment 1 Dario Andres 2009-07-28 14:08:37 UTC
Merging with bug 200989. Thanks

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