Application: kwrite (4.6.3 (4.6.3)) KDE Platform Version: 4.6.90 (4.7 RC1) Qt Version: 4.7.3 Operating System: Linux 3.0-3-generic x86_64 Distribution: Ubuntu oneiric (development branch) -- Information about the crash: kwrite crashed on start The crash can be reproduced every time. -- Backtrace: Application: KWrite (kwrite), signal: Segmentation fault [KCrash Handler] #6 KTextEditor::Editor::setSimpleMode (this=0x0, on=true) at ../../../interfaces/ktexteditor/ktexteditor.cpp:98 #7 0x00007f1bec61eda9 in KWriteApp::KWriteApp (this=0x7ffff0617b10, m_args=<value optimized out>) at ../../kwrite/kwriteapp.cpp:43 #8 0x00007f1bec61b9dc in kdemain (argc=1, argv=<value optimized out>) at ../../kwrite/kwritemain.cpp:678 #9 0x00007f1bec285e1f in __libc_start_main (main=0x400630 <main(int, char**)>, argc=1, ubp_av=0x7ffff06185f8, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7ffff06185e8) at libc-start.c:226 #10 0x0000000000400661 in _start () Possible duplicates by query: bug 269206, bug 244966. Reported using DrKonqi
Installation problem, part not found, current master & KDE/4.7 have proper error dialog.
*** Bug 269206 has been marked as a duplicate of this bug. ***
*** Bug 278156 has been marked as a duplicate of this bug. ***
Created attachment 63023 [details] New crash information added by DrKonqi kwrite (4.7.00 (4.7.0) "release 10") on KDE Platform 4.7.00 (4.7.0) "release 10" using Qt 4.7.3 - What I was doing when the application crashed: This occurs in openSuse KDE4.7 from Factory repository kwrite-4.7.0-7.2 The problem persists even after re-installation. The error message: A KDE text editor component could not be found Please check your KDE installation is unhelpful. *WHAT* component? -- Backtrace (Reduced): #7 0xb752dd48 in KTextEditor::Editor::setSimpleMode(bool) () from /usr/lib/libktexteditor.so.4 #8 0xb76cc89c in KWriteApp::KWriteApp(KCmdLineArgs*) () from /usr/lib/libkdeinit4_kwrite.so #9 0xb76c893b in kdemain () from /usr/lib/libkdeinit4_kwrite.so #10 0x0804860b in main ()
The SuSE factory is broken. The part is not there and more than show that can't be done. Normally it should be a hard dependency for kwrite/kate.. Sorry. No idea how to fix that for SuSE, perhaps report it there, and tell the libkatepart.so is missing for you.
Hum, I just checked openSUSE Factory KDE 4.7 packages and kwrite package has a dependency on libktexteditor package which provides; /usr/lib64/kde4/katepart.so /usr/lib64/libkatepartinterfaces.so.4 among other things. Also kwrite works for me on Factory.
That may be so, Ismail. I don't know, I'm running 32-bit not 64 bit, but I do have 'libktexteditor-4.7.0-10.2.i586' installed. Never the less, when I try running kate I get a pop-up telling me an editor component cannot be found. Perhaps it is another one :-) Since the backtrace has #7 0xb752dd48 in KTextEditor::Editor::setSimpleMode(bool) () from /usr/lib/libktexteditor.so.4 I think that libktexeditor is present and loaded. So what _is_ the failing module?
Created attachment 63637 [details] New crash information added by DrKonqi kwrite (4.7.1 (4.7.1)) on KDE Platform 4.7.1 (4.7.1) using Qt 4.7.4 - What I was doing when the application crashed: try to launch Kwrite! after each attempt to launch kwrite crash! -- Backtrace (Reduced): #6 KTextEditor::Editor::setSimpleMode (this=0x0, on=true) at /usr/src/debug/kdelibs-4.7.1/interfaces/ktexteditor/ktexteditor.cpp:98 #7 0x00007f19e1b4b9e0 in KWriteApp::KWriteApp (this=0x7fff49d16e70, m_args=<value optimized out>) at /usr/src/debug/kate-4.7.1/kwrite/kwriteapp.cpp:43 #8 0x00007f19e1b483c9 in kdemain (argc=2, argv=0x615280) at /usr/src/debug/kate-4.7.1/kwrite/kwritemain.cpp:678 #9 0x00000000004072a9 in _start ()
*** Bug 282175 has been marked as a duplicate of this bug. ***
*** Bug 292038 has been marked as a duplicate of this bug. ***
This bug is NOT fixed. You call QCoreApplication::exit in the constructor for KApplication, which does not exit at that point, and then you proceed with dereferencing a NULL pointer. Please REOPEN.
Reopening based on comment #11.
Git commit 10fee5409984e7cbab17719d2fd18465a8dcad57 by Dominik Haumann. Committed on 18/12/2012 at 10:18. Pushed by dhaumann into branch 'master'. use ::exit() istead of QCoreApplication::exit() M +1 -1 kwrite/kwriteapp.cpp http://commits.kde.org/kate/10fee5409984e7cbab17719d2fd18465a8dcad57
Git commit 6bd42579908cf62f094ebca0e100832208967428 by Dominik Haumann. Committed on 18/12/2012 at 10:18. Pushed by dhaumann into branch 'KDE/4.10'. use ::exit() istead of QCoreApplication::exit() M +1 -1 kwrite/kwriteapp.cpp http://commits.kde.org/kate/6bd42579908cf62f094ebca0e100832208967428