Bug 216796 - Crash while opening file containing 'invalid characters' from Build window
Summary: Crash while opening file containing 'invalid characters' from Build window
Status: RESOLVED DUPLICATE of bug 212965
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-30 12:58 UTC by mabo76
Modified: 2009-12-02 20:24 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 mabo76 2009-11-30 12:58:07 UTC
Application that crashed: kdevelop
Version of the application: 3.9.95 (using KDevPlatform 0.9.95)
KDE Version: 4.3.1 (KDE 4.3.1) "release 6"
Qt Version: 4.5.3
Operating System: Linux 2.6.31.5-0.1-desktop x86_64
Distribution: "openSUSE 11.2 (x86_64)"

What I was doing when the application crashed:
I opened project, no windows with sources was been opened yet. I build the project and it ended with some errors. I double clicked on error in build window, trying to open source with error. The file which was supposed to open contained 'invalid characters' in UTF8 encoding. The dialog with warning about invalid characters was displayed and after accepting the dialog with 'Ok', the kdevelop crashed.

The crash is not 100% reproducible, sometimes kdevelop 'survives', but in most cases it crashes for me.

 -- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fc55fd55750 (LWP 14004))]

Thread 8 (Thread 0x7fc550270910 (LWP 14005)):
#0  0x00007fc55d1682cd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc55e5d04a2 in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fc55a1d826e in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1934de0) at /usr/src/debug/kdevplatform-0.9.95/language/duchain/duchain.cpp:280
#4  0x00007fc55e5cf485 in QThreadPrivate::start (arg=0x1934de0) at thread/qthread_unix.cpp:188
#5  0x00007fc55d16365d in start_thread () from /lib64/libpthread.so.0
#6  0x00007fc55d44a14d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fc541654910 (LWP 14071)):
#0  0x00007fc55d441033 in poll () from /lib64/libc.so.6
#1  0x00007fc557abd58c in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fc557abd8d0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fc55e6dd3f6 in QEventDispatcherGlib::processEvents (this=0x304a4f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#4  0x00007fc55e6b3712 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fc55e6b3ae4 in QEventLoop::exec (this=0x7fc541654010, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fc55e5cc71b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fc55e696d48 in QInotifyFileSystemWatcherEngine::run (this=0x304c0f0) at io/qfilesystemwatcher_inotify.cpp:214
#8  0x00007fc55e5cf485 in QThreadPrivate::start (arg=0x304c0f0) at thread/qthread_unix.cpp:188
#9  0x00007fc55d16365d in start_thread () from /lib64/libpthread.so.0
#10 0x00007fc55d44a14d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fc534ee7910 (LWP 14073)):
#0  0x00007fc55d441033 in poll () from /lib64/libc.so.6
#1  0x00007fc557abd58c in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fc557abd8d0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fc55e6dd3f6 in QEventDispatcherGlib::processEvents (this=0x31067f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#4  0x00007fc55e6b3712 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fc55e6b3ae4 in QEventLoop::exec (this=0x7fc534ee7050, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fc55e5cc71b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fc55e5cf485 in QThreadPrivate::start (arg=0x30d4600) at thread/qthread_unix.cpp:188
#8  0x00007fc55d16365d in start_thread () from /lib64/libpthread.so.0
#9  0x00007fc55d44a14d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fc5346e6910 (LWP 14074)):
#0  0x00007fc55d441033 in poll () from /lib64/libc.so.6
#1  0x00007fc557abd58c in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fc557abd8d0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fc55e6dd3f6 in QEventDispatcherGlib::processEvents (this=0x2ff4020, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#4  0x00007fc55e6b3712 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fc55e6b3ae4 in QEventLoop::exec (this=0x7fc5346e6050, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fc55e5cc71b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fc55e5cf485 in QThreadPrivate::start (arg=0x30ceb50) at thread/qthread_unix.cpp:188
#8  0x00007fc55d16365d in start_thread () from /lib64/libpthread.so.0
#9  0x00007fc55d44a14d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fc533ee5910 (LWP 14077)):
#0  0x00007fc55d1682cd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc55e5cef15 in thread_sleep (ti=0x7fc533ee5000) at thread/qthread_unix.cpp:297
#2  0x00007fc55e5cf080 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:323
#3  0x00007fc535b6e261 in UIBlockTester::UIBlockTesterThread::run (this=0x30f4500) at /usr/src/debug/kdevelop-3.9.95/languages/cpp/cpplanguagesupport.cpp:661
#4  0x00007fc55e5cf485 in QThreadPrivate::start (arg=0x30f4500) at thread/qthread_unix.cpp:188
#5  0x00007fc55d16365d in start_thread () from /lib64/libpthread.so.0
#6  0x00007fc55d44a14d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fc5336e4910 (LWP 14078)):
#0  0x00007fc55d168049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc55e5d053b in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fc555074ab6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x18cb440, th=0x2eb3bb0) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fc555076beb in ThreadWeaver::WorkingHardState::applyForWork (this=0x19149b0, th=0x2eb3bb0) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fc555076c04 in ThreadWeaver::WorkingHardState::applyForWork (this=0x19149b0, th=0x2eb3bb0) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fc555076c04 in ThreadWeaver::WorkingHardState::applyForWork (this=0x19149b0, th=0x2eb3bb0) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fc555076c04 in ThreadWeaver::WorkingHardState::applyForWork (this=0x19149b0, th=0x2eb3bb0) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007fc5550751ef in ThreadWeaver::ThreadRunHelper::run (this=0x7fc5336e4050, parent=0x18cb440, th=0x2eb3bb0) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/Thread.cpp:87
#9  0x00007fc555075648 in ThreadWeaver::Thread::run (this=0x2eb3bb0) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/Thread.cpp:142
#10 0x00007fc55e5cf485 in QThreadPrivate::start (arg=0x2eb3bb0) at thread/qthread_unix.cpp:188
#11 0x00007fc55d16365d in start_thread () from /lib64/libpthread.so.0
#12 0x00007fc55d44a14d in clone () from /lib64/libc.so.6
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc532ee3910 (LWP 14079)):
#0  0x00007fc55d168049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc55e5d053b in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fc555074ab6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x18cb440, th=0x3c12010) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fc555076beb in ThreadWeaver::WorkingHardState::applyForWork (this=0x19149b0, th=0x3c12010) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fc5550751ef in ThreadWeaver::ThreadRunHelper::run (this=0x7fc532ee3050, parent=0x18cb440, th=0x3c12010) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/Thread.cpp:87
#6  0x00007fc555075648 in ThreadWeaver::Thread::run (this=0x3c12010) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/Thread.cpp:142
#7  0x00007fc55e5cf485 in QThreadPrivate::start (arg=0x3c12010) at thread/qthread_unix.cpp:188
#8  0x00007fc55d16365d in start_thread () from /lib64/libpthread.so.0
#9  0x00007fc55d44a14d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc55fd55750 (LWP 14004)):
[KCrash Handler]
#5  0x00007fc55dbd22cd in QWidgetPrivate::init (this=0x415aae0, parentWidget=0x4484420, f=) at kernel/qwidget.cpp:1053
#6  0x00007fc55dbd80e1 in QWidget::QWidget (this=0x4645590, parent=0x4484420, f=...) at kernel/qwidget.cpp:953
#7  0x00007fc55efc3e17 in KTextEditor::View::View (this=0x7fc55d6cfe60, parent=0x18) at /usr/src/debug/kdelibs-4.3.1/interfaces/ktexteditor/ktexteditor.cpp:262
#8  0x00007fc5323f9cff in KateView::KateView (this=0x7fc55d6cfe60, doc=0x30e2220, parent=0x45db3c8) at /usr/src/debug/kdelibs-4.3.1/kate/view/kateview.cpp:125
#9  0x00007fc532361884 in KateDocument::createView (this=0x30e2220, parent=0x4484420) at /usr/src/debug/kdelibs-4.3.1/kate/document/katedocument.cpp:339
#10 0x00007fc55f2678af in KDevelop::TextDocument::createViewWidget (this=0x4579490, parent=0x4484420) at /usr/src/debug/kdevplatform-0.9.95/shell/textdocument.cpp:268
#11 0x00007fc55f266f47 in KDevelop::TextView::createWidget (this=0x2a3ecd0, parent=0x4484420) at /usr/src/debug/kdevplatform-0.9.95/shell/textdocument.cpp:504
#12 0x00007fc559f0b386 in Sublime::View::widget (this=0x2a3ecd0, parent=0x18) at /usr/src/debug/kdevplatform-0.9.95/sublime/view.cpp:82
#13 0x00007fc559f07010 in Sublime::MainWindowPrivate::ViewCreator::operator() (this=0x7fff7e9b5570, index=0x18a3650) at /usr/src/debug/kdevplatform-0.9.95/sublime/mainwindow_p.cpp:241
#14 0x00007fc559f0a608 in Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator> (this=0x189d990, op=..., index=0x18a3650)
    at /usr/src/debug/kdevplatform-0.9.95/sublime/areawalkers.h:32
