Bug 213422 - kdevelop crashes closing utf8 warning dialog
Summary: kdevelop crashes closing utf8 warning dialog
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-06 15:12 UTC by Stuart Morgan
Modified: 2009-11-06 16:00 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 Stuart Morgan 2009-11-06 15:12:39 UTC
Application that crashed: kdevelop
Version of the application: 3.9.94 (using KDevPlatform 0.9.94)
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.31.2-desktop-0.rc1.1mnb x86_64
Distribution: "Mandriva Linux 2010.0"

What I was doing when the application crashed:
Attempted to open a file, a warning dialog appears explaining that it is marked as UTF8 but contains invalid characters, corruption may occur etc. Choosing to proceed results in a segfault. This is 100% reproducible.

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

Thread 2 (Thread 0x7fc6ecb0a910 (LWP 26447)):
#0  0x00007fc6fd6cd0dd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc6feb41d12 in QWaitCondition::wait (this=<value optimized out>, mutex=0xd6a0f0, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  0x00007fc6fa4dd76e in KDevelop::DUChainPrivate::CleanupThread::run (this=0xd6a0d0) at /usr/src/debug/kdevplatform-0.9.95/language/duchain/duchain.cpp:280
#3  0x00007fc6feb40cf5 in QThreadPrivate::start (arg=0xd6a0d0) at thread/qthread_unix.cpp:188
#4  0x00007fc6fd6c87cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007fc6fd9b437d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc7002f7710 (LWP 26444)):
[KCrash Handler]
#5  0x00007fc6fe12714d in QWidgetPrivate::init (this=0x1e94430, parentWidget=0x10af710, f=) at kernel/qwidget.cpp:1053
#6  0x00007fc6fe12cf91 in QWidget (this=0x1f431a0, parent=0x10af710, f={i = -215862400}) at kernel/qwidget.cpp:953
#7  0x00007fc6ff543687 in View (this=0x33ba63, parent=0x19c4f60) at /usr/src/debug/kdelibs-4.3.2/interfaces/ktexteditor/ktexteditor.cpp:262
#8  0x00007fc6e359ddff in KateView (this=0x33ba63, doc=0x18f2b00, parent=0x1b7cd68) at /usr/src/debug/kdelibs-4.3.2/kate/view/kateview.cpp:125
#9  0x00007fc6e3505964 in KateDocument::createView (this=0x18f2b00, parent=0x10af710) at /usr/src/debug/kdelibs-4.3.2/kate/document/katedocument.cpp:339
#10 0x00007fc6ff7dcea7 in KDevelop::TextDocument::createViewWidget (this=0x18abf20, parent=0x10af710) at /usr/src/debug/kdevplatform-0.9.95/shell/textdocument.cpp:268
#11 0x00007fc6ff7db917 in KDevelop::TextView::createWidget (this=0x10b0160, parent=0x10af710) at /usr/src/debug/kdevplatform-0.9.95/shell/textdocument.cpp:504
#12 0x00007fc6fa1edb54 in Sublime::View::widget (this=0x10b0160, parent=0x19c4f60) at /usr/src/debug/kdevplatform-0.9.95/sublime/view.cpp:82
#13 0x00007fc6fa1e843b in Sublime::MainWindowPrivate::ViewCreator::operator() (this=0x7ffff3223830, index=0xbdaa80) at /usr/src/debug/kdevplatform-0.9.95/sublime/mainwindow_p.cpp:241
#14 0x00007fc6fa1ec9f3 in Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator> (this=0xbdc040, op=@0x7ffff3223830, index=0xbdaa80)
    at /usr/src/debug/kdevplatform-0.9.95/sublime/areawalkers.h:32
#15 0x00007fc6fa1e85bf in Sublime::MainWindowPrivate::viewAdded (this=0xbaa310, index=0xbdaa80, view=0x10b0160) at /usr/src/debug/kdevplatform-0.9.95/sublime/mainwindow_p.cpp:380
#16 0x00007fc6fa1e31c4 in Sublime::MainWindow::qt_metacall (this=0xb8d090, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff32239c0)
    at /usr/src/debug/kdevplatform-0.9.95/build/sublime/mainwindow.moc:106
#17 0x00007fc6ff7ba060 in KDevelop::MainWindow::qt_metacall (this=0x33ba63, _c=27021152, _id=28822888, _a=0x19c4f60) at /usr/src/debug/kdevplatform-0.9.95/build/shell/mainwindow.moc:81
#18 0x00007fc6fec3b8dc in QMetaObject::activate (sender=0xbdc040, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x19c4f60) at kernel/qobject.cpp:3112
#19 0x00007fc6fa1d5f18 in Sublime::Area::viewAdded (this=0x33ba63, _t1=0xbdaa80, _t2=0x10b0160) at /usr/src/debug/kdevplatform-0.9.95/build/sublime/area.moc:109
#20 0x00007fc6fa1d7871 in Sublime::Area::addView (this=0xbdc040, view=0x10b0160, index=0xbdaa80) at /usr/src/debug/kdevplatform-0.9.95/sublime/area.cpp:169
#21 0x00007fc6ff7e2bc6 in KDevelop::DocumentControllerPrivate::openDocumentInternal (this=0xc33530, doc=0x18abf40, range=<value optimized out>, activationParams=)
    at /usr/src/debug/kdevplatform-0.9.95/shell/documentcontroller.cpp:328
