Bug 295227 - Kate crashes when opening file.
Summary: Kate crashes when opening file.
Status: RESOLVED DUPLICATE of bug 292947
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-02 18:35 UTC by elbarto
Modified: 2012-03-02 18:39 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 elbarto 2012-03-02 18:35:51 UTC
Application: kate (3.7.4)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.8.0
Operating System: Linux 3.2.7-1.fc16.x86_64 x86_64
Distribution: "Fedora release 16 (Verne)"

-- Information about the crash:
This looks like it might be a duplicate of another bug, but I figured the crash into might be useful.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f42e37a0840 (LWP 22324))]

Thread 3 (Thread 0x7f42d6801700 (LWP 22325)):
#0  0x0000003a8c2e85c3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003a8be44fd8 in g_main_context_poll (n_fds=1, fds=0x7f42d0002400, priority=<optimized out>, timeout=-1, context=0x7f42d00009a0) at gmain.c:3402
#2  g_main_context_iterate (context=0x7f42d00009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3084
#3  0x0000003a8be4549c in g_main_context_iteration (context=0x7f42d00009a0, may_block=1) at gmain.c:3152
#4  0x0000003a93ba7dc6 in QEventDispatcherGlib::processEvents (this=0x7f42d00008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x0000003a93b78182 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003a93b783d7 in QEventLoop::exec (this=0x7f42d6800d10, flags=...) at kernel/qeventloop.cpp:204
#7  0x0000003a93a78b27 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x0000003a93b57e7f in QInotifyFileSystemWatcherEngine::run (this=0x17d61b0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x0000003a93a7bb6b in QThreadPrivate::start (arg=0x17d61b0) at thread/qthread_unix.cpp:298
#10 0x0000003a8c607d90 in start_thread (arg=0x7f42d6801700) at pthread_create.c:309
#11 0x0000003a8c2f0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f42d6000700 (LWP 22326)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003aa9984e62 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x3aa9c7e240) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x0000003aa9984e99 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x0000003a8c607d90 in start_thread (arg=0x7f42d6000700) at pthread_create.c:309
#4  0x0000003a8c2f0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f42e37a0840 (LWP 22324)):
[KCrash Handler]
#6  0x0000003a95831ca0 in effectiveAdvance (item=<optimized out>, this=<synthetic pointer>) at text/qtextengine_p.h:220
#7  QTextLine::cursorToX (this=0x7fff5dae85b0, cursorPos=0x7fff5dae85ec, edge=<optimized out>) at text/qtextlayout.cpp:2582
#8  0x00007f42d7553899 in cursorToX (edge=QTextLine::Leading, cursorPos=8, this=0x7fff5dae85b0) at /usr/include/QtGui/qtextlayout.h:230
#9  KateRenderer::layoutLine (this=0x2257010, lineLayout=..., maxwidth=0, cacheLayout=<optimized out>) at /usr/src/debug/kate-4.7.4/part/render/katerenderer.cpp:961
#10 0x00007f42d755804d in KateLayoutCache::line (this=0x19f45a0, realLine=129, virtualLine=129) at /usr/src/debug/kate-4.7.4/part/render/katelayoutcache.cpp:314
#11 0x00007f42d75a51f0 in KateViewInternal::viewLineOffset (this=0x2381130, virtualCursor=..., offset=53, keepX=false) at /usr/src/debug/kate-4.7.4/part/view/kateviewinternal.cpp:1325
#12 0x00007f42d75a563b in KateViewInternal::maxStartPos (this=0x2381130, changed=<optimized out>) at /usr/src/debug/kate-4.7.4/part/view/kateviewinternal.cpp:419
#13 0x00007f42d75a941e in KateViewInternal::resizeEvent (this=0x2381130, e=<optimized out>) at /usr/src/debug/kate-4.7.4/part/view/kateviewinternal.cpp:2989
#14 0x0000003a9561a010 in QWidget::event (this=0x2381130, event=0x7fff5dae9140) at kernel/qwidget.cpp:8515
#15 0x0000003a955c9994 in notify_helper (e=0x7fff5dae9140, receiver=0x2381130, this=0x15d3b80) at kernel/qapplication.cpp:4550
#16 QApplicationPrivate::notify_helper (this=0x15d3b80, receiver=0x2381130, e=0x7fff5dae9140) at kernel/qapplication.cpp:4522
#17 0x0000003a955ce813 in QApplication::notify (this=0x7fff5daeb640, receiver=0x2381130, e=0x7fff5dae9140) at kernel/qapplication.cpp:4411
#18 0x0000003a9c250766 in KApplication::notify (this=0x7fff5daeb640, receiver=0x2381130, event=0x7fff5dae9140) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#19 0x0000003a93b7904c in QCoreApplication::notifyInternal (this=0x7fff5daeb640, receiver=0x2381130, event=0x7fff5dae9140) at kernel/qcoreapplication.cpp:876
#20 0x0000003a95614b15 in sendEvent (event=0x7fff5dae9140, receiver=0x2381130) at ../../src/corelib/kernel/qcoreapplication.h:231
#21 QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x237f860, recursive=false, disableUpdates=<optimized out>) at kernel/qwidget.cpp:7431
#22 0x0000003a9561c5d1 in QWidgetPrivate::show_helper (this=0x237f860) at kernel/qwidget.cpp:7482
#23 0x0000003a9561c9f2 in QWidget::setVisible (this=0x2381130, visible=<optimized out>) at kernel/qwidget.cpp:7763
#24 0x0000003a9561c566 in show (this=0x2381130) at ../../src/gui/kernel/qwidget.h:494
#25 QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7851
#26 0x0000003a9561c5ed in QWidgetPrivate::show_helper (this=0x238c6e0) at kernel/qwidget.cpp:7488
#27 0x0000003a9561c9f2 in QWidget::setVisible (this=0x1d55140, visible=<optimized out>) at kernel/qwidget.cpp:7763
#28 0x0000003a9561c566 in show (this=0x1d55140) at ../../src/gui/kernel/qwidget.h:494
#29 QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7851
#30 0x0000003a9561c5ed in QWidgetPrivate::show_helper (this=0x236cb00) at kernel/qwidget.cpp:7488
#31 0x0000003a9561c9f2 in QWidget::setVisible (this=0x236f290, visible=<optimized out>) at kernel/qwidget.cpp:7763
#32 0x0000003a955fe2a9 in show (this=0x236f290) at ../../src/gui/kernel/qwidget.h:494
#33 QStackedLayout::setCurrentIndex (this=0x1e6e420, index=1) at kernel/qstackedlayout.cpp:311
#34 0x0000003a9764bc27 in KateViewSpace::showView (this=0x1e6e450, document=<optimized out>) at /usr/src/debug/kate-4.7.4/kate/app/kateviewspace.cpp:156
#35 0x0000003a9764c0b7 in showView (view=<optimized out>, this=0x1e6e450) at /usr/src/debug/kate-4.7.4/kate/app/kateviewspace.h:105
#36 KateViewSpace::addView (this=0x1e6e450, v=0x236f290, show=true) at /usr/src/debug/kate-4.7.4/kate/app/kateviewspace.cpp:108
#37 0x0000003a97646446 in createView (doc=<optimized out>, this=0x1df7060) at /usr/src/debug/kate-4.7.4/kate/app/kateviewmanager.cpp:349
#38 KateViewManager::createView (this=0x1df7060, doc=<optimized out>) at /usr/src/debug/kate-4.7.4/kate/app/kateviewmanager.cpp:326
#39 0x0000003a97646c58 in KateViewManager::activateView (this=0x1df7060, d=0x1cbd8f0) at /usr/src/debug/kate-4.7.4/kate/app/kateviewmanager.cpp:532
#40 0x0000003a93b8cce1 in QMetaObject::activate (sender=0x1d73a30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff5dae9810) at kernel/qobject.cpp:3547
#41 0x00007f42d6c4a132 in KateFileTree::activateDocument (this=<optimized out>, _t1=0x1cbd8f0) at /usr/src/debug/kate-4.7.4/x86_64-redhat-linux-gnu/kate/plugins/filetree/katefiletree.moc:145
#42 0x00007f42d6c4b01f in KateFileTree::mouseClicked (this=0x1d73a30, index=...) at /usr/src/debug/kate-4.7.4/kate/plugins/filetree/katefiletree.cpp:152
#43 0x00007f42d6c4c871 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=0x1d73a30, _c=<optimized out>) at /usr/src/debug/kate-4.7.4/x86_64-redhat-linux-gnu/kate/plugins/filetree/katefiletree.moc:84
#44 KateFileTree::qt_static_metacall (_o=0x1d73a30, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kate-4.7.4/x86_64-redhat-linux-gnu/kate/plugins/filetree/katefiletree.moc:69
#45 0x0000003a93b8cce1 in QMetaObject::activate (sender=0x1d73a30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff5dae9b10) at kernel/qobject.cpp:3547
#46 0x0000003a95ae4b15 in QAbstractItemView::clicked (this=<optimized out>, _t1=<optimized out>) at .moc/release-shared/moc_qabstractitemview.cpp:348
#47 0x0000003a95ae4ed8 in QAbstractItemView::mouseReleaseEvent (this=0x1d73a30, event=0x7fff5daea8f0) at itemviews/qabstractitemview.cpp:1814
#48 0x0000003a9561a02a in QWidget::event (this=0x1d73a30, event=0x7fff5daea8f0) at kernel/qwidget.cpp:8361
#49 0x0000003a959d1bd6 in QFrame::event (this=0x1d73a30, e=0x7fff5daea8f0) at widgets/qframe.cpp:557
#50 0x0000003a95ae390b in QAbstractItemView::viewportEvent (this=0x1d73a30, event=0x7fff5daea8f0) at itemviews/qabstractitemview.cpp:1644
#51 0x0000003a95b2b205 in QTreeView::viewportEvent (this=0x1d73a30, event=0x7fff5daea8f0) at itemviews/qtreeview.cpp:1257
#52 0x0000003a93b791d8 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x1d70780, event=0x7fff5daea8f0) at kernel/qcoreapplication.cpp:986
#53 0x0000003a955c995f in notify_helper (e=0x7fff5daea8f0, receiver=0x1d70780, this=0x15d3b80) at kernel/qapplication.cpp:4546
#54 QApplicationPrivate::notify_helper (this=0x15d3b80, receiver=0x1d70780, e=0x7fff5daea8f0) at kernel/qapplication.cpp:4522
#55 0x0000003a955cf0e3 in QApplication::notify (this=<optimized out>, receiver=0x1d70780, e=0x7fff5daea8f0) at kernel/qapplication.cpp:4093
#56 0x0000003a9c250766 in KApplication::notify (this=0x7fff5daeb640, receiver=0x1d70780, event=0x7fff5daea8f0) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#57 0x0000003a93b7904c in QCoreApplication::notifyInternal (this=0x7fff5daeb640, receiver=0x1d70780, event=0x7fff5daea8f0) at kernel/qcoreapplication.cpp:876
#58 0x0000003a955ca962 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#59 QApplicationPrivate::sendMouseEvent (receiver=0x1d70780, event=0x7fff5daea8f0, alienWidget=0x1d70780, nativeWidget=0x1bdd7e0, buttonDown=0x1d70780, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3161
#60 0x0000003a956462e5 in QETWidget::translateMouseEvent (this=0x1bdd7e0, event=<optimized out>) at kernel/qapplication_x11.cpp:4520
#61 0x0000003a956451aa in QApplication::x11ProcessEvent (this=0x7fff5daeb640, event=0x7fff5daeb1b0) at kernel/qapplication_x11.cpp:3641
#62 0x0000003a9566c97c in x11EventSourceDispatch (s=0x15d72a0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#63 0x0000003a8be44acd in g_main_dispatch (context=0x15d6000) at gmain.c:2441
#64 g_main_context_dispatch (context=0x15d6000) at gmain.c:3011
#65 0x0000003a8be452c8 in g_main_context_iterate (context=0x15d6000, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#66 0x0000003a8be4549c in g_main_context_iteration (context=0x15d6000, may_block=1) at gmain.c:3152
#67 0x0000003a93ba7d5f in QEventDispatcherGlib::processEvents (this=0x159f970, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#68 0x0000003a9566c66e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#69 0x0000003a93b78182 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#70 0x0000003a93b783d7 in QEventLoop::exec (this=0x7fff5daeb580, flags=...) at kernel/qeventloop.cpp:204
#71 0x0000003a93b7cdd5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#72 0x0000003a9820608d in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kate-4.7.4/kate/app/katemain.cpp:377
#73 0x0000003a8c22169d in __libc_start_main (main=0x400730 <main(int, char**)>, argc=1, ubp_av=0x7fff5daecb78, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff5daecb68) at libc-start.c:226
#74 0x0000000000400761 in _start ()

Possible duplicates by query: bug 294992, bug 294477, bug 292122, bug 291949, bug 288583.

Reported using DrKonqi
Comment 1 Dominik Haumann 2012-03-02 18:39:57 UTC
Either downgrade Qt to version 4.7 or upgrade to upcoming KDE 4.8.1.

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