#15 0x00007fc559f077f1 in walkViews<Sublime::MainWindowPrivate::ViewCreator> (index=<value optimized out>, op=<value optimized out>, this=<value optimized out>)
    at /usr/src/debug/kdevplatform-0.9.95/sublime/areawalkers.h:48
#16 Sublime::MainWindowPrivate::viewAdded (index=<value optimized out>, op=<value optimized out>, this=<value optimized out>) at /usr/src/debug/kdevplatform-0.9.95/sublime/mainwindow_p.cpp:380
#17 0x00007fc559eff1cc in Sublime::MainWindow::qt_metacall (this=0x184cbb0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7e9b5700)
    at /usr/src/debug/kdevplatform-0.9.95/build/sublime/mainwindow.moc:106
#18 0x00007fc55f23d6f0 in KDevelop::MainWindow::qt_metacall (this=0x7fc55d6cfe60, _c=24, _id=73249736, _a=0x4482ea0) at /usr/src/debug/kdevplatform-0.9.95/build/shell/mainwindow.moc:81
#19 0x00007fc55e6c9fbc in QMetaObject::activate (sender=0x189d990, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x4482ea0) at kernel/qobject.cpp:3113
#20 0x00007fc559ef12b8 in Sublime::Area::viewAdded (this=0x7fc55d6cfe60, _t1=0x18a3650, _t2=0x2a3ecd0) at /usr/src/debug/kdevplatform-0.9.95/build/sublime/area.moc:109
#21 0x00007fc559ef5215 in Sublime::Area::addView (this=0x189d990, view=0x2a3ecd0, index=0x18a3650) at /usr/src/debug/kdevplatform-0.9.95/sublime/area.cpp:169
#22 0x00007fc55f26e36b in KDevelop::DocumentControllerPrivate::openDocumentInternal (this=0x1966dc0, doc=0x45794b0, range=<value optimized out>, activationParams=)
    at /usr/src/debug/kdevplatform-0.9.95/shell/documentcontroller.cpp:328