#22 0x00007fc6ff7e3b8d in KDevelop::DocumentControllerPrivate::openDocumentInternal (this=0xc33530, inputUrl=<value optimized out>, prefName=<value optimized out>, range=<value optimized out>, 
    activationParams=<value optimized out>) at /usr/src/debug/kdevplatform-0.9.95/shell/documentcontroller.cpp:256
#23 0x00007fc6ff7dfbea in KDevelop::DocumentController::openDocument (this=0xc364e0, inputUrl=@0x7ffff3224140, range=@0x7ffff3224120, activationParams=<value optimized out>)
    at /usr/src/debug/kdevplatform-0.9.95/shell/documentcontroller.cpp:522
#24 0x00007fc6ff7e1ed2 in KDevelop::DocumentControllerPrivate::chooseDocument (this=0xc33530) at /usr/src/debug/kdevplatform-0.9.95/shell/documentcontroller.cpp:107
#25 0x00007fc6ff7df852 in KDevelop::DocumentController::qt_metacall (this=0xc364e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff3224310)
    at /usr/src/debug/kdevplatform-0.9.95/build/shell/documentcontroller.moc:117
#26 0x00007fc6fec3b8dc in QMetaObject::activate (sender=0xc2b550, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x19c4f60) at kernel/qobject.cpp:3112
#27 0x00007fc6fe0cf2d7 in QAction::triggered (this=0x33ba63, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#28 0x00007fc6fe0d071f in QAction::activate (this=0xc2b550, event=<value optimized out>) at kernel/qaction.cpp:1167
#29 0x00007fc6fe438cda in QAbstractButtonPrivate::click (this=0xd37180) at widgets/qabstractbutton.cpp:525
#30 0x00007fc6fe438f65 in QAbstractButton::mouseReleaseEvent (this=0xd149c0, e=0x7ffff3224a40) at widgets/qabstractbutton.cpp:1115
#31 0x00007fc6fe506eaa in QToolButton::mouseReleaseEvent (this=0x33ba63, e=0x19c4f60) at widgets/qtoolbutton.cpp:709
#32 0x00007fc6fe123b70 in QWidget::event (this=0xd149c0, event=0x7ffff3224a40) at kernel/qwidget.cpp:7554
#33 0x00007fc6fe0d512c in QApplicationPrivate::notify_helper (this=0xa0dff0, receiver=0xd149c0, e=0x7ffff3224a40) at kernel/qapplication.cpp:4065
#34 0x00007fc6fe0dc241 in QApplication::notify (this=<value optimized out>, receiver=0xd149c0, e=0x7ffff3224a40) at kernel/qapplication.cpp:3767
#35 0x00007fc6ff12b326 in KApplication::notify (this=0x7ffff32269c0, receiver=0xd149c0, event=0x7ffff3224a40) at /usr/src/debug/kdelibs-4.3.2/kdeui/kernel/kapplication.cpp:302
#36 0x00007fc6fec266fc in QCoreApplication::notifyInternal (this=0x7ffff32269c0, receiver=0xd149c0, event=0x7ffff3224a40) at kernel/qcoreapplication.cpp:610
#37 0x00007fc6fe0dbb10 in QApplicationPrivate::sendMouseEvent (receiver=0xd149c0, event=0x7ffff3224a40, alienWidget=0xd149c0, nativeWidget=0xb8d090, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:216
#38 0x00007fc6fe141bae in QETWidget::translateMouseEvent (this=0xb8d090, event=<value optimized out>) at kernel/qapplication_x11.cpp:4411
#39 0x00007fc6fe140c4a in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7ffff3226570) at kernel/qapplication_x11.cpp:3552
#40 0x00007fc6fe168e9c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#41 0x00007fc6f7da74ce in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#42 0x00007fc6f7daae98 in ?? () from /usr/lib64/libglib-2.0.so.0
#43 0x00007fc6f7daafc0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#44 0x00007fc6fec4ecc3 in QEventDispatcherGlib::processEvents (this=0x9308c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#45 0x00007fc6fe16864e in QGuiEventDispatcherGlib::processEvents (this=0x33ba63, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#46 0x00007fc6fec25032 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#47 0x00007fc6fec25404 in QEventLoop::exec (this=0x7ffff32268a0, flags=) at kernel/qeventloop.cpp:201
#48 0x00007fc6fec275b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#49 0x0000000000406d2e 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 Andreas Pakulat 2009-11-06 16:00:37 UTC

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