Splitting view crashes inside kate

Andreas Pakulat apaku at gmx.de
Mon Jul 30 09:45:19 UTC 2007


Hi,

just played around and found that if one splits a view kdevelop crashes
deep inside kate. As this is not reproducable with plain kate I suspect
KDevelop does something wrong.

Andreas

Backtrace:

#5  0xb507d6dd in KSharedPtr (this=0x871a000, o=@0xbfa1a738)
    at /home/andreas/KDE-work/4.0/kdelibs/kdecore/util/ksharedptr.h:71
#6  0xb508317e in KateTextLayout (this=0x871a000)
    at /home/andreas/KDE-work/4.0/kdelibs/kate/render/katetextlayout.h:40
#7  0xb50845c2 in QVector<KateTextLayout>::append (this=0x8621ad0, t=@0xbfa1a738)
    at /home/andreas/qt-copy/include/QtCore/qvector.h:490
#8  0xb5082e25 in KateLayoutCache::updateViewCache (this=0x8621ab8, startPos=@0x861fc20, 
    newViewLineCount=178956971, viewLinesScrolled=0)
    at /home/andreas/KDE-work/4.0/kdelibs/kate/render/katelayoutcache.cpp:116
#9  0xb50c3229 in KateViewInternal::doUpdateView (this=0x861fb48, changed=true, viewLinesScrolled=0)
    at /home/andreas/KDE-work/4.0/kdelibs/kate/view/kateviewinternal.cpp:565
#10 0xb50c3959 in KateViewInternal::updateView (this=0x861fb48, changed=false, viewLinesScrolled=0)
    at /home/andreas/KDE-work/4.0/kdelibs/kate/view/kateviewinternal.cpp:542
#11 0xb50c4f4b in KateViewInternal::resizeEvent (this=0x861fb48, e=0xbfa1ae0c)
    at /home/andreas/KDE-work/4.0/kdelibs/kate/view/kateviewinternal.cpp:2772
#12 0xb696c0fc in QWidget::event (this=0x861fb48, event=0xbfa1ae0c)
    at /home/andreas/KDE-work/4.0/qt-copy/src/gui/kernel/qwidget.cpp:6172
#13 0xb6919623 in QApplicationPrivate::notify_helper (this=0x805a068, receiver=0x861fb48, 
    e=0xbfa1ae0c) at /home/andreas/KDE-work/4.0/qt-copy/src/gui/kernel/qapplication.cpp:3538
#14 0xb691b2eb in QApplication::notify (this=0xbfa1cde0, receiver=0x861fb48, e=0xbfa1ae0c)
    at /home/andreas/KDE-work/4.0/qt-copy/src/gui/kernel/qapplication.cpp:3479
#15 0xb787d373 in KApplication::notify (this=0xbfa1cde0, receiver=0x861fb48, event=0xbfa1ae0c)
    at /home/andreas/KDE-work/4.0/kdelibs/kdeui/kernel/kapplication.cpp:300
#16 0xb7e765e0 in QCoreApplication::notifyInternal (this=0xbfa1cde0, receiver=0x861fb48, 
    event=0xbfa1ae0c)
    at /home/andreas/KDE-work/4.0/qt-copy/src/corelib/kernel/qcoreapplication.cpp:509
#17 0xb7e79945 in QCoreApplication::sendEvent (receiver=0x861fb48, event=0xbfa1ae0c)
    at /home/andreas/KDE-work/4.0/qt-copy/src/corelib/kernel/qcoreapplication.h:186
#18 0xb697042d in QWidgetPrivate::show_helper (this=0x8622068)
    at /home/andreas/KDE-work/4.0/qt-copy/src/gui/kernel/qwidget.cpp:5289
#19 0xb6970ba9 in QWidget::setVisible (this=0x861fb48, visible=true)
    at /home/andreas/KDE-work/4.0/qt-copy/src/gui/kernel/qwidget.cpp:5529
#20 0xb69557aa in QWidget::show (this=0x861fb48)
    at ../../include/QtGui/../../../../qt-copy/src/gui/kernel/qwidget.h:448
#21 0xb69702cd in QWidgetPrivate::showChildren (this=0x8622638, spontaneous=false)
    at /home/andreas/KDE-work/4.0/qt-copy/src/gui/kernel/qwidget.cpp:5601
#22 0xb6970481 in QWidgetPrivate::show_helper (this=0x8622638)
    at /home/andreas/KDE-work/4.0/qt-copy/src/gui/kernel/qwidget.cpp:5297
#23 0xb6970ba9 in QWidget::setVisible (this=0x8622620, visible=true)
    at /home/andreas/KDE-work/4.0/qt-copy/src/gui/kernel/qwidget.cpp:5529
#24 0xb69557aa in QWidget::show (this=0x8622620)
    at ../../include/QtGui/../../../../qt-copy/src/gui/kernel/qwidget.h:448
