Bug 294477

Summary: Kate crashed by opening a session with php-Files
Product: [Applications] kate Reporter: Michael Pfuetz <pfuetz>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adaptee
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Michael Pfuetz 2012-02-20 08:45:01 UTC
Application: kate (3.8.0)
KDE Platform Version: 4.8.00 (4.8.0 "release 462"
Qt Version: 4.8.0
Operating System: Linux 3.2.6-7-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
I started the program, Kate shows the session selection. I chose the session and got a segmentation fault.
There are only 5 PHP files stored in two different folders.

The crash can be reproduced every time.

-- Backtrace:
Application: Kate (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f102005a760 (LWP 4258))]

Thread 3 (Thread 0x7f1004bba700 (LWP 4259)):
#0  0x00007f101e910014 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007f101a442a5f in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f101a442f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f101ecd1956 in QEventDispatcherGlib::processEvents (this=0x7f10000008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f101eca1682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f101eca18d7 in QEventLoop::exec (this=0x7f1004bb9df0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f101eba2537 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f101ec8148f in QInotifyFileSystemWatcherEngine::run (this=0x1431f30) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f101eba555b in QThreadPrivate::start (arg=0x1431f30) at thread/qthread_unix.cpp:298
#9  0x00007f101e90df05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f101d66d63d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f0ffffff700 (LWP 4260)):
#0  0x00007f101e911e6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f10136d3942 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f10139cce80) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f10136d3979 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f101e90df05 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f101d66d63d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f102005a760 (LWP 4258)):
[KCrash Handler]
#6  0x00007f101e0742a8 in effectiveAdvance (item=<optimized out>, this=<synthetic pointer>) at text/qtextengine_p.h:220
#7  QTextLine::cursorToX (this=0x7fff8838e4a0, cursorPos=0x7fff8838e4dc, edge=<optimized out>) at text/qtextlayout.cpp:2582
#8  0x00007f10077ef8e9 in cursorToX (edge=QTextLine::Leading, cursorPos=6, this=0x7fff8838e4a0) at /usr/include/QtGui/qtextlayout.h:230
#9  KateRenderer::layoutLine (this=0x154b830, lineLayout=..., maxwidth=0, cacheLayout=<optimized out>) at /usr/src/debug/kate-4.8.0/part/render/katerenderer.cpp:906
#10 0x00007f10077f41ad in KateLayoutCache::line (this=0x1555730, realLine=173, virtualLine=173) at /usr/src/debug/kate-4.8.0/part/render/katelayoutcache.cpp:318
#11 0x00007f1007845aa0 in KateViewInternal::viewLineOffset (this=0x1554fb0, virtualCursor=..., offset=62, keepX=false) at /usr/src/debug/kate-4.8.0/part/view/kateviewinternal.cpp:1327
#12 0x00007f1007845eeb in KateViewInternal::maxStartPos (this=0x1554fb0, changed=<optimized out>) at /usr/src/debug/kate-4.8.0/part/view/kateviewinternal.cpp:421
#13 0x00007f1007849ce1 in KateViewInternal::resizeEvent (this=0x1554fb0, e=<optimized out>) at /usr/src/debug/kate-4.8.0/part/view/kateviewinternal.cpp:3000
#14 0x00007f101de5b57a in QWidget::event (this=0x1554fb0, event=0x7fff8838f030) at kernel/qwidget.cpp:8515
#15 0x00007f101de0ae84 in notify_helper (e=0x7fff8838f030, receiver=0x1554fb0, this=0x6d8e00) at kernel/qapplication.cpp:4550
#16 QApplicationPrivate::notify_helper (this=0x6d8e00, receiver=0x1554fb0, e=0x7fff8838f030) at kernel/qapplication.cpp:4522
#17 0x00007f101de0fd03 in QApplication::notify (this=0x7fff88390940, receiver=0x1554fb0, e=0x7fff8838f030) at kernel/qapplication.cpp:4411
#18 0x00007f101fa61786 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#19 0x00007f101eca289c in QCoreApplication::notifyInternal (this=0x7fff88390940, receiver=0x1554fb0, event=0x7fff8838f030) at kernel/qcoreapplication.cpp:876
#20 0x00007f101de56035 in sendEvent (event=0x7fff8838f030, receiver=0x1554fb0) at ../../src/corelib/kernel/qcoreapplication.h:231
#21 QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x1555240, recursive=false, disableUpdates=<optimized out>) at kernel/qwidget.cpp:7431
#22 0x00007f101de5db31 in QWidgetPrivate::show_helper (this=0x1555240) at kernel/qwidget.cpp:7482
#23 0x00007f101de5df52 in QWidget::setVisible (this=0x1554fb0, visible=<optimized out>) at kernel/qwidget.cpp:7763
#24 0x00007f101de5dac6 in show (this=0x1554fb0) at ../../src/gui/kernel/qwidget.h:494
#25 QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7851
#26 0x00007f101de5db4d in QWidgetPrivate::show_helper (this=0x157f360) at kernel/qwidget.cpp:7488
#27 0x00007f101de5df52 in QWidget::setVisible (this=0x157f330, visible=<optimized out>) at kernel/qwidget.cpp:7763
#28 0x00007f101de5dac6 in show (this=0x157f330) at ../../src/gui/kernel/qwidget.h:494
#29 QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7851
#30 0x00007f101de5db4d in QWidgetPrivate::show_helper (this=0x154bf50) at kernel/qwidget.cpp:7488
#31 0x00007f101de5da57 in QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7849
#32 0x00007f101de5db4d in QWidgetPrivate::show_helper (this=0x1271a80) at kernel/qwidget.cpp:7488
#33 0x00007f101de5df52 in QWidget::setVisible (this=0x1272da0, visible=<optimized out>) at kernel/qwidget.cpp:7763
#34 0x00007f101de5dac6 in show (this=0x1272da0) at ../../src/gui/kernel/qwidget.h:494
#35 QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7851
#36 0x00007f101de5db4d in QWidgetPrivate::show_helper (this=0x1271640) at kernel/qwidget.cpp:7488
#37 0x00007f101de5da57 in QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7849
#38 0x00007f101de5db4d in QWidgetPrivate::show_helper (this=0x12df970) at kernel/qwidget.cpp:7488
#39 0x00007f101de5da57 in QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7849
#40 0x00007f101de5db4d in QWidgetPrivate::show_helper (this=0x12619e0) at kernel/qwidget.cpp:7488
#41 0x00007f101de5df52 in QWidget::setVisible (this=0x1260ca0, visible=<optimized out>) at kernel/qwidget.cpp:7763
#42 0x00007f101de5dac6 in show (this=0x1260ca0) at ../../src/gui/kernel/qwidget.h:494
#43 QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7851
#44 0x00007f101de5db4d in QWidgetPrivate::show_helper (this=0x12608a0) at kernel/qwidget.cpp:7488
#45 0x00007f101de5df52 in QWidget::setVisible (this=0x1260430, visible=<optimized out>) at kernel/qwidget.cpp:7763
#46 0x00007f101de5dac6 in show (this=0x1260430) at ../../src/gui/kernel/qwidget.h:494
#47 QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7851
#48 0x00007f101de5db4d in QWidgetPrivate::show_helper (this=0x125ee90) at kernel/qwidget.cpp:7488
#49 0x00007f101de5df52 in QWidget::setVisible (this=0x125e5b0, visible=<optimized out>) at kernel/qwidget.cpp:7763
#50 0x00007f101de5dac6 in show (this=0x125e5b0) at ../../src/gui/kernel/qwidget.h:494
#51 QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7851
#52 0x00007f101de5db4d in QWidgetPrivate::show_helper (this=0x125e1b0) at kernel/qwidget.cpp:7488
#53 0x00007f101de5df52 in QWidget::setVisible (this=0x125dd00, visible=<optimized out>) at kernel/qwidget.cpp:7763
#54 0x00007f101de5dac6 in show (this=0x125dd00) at ../../src/gui/kernel/qwidget.h:494
#55 QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7851
#56 0x00007f101de5db4d in QWidgetPrivate::show_helper (this=0x125cb30) at kernel/qwidget.cpp:7488
#57 0x00007f101de5df52 in QWidget::setVisible (this=0x125b720, visible=<optimized out>) at kernel/qwidget.cpp:7763
#58 0x00007f101de5dac6 in show (this=0x125b720) at ../../src/gui/kernel/qwidget.h:494
#59 QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7851
#60 0x00007f101de5db4d in QWidgetPrivate::show_helper (this=0xa79fd0) at kernel/qwidget.cpp:7488
#61 0x00007f101de5df52 in QWidget::setVisible (this=0xb4d410, visible=<optimized out>) at kernel/qwidget.cpp:7763
#62 0x00007f100d1f8073 in show (this=0xb4d410) at /usr/include/QtGui/qwidget.h:494
#63 KateApp::newMainWindow (this=<optimized out>, sconfig_=<optimized out>, sgroup_=<optimized out>) at /usr/src/debug/kate-4.8.0/kate/app/kateapp.cpp:391
#64 0x00007f100d220943 in KateSessionManager::activateSession (this=0x9c3f60, session=<optimized out>, closeLast=<optimized out>, saveLast=<optimized out>, loadNew=true) at /usr/src/debug/kate-4.8.0/kate/app/katesession.cpp:338
#65 0x00007f100d221d3e in KateSessionManager::chooseSession (this=0x9c3f60) at /usr/src/debug/kate-4.8.0/kate/app/katesession.cpp:470
#66 0x00007f100d1f9af5 in KateApp::startupKate (this=0x7fff88390940) at /usr/src/debug/kate-4.8.0/kate/app/kateapp.cpp:182
#67 0x00007f100d1f9ea5 in KateApp::initKate (this=0x7fff88390940) at /usr/src/debug/kate-4.8.0/kate/app/kateapp.cpp:135
#68 0x00007f100d1fa0c2 in KateApp::KateApp (this=0x7fff88390940, args=<optimized out>) at /usr/src/debug/kate-4.8.0/kate/app/kateapp.cpp:72
#69 0x00007f100d453006 in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kate-4.8.0/kate/app/katemain.cpp:373
#70 0x00000000004088e4 in _start ()

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

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-02-20 09:18:31 UTC

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