<?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>341270</bug_id>
          
          <creation_ts>2014-11-26 00:14:43 +0000</creation_ts>
          <short_desc>KDevelop has an internal crash when a pipe is used (no TTY)</short_desc>
          <delta_ts>2014-11-26 12:53:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kdevelop</product>
          <component>general</component>
          <version>4.6.0</version>
          <rep_platform>Gentoo Packages</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></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Andrew Udvare">audvare</reporter>
          <assigned_to>kdevelop-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>1482735</commentid>
    <comment_count>0</comment_count>
    <who name="Andrew Udvare">audvare</who>
    <bug_when>2014-11-26 00:14:43 +0000</bug_when>
    <thetext>- What I was doing when the application crashed:
Ran KDevelop with `kdevelop 2&gt;&amp;1 | fgrep waka` and it seems the pipe is problem. I was debugging a plugin so I wanted to grep.

When I run `kdevelop 2&gt;&amp;1` or without `2&gt;&amp;1` I get no crash.

This does not affect usability of KDevelop. The last session window still loads fine.

The crash can be reproduced every time.

Reproducible: Always

Steps to Reproduce:
1. Run KDevelop with a pipe: `kdevelop | grep QFile`

Actual Results:  
At least one item internally crashes and brings up Dr Konqi.

Expected Results:  
No crashes.

Qt Version: 4.8.5
Operating System: Linux 3.16.5-gentoo x86_64
Distribution: &quot;Gentoo Base System release 2.2&quot;

-- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted
Using host libthread_db library &quot;/lib64/libthread_db.so.1&quot;.
[KCrash Handler]
#6  0x00007fd479f909f5 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007fd479f91e67 in __GI_abort () at abort.c:89
#8  0x00007fd47b34bb04 in qt_message_output (msgType=&lt;optimized out&gt;, buf=&lt;optimized out&gt;) at global/qglobal.cpp:2323
#9  0x00007fd47bba1829 in QDebug::~QDebug (this=0x7fff16131c90, __in_chrg=&lt;optimized out&gt;) at /usr/include/qt4/QtCore/qdebug.h:85
#10 0x00007fd47bc74f89 in KApplicationPrivate::init (this=0x2738a80, GUIenabled=GUIenabled@entry=true) at /var/tmp/portage/kde-base/kdelibs-4.14.3/work/kdelibs-4.14.3/kdeui/kernel/kapplication.cpp:516
#11 0x00007fd47bc7592b in KApplication::KApplication (this=0x7fff16132280, GUIenabled=true) at /var/tmp/portage/kde-base/kdelibs-4.14.3/work/kdelibs-4.14.3/kdeui/kernel/kapplication.cpp:352
#12 0x000000000040da64 in KDevelopApplication (GUIenabled=true, this=0x7fff16132280) at /var/tmp/portage/dev-util/kdevelop-4.6.0/work/kdevelop-4.6.0/app/main.cpp:76
#13 main (argc=3, argv=0x7fff16132608) at /var/tmp/portage/dev-util/kdevelop-4.6.0/work/kdevelop-4.6.0/app/main.cpp:298

Possible duplicates by query: bug 333347, bug 331860.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1482815</commentid>
    <comment_count>1</comment_count>
    <who name="Milian Wolff">mail</who>
    <bug_when>2014-11-26 12:53:17 +0000</bug_when>
    <thetext>This is apparently DBUS related. It certainly works for me. Please take a look at bug 270442.

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

    </bug>

</bugzilla>