Bug 217105 - kdevelop 4 crash on open cp1257 txt file as utf-8
Summary: kdevelop 4 crash on open cp1257 txt file as utf-8
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-12-02 19:43 UTC by Arunas B.
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 Arunas B. 2009-12-02 19:43:56 UTC
Application that crashed: kdevelop
Version of the application: 3.9.95 (using KDevPlatform 0.9.95)
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-15-generic-pae i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Start Kdevelop 4,
open file system menu, browse to mounted NTFS disk, open txt file with cp1257 encoding, and Kdevelop amounces that som characters in UTF-8 are not valid, press OK and there is crash.

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

Thread 2 (Thread 0xb1707b70 (LWP 2612)):
#0  0xb77d5430 in __kernel_vsyscall ()
#1  0xb4eb9142 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0xb636d7e4 in __pthread_cond_timedwait (cond=0x952e7f0, mutex=0x952e7d8, abstime=0xb17072c0) at forward.c:152
#3  0xb6eb8def in QWaitConditionPrivate::wait (this=0x952be34, mutex=0x952be38, time=200000) at thread/qwaitcondition_unix.cpp:85
#4  QWaitCondition::wait (this=0x952be34, mutex=0x952be38, time=200000) at thread/qwaitcondition_unix.cpp:159
#5  0xb55c1715 in ?? () from /usr/lib/libkdevplatformlanguage.so.1
#6  0xb6eb7e32 in QThreadPrivate::start (arg=0x952be28) at thread/qthread_unix.cpp:188
#7  0xb4eb480e in start_thread (arg=0xb1707b70) at pthread_create.c:300
#8  0xb63607ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb4872700 (LWP 2611)):
[KCrash Handler]
#6  0xb6644cb4 in QWidgetPrivate::init (this=0x9ad0910, parentWidget=0x986d120, f=...) at kernel/qwidget.cpp:1053
#7  0xb664b26e in QWidget (this=0x986dfb8, parent=0x986d120, f=...) at kernel/qwidget.cpp:953
#8  0xb7444cf7 in View (this=0x986dfb8, parent=0x986d120) at ../../../interfaces/ktexteditor/ktexteditor.cpp:262
#9  0xade16a09 in KateView (this=0x986dfb8, doc=0x9ad3600, parent=0x986d120) at ../../kate/view/kateview.cpp:125
#10 0xadd7024e in KateDocument::createView (this=0x9ad3600, parent=0x986d120) at ../../kate/document/katedocument.cpp:339
#11 0xb74d0f66 in KDevelop::TextDocument::createViewWidget(QWidget*) () from /usr/lib/libkdevplatformshell.so.1
#12 0xb74d052e in KDevelop::TextView::createWidget(QWidget*) () from /usr/lib/libkdevplatformshell.so.1
#13 0xb55046e7 in Sublime::View::widget(QWidget*) () from /usr/lib/libsublime.so.1
#14 0xb54ff8a2 in ?? () from /usr/lib/libsublime.so.1
#15 0xb5503469 in Sublime::Area::WalkerMode Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator>(Sublime::MainWindowPrivate::ViewCreator&, Sublime::AreaIndex*) ()
   from /usr/lib/libsublime.so.1
#16 0xb5500120 in ?? () from /usr/lib/libsublime.so.1
#17 0xb54f6a13 in Sublime::MainWindow::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libsublime.so.1
#18 0xb74a373a in KDevelop::MainWindow::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdevplatformshell.so.1
#19 0xb6fbe263 in QMetaObject::activate (sender=0x9460ab8, from_signal_index=4, to_signal_index=4, argv=0xbff147b4) at kernel/qobject.cpp:3113
#20 0xb6fbeec2 in QMetaObject::activate (sender=0x9460ab8, m=0xb551e280, local_signal_index=0, argv=0xbff147b4) at kernel/qobject.cpp:3187
#21 0xb54e7659 in Sublime::Area::viewAdded(Sublime::AreaIndex*, Sublime::View*) () from /usr/lib/libsublime.so.1
#22 0xb54eb807 in Sublime::Area::addView(Sublime::View*, Sublime::AreaIndex*) () from /usr/lib/libsublime.so.1
#23 0xb54eba6f in Sublime::Area::addView(Sublime::View*, Sublime::View*) () from /usr/lib/libsublime.so.1
#24 0xb74d830a in ?? () from /usr/lib/libkdevplatformshell.so.1
#25 0xb74d8aac in ?? () from /usr/lib/libkdevplatformshell.so.1
#26 0xb74d5b1d in KDevelop::DocumentController::openDocument(KUrl const&, KTextEditor::Range const&, QFlags<KDevelop::IDocumentController::DocumentActivation>) ()
   from /usr/lib/libkdevplatformshell.so.1
