Bug 212044 - kate crashes on startup
Summary: kate crashes on startup
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-27 11:28 UTC by Michal Slonina
Modified: 2013-12-31 20:12 UTC (History)
2 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 Michal Slonina 2009-10-27 11:28:04 UTC
Application that crashed: kate
Version of the application: 3.3.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.6.0
Operating System: Linux 2.6.30.1 i686

What I was doing when the application crashed:
 

 -- Backtrace:
Application: Kate (kate), signal: Illegal instruction
[Current thread is 0 (LWP 3952)]

Thread 2 (Thread 0xb4249b70 (LWP 3953)):
#0  0xb80c4424 in __kernel_vsyscall ()
#1  0x4211e765 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4206f63c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb44225a9 in WTF::TCMalloc_PageHeap::scavengerThread (this=0xb44e1140) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2299
#4  0xb4422641 in WTF::TCMalloc_PageHeap::runScavengerThread (context=0xb44e1140) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1433
#5  0x42119900 in start_thread () from /lib/libpthread.so.0

Thread 1 (Thread 0xb6005700 (LWP 3952)):
[KCrash Handler]
#6  0xb46aa0a5 in KateCmdLineEdit::slotReturnPressed (this=0xbfcdbe68, text=@0xb3953488) at /usr/include/qt4/QtCore/qstring.h:413
#7  0xb4352d13 in QTJSC::Interpreter::execute (this=0xb3953488, eval=0xbfcdbe1c, callFrame=0x81e724c, thisObj=0xb34c0000, scopeChain=0xb398e1c8, exception=0xbfcdbe70)
    at ../3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:838
#8  0xb4454411 in QScriptEngine::evaluate (this=0x8116ff8, program=@0xbfcdbf38, fileName=@0x81e0b84, lineNumber=1) at api/qscriptengine.cpp:2189
#9  0xb4606026 in KateScript::load (this=0x81e0b80) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kate/script/katescript.cpp:146
#10 0xb46064a9 in KateScript::global (this=0x81e0b80, name=@0xbfcdc238) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kate/script/katescript.cpp:108
#11 0xb46099e1 in KateScriptManager::collect (this=0x81de830, resourceFile=@0xbfcdc348, directory=@0xbfcdc34c, force=false)
    at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kate/script/katescriptmanager.cpp:209
#12 0xb460d8f7 in KateScriptManager (this=0x81de830) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kate/script/katescriptmanager.cpp:43
#13 0xb4730aa6 in KateGlobal (this=0x812e688) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kate/utils/kateglobal.cpp:152
#14 0xb473115c in KateGlobal::self () at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kate/utils/kateglobal.cpp:415
#15 0xb46f6b08 in KateFactory::editor (this=0x810f6b8) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kate/utils/katefactory.cpp:51
#16 0xb6721f21 in KTextEditor::editor (libname=0x812e018 "katepart") at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/interfaces/ktexteditor/ktexteditor.cpp:244
#17 0xb6728021 in KTextEditor::EditorChooser::editor (postfix=@0xbfcdc7fc, fallBackToKatePart=true)
    at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/interfaces/ktexteditor/editorchooser.cpp:132
#18 0xb738ff22 in KateDocManager (this=0x8108d98, parent=0xbfcdc8dc) at /var/tmp/portage/kde-base/kate-4.3.2/work/kate-4.3.2/kate/app/katedocmanager.cpp:63
#19 0xb7383ca8 in KateApp (this=0xbfcdc8dc, args=0x8063ea0) at /var/tmp/portage/kde-base/kate-4.3.2/work/kate-4.3.2/kate/app/kateapp.cpp:59
#20 0xb80be5c7 in kdemain (argc=1, argv=0xbfcdce54) at /var/tmp/portage/kde-base/kate-4.3.2/work/kate-4.3.2/kate/app/katemain.cpp:253
#21 0x0804861b in main (argc=1, argv=0xbfcdce54) at /var/tmp/portage/kde-base/kate-4.3.2/work/kate-4.3.2_build/kate/app/kate_dummy.cpp:3

Reported using DrKonqi
Comment 1 Michal Slonina 2009-10-27 11:30:32 UTC
KWrite crashes on the same issue:
Application: KWrite (kwrite), signal: Illegal instruction
[Current thread is 0 (LWP 4602)]