#25 0xb69702cd in QWidgetPrivate::showChildren (this=0x8620970, spontaneous=false)
    at /home/andreas/KDE-work/4.0/qt-copy/src/gui/kernel/qwidget.cpp:5601
#26 0xb6970481 in QWidgetPrivate::show_helper (this=0x8620970)
    at /home/andreas/KDE-work/4.0/qt-copy/src/gui/kernel/qwidget.cpp:5297
#27 0xb6970ba9 in QWidget::setVisible (this=0x8620858, visible=true)
    at /home/andreas/KDE-work/4.0/qt-copy/src/gui/kernel/qwidget.cpp:5529
#28 0xb69557aa in QWidget::show (this=0x8620858)
    at ../../include/QtGui/../../../../qt-copy/src/gui/kernel/qwidget.h:448
#29 0xb6954e65 in QStackedLayout::setCurrentIndex (this=0x8621788, index=0)
    at /home/andreas/KDE-work/4.0/qt-copy/src/gui/kernel/qstackedlayout.cpp:288
#30 0xb6955285 in QStackedLayout::insertWidget (this=0x8621788, index=0, widget=0x8620858)
    at /home/andreas/KDE-work/4.0/qt-copy/src/gui/kernel/qstackedlayout.cpp:200
#31 0xb695530a in QStackedLayout::addWidget (this=0x8621788, widget=0x8620858)
    at /home/andreas/KDE-work/4.0/qt-copy/src/gui/kernel/qstackedlayout.cpp:172
#32 0xb6364813 in Sublime::Container::addWidget (this=0x861dfc8, view=0x8619138)
    at /home/andreas/KDE-work/4.0/kdevplatform/sublime/container.cpp:73
#33 0xb636b6f7 in Sublime::MainWindowPrivate::ViewCreator::operator() (this=0xbfa1b3a4, 
    index=0x86180f8) at /home/andreas/KDE-work/4.0/kdevplatform/sublime/mainwindow_p.cpp:141
#34 0xb636e304 in Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator> (
    this=0x812d6f0, op=@0xbfa1b3a4, index=0x86180f8)
    at /home/andreas/KDE-work/4.0/kdevplatform/sublime/areawalkers.h:29
#35 0xb636e39b in Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator> (
    this=0x812d6f0, op=@0xbfa1b3a4, index=0x80e6f28)
    at /home/andreas/KDE-work/4.0/kdevplatform/sublime/areawalkers.h:37
#36 0xb636e3d9 in Sublime::Area::walkViews<Sublime::MainWindowPrivate::ViewCreator> (
    this=0x812d6f0, op=@0xbfa1b3a4, index=0x80e6f28)
    at /home/andreas/KDE-work/4.0/kdevplatform/sublime/areawalkers.h:45
#37 0xb636b8bf in Sublime::MainWindowPrivate::viewAdded (this=0x81272c0, index=0x80e6f28)
    at /home/andreas/KDE-work/4.0/kdevplatform/sublime/mainwindow_p.cpp:200
#38 0xb636897b in Sublime::MainWindow::qt_metacall (this=0x81591f8, 
    _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfa1b8e8)
    at /home/andreas/KDE-work/4.0/build/kdevplatform/sublime/mainwindow.moc:86
#39 0xb79b94a0 in KDevelop::MainWindow::qt_metacall (this=0x81591f8, 
    _c=QMetaObject::InvokeMetaMethod, _id=50, _a=0xbfa1b8e8)
    at /home/andreas/KDE-work/4.0/build/kdevplatform/shell/mainwindow.moc:70
#40 0xb7e8a770 in QMetaObject::activate (sender=0x812d6f0, from_signal_index=4, to_signal_index=4, 
    argv=0xbfa1b8e8) at /home/andreas/KDE-work/4.0/qt-copy/src/corelib/kernel/qobject.cpp:3072
#41 0xb7e8b17b in QMetaObject::activate (sender=0x812d6f0, m=0xb6372ae0, local_signal_index=0, 
    argv=0xbfa1b8e8) at /home/andreas/KDE-work/4.0/qt-copy/src/corelib/kernel/qobject.cpp:3134
#42 0xb6360c5d in Sublime::Area::viewAdded (this=0x812d6f0, _t1=0x80e6f28, _t2=0x8619138)
    at /home/andreas/KDE-work/4.0/build/kdevplatform/sublime/area.moc:85
#43 0xb6361127 in Sublime::Area::addView (this=0x812d6f0, view=0x8619138, viewToSplit=0x83879d8, 
    orientation=Qt::Vertical) at /home/andreas/KDE-work/4.0/kdevplatform/sublime/area.cpp:141
#44 0xb79badcd in KDevelop::MainWindowPrivate::split (this=0x8101280, orientation=Qt::Vertical)
    at /home/andreas/KDE-work/4.0/kdevplatform/shell/mainwindow_actions.cpp:157