#27 0xaf131d64 in ?? () from /usr/lib/kde4/kdevfilemanager.so
#28 0xaf131e61 in ?? () from /usr/lib/kde4/kdevfilemanager.so
#29 0xb6fbe263 in QMetaObject::activate (sender=0x981bca0, from_signal_index=34, to_signal_index=34, argv=0xbff14d18) at kernel/qobject.cpp:3113
#30 0xb6fbeec2 in QMetaObject::activate (sender=0x981bca0, m=0xb58b2194, local_signal_index=7, argv=0xbff14d18) at kernel/qobject.cpp:3187
#31 0xb58500a3 in KDirOperator::fileSelected (this=0x981bca0, _t1=...) at ./kdiroperator.moc:316
#32 0xb5850c19 in KDirOperator::selectFile (this=0x981bca0, item=...) at ../../kfile/kdiroperator.cpp:1693
#33 0xb5850d81 in KDirOperator::Private::_k_slotActivated (this=0x981c098, index=...) at ../../kfile/kdiroperator.cpp:2340
#34 0xb585d255 in KDirOperator::qt_metacall (this=0x981bca0, _c=QMetaObject::InvokeMetaMethod, _id=59, _a=0xbff14eb8) at ./kdiroperator.moc:245
#35 0xb6fbe263 in QMetaObject::activate (sender=0x9831ac0, from_signal_index=34, to_signal_index=34, argv=0xbff14eb8) at kernel/qobject.cpp:3113
#36 0xb6fbeec2 in QMetaObject::activate (sender=0x9831ac0, m=0xb6e59884, local_signal_index=3, argv=0xbff14eb8) at kernel/qobject.cpp:3187
#37 0xb6b31fb3 in QAbstractItemView::activated (this=0x9831ac0, _t1=...) at .moc/release-shared/moc_qabstractitemview.cpp:335
#38 0xb6b83f36 in QTreeView::mouseDoubleClickEvent (this=0x9831ac0, event=0xbff157c0) at itemviews/qtreeview.cpp:1840
#39 0xb6640e47 in QWidget::event (this=0x9831ac0, event=0xbff157c0) at kernel/qwidget.cpp:7553
#40 0xb69f0633 in QFrame::event (this=0x9831ac0, e=0xbff157c0) at widgets/qframe.cpp:559
#41 0xb6a8f494 in QAbstractScrollArea::viewportEvent (this=0x93d0bd0, e=0x105be) at widgets/qabstractscrollarea.cpp:962
#42 0xb6b43087 in QAbstractItemView::viewportEvent (this=0x9831ac0, event=0xbff157c0) at itemviews/qabstractitemview.cpp:1476
#43 0xb6b7e434 in QTreeView::viewportEvent (this=0x9831ac0, event=0xbff157c0) at itemviews/qtreeview.cpp:1266
#44 0xb6a91a95 in QAbstractScrollAreaPrivate::viewportEvent (this=0x9833468, o=0x9813328, e=0xbff157c0) at widgets/qabstractscrollarea_p.h:100
#45 QAbstractScrollAreaFilter::eventFilter (this=0x9833468, o=0x9813328, e=0xbff157c0) at widgets/qabstractscrollarea_p.h:111
#46 0xb6fa783a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x934b820, receiver=0x9813328, event=0xbff157c0) at kernel/qcoreapplication.cpp:726
#47 0xb65ebf2c in QApplicationPrivate::notify_helper (this=0x934b820, receiver=0x9813328, e=0xbff157c0) at kernel/qapplication.cpp:4052
#48 0xb65f4033 in QApplication::notify (this=0xbff171e4, receiver=0x9813328, e=0xbff157c0) at kernel/qapplication.cpp:3758
#49 0xb726ebfa in KApplication::notify (this=0xbff171e4, receiver=0x9813328, event=0xbff157c0) at ../../kdeui/kernel/kapplication.cpp:302
#50 0xb6fa86cb in QCoreApplication::notifyInternal (this=0xbff171e4, receiver=0x9813328, event=0xbff157c0) at kernel/qcoreapplication.cpp:610
#51 0xb65f2f6e in QCoreApplication::sendSpontaneousEvent (receiver=0x9813328, event=0xbff157c0, alienWidget=0x9813328, nativeWidget=0x943b650, buttonDown=0xb6e66aa0, lastMouseReceiver=...)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#52 QApplicationPrivate::sendMouseEvent (receiver=0x9813328, event=0xbff157c0, alienWidget=0x9813328, nativeWidget=0x943b650, buttonDown=0xb6e66aa0, lastMouseReceiver=...)
    at kernel/qapplication.cpp:2924
#53 0xb66617c0 in QETWidget::translateMouseEvent (this=0x943b650, event=0xbff16e0c) at kernel/qapplication_x11.cpp:4409
#54 0xb6660c4b in QApplication::x11ProcessEvent (this=0xbff171e4, event=0xbff16e0c) at kernel/qapplication_x11.cpp:3428
#55 0xb668d502 in x11EventSourceDispatch (s=0x934e498, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#56 0xb4f00e78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#57 0xb4f04720 in ?? () from /lib/libglib-2.0.so.0
#58 0xb4f04853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#59 0xb6fd302c in QEventDispatcherGlib::processEvents (this=0x926d0d0, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#60 0xb668cbe5 in QGuiEventDispatcherGlib::processEvents (this=0x926d0d0, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#61 0xb6fa6c79 in QEventLoop::processEvents (this=0xbff17104, flags=) at kernel/qeventloop.cpp:149
#62 0xb6fa70ca in QEventLoop::exec (this=0xbff17104, flags=...) at kernel/qeventloop.cpp:201
#63 0xb6fa953f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#64 0xb65ebdd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#65 0x0804f393 in _start ()

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

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