Thread 2 (Thread 0xb4496b70 (LWP 4603)):
#0  0xb7fd5424 in __kernel_vsyscall ()
#1  0x4211e765 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4206f63c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb466f5a9 in WTF::TCMalloc_PageHeap::scavengerThread (this=0xb472e140) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2299
#4  0xb466f641 in WTF::TCMalloc_PageHeap::runScavengerThread (context=0xb472e140) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1433
#5  0x42119900 in start_thread () from /lib/libpthread.so.0

Thread 1 (Thread 0xb6252700 (LWP 4602)):
[KCrash Handler]
#6  0xb48f70a5 in KateCmdLineEdit::slotReturnPressed (this=0xbf8cf4a8, text=@0xb3ba0488) at /usr/include/qt4/QtCore/qstring.h:413
#7  0xb459fd13 in QTJSC::Interpreter::execute (this=0xb3ba0488, eval=0xbf8cf45c, callFrame=0x81e7e54, thisObj=0xb3740000, scopeChain=0xb3bdb1c8, exception=0xbf8cf4b0)
    at ../3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:838
#8  0xb46a1411 in QScriptEngine::evaluate (this=0x81217c8, program=@0xbf8cf578, fileName=@0x81e0b5c, lineNumber=1) at api/qscriptengine.cpp:2189
#9  0xb4853026 in KateScript::load (this=0x81e0b58) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kate/script/katescript.cpp:146
#10 0xb48534a9 in KateScript::global (this=0x81e0b58, name=@0xbf8cf878) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kate/script/katescript.cpp:108
#11 0xb48569e1 in KateScriptManager::collect (this=0x81dfff0, resourceFile=@0xbf8cf988, directory=@0xbf8cf98c, force=false)
    at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kate/script/katescriptmanager.cpp:209
#12 0xb485a8f7 in KateScriptManager (this=0x81dfff0) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kate/script/katescriptmanager.cpp:43
#13 0xb497daa6 in KateGlobal (this=0x812f3d0) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kate/utils/kateglobal.cpp:152
#14 0xb497e15c in KateGlobal::self () at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kate/utils/kateglobal.cpp:415
#15 0xb4943b08 in KateFactory::editor (this=0x81167b0) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kate/utils/katefactory.cpp:51
#16 0xb7f6af21 in KTextEditor::editor (libname=0x812ed60 "katepart") at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/interfaces/ktexteditor/ktexteditor.cpp:244
#17 0xb7f71021 in KTextEditor::EditorChooser::editor (postfix=@0xbf8cfe58, fallBackToKatePart=true)
    at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/interfaces/ktexteditor/editorchooser.cpp:132
#18 0xb7fca96f in KWrite (this=0x8109770, doc=0x0) at /var/tmp/portage/kde-base/kwrite-4.3.2/work/kwrite-4.3.2/kwrite/kwritemain.cpp:67
#19 0xb7fcdc78 in kdemain (argc=1, argv=0xbf8d02e4) at /var/tmp/portage/kde-base/kwrite-4.3.2/work/kwrite-4.3.2/kwrite/kwritemain.cpp:715
#20 0x0804862b in main (argc=1, argv=0xbf8d02e4) at /var/tmp/portage/kde-base/kwrite-4.3.2/work/kwrite-4.3.2_build/kwrite/kwrite_dummy.cpp:3
Comment 2 Michal Slonina 2009-10-27 11:44:49 UTC
Looks like Kate is trying to execute '/' ?

#2  0xb4397411 in QScriptEngine::evaluate (this=0x8118670, program=@0xbff177c8,
    fileName=@0x81e4184, lineNumber=1) at api/qscriptengine.cpp:2189
2189    in api/qscriptengine.cpp
(gdb) x/4c fileName.data()
0x81e4d7a:      47 '/'  0 '\0'  117 'u' 0 '\0'
(gdb) x/3c program.data()
0x81e57c2:      47 '/'  0 '\0'  42 '*'

I'm unfamiliar with QTScriptEngine, any clues on that ?
Comment 3 Dominik Haumann 2010-02-16 18:47:02 UTC
In the info above it says KateCmdLineEdit::slotReturnPressed.

Michal, which command did you run in the command line (F7)?

What does the outout on the konsole say, if you start it from the konsole?