Bug 266024 - folding crash (KateCodeFoldingNode::getEnd, KateIconBorder::showBlock)
Summary: folding crash (KateCodeFoldingNode::getEnd, KateIconBorder::showBlock)
Status: RESOLVED DUPLICATE of bug 180082
Alias: None
Product: kate
Classification: Applications
Component: folding (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-10 21:19 UTC by blue_widgets
Modified: 2011-06-25 16:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description blue_widgets 2011-02-10 21:19:26 UTC
Application: kate (3.4.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-28-generic i686
Distribution: Ubuntu 10.04.2 LTS

-- Information about the crash:
1) Open Find in File dialog
2) Enter information
3) Click "Find"

Kate crashes with the attached segfault error.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Kate (kate), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77c7710 (LWP 1981))]

Thread 3 (Thread 0xb57c6b70 (LWP 2233)):
#0  0x00170422 in __kernel_vsyscall ()
#1  0x0011a015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x004fa9dd in __pthread_cond_wait (cond=0x480928c, mutex=0x4809274) at forward.c:139
#3  0x0472ac97 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x48041a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#4  0x0472ace1 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x48041a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#5  0x0011596e in start_thread (arg=0xb57c6b70) at pthread_create.c:300
#6  0x004eda4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb3fffb70 (LWP 25268)):
#0  0x00170422 in __kernel_vsyscall ()
#1  0x004dde2b in read () at ../sysdeps/unix/syscall-template.S:82
#2  0x05e99e8a in read (this=0x8dcc988, data=0xb3ffb10c "PK\003\004\024", len=16384) at /usr/include/bits/unistd.h:45
#3  qt_safe_read (this=0x8dcc988, data=0xb3ffb10c "PK\003\004\024", len=16384) at ../../include/QtCore/private/../../../src/corelib/kernel/qcore_unix_p.h:253
#4  QFSFileEnginePrivate::readFdFh (this=0x8dcc988, data=0xb3ffb10c "PK\003\004\024", len=16384) at io/qfsfileengine.cpp:677
#5  0x05ea2a4a in QFSFileEnginePrivate::nativeRead (this=0x8dcc988, data=0xb3ffb10c "PK\003\004\024", len=16384) at io/qfsfileengine_unix.cpp:348
#6  0x05e99034 in QFSFileEngine::read (this=0xc53cfb0, data=0xb3ffb10c "PK\003\004\024", maxlen=16384) at io/qfsfileengine.cpp:631
#7  0x05e52759 in QFile::readData (this=0xb3fff244, data=0xb3ffb10c "PK\003\004\024", len=16384) at io/qfile.cpp:1520
#8  0x05e5b91a in QIODevice::read (this=0xb3fff244, data=0xb3ffb10c "PK\003\004\024", maxSize=16384) at io/qiodevice.cpp:831
#9  0x05e6aa9b in QTextStreamPrivate::fillReadBuffer (this=0xbde2578, maxBytes=70373039144959) at io/qtextstream.cpp:556
#10 0x05e6b230 in QTextStreamPrivate::scan (this=0xbde2578, ptr=0xb3fff1cc, length=0xb3fff1c8, maxlen=0, delimiter=QTextStreamPrivate::EndOfLine) at io/qtextstream.cpp:743
#11 0x05e6b3b6 in QTextStream::readLine (this=0xb3fff23c, maxlen=<value optimized out>) at io/qtextstream.cpp:1663
#12 0x01a8bde8 in KateGrepThread::grepInFile (this=0xc425d70, fileName=..., baseName=...) at ../../../../kate/plugins/findinfiles/kategrepthread.cpp:148
#13 0x01a8c3fc in KateGrepThread::run (this=0xc425d70) at ../../../../kate/plugins/findinfiles/kategrepthread.cpp:94
#14 0x05dc932e in QThreadPrivate::start (arg=0xc425d70) at thread/qthread_unix.cpp:248
#15 0x0011596e in start_thread (arg=0xb3fffb70) at pthread_create.c:300
#16 0x004eda4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77c7710 (LWP 1981)):
[KCrash Handler]
#6  KateCodeFoldingNode::getEnd (this=0xc247e70, tree=0xc4a2afc, end=0xbffa1b40) at ../../kate/syntax/katecodefolding.cpp:86
#7  0x04116236 in KateIconBorder::showBlock (this=0x992e618) at ../../kate/view/kateviewhelpers.cpp:1318
#8  0x04116a13 in KateIconBorder::qt_metacall (this=0x992e618, _c=QMetaObject::InvokeMetaMethod, _id=31, _a=0xbffa1ccc) at ./kateviewhelpers.moc:160
#9  0x05ed0c9a in QMetaObject::metacall (object=0x992e618, cl=206187260, idx=31, argv=0xbffa1ccc) at kernel/qmetaobject.cpp:237
#10 0x05edf3d5 in QMetaObject::activate (sender=0xbec4ff0, m=0x5fdf5a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#11 0x05f30aa7 in QTimer::timeout (this=0xbec4ff0) at .moc/release-shared/moc_qtimer.cpp:134
#12 0x05ee760e in QTimer::timerEvent (this=0xbec4ff0, e=0xbffa2200) at kernel/qtimer.cpp:271
#13 0x05edc254 in QObject::event (this=0xbec4ff0, e=0xbffa1b40) at kernel/qobject.cpp:1212
#14 0x009004dc in QApplicationPrivate::notify_helper (this=0x89eede8, receiver=0xbec4ff0, e=0xbffa2200) at kernel/qapplication.cpp:4300
#15 0x0090705e in QApplication::notify (this=0xbffa25b4, receiver=0xbec4ff0, e=0xbffa2200) at kernel/qapplication.cpp:3704
#16 0x0230a40a in KApplication::notify (this=0xbffa25b4, receiver=0xbec4ff0, event=0xbffa2200) at ../../kdeui/kernel/kapplication.cpp:302
#17 0x05ecba3b in QCoreApplication::notifyInternal (this=0xbffa25b4, receiver=0xbec4ff0, event=0xbffa2200) at kernel/qcoreapplication.cpp:704
#18 0x05efad66 in QCoreApplication::sendEvent (this=0x89f1384) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#19 QTimerInfoList::activateTimers (this=0x89f1384) at kernel/qeventdispatcher_unix.cpp:603
#20 0x05ef7917 in timerSourceDispatch (source=0x89f13b8) at kernel/qeventdispatcher_glib.cpp:184
#21 idleTimerSourceDispatch (source=0x89f13b8) at kernel/qeventdispatcher_glib.cpp:231
#22 0x006ff5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#23 0x007032d8 in ?? () from /lib/libglib-2.0.so.0
#24 0x007034b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#25 0x05ef75d5 in QEventDispatcherGlib::processEvents (this=0x89d09c0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#26 0x009c0135 in QGuiEventDispatcherGlib::processEvents (this=0x89d09c0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x05eca059 in QEventLoop::processEvents (this=0xbffa24c4, flags=) at kernel/qeventloop.cpp:149
#28 0x05eca4aa in QEventLoop::exec (this=0xbffa24c4, flags=...) at kernel/qeventloop.cpp:201
#29 0x05ece69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#30 0x00900577 in QApplication::exec () at kernel/qapplication.cpp:3579
#31 0x0036ba65 in kdemain (argc=2, argv=0xbffa2c54) at ../../../kate/app/katemain.cpp:377
#32 0x080485fb in main (argc=2, argv=0xbffa2c54) at kate_dummy.cpp:3

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

Possible duplicates by query: bug 264654, bug 257929, bug 256915, bug 245443.

Reported using DrKonqi
Comment 1 Dominik Haumann 2011-06-25 16:13:29 UTC

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