Bug 219147 - Kdevelop crashes when loading files [__libc_message, malloc_printerr, ~QImageData]
Summary: Kdevelop crashes when loading files [__libc_message, malloc_printerr, ~QImage...
Status: RESOLVED DUPLICATE of bug 206775
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-18 09:30 UTC by Tsokar
Modified: 2009-12-18 13:05 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 Tsokar 2009-12-18 09:30:02 UTC
Application: kdevelop (3.9.95 (using KDevPlatform 0.9.95))
KDE Platform Version: 4.3.80 (KDE 4.3.80 (KDE 4.4 Beta1))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-16-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
Hi,
Kdevelop always crashes when I try to load two files.
The first one is opened without any problem while the app crashes when loading the second one.

Kubuntu kde 4.4 beta 1
The files are on a NFS directory

Thanks a lot !

The crash can be reproduced everytime.

 -- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted
[Current thread is 1 (Thread 0x7f95f98de7f0 (LWP 24430))]

Thread 8 (Thread 0x7f95e36a3910 (LWP 24436)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f95f80af5e2 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2e0c080, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2e0c080, time=200000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f95f36419be in ?? () from /usr/lib/libkdevplatformlanguage.so.1
#4  0x00007f95f80ae6c5 in QThreadPrivate::start (arg=0x2e0c060) at thread/qthread_unix.cpp:244
#5  0x00007f95f6b11a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f95f6e067bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f95d81f6910 (LWP 24888)):
#0  0x00007f95f6dfa373 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f95f0d2036c in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f95f0d206b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f95f81cb676 in QEventDispatcherGlib::processEvents (this=0x2e1e2b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#4  0x00007f95f81a0972 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f95f81a0d4c in QEventLoop::exec (this=0x7f95d81f5fa0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f95f80abc79 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f95f80ae6c5 in QThreadPrivate::start (arg=0x2e73b30) at thread/qthread_unix.cpp:244
#8  0x00007f95f6b11a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f95f6e067bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 6 (Thread 0x7f95d79f5910 (LWP 24889)):
#0  0x00007f95f6dfa373 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f95f0d2036c in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f95f0d206b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f95f81cb676 in QEventDispatcherGlib::processEvents (this=0x2e6cd00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#4  0x00007f95f81a0972 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f95f81a0d4c in QEventLoop::exec (this=0x7f95d79f4fa0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f95f80abc79 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f95f80ae6c5 in QThreadPrivate::start (arg=0x35e52f0) at thread/qthread_unix.cpp:244
#8  0x00007f95f6b11a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f95f6e067bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 5 (Thread 0x7f95d2b83910 (LWP 24892)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f95f80ae035 in thread_sleep (ti=0x7f95d2b82f60) at thread/qthread_unix.cpp:394
#2  0x00007f95f80ae1a0 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:420
#3  0x00007f95d3d7d301 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#4  0x00007f95f80ae6c5 in QThreadPrivate::start (arg=0x35e8900) at thread/qthread_unix.cpp:244
#5  0x00007f95f6b11a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f95f6e067bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f95d1f43910 (LWP 24893)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f95ef21c236 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f95ef4fb200) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007f95ef21c279 in WTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f95ef5092cc) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007f95f6b11a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f95f6e067bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 3 (Thread 0x7f95d0f9d910 (LWP 24896)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f95f80af67b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x283e720, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x283e720, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f95edd5c096 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x28655e0, th=0x3918570) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f95edd5e74b in ThreadWeaver::WorkingHardState::applyForWork (this=0x285efd0, th=0x3918570) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f95edd5cbff in ThreadWeaver::ThreadRunHelper::run (this=0x7f95d0f9cfb0, parent=0x28655e0, th=0x3918570) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f95edd5d058 in ThreadWeaver::Thread::run (this=0x3918570) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f95f80ae6c5 in QThreadPrivate::start (arg=0x3918570) at thread/qthread_unix.cpp:244
#8  0x00007f95f6b11a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f95f6e067bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f95d079c910 (LWP 24897)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f95f80af67b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x283e720, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x283e720, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f95edd5c096 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x28655e0, th=0x4969870) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f95edd5e74b in ThreadWeaver::WorkingHardState::applyForWork (this=0x285efd0, th=0x4969870) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f95edd5cbff in ThreadWeaver::ThreadRunHelper::run (this=0x7f95d079bfb0, parent=0x28655e0, th=0x4969870) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f95edd5d058 in ThreadWeaver::Thread::run (this=0x4969870) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f95f80ae6c5 in QThreadPrivate::start (arg=0x4969870) at thread/qthread_unix.cpp:244
#8  0x00007f95f6b11a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f95f6e067bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f95f98de7f0 (LWP 24430)):
[KCrash Handler]
#5  0x00007f95f6d5a4b5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f95f6d5df50 in *__GI_abort () at abort.c:92
#7  0x00007f95f6d92c97 in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#8  0x00007f95f6d9cdd6 in malloc_printerr (action=3, str=0x7f95f6e5b7da "free(): invalid pointer", ptr=<value optimized out>) at malloc.c:6217
#9  0x00007f95f762a965 in ~QImageData (this=0x5a1ac10, __in_chrg=<value optimized out>) at image/qimage.cpp:259
#10 0x00007f95f762b2b3 in ~QImage (this=0x7fffc2259b30, __in_chrg=<value optimized out>) at image/qimage.cpp:1299
#11 0x00007f95f86a8054 in KIconEffect::apply (this=0x2696f98, pixmap=<value optimized out>, effect=<value optimized out>, value=<value optimized out>, col=..., col2=<value optimized out>, 
    trans=<value optimized out>) at ../../kdeui/icons/kiconeffect.cpp:289
#12 0x00007f95f86a82df in KIconEffect::apply (this=0x5f6e, pixmap=..., group=0, state=<value optimized out>) at ../../kdeui/icons/kiconeffect.cpp:259
#13 0x00007f95f48af1e6 in KFileItemDelegate::Private::applyHoverEffect (this=<value optimized out>, icon=...) at ../../kio/kio/kfileitemdelegate.cpp:539
#14 0x00007f95f48b47be in KFileItemDelegate::paint (this=0x50ad470, painter=<value optimized out>, option=..., index=<value optimized out>) at ../../kio/kio/kfileitemdelegate.cpp:1312
#15 0x00007f95f7aa967a in QListView::paintEvent (this=<value optimized out>, e=<value optimized out>) at itemviews/qlistview.cpp:1044
#16 0x00007f95f75b9175 in QWidget::event (this=0x50a9de0, event=0x7fffc225af60) at kernel/qwidget.cpp:8120
#17 0x00007f95f795ce16 in QFrame::event (this=0x50a9de0, e=0x7fffc225af60) at widgets/qframe.cpp:557
#18 0x00007f95f7a8b57b in QAbstractItemView::viewportEvent (this=0x50a9de0, event=0x7fffc225af60) at itemviews/qabstractitemview.cpp:1589
#19 0x00007f95f81a1467 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x50a9e50, event=0x7fffc225af60) at kernel/qcoreapplication.cpp:819
#20 0x00007f95f7563e5c in QApplicationPrivate::notify_helper (this=0x2613c20, receiver=0x50a9e50, e=0x7fffc225af60) at kernel/qapplication.cpp:4238
#21 0x00007f95f756a48d in QApplication::notify (this=0x7fffc225ddc0, receiver=0x50a9e50, e=0x7fffc225af60) at kernel/qapplication.cpp:4125
#22 0x00007f95f86e6666 in KApplication::notify (this=0x7fffc225ddc0, receiver=0x50a9e50, event=0x7fffc225af60) at ../../kdeui/kernel/kapplication.cpp:302
#23 0x00007f95f81a204c in QCoreApplication::notifyInternal (this=0x7fffc225ddc0, receiver=0x50a9e50, event=0x7fffc225af60) at kernel/qcoreapplication.cpp:704
#24 0x00007f95f75c172d in QCoreApplication::sendSpontaneousEvent (this=0x50ab1e0, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0x48925d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#25 QWidgetPrivate::drawWidget (this=0x50ab1e0, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x48925d0)
    at kernel/qwidget.cpp:5322
#26 0x00007f95f7777e76 in QWidgetBackingStore::sync (this=0x48925d0) at painting/qbackingstore.cpp:1281
#27 0x00007f95f75b2b60 in QWidgetPrivate::syncBackingStore (this=0x36541a0) at kernel/qwidget.cpp:1662
#28 0x00007f95f75b9885 in QWidget::event (this=0x7fffc225bf90, event=0x58c53e0) at kernel/qwidget.cpp:8266
#29 0x00007f95f7563e8c in QApplicationPrivate::notify_helper (this=0x2613c20, receiver=0x7fffc225bf90, e=0x58c53e0) at kernel/qapplication.cpp:4242
#30 0x00007f95f756a48d in QApplication::notify (this=0x7fffc225ddc0, receiver=0x7fffc225bf90, e=0x58c53e0) at kernel/qapplication.cpp:4125
#31 0x00007f95f86e6666 in KApplication::notify (this=0x7fffc225ddc0, receiver=0x7fffc225bf90, event=0x58c53e0) at ../../kdeui/kernel/kapplication.cpp:302
#32 0x00007f95f81a204c in QCoreApplication::notifyInternal (this=0x7fffc225ddc0, receiver=0x7fffc225bf90, event=0x58c53e0) at kernel/qcoreapplication.cpp:704
#33 0x00007f95f81a47c7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x259ef40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#34 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x259ef40) at kernel/qcoreapplication.cpp:1345
#35 0x00007f95f81cbae3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#36 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#37 0x00007f95f0d1cbbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#38 0x00007f95f0d20588 in ?? () from /lib/libglib-2.0.so.0
#39 0x00007f95f0d206b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#40 0x00007f95f81cb623 in QEventDispatcherGlib::processEvents (this=0x259e560, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#41 0x00007f95f76122fe in QGuiEventDispatcherGlib::processEvents (this=0x5f6e, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#42 0x00007f95f81a0972 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#43 0x00007f95f81a0d4c in QEventLoop::exec (this=0x7fffc225bf00, flags=) at kernel/qeventloop.cpp:201
#44 0x00007f95f7a28f0e in QDialog::exec (this=0x7fffc225bf90) at dialogs/qdialog.cpp:530
#45 0x00007f95f49514e9 in KEncodingFileDialog::getOpenUrlAndEncoding (encoding=..., startDir=..., filter=<value optimized out>, parent=<value optimized out>, caption=<value optimized out>)
    at ../../kio/kfile/kencodingfiledialog.cpp:144
#46 0x00007f95f8dc600b in ?? () from /usr/lib/libkdevplatformshell.so.1
#47 0x00007f95f8dc3662 in KDevelop::DocumentController::openDocument(KUrl const&, KTextEditor::Range const&, QFlags<KDevelop::IDocumentController::DocumentActivation>) ()
   from /usr/lib/libkdevplatformshell.so.1
#48 0x00007f95f8dc4860 in KDevelop::DocumentController::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdevplatformshell.so.1
#49 0x00007f95f81b4dc3 in QMetaObject::activate (sender=0x2868590, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3294
#50 0x00007f95f755de62 in QAction::triggered (this=0x5f6e, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#51 0x00007f95f755fe4b in QAction::activate (this=0x2868590, event=<value optimized out>) at kernel/qaction.cpp:1245
#52 0x00007f95f791630a in QAbstractButtonPrivate::click (this=0x2db30a0) at widgets/qabstractbutton.cpp:528
#53 0x00007f95f79165b5 in QAbstractButton::mouseReleaseEvent (this=0x2d94080, e=0x7fffc225d060) at widgets/qabstractbutton.cpp:1118
#54 0x00007f95f79e191a in QToolButton::mouseReleaseEvent (this=0x5f6e, e=0x5f6e) at widgets/qtoolbutton.cpp:721
#55 0x00007f95f75b9599 in QWidget::event (this=0x2d94080, event=0x7fffc225d060) at kernel/qwidget.cpp:7974
#56 0x00007f95f7563e8c in QApplicationPrivate::notify_helper (this=0x2613c20, receiver=0x2d94080, e=0x7fffc225d060) at kernel/qapplication.cpp:4242
#57 0x00007f95f756acf1 in QApplication::notify (this=0x7fffc225ddc0, receiver=0x2d94080, e=0x7fffc225d060) at kernel/qapplication.cpp:3822
#58 0x00007f95f86e6666 in KApplication::notify (this=0x7fffc225ddc0, receiver=0x2d94080, event=0x7fffc225d060) at ../../kdeui/kernel/kapplication.cpp:302
#59 0x00007f95f81a204c in QCoreApplication::notifyInternal (this=0x7fffc225ddc0, receiver=0x2d94080, event=0x7fffc225d060) at kernel/qcoreapplication.cpp:704
#60 0x00007f95f7569e66 in QCoreApplication::sendEvent (receiver=0x2d94080, event=0x7fffc225d060, alienWidget=0x2d94080, nativeWidget=0x2d994e0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#61 QApplicationPrivate::sendMouseEvent (receiver=0x2d94080, event=0x7fffc225d060, alienWidget=0x2d94080, nativeWidget=0x2d994e0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2956
#62 0x00007f95f75e8055 in QETWidget::translateMouseEvent (this=0x2d994e0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#63 0x00007f95f75e6d6a in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffc225d980) at kernel/qapplication_x11.cpp:3501
#64 0x00007f95f7612712 in x11EventSourceDispatch (s=0x2617430, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#65 0x00007f95f0d1cbbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#66 0x00007f95f0d20588 in ?? () from /lib/libglib-2.0.so.0
#67 0x00007f95f0d206b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#68 0x00007f95f81cb623 in QEventDispatcherGlib::processEvents (this=0x259e560, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#69 0x00007f95f76122fe in QGuiEventDispatcherGlib::processEvents (this=0x5f6e, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#70 0x00007f95f81a0972 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#71 0x00007f95f81a0d4c in QEventLoop::exec (this=0x7fffc225dcb0, flags=) at kernel/qeventloop.cpp:201
#72 0x00007f95f81a4a8b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#73 0x0000000000407f27 in _start ()
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Andreas Pakulat 2009-12-18 13:05:14 UTC

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