Bug 276523

Summary: kate crashes during start
Product: [Applications] kate Reporter: Ales Seifert <seifert>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: crash CC: christoph, mail
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ales Seifert 2011-06-26 13:04:31 UTC
Application: kate (3.6.80)
KDE Platform Version: 4.6.80 (4.7 Beta1) "release 6"
Qt Version: 4.7.3
Operating System: Linux 2.6.39-28 x86_64
Distribution: "openSUSE 11.4 (x86_64)"

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

starting kate for editing text file, can be reproduced anytime

The crash can be reproduced every time.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
[KCrash Handler]
#6  0x00007f90e92798c4 in KateDocManager::KateDocManager (this=0x819f10, parent=<optimized out>) at /usr/src/debug/kdesdk-4.6.4/kate/app/katedocmanager.cpp:73
#7  0x00007f90e9273902 in KateApp::KateApp (this=0x7fff2a9b5510, args=<optimized out>) at /usr/src/debug/kdesdk-4.6.4/kate/app/kateapp.cpp:60
#8  0x00007f90ea9aba5f in kdemain (argc=0, argv=0x7fff2a9b6a48) at /usr/src/debug/kdesdk-4.6.4/kate/app/katemain.cpp:373
#9  0x00007f90ea657bfd in __libc_start_main () from /lib64/libc.so.6
#10 0x0000000000400699 in _start () at ../sysdeps/x86_64/elf/start.S:113

Possible duplicates by query: bug 265540, bug 255705.

Reported using DrKonqi
Comment 1 Christoph Cullmann 2011-06-26 13:08:09 UTC
Looks like Kate cant find its part. in git already a better check + error message is there. Sorry, that is a distro/installation issue.
Comment 2 Christoph Cullmann 2011-06-26 13:08:52 UTC
New code in git:

  // Constructed the beloved editor ;)
  m_editor = KTextEditor::EditorChooser::editor();
  
  if ( !m_editor )
  {
    KMessageBox::error(0, i18n("A KDE text-editor component could not be found.\n"
                                  "Please check your KDE installation."));
    exit(1);
  }
Comment 3 Andreas Kuhl 2011-07-04 07:57:54 UTC
The issue exists for me too, but with the new errormessage and openSUSE packages for RC1. How to install the text-editor component for kate?