#45 0xb79bae1f in KDevelop::MainWindowPrivate::splitHorizontal (this=0x8101280)
    at /home/andreas/KDE-work/4.0/kdevplatform/shell/mainwindow_actions.cpp:140
#46 0xb79bd86a in KDevelop::MainWindowPrivate::qt_metacall (this=0x8101280, 
    _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfa1be8c)
    at /home/andreas/KDE-work/4.0/build/kdevplatform/shell/mainwindow_p.moc:118
#47 0xb7e8a770 in QMetaObject::activate (sender=0x816c1c8, from_signal_index=5, to_signal_index=6, 
    argv=0xbfa1be8c) at /home/andreas/KDE-work/4.0/qt-copy/src/corelib/kernel/qobject.cpp:3072
#48 0xb7e8a926 in QMetaObject::activate (sender=0x816c1c8, m=0xb6f5b780, from_local_signal_index=1, 
    to_local_signal_index=2, argv=0xbfa1be8c)
    at /home/andreas/KDE-work/4.0/qt-copy/src/corelib/kernel/qobject.cpp:3154
#49 0xb69119dc in QAction::triggered (this=0x816c1c8, _t1=false)
    at .moc/debug-shared/moc_qaction.cpp:208
#50 0xb6913432 in QAction::activate (this=0x816c1c8, event=QAction::Trigger)
    at /home/andreas/KDE-work/4.0/qt-copy/src/gui/kernel/qaction.cpp:1087
#51 0xb6ced560 in QMenuPrivate::activateAction (this=0x811fce0, action=0x816c1c8, 
    action_e=QAction::Trigger, self=true)
    at /home/andreas/KDE-work/4.0/qt-copy/src/gui/widgets/qmenu.cpp:903
#52 0xb6cefe7a in QMenu::mouseReleaseEvent (this=0x80fd750, e=0xbfa1c658)
    at /home/andreas/KDE-work/4.0/qt-copy/src/gui/widgets/qmenu.cpp:2009
#53 0xb7911ad5 in KMenu::mouseReleaseEvent (this=0x80fd750, e=0xbfa1c658)
    at /home/andreas/KDE-work/4.0/kdelibs/kdeui/widgets/kmenu.cpp:417
#54 0xb696b9a5 in QWidget::event (this=0x80fd750, event=0xbfa1c658)
    at /home/andreas/KDE-work/4.0/qt-copy/src/gui/kernel/qwidget.cpp:6032
#55 0xb6ceb539 in QMenu::event (this=0x80fd750, e=0xbfa1c658)
    at /home/andreas/KDE-work/4.0/qt-copy/src/gui/widgets/qmenu.cpp:2098
#56 0xb6919623 in QApplicationPrivate::notify_helper (this=0x805a068, receiver=0x80fd750, 
    e=0xbfa1c658) at /home/andreas/KDE-work/4.0/qt-copy/src/gui/kernel/qapplication.cpp:3538
#57 0xb691a1fe in QApplication::notify (this=0xbfa1cde0, receiver=0x80fd750, e=0xbfa1c658)
    at /home/andreas/KDE-work/4.0/qt-copy/src/gui/kernel/qapplication.cpp:3237
#58 0xb787d373 in KApplication::notify (this=0xbfa1cde0, receiver=0x80fd750, event=0xbfa1c658)
    at /home/andreas/KDE-work/4.0/kdelibs/kdeui/kernel/kapplication.cpp:300
#59 0xb7e765e0 in QCoreApplication::notifyInternal (this=0xbfa1cde0, receiver=0x80fd750, 
    event=0xbfa1c658)
    at /home/andreas/KDE-work/4.0/qt-copy/src/corelib/kernel/qcoreapplication.cpp:509
#60 0xb69249ed in QCoreApplication::sendSpontaneousEvent (receiver=0x80fd750, event=0xbfa1c658)
    at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:189
#61 0xb6988f2f in QETWidget::translateMouseEvent (this=0x80fd750, event=0xbfa1cb20)
    at /home/andreas/KDE-work/4.0/qt-copy/src/gui/kernel/qapplication_x11.cpp:3760
#62 0xb6986fe1 in QApplication::x11ProcessEvent (this=0xbfa1cde0, event=0xbfa1cb20)
    at /home/andreas/KDE-work/4.0/qt-copy/src/gui/kernel/qapplication_x11.cpp:2916
#63 0xb69b09ee in x11EventSourceDispatch (s=0x8061320, callback=0, user_data=0x0)
    at /home/andreas/KDE-work/4.0/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:122
#64 0xb6445a62 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#65 0xb6448a2f in ?? () from /usr/lib/libglib-2.0.so.0
#66 0x08060690 in ?? ()
#67 0x00000000 in ?? ()
#0  0xb654cfab in nanosleep () from /lib/libc.so.6


-- 
You are going to have a new love affair.




More information about the KDevelop-devel mailing list