#23 0x00007fc55f26ea6e in KDevelop::DocumentControllerPrivate::openDocumentInternal (this=0x1966dc0, inputUrl=<value optimized out>, prefName=<value optimized out>, range=<value optimized out>, 
    activationParams=) at /usr/src/debug/kdevplatform-0.9.95/shell/documentcontroller.cpp:256
#24 0x00007fc55f26bdb2 in KDevelop::DocumentController::openDocument (this=0x1966da0, inputUrl=..., range=..., activationParams=<value optimized out>)
    at /usr/src/debug/kdevplatform-0.9.95/shell/documentcontroller.cpp:522
#25 0x00007fc55f4fa87c in KDevelop::IDocumentController::openDocument (this=0x1966da0, url=..., cursor=..., activationParams=<value optimized out>)
    at /usr/src/debug/kdevplatform-0.9.95/interfaces/idocumentcontroller.cpp:32
#26 0x00007fc5369189b8 in MakeOutputModel::activate (this=<value optimized out>, index=<value optimized out>) at /usr/src/debug/kdevelop-3.9.95/projectbuilders/makebuilder/makeoutputmodel.cpp:113
#27 0x00007fc54f002df9 in OutputWidget::qt_metacall (this=0x454e170, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7e9b61c0)
    at /usr/src/debug/kdevplatform-0.9.95/build/plugins/standardoutputview/outputwidget.moc:92
