<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>238681</bug_id>
          
          <creation_ts>2010-05-24 14:33:34 +0000</creation_ts>
          <short_desc>KWrite crashes on open</short_desc>
          <delta_ts>2010-06-10 17:33:24 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kate</product>
          <component>kwrite</component>
          <version>unspecified</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>wendellspam</reporter>
          <assigned_to name="KWrite Developers">kwrite-bugs-null</assigned_to>
          <cc>christoph</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>966554</commentid>
    <comment_count>0</comment_count>
    <who name="">wendellspam</who>
    <bug_when>2010-05-24 14:33:34 +0000</bug_when>
    <thetext>Application: kwrite (4.4.2 (KDE 4.4.2))
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
It was started from bash within screen, first with a file to open (&apos;.gitconfig&apos;), then without any command-line options at all, and it crashed on open. It managed to write &apos;sock_file=/home/wendell/.kde/socket-wacky/kdeinit4__0&apos; to the terminal first.

This seems to me to be rather serious... kwrite won&apos;t even run normally without any options.

The crash can be reproduced every time.

 -- Backtrace:
Application: KWrite (kwrite), signal: Aborted
[KCrash Handler]
#6  0x0089f422 in __kernel_vsyscall ()
#7  0x003b4651 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0x003b7a82 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0x089c22dc in qt_message_output (msgType=QtFatalMsg, buf=0x99d6fc8 &quot;kwrite(11171): Session bus not found \n&quot;) at global/qglobal.cpp:2250
#10 0x009923b5 in ~QDebug (this=0xbfc45710, __in_chrg=&lt;value optimized out&gt;) at /usr/include/qt4/QtCore/qdebug.h:85
#11 0x00a81b3c in KApplicationPrivate::init (this=0x99bba48, GUIenabled=true) at ../../kdeui/kernel/kapplication.cpp:501
#12 0x00a83347 in KApplication (this=0xbfc45838, GUIenabled=true) at ../../kdeui/kernel/kapplication.cpp:343
#13 0x00860377 in ?? () from /usr/lib/libkdeinit4_kwrite.so
#14 0x0085b10e in kdemain () from /usr/lib/libkdeinit4_kwrite.so
#15 0x080485fb in _start ()

This bug may be a duplicate of or related to bug 237928.

Possible duplicates by query: bug 237928.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>966588</commentid>
    <comment_count>1</comment_count>
    <who name="Tomas Trnka">tomastrnka</who>
    <bug_when>2010-05-24 15:10:57 +0000</bug_when>
    <thetext>It looks like your dbus is not working properly (so that this isn&apos;t a kwrite problem). What does &quot;started from bash within screen&quot; mean exactly? Is it that you logged in to KDE, opened konsole/xterm/whatever, created a screen session therein and tried to run kwrite? This should work, try running
echo $DBUS_SESSION_BUS_ADDRESS
or
qdbus
within that bash to check your dbus (you can look for dbus-daemon processes running, too).

OTOH if your situation is something like &quot;started a screen from within KDE, then detached the screen session and logged out from KDE and now reattached to the screen session&quot;, then that can&apos;t work because the bash within that screen has stale DBUS_SESSION_BUS_ADDRESS pointing to a dbus-daemon that is not there anymore (went down with the first KDE session). You&apos;ll have to update it (just copy the information from a brand-new bash shell).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>976496</commentid>
    <comment_count>2</comment_count>
    <who name="Christoph Cullmann">christoph</who>
    <bug_when>2010-06-10 17:33:24 +0000</bug_when>
    <thetext>For sure no kwrite problem.
Thanks for the explanation, hope it helped the user.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>