Bug 197869 - The application Kate (kate) crashed and caused the signal 11 (SIGSEGV).
Summary: The application Kate (kate) crashed and caused the signal 11 (SIGSEGV).
Status: RESOLVED DUPLICATE of bug 185708
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-25 19:42 UTC by Arun
Modified: 2009-09-05 15:40 UTC (History)
3 users (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 Arun 2009-06-25 19:42:46 UTC
Version:            (using KDE 4.2.4)
Installed from:    Compiled From Sources

Whenever i view system , logs and close the kate, i get below info in the alert box

A Fatal Error Occurred
The application Kate (kate) crashed and caused the signal 11 (SIGSEGV).
Please help us improve the software you use by filing a report at http://bugs.kde.org. Useful details include how to reproduce the error, documents that were loaded, etc.
Comment 1 Dario Andres 2009-06-26 00:11:33 UTC
As you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? Thanks
Comment 2 Jeff Shaw 2009-08-20 01:31:54 UTC
I just compiled Kate 3.2 from sources on Mac OS X 10.5 using Apple's gcc 4.0.1. The build was handled by MacPorts. When quitting Kate I also get SIGSEGV. The crash does not happen if I merely open Kate and then Quit instead of opening a session or making a new one. Here is the info from the bug program that ran when it first crashed.

Application: Kate (kate), signal SIGSEGV
Attaching to process 21531.
Reading symbols for shared libraries . done
Reading symbols for shared libraries .............................................................................................................................................................................. done
[Current thread is 1 (process 21531 thread 0x20b)]

Thread 2 (process 21531 thread 0x2703):
#0  0x929220a4 in __error ()
#1  0x943c3a94 in __CFSocketManager ()
#2  0x929630c8 in _pthread_start ()

Thread 1 (process 21531 thread 0x20b):
[KCrash Handler]
#4  <signal handler called>

It crashed again and gave slightly different details:

Application: Kate (kate), signal SIGSEGV
Attaching to process 21622.
Reading symbols for shared libraries . done
Reading symbols for shared libraries ............................................................................................................................................................. done
[Current thread is 1 (process 21622 thread 0x20b)]

Thread 2 (process 21622 thread 0x2703):
#0  0x943ba684 in _CFRelease ()
#1  0x943c3ba0 in __CFSocketManager ()
#2  0x929630c8 in _pthread_start ()

Thread 1 (process 21622 thread 0x20b):
[KCrash Handler]
#4  <signal handler called>

Again, different:

[Current thread is 1 (process 21640 thread 0x20b)]

Thread 2 (process 21640 thread 0x2703):
#0  0x92984d78 in select$DARWIN_EXTSN ()
#1  0x943c399c in __CFSocketManager ()
#2  0x929630c8 in _pthread_start ()

Thread 1 (process 21640 thread 0x20b):
[KCrash Handler]
#4  <signal handler called>

Yet another, this is the last one I'll post unless someone requests more.

[Current thread is 1 (process 21660 thread 0x20b)]

Thread 2 (process 21660 thread 0x2703):
#0  0x943ba3e0 in _CFRuntimeCreateInstance ()
#1  0x94351814 in __CFArrayInit ()
#2  0x943c3abc in __CFSocketManager ()
#3  0x929630c8 in _pthread_start ()

Thread 1 (process 21660 thread 0x20b):
[KCrash Handler]
#4  <signal handler called>
Comment 3 Jeff Shaw 2009-08-20 01:42:51 UTC
The KDE bug catching program doesn't always run. This is the info from Apple's equivalent. The next post is the backtrace from when run in gdb.

Process:         kate [21717]
Path:            /Applications/MacPorts/KDE4/kate.app/Contents/MacOS/kate
Identifier:      ???
Version:          ()
Code Type:       PPC (Native)
Parent Process:  launchd [64]

Interval Since Last Report:          655586 sec
Crashes Since Last Report:           11
Per-App Interval Since Last Report:  2331 sec
Per-App Crashes Since Last Report:   5

Date/Time:       2009-08-19 19:37:53.968 -0400
OS Version:      Mac OS X 10.5.7 (9J61)
Report Version:  6
Anonymous UUID:  C8234844-5365-4B8C-BC3C-52C9F1B75E15

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000008
Crashed Thread:  0

Thread 0 Crashed:
0   QtGui                         	0x00bef5b8 QApplicationPrivate::dispatchEnterLeave(QWidget*, QWidget*) + 232
1   QtGui                         	0x00b85474 QWidgetPrivate::hide_sys() + 676
2   QtGui                         	0x00c3a824 QWidgetPrivate::hide_helper() + 196
3   QtGui                         	0x00c40f18 QWidget::setVisible(bool) + 1096
4   QtGui                         	0x00c330b0 QWidget::~QWidget() + 512
5   libkdeui.5.dylib              	0x00913730 KMainWindow::~KMainWindow() + 448
6   libkdeui.5.dylib              	0x0095afc8 KXmlGuiWindow::~KXmlGuiWindow() + 104
7   libkparts.4.dylib             	0x002de438 KParts::MainWindow::~MainWindow() + 152
8   libkateinterfaces.4.dylib     	0x000f51d4 KateMDI::MainWindow::~MainWindow() + 548
9   libkateinterfaces.4.dylib     	0x000ca320 KateMainWindow::~KateMainWindow() + 704
10  libkateinterfaces.4.dylib     	0x000b6128 KateApp::shutdownKate(KateMainWindow*) + 344
11  libkateinterfaces.4.dylib     	0x000cc7e8 KateMainWindow::qt_metacall(QMetaObject::Call, int, void**) + 264
12  QtCore                        	0x01d9ec88 QMetaObject::activate(QObject*, int, int, void**) + 1032
13  QtGui                         	0x00be1010 QAction::triggered(bool) + 64
14  QtGui                         	0x00be37a8 QAction::activate(QAction::ActionEvent) + 152
15  QtGui                         	0x00bbbfa8 qt_mac_activate_action(OpaqueMenuRef*, unsigned int, QAction::ActionEvent, bool) + 424
16  QtGui                         	0x00bbc4cc qt_mac_menu_event(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 700
17  com.apple.HIToolbox           	0x91b55b08 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1484
18  com.apple.HIToolbox           	0x91b54ca0 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 464
19  com.apple.HIToolbox           	0x91b71bc4 SendEventToEventTarget + 52
20  com.apple.HIToolbox           	0x91ba7354 SendHICommandEvent(unsigned long, HICommand const*, unsigned long, unsigned long, unsigned char, OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**) + 452
21  com.apple.HIToolbox           	0x91bcdca0 SendMenuItemSelectedEvent + 136
22  com.apple.HIToolbox           	0x91c5314c HIMenuBar::HandleKeyboardEvent(OpaqueEventRef*) + 312
23  com.apple.HIToolbox           	0x91b560e0 HIObject::EventHook(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 200
24  com.apple.HIToolbox           	0x91b55b08 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1484
25  com.apple.HIToolbox           	0x91b54ca0 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 464
26  com.apple.HIToolbox           	0x91b54abc SendEventToEventTargetWithOptions + 52
27  com.apple.HIToolbox           	0x91b84f74 ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 1632
28  com.apple.HIToolbox           	0x91b55f5c DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 2592
29  com.apple.HIToolbox           	0x91b54ca0 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 464
30  com.apple.HIToolbox           	0x91b71bc4 SendEventToEventTarget + 52
31  QtGui                         	0x00b8d440 QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 720
32  QtCore                        	0x01d886ec QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 108
33  QtCore                        	0x01d888b4 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 228
34  QtCore                        	0x01d8d67c QCoreApplication::exec() + 236
35  libkdeinit4_kate.dylib        	0x00020810 kdemain + 23856
36                                	0x00008f60 start + 64
37  ???                           	0xbffffc5c 0 + 3221224540

Thread 1:
0   libSystem.B.dylib             	0x9296a088 select$DARWIN_EXTSN$NOCANCEL + 12
1   libSystem.B.dylib             	0x929bfc9c select + 68
2   QtCore                        	0x01d64ae8 QProcessManager::run() + 120
3   QtCore                        	0x01c7ee80 QThreadPrivate::start(void*) + 192
4   libSystem.B.dylib             	0x929630c4 _pthread_start + 316

Thread 2:
0   libSystem.B.dylib             	0x92984d74 select$DARWIN_EXTSN + 12
1   com.apple.CoreFoundation      	0x943c3998 __CFSocketManager + 764

Thread 0 crashed with PPC Thread State 32:
  srr0: 0x00bef5b8  srr1: 0x0200f930   dar: 0x00000008 dsisr: 0x40000000
    r0: 0x0800f000    r1: 0xbfffd680    r2: 0x00000000    r3: 0x0bc913c4
    r4: 0x0bc913b0    r5: 0x00000014    r6: 0x80000000    r7: 0x00000001
    r8: 0x00000000    r9: 0x0bc55950   r10: 0x00000005   r11: 0x0bc913b0
   r12: 0x9292a9c8   r13: 0xbffff650   r14: 0x00000000   r15: 0x02811690
   r16: 0x00000000   r17: 0x00000006   r18: 0x00000005   r19: 0x01e5e894
   r20: 0x02809f00   r21: 0x00000002   r22: 0xbfffd6c4   r23: 0xbfffd6c0
   r24: 0x0bc72630   r25: 0x00000001   r26: 0x0bc55950   r27: 0x00000000
   r28: 0xbfffd6bc   r29: 0x01442268   r30: 0x0bc21580   r31: 0x00bef4e4
    cr: 0x24042224   xer: 0x20000000    lr: 0x00bef5a0   ctr: 0x9292a9c8
vrsave: 0x00000000
Comment 4 Jeff Shaw 2009-08-20 01:43:47 UTC
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000008
0x00bef5b8 in QApplicationPrivate::dispatchEnterLeave ()
(gdb) thread apply all backtrace

Thread 3 (process 21740 thread 0x2703):
#0  0x92984d74 in select$DARWIN_EXTSN ()
#1  0x943c399c in __CFSocketManager ()
#2  0x929630c8 in _pthread_start ()

Thread 2 (process 21740 thread 0x2603):
#0  0x9296a088 in select$DARWIN_EXTSN$NOCANCEL ()
#1  0x929bfca0 in select ()
#2  0x01d64aec in QProcessManager::run ()
#3  0x01c7ee84 in QThreadPrivate::start ()
#4  0x929630c8 in _pthread_start ()

Thread 1 (process 21740 local thread 0x2d03):
#0  0x00bef5b8 in QApplicationPrivate::dispatchEnterLeave ()
#1  0x00b85478 in QWidgetPrivate::hide_sys ()
#2  0x00c3a828 in QWidgetPrivate::hide_helper ()
#3  0x00c40f1c in QWidget::setVisible ()
#4  0x00c330b4 in QWidget::~QWidget ()
#5  0x00913734 in KMainWindow::~KMainWindow ()
#6  0x0095afcc in KXmlGuiWindow::~KXmlGuiWindow ()
#7  0x002de43c in KParts::MainWindow::~MainWindow ()
#8  0x000f51d8 in KateMDI::MainWindow::~MainWindow ()
#9  0x000ca324 in KateMainWindow::~KateMainWindow ()
#10 0x000b612c in KateApp::shutdownKate ()
#11 0x000cc7ec in KateMainWindow::qt_metacall ()
#12 0x01d9ec8c in QMetaObject::activate ()
#13 0x00be1014 in QAction::triggered ()
#14 0x00be37ac in QAction::activate ()
#15 0x00bbbfac in qt_mac_activate_action ()
#16 0x00bbc4d0 in qt_mac_menu_event ()
#17 0x91b55b0c in DispatchEventToHandlers ()
#18 0x91b54ca4 in SendEventToEventTargetInternal ()
#19 0x91b71bc8 in SendEventToEventTarget ()
#20 0x91ba7358 in SendHICommandEvent ()
#21 0x91bcdca4 in SendMenuItemSelectedEvent ()
#22 0x91c53150 in HIMenuBar::HandleKeyboardEvent ()
#23 0x91b560e4 in HIObject::EventHook ()
#24 0x91b55b0c in DispatchEventToHandlers ()
#25 0x91b54ca4 in SendEventToEventTargetInternal ()
#26 0x91b54ac0 in SendEventToEventTargetWithOptions ()
#27 0x91b84f78 in ToolboxEventDispatcherHandler ()
#28 0x91b55f60 in DispatchEventToHandlers ()
#29 0x91b54ca4 in SendEventToEventTargetInternal ()
#30 0x91b71bc8 in SendEventToEventTarget ()
#31 0x00b8d444 in QEventDispatcherMac::processEvents ()
#32 0x01d886f0 in QEventLoop::processEvents ()
#33 0x01d888b8 in QEventLoop::exec ()
#34 0x01d8d680 in QCoreApplication::exec ()
#35 0x00020814 in kdemain ()
#36 0x00008f64 in start ()
(gdb)
Comment 5 Dario Andres 2009-09-04 16:38:03 UTC
@Jeff Shaw: sorry about the trouble, but, could you please put all the information you gathered in a new report ? The policy here is one report per issue, and we can't be sure your crash was the same as the originally reported. Thank you very much.
Comment 6 Arun 2009-09-05 06:22:17 UTC
Still this issue is not resolved :-(

I have put the full backtrace this time. Pls help

-------------------------------------------------------------------------
Unable to create a valid backtrace.

This backtrace appears to be of no use.
This is probably because your packages are built in a way which prevents creation of proper backtraces, or the stack frame was seriously corrupted in the crash.



The application Kate (kate) crashed and caused the signal 11 (SIGSEGV).
Please help us improve the software you use by filing a report at http://bugs.kde.org. Useful details include how to reproduce the error, documents that were loaded, etc.

This backtrace appears to be of no use.
This is probably because your packages are built in a way which prevents creation of proper backtraces, or the stack frame was seriously corrupted in the crash.

(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb5b10700 (LWP 7992)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xb80cb430 in __kernel_vsyscall ()
[Current thread is 0 (process 7992)]

Thread 1 (Thread 0xb5b10700 (LWP 7992)):
#0  0xb80cb430 in __kernel_vsyscall ()
#1  0xb67a7780 in nanosleep () from /lib/tls/i686/cmov/libc.so.6
#2  0xb67a75be in sleep () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7c408b2 in ?? () from /usr/lib/libkdeui.so.5
#4  0xb7c41274 in KCrash::defaultCrashHandler () from /usr/lib/libkdeui.so.5
#5  <signal handler called>
#6  0xb741fac2 in QMenu::findIdForAction () from /usr/lib/libQtGui.so.4
#7  0xb742129d in ?? () from /usr/lib/libQtGui.so.4
#8  0xb7427b5b in ?? () from /usr/lib/libQtGui.so.4
#9  0xb7428632 in QMenu::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#10 0xb7cb77e5 in KMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.5
#11 0xb7002bd3 in QWidget::event () from /usr/lib/libQtGui.so.4
#12 0xb742aa19 in QMenu::event () from /usr/lib/libQtGui.so.4
#13 0xb6fabf2c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#14 0xb6fb4ba1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#15 0xb7bd094d in KApplication::notify () from /usr/lib/libkdeui.so.5
#16 0xb6adaa3b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#17 0xb6fb3c0e in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#18 0xb7023c96 in ?? () from /usr/lib/libQtGui.so.4
#19 0xb7022d37 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#20 0xb704dcfa in ?? () from /usr/lib/libQtGui.so.4
#21 0xb5e8eb88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0xb5e920eb in ?? () from /usr/lib/libglib-2.0.so.0
#23 0xb5e92268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#24 0xb6b06438 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#25 0xb704d3f5 in ?? () from /usr/lib/libQtGui.so.4
#26 0xb6ad906a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#27 0xb6ad94aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#28 0xb6adb959 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#29 0xb6fabda7 in QApplication::exec () from /usr/lib/libQtGui.so.4
#30 0xb80af73d in kdemain () from /usr/lib/libkdeinit4_kate.so
#31 0x08048672 in _start ()
#0  0xb80cb430 in __kernel_vsyscall ()
Comment 7 Dario Andres 2009-09-05 15:40:36 UTC
@Arun: this crash is bug 185708, it is fixed on KDE4.3 when using Qt4.5.1+
Thanks

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