Bug 285320 - Kate crashed, last meaningful message being QSocketNotifier: Invalid socket 24 and type 'Read', disabling...
Summary: Kate crashed, last meaningful message being QSocketNotifier: Invalid socket 2...
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2011-10-30 15:19 UTC by Tadeusz Litak
Modified: 2018-10-27 02:47 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tadeusz Litak 2011-10-30 15:19:12 UTC
Application: kate (3.6.5)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.3
Operating System: Linux 3.0.0-1-486 i686
Distribution: Linux Mint Xfce Edition

-- Information about the crash:
- What I was doing when the application crashed:

just working with several documents open, view split horizontally. At the very moment of crash, I just clicked a mouse on one of documents, if I recall.

Full disclosure: I work with LMDE Xfce distro, so not the most natural environment for KDE apps. I just use Kate, because I like it as a text editor, but there are some problems: there is a lag even when opening menus, terminal cannot be opened inside Kate etc.

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

Thread 4 (Thread 0xb485fb70 (LWP 5969)):
#0  0xb783b430 in __kernel_vsyscall ()
#1  0xb777bf86 in poll () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
#2  0xb5f69f5b in g_poll () from /lib/libglib-2.0.so.0
#3  0xb5f5996f in ?? () from /lib/libglib-2.0.so.0
#4  0xb5f5a0f3 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0xb49ac274 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0xb5f82b6f in ?? () from /lib/libglib-2.0.so.0
#7  0xb600dc39 in start_thread () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
#8  0xb778996e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6

Thread 3 (Thread 0xb0c21b70 (LWP 5970)):
#0  0xb783b430 in __kernel_vsyscall ()
#1  0xb601220a in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
#2  0xb7796a5d in pthread_cond_wait () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
#3  0xb0eef979 in ?? () from /usr/lib/libQtScript.so.4
#4  0xb0eef9bf in ?? () from /usr/lib/libQtScript.so.4
#5  0xb600dc39 in start_thread () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
#6  0xb778996e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6

Thread 2 (Thread 0xafcd5b70 (LWP 5971)):
#0  0xb530ee11 in clock_gettime () from /lib/i386-linux-gnu/i686/cmov/librt.so.1
#1  0xb6206d25 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb62d9696 in QTimerInfoList::updateCurrentTime (this=0x8c87204) at kernel/qeventdispatcher_unix.cpp:339
#4  0xb62d99fa in QTimerInfoList::timerWait (this=0x8c87204, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb62d8253 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xafcd510c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb62d82ed in timerSourcePrepare (source=0x8c871d0, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb5f5874e in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0xb5f59613 in ?? () from /lib/libglib-2.0.so.0
#9  0xb5f59ce4 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0xb62d8d27 in QEventDispatcherGlib::processEvents (this=0x8b44ee0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0xb62a9abd in QEventLoop::processEvents (this=0xafcd52b0, flags=...) at kernel/qeventloop.cpp:149
#12 0xb62a9d01 in QEventLoop::exec (this=0xafcd52b0, flags=...) at kernel/qeventloop.cpp:201
#13 0xb61ace6b in QThread::exec (this=0x8af63a0) at thread/qthread.cpp:492
#14 0xb628a5fd in QInotifyFileSystemWatcherEngine::run (this=0x8af63a0) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb61afcd3 in QThreadPrivate::start (arg=0x8af63a0) at thread/qthread_unix.cpp:320
#16 0xb600dc39 in start_thread () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
#17 0xb778996e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6

