Bug 263518 - kate crash on file closing
Summary: kate crash on file closing
Status: RESOLVED DUPLICATE of bug 248926
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-18 09:14 UTC by mac
Modified: 2011-01-23 16:08 UTC (History)
1 user (show)

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 mac 2011-01-18 09:14:47 UTC
Application: kate (3.5.1)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-24ck-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
editing some files, and close one caused this crash.

my platform is kubuntu 10.10 with kde 4.5.1

and another thing, when i selected some text in one file, and swtich to another file, then switch back, the first selection in first file will be gone and auto cut to clipboard, every time this will happen!

sorry for my poor english.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7f4ca23b2700 (LWP 8244)):
#0  0x00007f4cb6fa8203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4cb4118009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f4cb411845c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f4cb4ebc1e6 in QEventDispatcherGlib::processEvents (this=0x1f1c3f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f4cb4e8ea02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f4cb4e8edec in QEventLoop::exec (this=0x7f4ca23b1db0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f4cb4d992fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f4cb4e6e5f8 in QInotifyFileSystemWatcherEngine::run (this=0x249b710) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f4cb4d9c27e in QThreadPrivate::start (arg=0x249b710) at thread/qthread_unix.cpp:266
#9  0x00007f4cb45d6971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f4cb6fb492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4cb763b760 (LWP 8241)):
[KCrash Handler]
#6  0x00007f4cb6f4bc50 in __libc_free (mem=0x2c7cde0) at malloc.c:3724
#7  0x00007f4ca57d2a4f in qDeleteAll<QSet<Kate::TextCursor*>::const_iterator> (this=0x2c72140, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:322
#8  qDeleteAll<QSet<Kate::TextCursor*> > (this=0x2c72140, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:330
#9  Kate::TextBuffer::~TextBuffer (this=0x2c72140, __in_chrg=<value optimized out>) at ../../kate/buffer/katetextbuffer.cpp:83
#10 0x00007f4ca5856567 in KateBuffer::~KateBuffer (this=0x2c72140, __in_chrg=<value optimized out>) at ../../kate/document/katebuffer.cpp:88
#11 0x00007f4cb4ea1d5f in QObjectPrivate::deleteChildren (this=0x3083580) at kernel/qobject.cpp:1957
#12 0x00007f4cb4ea941b in QObject::~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:945
#13 0x00007f4cb1777872 in KParts::Part::~Part (this=0x3006a40, __vtt_parm=0x7f4ca5bcf1a0, __in_chrg=<value optimized out>) at ../../kparts/part.cpp:212
#14 0x00007f4ca58315d8 in KateDocument::~KateDocument (this=0x3006a40, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../kate/document/katedocument.cpp:308
#15 0x00007f4cb5aba8ba in KateDocManager::deleteDoc (this=0x1e0f130, doc=0x3006a40) at ../../../kate/app/katedocmanager.cpp:222
#16 0x00007f4cb5abf102 in KateDocManager::closeDocument (this=0x1e0f130, doc=0x3006a40, closeUrl=true) at ../../../kate/app/katedocmanager.cpp:369
#17 0x00007f4cb5ad17f7 in KateViewManager::slotDocumentClose (this=<value optimized out>, document=0x3006a40) at ../../../kate/app/kateviewmanager.cpp:205
#18 0x00007f4cb5ad5e81 in KateViewManager::qt_metacall (this=0x204eba0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffaf90eea0) at ./kateviewmanager.moc:130
#19 0x00007f4cb4ea7b27 in QMetaObject::activate (sender=0x20615e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3280
#20 0x00007f4cb6396852 in QAction::triggered (this=0x2c7cde0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#21 0x00007f4cb6397f5b in QAction::activate (this=0x20615e0, event=<value optimized out>) at kernel/qaction.cpp:1256
#22 0x00007f4cb677757a in QAbstractButtonPrivate::click (this=0x222b200) at widgets/qabstractbutton.cpp:528
#23 0x00007f4cb677782c in QAbstractButton::mouseReleaseEvent (this=0x2108a50, e=0x7fffaf90f800) at widgets/qabstractbutton.cpp:1121
#24 0x00007f4cb684752a in QToolButton::mouseReleaseEvent (this=0x2c7cde0, e=0x4) at widgets/qtoolbutton.cpp:721
#25 0x00007f4cb63f404e in QWidget::event (this=0x2108a50, event=0x7fffaf90f800) at kernel/qwidget.cpp:8187
#26 0x00007f4cb639dfdc in QApplicationPrivate::notify_helper (this=0x1dceb30, receiver=0x2108a50, e=0x7fffaf90f800) at kernel/qapplication.cpp:4396
#27 0x00007f4cb63a430e in QApplication::notify (this=0x7fffaf910590, receiver=0x2108a50, e=0x7fffaf90f800) at kernel/qapplication.cpp:3959
#28 0x00007f4cb5660156 in KApplication::notify (this=0x7fffaf910590, receiver=0x2108a50, event=0x7fffaf90f800) at ../../kdeui/kernel/kapplication.cpp:310
#29 0x00007f4cb4e8fcdc in QCoreApplication::notifyInternal (this=0x7fffaf910590, receiver=0x2108a50, event=0x7fffaf90f800) at kernel/qcoreapplication.cpp:732
#30 0x00007f4cb63a2dbe in sendEvent (receiver=0x2108a50, event=0x7fffaf90f800, alienWidget=0x2108a50, nativeWidget=0x2219b80, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QApplicationPrivate::sendMouseEvent (receiver=0x2108a50, event=0x7fffaf90f800, alienWidget=0x2108a50, nativeWidget=0x2219b80, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3058
#32 0x00007f4cb6426345 in QETWidget::translateMouseEvent (this=0x2219b80, event=<value optimized out>) at kernel/qapplication_x11.cpp:4403
#33 0x00007f4cb6424c5c in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffaf910120) at kernel/qapplication_x11.cpp:3536
#34 0x00007f4cb64510e2 in x11EventSourceDispatch (s=0x1dd0ed0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x00007f4cb4114342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x00007f4cb41182a8 in ?? () from /lib/libglib-2.0.so.0
#37 0x00007f4cb411845c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x00007f4cb4ebc193 in QEventDispatcherGlib::processEvents (this=0x1da5e60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#39 0x00007f4cb6450a4e in QGuiEventDispatcherGlib::processEvents (this=0x2c7cde0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f4cb4e8ea02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#41 0x00007f4cb4e8edec in QEventLoop::exec (this=0x7fffaf910450, flags=) at kernel/qeventloop.cpp:201
#42 0x00007f4cb4e92ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#43 0x00007f4cb7256d26 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../kate/app/katemain.cpp:377
#44 0x00007f4cb6eecd8e in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffaf911b28) at libc-start.c:226
#45 0x0000000000400659 in _start ()

Possible duplicates by query: bug 262997, bug 255422.

Reported using DrKonqi
Comment 1 Dario Andres 2011-01-23 16:08:47 UTC
[Comment from a bug triager]
This issue is now being tracked at bug 248926. Merging

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