Bug 326829 - Crash after reload file - Assertion in KateMessageWidget::postMessage
Summary: Crash after reload file - Assertion in KateMessageWidget::postMessage
Status: RESOLVED DUPLICATE of bug 323092
Alias: None
Product: kate
Classification: Applications
Component: part (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-29 14:00 UTC by Tomasz Narloch
Modified: 2013-11-01 15:19 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 Tomasz Narloch 2013-10-29 14:00:35 UTC
Application: kdevelop (4.5.60)
KDE Platform Version: 4.8.5 (4.8.5) (Compiled from sources)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-55-generic x86_64
Distribution: Ubuntu 12.04.3 LTS

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

After project has been loadded I saw that a file  was not loaded complete (the box on the right top corner of editor). I click on reload and then kdevelop crash.

I use fish protocol  for my project and my computer was sleep after load project. After woke up I tried to reload the file.

I think that the (blue) box that inform me about "File is not loaded completly" apears too offen, I think that a lot of time file is loaded in 100%.

Best Regards

-- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7eff9fd09780 (LWP 5089))]

Thread 9 (Thread 0x7eff84bea700 (LWP 5091)):
#0  0x00007fff1c9ff8de in ?? ()
#1  0x00007eff9b05715d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007eff9de53bb4 in do_gettime (frac=0x7eff84be9b98, sec=0x7eff84be9b90) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007eff9df2bb8d in QTimerInfoList::updateCurrentTime (this=0x7eff80002860) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007eff9df2bec3 in QTimerInfoList::timerWait (this=0x7eff80002860, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007eff9df2a97c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7eff84be9c6c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007eff9df2aa25 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007eff96cca806 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007eff96ccaf1b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007eff96ccb124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007eff9df2b426 in QEventDispatcherGlib::processEvents (this=0x7eff800008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007eff9defac82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007eff9defaed7 in QEventLoop::exec (this=0x7eff84be9dd0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007eff9ddf9fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007eff9deda9ff in QInotifyFileSystemWatcherEngine::run (this=0x272bfe0) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007eff9ddfcfcb in QThreadPrivate::start (arg=0x272bfe0) at thread/qthread_unix.cpp:298
#17 0x00007eff9bbcbe9a in start_thread (arg=0x7eff84bea700) at pthread_create.c:308
#18 0x00007eff9cae73fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7eff7ffff700 (LWP 5107)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007eff98c65222 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7eff98f5de80) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007eff98c65259 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007eff9bbcbe9a in start_thread (arg=0x7eff7ffff700) at pthread_create.c:308
#4  0x00007eff9cae73fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7eff7efdc700 (LWP 5108)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007eff9ddfd43f in wait (time=1000, this=0x3c42da0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x3c37740, time=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007eff99ba6f60 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x3c37720) at /home/tomek2/kde/kdevplatform/language/duchain/duchain.cpp:282
#4  0x00007eff9ddfcfcb in QThreadPrivate::start (arg=0x3c37720) at thread/qthread_unix.cpp:298
#5  0x00007eff9bbcbe9a in start_thread (arg=0x7eff7efdc700) at pthread_create.c:308
#6  0x00007eff9cae73fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7eff7359e700 (LWP 5109)):
#0  0x00007eff9bbcdf69 in __pthread_mutex_lock (mutex=0x7eff6c000a60) at pthread_mutex_lock.c:92
#1  0x00007eff96d065b1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007eff96ccab0e in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007eff96ccaf96 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007eff96ccb124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007eff9df2b426 in QEventDispatcherGlib::processEvents (this=0x7eff6c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007eff9defac82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007eff9defaed7 in QEventLoop::exec (this=0x7eff7359de00, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007eff9ddf9fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007eff9ddfcfcb in QThreadPrivate::start (arg=0x4778468) at thread/qthread_unix.cpp:298
#10 0x00007eff9bbcbe9a in start_thread (arg=0x7eff7359e700) at pthread_create.c:308
#11 0x00007eff9cae73fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7eff635bf700 (LWP 5426)):
#0  0x00007eff9cadba52 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:89
#1  0x00007eff96ccaff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007eff96ccb124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007eff9df2b426 in QEventDispatcherGlib::processEvents (this=0x7eff5c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007eff9defac82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007eff9defaed7 in QEventLoop::exec (this=0x7eff635bedd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007eff9ddf9fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007eff9deda9ff in QInotifyFileSystemWatcherEngine::run (this=0x505d660) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007eff9ddfcfcb in QThreadPrivate::start (arg=0x505d660) at thread/qthread_unix.cpp:298
#9  0x00007eff9bbcbe9a in start_thread (arg=0x7eff635bf700) at pthread_create.c:308
#10 0x00007eff9cae73fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7eff62919700 (LWP 5486)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007eff9ddfd4db in wait (time=18446744073709551615, this=0x5438910) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x53f5550, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007eff945840eb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x5422260, th=0x5439590) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007eff945869db in ThreadWeaver::WorkingHardState::applyForWork (this=0x53fec20, th=0x5439590) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007eff9458584f in ThreadWeaver::ThreadRunHelper::run (this=0x7eff62918e20, parent=0x5422260, th=0x5439590) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007eff945858db in ThreadWeaver::Thread::run (this=0x5439590) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007eff9ddfcfcb in QThreadPrivate::start (arg=0x5439590) at thread/qthread_unix.cpp:298
#8  0x00007eff9bbcbe9a in start_thread (arg=0x7eff62919700) at pthread_create.c:308
#9  0x00007eff9cae73fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7eff62118700 (LWP 5536)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007eff9ddfd4db in wait (time=18446744073709551615, this=0x2d3e4d0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2d3e650, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007eff945840eb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2d3e380, th=0x543ced0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007eff945869db in ThreadWeaver::WorkingHardState::applyForWork (this=0x2d3e720, th=0x543ced0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007eff945869f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2d3e720, th=0x543ced0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007eff9458584f in ThreadWeaver::ThreadRunHelper::run (this=0x7eff62117e20, parent=0x2d3e380, th=0x543ced0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007eff945858db in ThreadWeaver::Thread::run (this=0x543ced0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007eff9ddfcfcb in QThreadPrivate::start (arg=0x543ced0) at thread/qthread_unix.cpp:298
#9  0x00007eff9bbcbe9a in start_thread (arg=0x7eff62118700) at pthread_create.c:308
#10 0x00007eff9cae73fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7eff61917700 (LWP 5537)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007eff9ddfd4db in wait (time=18446744073709551615, this=0x2d3e4d0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2d3e650, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007eff945840eb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2d3e380, th=0x5411040) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007eff945869db in ThreadWeaver::WorkingHardState::applyForWork (this=0x2d3e720, th=0x5411040) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007eff9458584f in ThreadWeaver::ThreadRunHelper::run (this=0x7eff61916e20, parent=0x2d3e380, th=0x5411040) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007eff945858db in ThreadWeaver::Thread::run (this=0x5411040) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007eff9ddfcfcb in QThreadPrivate::start (arg=0x5411040) at thread/qthread_unix.cpp:298
#8  0x00007eff9bbcbe9a in start_thread (arg=0x7eff61917700) at pthread_create.c:308
#9  0x00007eff9cae73fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7eff9fd09780 (LWP 5089)):
[KCrash Handler]
#6  0x00007eff9ca29425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007eff9ca2cb8b in __GI_abort () at abort.c:91
#8  0x00007eff9ddf250b in qt_message_output (msgType=<optimized out>, buf=0x551ddf8 "ASSERT: \"m_messageList.size() > 1\" in file /home/tomek2/kde/kate/part/view/katemessagewidget.cpp, line 239") at global/qglobal.cpp:2276
#9  0x00007eff9ddf28bf in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7eff9df5fae8 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fff1c9ad348) at global/qglobal.cpp:2322
#10 0x00007eff9ddf2a64 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2505
#11 0x00007eff73dff70d in KateMessageWidget::postMessage (this=0x4d195c0, message=0x54c43b0, actions=...) at /home/tomek2/kde/kate/part/view/katemessagewidget.cpp:239
#12 0x00007eff73dd33d1 in KateView::postMessage (this=0x4972590, message=0x54c43b0, actions=...) at /home/tomek2/kde/kate/part/view/kateview.cpp:3164
#13 0x00007eff73d40693 in KateDocument::postMessage (this=0x2aaa780, message=0x54c43b0) at /home/tomek2/kde/kate/part/document/katedocument.cpp:5436
#14 0x00007eff73d3d9b5 in KateDocument::slotTriggerLoadingMessage (this=0x2aaa780) at /home/tomek2/kde/kate/part/document/katedocument.cpp:4871
#15 0x00007eff73d22bf7 in KateDocument::qt_static_metacall (_o=0x2aaa780, _c=QMetaObject::InvokeMetaMethod, _id=75, _a=0x7fff1c9ad870) at /home/tomek2/kde/kate/build/part/katedocument.moc:304
#16 0x00007eff9df10281 in QMetaObject::activate (sender=0x553ab80, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#17 0x00007eff9df19a4f in QSingleShotTimer::timerEvent (this=0x553ab80) at kernel/qtimer.cpp:317
#18 0x00007eff9df15179 in QObject::event (this=0x553ab80, e=<optimized out>) at kernel/qobject.cpp:1157
#19 0x00007eff9d27e894 in notify_helper (e=0x7fff1c9adf90, receiver=0x553ab80, this=0x225fe10) at kernel/qapplication.cpp:4559
#20 QApplicationPrivate::notify_helper (this=0x225fe10, receiver=0x553ab80, e=0x7fff1c9adf90) at kernel/qapplication.cpp:4531
#21 0x00007eff9d283713 in QApplication::notify (this=0x7fff1c9ae530, receiver=0x553ab80, e=0x7fff1c9adf90) at kernel/qapplication.cpp:4420
#22 0x00007eff9e48a3f6 in KApplication::notify (this=0x7fff1c9ae530, receiver=0x553ab80, event=0x7fff1c9adf90) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x00007eff9defbe9c in QCoreApplication::notifyInternal (this=0x7fff1c9ae530, receiver=0x553ab80, event=0x7fff1c9adf90) at kernel/qcoreapplication.cpp:876
#24 0x00007eff9df2d1f2 in sendEvent (event=0x7fff1c9adf90, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#25 QTimerInfoList::activateTimers (this=0x2264550) at kernel/qeventdispatcher_unix.cpp:611
#26 0x00007eff9df2ac0d in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#27 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
#28 0x00007eff9df2ac31 in idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:233
#29 0x00007eff96ccad13 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007eff96ccb060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007eff96ccb124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007eff9df2b3bf in QEventDispatcherGlib::processEvents (this=0x21bfb30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#33 0x00007eff9d326d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007eff9defac82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007eff9defaed7 in QEventLoop::exec (this=0x7fff1c9ae200, flags=...) at kernel/qeventloop.cpp:204
#36 0x00007eff9defff67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#37 0x000000000040d123 in main (argc=2, argv=0x7fff1c9b0278) at /home/tomek2/kde/kdevelop/app/main.cpp:524

Reported using DrKonqi
Comment 1 Milian Wolff 2013-11-01 10:34:44 UTC
Can you reproduce this? What assertion was it, i.e. what was shown on the command line? Otherwise, what Kate version are/were you running?
Comment 2 Dominik Haumann 2013-11-01 15:19:20 UTC
This is fixed in KDE 4.10.5 and KDE 4.11.1. Please update.

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