Thread 1 (Thread 0xb4c37710 (LWP 5968)):
[KCrash Handler]
#7  cleanConnectionLists (this=0x9300f60) at kernel/qobject.cpp:377
#8  QObjectPrivate::cleanConnectionLists (this=0x9300f60) at kernel/qobject.cpp:361
#9  0xb62c03a1 in QObjectPrivate::addConnection (this=0x9300f60, signal=3, c=0x9559b40) at kernel/qobject.cpp:358
#10 0xb62c052c in QMetaObjectPrivate::connect (sender=0x938ecb8, signal_index=3, receiver=0x8ab0f18, method_index=35, type=0, types=0x0) at kernel/qobject.cpp:2917
#11 0xb62c0bef in QObject::connect (sender=0x938ecb8, signal=0xb747529e "2triggered()", receiver=0x8ab0f18, method=0x0, type=Qt::AutoConnection) at kernel/qobject.cpp:2588
#12 0xb71f6a63 in QMenu::actionEvent (this=0x8ab0f18, e=0xbf902ed8) at widgets/qmenu.cpp:2873
#13 0xb6db1aa3 in QWidget::event (this=0x8ab0f18, event=0xbf902ed8) at kernel/qwidget.cpp:8634
#14 0xb71fc6cc in QMenu::event (this=0x8ab0f18, e=0xbf902ed8) at widgets/qmenu.cpp:2415
#15 0xb6d570a4 in notify_helper (this=0x883fff8, receiver=0x8ab0f18, e=0xbf902ed8) at kernel/qapplication.cpp:4467
#16 QApplicationPrivate::notify_helper (this=0x883fff8, receiver=0x8ab0f18, e=0xbf902ed8) at kernel/qapplication.cpp:4439
#17 0xb6d5c4e8 in QApplication::notify (this=0x883fff8, receiver=0x8ab0f18, e=0xbf902ed8) at kernel/qapplication.cpp:4432
#18 0xb6666571 in KApplication::notify (this=0xbf9047d4, receiver=0x8ab0f18, event=0xbf902ed8) at ../../kdeui/kernel/kapplication.cpp:311
#19 0xb62aaa9e in QCoreApplication::notifyInternal (this=0xbf9047d4, receiver=0x8ab0f18, event=0xbf902ed8) at kernel/qcoreapplication.cpp:731
#20 0xb6da9746 in sendEvent (this=0x8ab0f18, before=0x8ae3a30, action=0x938ecb8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#21 QWidget::insertAction (this=0x8ab0f18, before=0x8ae3a30, action=0x938ecb8) at kernel/qwidget.cpp:3205
#22 0xb679c01a in KXMLGUI::BuildHelper::processActionElement (this=0xbf90309c, e=..., idx=2) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:632
#23 0xb679d745 in KXMLGUI::BuildHelper::processActionOrCustomElement (this=0xbf90309c, e=..., isActionTag=true) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:608
#24 0xb679d892 in KXMLGUI::BuildHelper::processElement (this=0xbf90309c, e=...) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:585
#25 0xb679daeb in KXMLGUI::BuildHelper::build (this=0xbf90309c, element=...) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:565
#26 0xb679dbd9 in KXMLGUI::BuildHelper::processContainerElement (this=0xbf9031ec, e=..., tag=..., name=...) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:800
#27 0xb679d932 in KXMLGUI::BuildHelper::processElement (this=0xbf9031ec, e=...) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:587
#28 0xb679daeb in KXMLGUI::BuildHelper::build (this=0xbf9031ec, element=...) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:565
#29 0xb679dbd9 in KXMLGUI::BuildHelper::processContainerElement (this=0xbf903334, e=..., tag=..., name=...) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:800
#30 0xb679d932 in KXMLGUI::BuildHelper::processElement (this=0xbf903334, e=...) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:587
#31 0xb679daeb in KXMLGUI::BuildHelper::build (this=0xbf903334, element=...) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:565
#32 0xb679833b in KXMLGUIFactory::addClient (this=0x89cab38, client=0x930b44c) at ../../kdeui/xmlgui/kxmlguifactory.cpp:271
#33 0xb68e0510 in ?? () from /usr/lib/libkateinterfaces.so.4
#34 0xb68e1daa in ?? () from /usr/lib/libkateinterfaces.so.4
#35 0xb62b0e4d in metacall (object=0x8a66770, cl=QMetaObject::InvokeMetaMethod, idx=33, argv=0xbf903508) at kernel/qmetaobject.cpp:237
#36 QMetaObject::metacall (object=0x8a66770, cl=QMetaObject::InvokeMetaMethod, idx=33, argv=0xbf903508) at kernel/qmetaobject.cpp:232
#37 0xb62bfb90 in QMetaObject::activate (sender=0x930b438, m=0xb5a76ffc, local_signal_index=0, argv=0xbf903508) at kernel/qobject.cpp:3278
#38 0xb5a57635 in KTextEditor::View::focusIn (this=0x930b438, _t1=0x930b438) at ./view.moc:125
#39 0xb1184f2a in KateView::slotGotFocus (this=0x930b438) at ../../kate/view/kateview.cpp:1012
#40 0xb1196c25 in KateViewInternal::focusInEvent (this=0x930aa10) at ../../kate/view/kateviewinternal.cpp:3024
#41 0xb6db1a24 in QWidget::event (this=0x930aa10, event=0xbf903a70) at kernel/qwidget.cpp:8368
#42 0xb6d570a4 in notify_helper (this=0x883fff8, receiver=0x930aa10, e=0xbf903a70) at kernel/qapplication.cpp:4467
#43 QApplicationPrivate::notify_helper (this=0x883fff8, receiver=0x930aa10, e=0xbf903a70) at kernel/qapplication.cpp:4439
#44 0xb6d5c4e8 in QApplication::notify (this=0x883fff8, receiver=0x930aa10, e=0xbf903a70) at kernel/qapplication.cpp:4432
#45 0xb6666571 in KApplication::notify (this=0xbf9047d4, receiver=0x930aa10, event=0xbf903a70) at ../../kdeui/kernel/kapplication.cpp:311
#46 0xb62aaa9e in QCoreApplication::notifyInternal (this=0xbf9047d4, receiver=0x930aa10, event=0xbf903a70) at kernel/qcoreapplication.cpp:731
#47 0xb6d55a9f in sendEvent (focus=0x930aa10, reason=Qt::MouseFocusReason) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#48 QApplicationPrivate::setFocusWidget (focus=0x930aa10, reason=Qt::MouseFocusReason) at kernel/qapplication.cpp:2253
#49 0xb6da3f9b in QWidget::setFocus (this=0x930aa10, reason=Qt::MouseFocusReason) at kernel/qwidget.cpp:6355
#50 0xb6d55360 in QApplicationPrivate::giveFocusAccordingToFocusPolicy (widget=0x930aa10, focusPolicy=Qt::ClickFocus, focusReason=Qt::MouseFocusReason) at kernel/qapplication.cpp:5497
#51 0xb6d5e3b2 in QApplication::notify (this=0xbf9047d4, receiver=0x930aa10, e=0xbf904008) at kernel/qapplication.cpp:3985
#52 0xb6666571 in KApplication::notify (this=0xbf9047d4, receiver=0x930aa10, event=0xbf904008) at ../../kdeui/kernel/kapplication.cpp:311
#53 0xb62aaa9e in QCoreApplication::notifyInternal (this=0xbf9047d4, receiver=0x930aa10, event=0xbf904008) at kernel/qcoreapplication.cpp:731
#54 0xb6d58060 in sendEvent (receiver=0x930aa10, event=0xbf904008, alienWidget=0x0, nativeWidget=0x930aa10, buttonDown=0xb76b9ab4, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#55 QApplicationPrivate::sendMouseEvent (receiver=0x930aa10, event=0xbf904008, alienWidget=0x0, nativeWidget=0x930aa10, buttonDown=0xb76b9ab4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3127
#56 0xb6de1b4f in QETWidget::translateMouseEvent (this=0x930aa10, event=0xbf9043e0) at kernel/qapplication_x11.cpp:4465
#57 0xb6de0ae7 in QApplication::x11ProcessEvent (this=0xbf9047d4, event=0xbf9043e0) at kernel/qapplication_x11.cpp:3591
#58 0xb6e0c3fc in x11EventSourceDispatch (s=0x8844168, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#59 0xb5f59252 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#60 0xb5f59a30 in ?? () from /lib/libglib-2.0.so.0
#61 0xb5f59ce4 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#62 0xb62d8cc7 in QEventDispatcherGlib::processEvents (this=0x881c1f0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#63 0xb6e0c01a in QGuiEventDispatcherGlib::processEvents (this=0x881c1f0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#64 0xb62a9abd in QEventLoop::processEvents (this=0xbf904704, flags=...) at kernel/qeventloop.cpp:149
#65 0xb62a9d01 in QEventLoop::exec (this=0xbf904704, flags=...) at kernel/qeventloop.cpp:201
#66 0xb62ae45a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#67 0xb6d54f24 in QApplication::exec () at kernel/qapplication.cpp:3741
#68 0xb7833b5d in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_kate.so
#69 0x0804855b in ?? ()
#70 0xb76d3e46 in __libc_start_main () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
#71 0x08048581 in _start ()

Reported using DrKonqi
Comment 1 Tadeusz Litak 2011-10-31 04:49:13 UTC
Additional info: closing down Kate on a subsequent occasion, I found this among exit messages:

kate(19300)/kdeui (kdelibs) KXMLGUIClient::~KXMLGUIClient: 0x8812b58 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes. 
kate(19300)/kdeui (kdelibs) KXMLGUIClient::~KXMLGUIClient: 0x87a2cd4 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes. 

don't know if this is related
Comment 2 Christoph Cullmann 2012-07-06 08:37:39 UTC
Can't reproduce.
If there is some way to reproduce that with master from kate.git, please inform us ;)
Comment 3 Andrew Crouthamel 2018-09-23 02:29:08 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-10-27 02:47:23 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!