<?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>331777</bug_id>
          
          <creation_ts>2014-03-05 18:10:56 +0000</creation_ts>
          <short_desc>kwrite crashed after opening file in home folder as root</short_desc>
          <delta_ts>2014-03-10 08:48:01 +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>3.12.1</version>
          <rep_platform>Debian stable</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>270442</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Jakob Janzen">jashka80</reporter>
          <assigned_to name="KWrite Developers">kwrite-bugs-null</assigned_to>
          
          
          <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>1433989</commentid>
    <comment_count>0</comment_count>
    <who name="Jakob Janzen">jashka80</who>
    <bug_when>2014-03-05 18:10:56 +0000</bug_when>
    <thetext>Application: kwrite (4.12.1)
KDE Platform Version: 4.12.1
Qt Version: 4.8.6
Operating System: Linux 3.13.5 x86_64
Distribution: SolydXK

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

opened konsole, typed &apos;su&apos;, confirmed password.
typed &apos;cd ~/.kde/share/config&apos;.
typed &apos;kwrite kwinrc&apos; to examine file -&gt; kwrite crashed

The crash can be reproduced every time.

-- Backtrace:
Application: KWrite (kwrite), signal: Aborted
Using host libthread_db library &quot;/lib/x86_64-linux-gnu/libthread_db.so.1&quot;.
[KCrash Handler]
#5  0x00007fa85fbed1d5 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#6  0x00007fa85fbf0388 in __GI_abort () at abort.c:90
#7  0x00007fa85d3c8c52 in qt_message_output(QtMsgType, char const*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007fa85eb318e9 in ?? () from /usr/lib/libkdeui.so.5
#9  0x00007fa85ec09958 in ?? () from /usr/lib/libkdeui.so.5
#10 0x00007fa85ec0a332 in KApplication::KApplication(bool) () from /usr/lib/libkdeui.so.5
#11 0x00007fa85ff78ba8 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwrite.so
#12 0x00007fa85ff774ee in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwrite.so
#13 0x00007fa85fbd9995 in __libc_start_main (main=0x4006d0, argc=2, ubp_av=0x7fff63c8bff8, init=&lt;optimized out&gt;, fini=&lt;optimized out&gt;, rtld_fini=&lt;optimized out&gt;, stack_end=0x7fff63c8bfe8) at libc-start.c:276
#14 0x00000000004006fe in _start ()

Possible duplicates by query: bug 331379, bug 330345, bug 326141, bug 322845, bug 318467.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1434710</commentid>
    <comment_count>1</comment_count>
    <who name="Jekyll Wu">adaptee</who>
    <bug_when>2014-03-10 08:48:01 +0000</bug_when>
    <thetext>&gt; opened konsole, typed &apos;su&apos;, confirmed password.

Don&apos;t do it that way.  Instead, run &apos;kdesu kwrite &lt;file&gt; &quot; as normal user.

*** This bug has been marked as a duplicate of bug 270442 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>