#28 0x00007fc55e6c9fbc in QMetaObject::activate (sender=0x457be10, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x4482ea0) at kernel/qobject.cpp:3113
#29 0x00007fc55e02f835 in QAbstractItemView::clicked (this=0x7fc55d6cfe60, _t1=<value optimized out>) at .moc/release-shared/moc_qabstractitemview.cpp:321
#30 0x00007fc55e03cbcb in QAbstractItemView::mouseReleaseEvent (this=0x457be10, event=0x7fff7e9b6e60) at itemviews/qabstractitemview.cpp:1660
#31 0x00007fc55dbcecf0 in QWidget::event (this=0x457be10, event=0x7fff7e9b6e60) at kernel/qwidget.cpp:7554
#32 0x00007fc55df0dab6 in QFrame::event (this=0x457be10, e=0x7fff7e9b6e60) at widgets/qframe.cpp:559
#33 0x00007fc55e03ff1b in QAbstractItemView::viewportEvent (this=0x457be10, event=0x7fff7e9b6e60) at itemviews/qabstractitemview.cpp:1476
#34 0x00007fc55e077090 in QTreeView::viewportEvent (this=0x457be10, event=0x7fff7e9b6e60) at itemviews/qtreeview.cpp:1266
#35 0x00007fc55e6b4127 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x457bde0, event=0x7fff7e9b6e60) at kernel/qcoreapplication.cpp:726
#36 0x00007fc55db8027c in QApplicationPrivate::notify_helper (this=0x16c5b30, receiver=0x457bde0, e=0x7fff7e9b6e60) at kernel/qapplication.cpp:4061
#37 0x00007fc55db873c1 in QApplication::notify (this=<value optimized out>, receiver=0x457bde0, e=0x7fff7e9b6e60) at kernel/qapplication.cpp:3767
#38 0x00007fc55ebb08d6 in KApplication::notify (this=0x7fff7e9b8dd0, receiver=0x457bde0, event=0x7fff7e9b6e60) at /usr/src/debug/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302
#39 0x00007fc55e6b4ddc in QCoreApplication::notifyInternal (this=0x7fff7e9b8dd0, receiver=0x457bde0, event=0x7fff7e9b6e60) at kernel/qcoreapplication.cpp:610
#40 0x00007fc55db86c90 in sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:216
#41 QApplicationPrivate::sendMouseEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qapplication.cpp:2924
#42 0x00007fc55dbeccfe in QETWidget::translateMouseEvent (this=0x184cbb0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4409
#43 0x00007fc55dbebd9a in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff7e9b8990) at kernel/qapplication_x11.cpp:3550
#44 0x00007fc55dc13b6c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#45 0x00007fc557ab9dde in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#46 0x00007fc557abd7a8 in ?? () from /usr/lib64/libglib-2.0.so.0
#47 0x00007fc557abd8d0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#48 0x00007fc55e6dd3a3 in QEventDispatcherGlib::processEvents (this=0x614070, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#49 0x00007fc55dc1331e in QGuiEventDispatcherGlib::processEvents (this=0x7fc55d6cfe60, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#50 0x00007fc55e6b3712 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#51 0x00007fc55e6b3ae4 in QEventLoop::exec (this=0x7fff7e9b8cc0, flags=) at kernel/qeventloop.cpp:201
#52 0x00007fc55e6b5c99 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#53 0x0000000000407f37 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdevelop-3.9.95/app/main.cpp:181

Reported using DrKonqi
Comment 1 Dario Andres 2009-12-02 20:24:34 UTC
Reported at bug 212965 / bug 204169. Thanks

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