Bug 294992 - Kate segfault while opening file
Summary: Kate segfault while opening file
Status: RESOLVED DUPLICATE of bug 288583
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-02-28 12:29 UTC by bclawilkinson+kdebugs
Modified: 2012-02-28 12:32 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 bclawilkinson+kdebugs 2012-02-28 12:29:00 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:
- What I was doing when the application crashed:
I had a couple of files open already and went to open another causing the crash. This has happened a few times now with a different number of files open before the crash, and a different file being opened that causes the crash each time so no obvious consistency. The files are all .py (python) files so far.

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 0x7f105ed50840 (LWP 13149))]

Thread 3 (Thread 0x7f1042c8e700 (LWP 13150)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00007f1043f88e62 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f1044282240) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f1043f88e99 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f105ae86d90 in start_thread (arg=0x7f1042c8e700) at pthread_create.c:309
#4  0x00007f105a417f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f10410f6700 (LWP 13151)):
#0  0x00007f105a40f5c3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f10557c0fd8 in g_main_context_poll (n_fds=1, fds=0x7f103c002400, priority=<optimized out>, timeout=-1, context=0x7f103c0009a0) at gmain.c:3402
#2  g_main_context_iterate (context=0x7f103c0009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3084
#3  0x00007f10557c149c in g_main_context_iteration (context=0x7f103c0009a0, may_block=1) at gmain.c:3152
#4  0x00007f105b242dc6 in QEventDispatcherGlib::processEvents (this=0x7f103c0008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f105b213182 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f105b2133d7 in QEventLoop::exec (this=0x7f10410f5d10, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f105b113b27 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f105b1f2e7f in QInotifyFileSystemWatcherEngine::run (this=0x12c0d90) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f105b116b6b in QThreadPrivate::start (arg=0x12c0d90) at thread/qthread_unix.cpp:298
#10 0x00007f105ae86d90 in start_thread (arg=0x7f10410f6700) at pthread_create.c:309
#11 0x00007f105a417f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f105ed50840 (LWP 13149)):
[KCrash Handler]
#6  0x00007f105c640ca0 in effectiveAdvance (item=<optimized out>, this=<synthetic pointer>) at text/qtextengine_p.h:220
#7  QTextLine::cursorToX (this=0x7fff585ccf30, cursorPos=0x7fff585ccf6c, edge=<optimized out>) at text/qtextlayout.cpp:2582
#8  0x00007f1043ab6899 in cursorToX (edge=QTextLine::Leading, cursorPos=12, this=0x7fff585ccf30) at /usr/include/QtGui/qtextlayout.h:230
#9  KateRenderer::layoutLine (this=0x29808a0, lineLayout=..., maxwidth=0, cacheLayout=<optimized out>) at /usr/src/debug/kate-4.7.4/part/render/katerenderer.cpp:961
#10 0x00007f1043abb04d in KateLayoutCache::line (this=0x2998d10, realLine=356, virtualLine=356) at /usr/src/debug/kate-4.7.4/part/render/katelayoutcache.cpp:314
#11 0x00007f1043b081f0 in KateViewInternal::viewLineOffset (this=0x26abc20, virtualCursor=..., offset=34, keepX=false) at /usr/src/debug/kate-4.7.4/part/view/kateviewinternal.cpp:1325
#12 0x00007f1043b0863b in KateViewInternal::maxStartPos (this=0x26abc20, changed=<optimized out>) at /usr/src/debug/kate-4.7.4/part/view/kateviewinternal.cpp:419
#13 0x00007f1043b0c41e in KateViewInternal::resizeEvent (this=0x26abc20, e=<optimized out>) at /usr/src/debug/kate-4.7.4/part/view/kateviewinternal.cpp:2989
#14 0x00007f105c429010 in QWidget::event (this=0x26abc20, event=0x7fff585cdac0) at kernel/qwidget.cpp:8515
#15 0x00007f105c3d8994 in notify_helper (e=0x7fff585cdac0, receiver=0x26abc20, this=0x10da210) at kernel/qapplication.cpp:4550
#16 QApplicationPrivate::notify_helper (this=0x10da210, receiver=0x26abc20, e=0x7fff585cdac0) at kernel/qapplication.cpp:4522
#17 0x00007f105c3dd813 in QApplication::notify (this=0x7fff585cf870, receiver=0x26abc20, e=0x7fff585cdac0) at kernel/qapplication.cpp:4411
#18 0x00007f105d117766 in KApplication::notify (this=0x7fff585cf870, receiver=0x26abc20, event=0x7fff585cdac0) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#19 0x00007f105b21404c in QCoreApplication::notifyInternal (this=0x7fff585cf870, receiver=0x26abc20, event=0x7fff585cdac0) at kernel/qcoreapplication.cpp:876
#20 0x00007f105c423b15 in sendEvent (event=0x7fff585cdac0, receiver=0x26abc20) at ../../src/corelib/kernel/qcoreapplication.h:231
#21 QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x29cf710, recursive=false, disableUpdates=<optimized out>) at kernel/qwidget.cpp:7431
#22 0x00007f105c42b5d1 in QWidgetPrivate::show_helper (this=0x29cf710) at kernel/qwidget.cpp:7482
#23 0x00007f105c42b9f2 in QWidget::setVisible (this=0x26abc20, visible=<optimized out>) at kernel/qwidget.cpp:7763
#24 0x00007f105c42b566 in show (this=0x26abc20) at ../../src/gui/kernel/qwidget.h:494
#25 QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7851
#26 0x00007f105c42b5ed in QWidgetPrivate::show_helper (this=0x26a3dc0) at kernel/qwidget.cpp:7488
#27 0x00007f105c42b9f2 in QWidget::setVisible (this=0x299f8c0, visible=<optimized out>) at kernel/qwidget.cpp:7763
#28 0x00007f105c42b566 in show (this=0x299f8c0) at ../../src/gui/kernel/qwidget.h:494
#29 QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7851
#30 0x00007f105c42b5ed in QWidgetPrivate::show_helper (this=0x21dfed0) at kernel/qwidget.cpp:7488
#31 0x00007f105c42b9f2 in QWidget::setVisible (this=0x29d9db0, visible=<optimized out>) at kernel/qwidget.cpp:7763
#32 0x00007f105c40d2a9 in show (this=0x29d9db0) at ../../src/gui/kernel/qwidget.h:494
#33 QStackedLayout::setCurrentIndex (this=0x140f930, index=4) at kernel/qstackedlayout.cpp:311
#34 0x00007f105e743c27 in KateViewSpace::showView (this=0x140cc90, document=<optimized out>) at /usr/src/debug/kate-4.7.4/kate/app/kateviewspace.cpp:156
#35 0x00007f105e7440b7 in showView (view=<optimized out>, this=0x140cc90) at /usr/src/debug/kate-4.7.4/kate/app/kateviewspace.h:105
#36 KateViewSpace::addView (this=0x140cc90, v=0x29d9db0, show=true) at /usr/src/debug/kate-4.7.4/kate/app/kateviewspace.cpp:108
#37 0x00007f105e73e446 in createView (doc=<optimized out>, this=0x13f6900) at /usr/src/debug/kate-4.7.4/kate/app/kateviewmanager.cpp:349
#38 KateViewManager::createView (this=0x13f6900, doc=<optimized out>) at /usr/src/debug/kate-4.7.4/kate/app/kateviewmanager.cpp:326
#39 0x00007f105e73ec58 in KateViewManager::activateView (this=0x13f6900, d=0x26272a0) at /usr/src/debug/kate-4.7.4/kate/app/kateviewmanager.cpp:532
#40 0x00007f105e73f291 in KateViewManager::slotDocumentOpen (this=0x13f6900) at /usr/src/debug/kate-4.7.4/kate/app/kateviewmanager.cpp:224
#41 0x00007f105b227ce1 in QMetaObject::activate (sender=0x1409800, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff585ce240) at kernel/qobject.cpp:3547
#42 0x00007f105c3d27b2 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#43 0x00007f105c3d299f in QAction::activate (this=0x1409800, event=<optimized out>) at kernel/qaction.cpp:1257
#44 0x00007f105c79f8ba in QAbstractButtonPrivate::click (this=0x14bd860) at widgets/qabstractbutton.cpp:528
#45 0x00007f105c79fb6c in QAbstractButton::mouseReleaseEvent (this=0x14950c0, e=0x7fff585ceb20) at widgets/qabstractbutton.cpp:1121
#46 0x00007f105c85ccba in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:718
#47 0x00007f105c42902a in QWidget::event (this=0x14950c0, event=0x7fff585ceb20) at kernel/qwidget.cpp:8361
#48 0x00007f105c3d8994 in notify_helper (e=0x7fff585ceb20, receiver=0x14950c0, this=0x10da210) at kernel/qapplication.cpp:4550
#49 QApplicationPrivate::notify_helper (this=0x10da210, receiver=0x14950c0, e=0x7fff585ceb20) at kernel/qapplication.cpp:4522
#50 0x00007f105c3de0e3 in QApplication::notify (this=<optimized out>, receiver=0x14950c0, e=0x7fff585ceb20) at kernel/qapplication.cpp:4093
#51 0x00007f105d117766 in KApplication::notify (this=0x7fff585cf870, receiver=0x14950c0, event=0x7fff585ceb20) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#52 0x00007f105b21404c in QCoreApplication::notifyInternal (this=0x7fff585cf870, receiver=0x14950c0, event=0x7fff585ceb20) at kernel/qcoreapplication.cpp:876
#53 0x00007f105c3d9962 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#54 QApplicationPrivate::sendMouseEvent (receiver=0x14950c0, event=0x7fff585ceb20, alienWidget=0x14950c0, nativeWidget=0x14a86d0, buttonDown=0x14950c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3161
#55 0x00007f105c4552e5 in QETWidget::translateMouseEvent (this=0x14a86d0, event=<optimized out>) at kernel/qapplication_x11.cpp:4520
#56 0x00007f105c4541aa in QApplication::x11ProcessEvent (this=0x7fff585cf870, event=0x7fff585cf3e0) at kernel/qapplication_x11.cpp:3641
#57 0x00007f105c47b97c in x11EventSourceDispatch (s=0x10df110, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#58 0x00007f10557c0acd in g_main_dispatch (context=0x10de0e0) at gmain.c:2441
#59 g_main_context_dispatch (context=0x10de0e0) at gmain.c:3011
#60 0x00007f10557c12c8 in g_main_context_iterate (context=0x10de0e0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#61 0x00007f10557c149c in g_main_context_iteration (context=0x10de0e0, may_block=1) at gmain.c:3152
#62 0x00007f105b242d5f in QEventDispatcherGlib::processEvents (this=0x10a5970, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#63 0x00007f105c47b66e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#64 0x00007f105b213182 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#65 0x00007f105b2133d7 in QEventLoop::exec (this=0x7fff585cf7b0, flags=...) at kernel/qeventloop.cpp:204
#66 0x00007f105b217dd5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#67 0x00007f105e97d08d in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kate-4.7.4/kate/app/katemain.cpp:377
#68 0x00007f105a34869d in __libc_start_main (main=0x400730 <main(int, char**)>, argc=1, ubp_av=0x7fff585d0da8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff585d0d98) at libc-start.c:226
#69 0x0000000000400761 in _start ()

This bug may be a duplicate of or related to bug 288583.

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

Reported using DrKonqi
Comment 1 Dominik Haumann 2012-02-28 12:32:40 UTC

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