Bug 347008 - Konsole does not start, process list shows several konsole instances as "defunct".
Summary: Konsole does not start, process list shows several konsole instances as "defu...
Status: UNCONFIRMED
Alias: None
Product: konsole
Classification: Unclassified
Component: general (show other bugs)
Version: 3.0.1
Platform: Archlinux Packages Linux
: NOR minor with 40 votes (vote)
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-01 13:15 UTC by E. Mark Anderson
Modified: 2016-04-09 13:58 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description E. Mark Anderson 2015-05-01 13:15:32 UTC
I have not managed to find a pattern yet, but occasionally, when I try to start konsole, nothing appears to happen; launch feedback occurs, but no window opens, and no error messages are displayed. This occurs if I tried to start Konsole via a launcher or the Run Command dialog (Alt+F2).  However, if I start Konsole from a shell in xterm, it works fine.

When this occurs, "$ ps -e | grep -i konsole" shows several instances of Konsole, most of which (IE: at least half) are defunct. After "$ killall konsole", I can start Konsole from the launchers again. 

"# journalctl -f /usr/bin/konsole" only shows the following: 
May 01 07:00:17 ares konsole[22752]: QCoreApplication::arguments: Please instantiate the QApplication object first
May 01 07:00:17 ares konsole[22753]: QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
May 01 07:00:17 ares konsole[22752]: QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
This seems unrelated as it occurs every time I start konsole, successfully or not. This message also shows in the shell if I start konsole via xterm.

Reproducible: Sometimes

Steps to Reproduce:
1. Start Konsole via a launcher (Kickoff, desktop icon, panel launcher, etc) or Run Command dialog. Conditions causing/triggering bug are unknown as of this report.

Actual Results:  
Launch feedback occurs, no window is opened, no error messages displayed. Effectively, nothing seems to happen.

Expected Results:  
Konsole should start normally.

Version 3.0.1
Using KDE Frameworks 5.9.0

BASH v4.3.033

Plasma Desktop version is 5.2.2

In the off chance it matters, $ uname -a : Linux ares 3.18.11-1-MANJARO #1 SMP PREEMPT Sat Apr 4 21:48:56 UTC 2015 x86_64 GNU/Linux

Listing bug as "Minor" due to ease of "killall" work-around and obviousness of incorrect behavior.
Comment 1 lampus.lapin 2015-12-25 15:08:37 UTC
Software versions:
Linux Distr.: Arch Linux
Konsole version 15.12.0
KDE Frameworks 5.17.0
Qt 5.5.1

$ pacman -Qi konsole | grep Version
Version        : 15.12.0-1

$ pacman -Qi plasma-desktop | grep Version
Version        : 5.5.2-1

Steps to reproduce:
1. Start new konsole from K-menu or Run Command dialog.
2. Close all tabs
3. Try to start konsole again

Actual Results: Launch feedback occurs, no window is opened, no error messages displayed. Effectively, nothing seems to happen. Expected Results: Konsole should start normally.

Expected Results: Konsole should start normally.

$ ps aux | grep konsole
lampus    3647  1.7  1.3 468744 52548 ?        Sl   17:43   0:00 /usr/bin/konsole
lampus    3657  0.4  0.9 320428 39588 ?        S    17:43   0:00 /usr/bin/konsole
lampus    3658  0.0  0.0      0     0 ?        Z    17:43   0:00 [konsole] <defunct>
lampus    3665  0.0  0.0  11972  2300 pts/1    R+   17:43   0:00 grep konsole

Sometimes crash occured:
Application: Konsole (konsole), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[KCrash Handler]
#5  0x00007f7f925865f8 in raise () from /usr/lib/libc.so.6
#6  0x00007f7f92587a7a in abort () from /usr/lib/libc.so.6
#7  0x00007f7f925c505a in __libc_message () from /usr/lib/libc.so.6
#8  0x00007f7f925ca9a6 in malloc_printerr () from /usr/lib/libc.so.6
#9  0x00007f7f925cb18e in _int_free () from /usr/lib/libc.so.6
#10 0x00007f7f8f106c4c in QMetaCallEvent::~QMetaCallEvent() () from /usr/lib/libQt5Core.so.5
#11 0x00007f7f8f106c99 in QMetaCallEvent::~QMetaCallEvent() () from /usr/lib/libQt5Core.so.5
#12 0x00007f7f8f0dd707 in QCoreApplication::removePostedEvents(QObject*, int) () from /usr/lib/libQt5Core.so.5
#13 0x00007f7f8f108a22 in QObjectPrivate::~QObjectPrivate() () from /usr/lib/libQt5Core.so.5
#14 0x00007f7f8f108b49 in QObjectPrivate::~QObjectPrivate() () from /usr/lib/libQt5Core.so.5
#15 0x00007f7f8f111618 in QObject::~QObject() () from /usr/lib/libQt5Core.so.5
#16 0x00007f7f7f513409 in QXcbConnection::~QXcbConnection() () from /usr/lib/libQt5XcbQpa.so.5
#17 0x00007f7f7f514ea6 in QXcbIntegration::~QXcbIntegration() () from /usr/lib/libQt5XcbQpa.so.5
#18 0x00007f7f7f514fb9 in QXcbIntegration::~QXcbIntegration() () from /usr/lib/libQt5XcbQpa.so.5
#19 0x00007f7f8f411d43 in QGuiApplicationPrivate::~QGuiApplicationPrivate() () from /usr/lib/libQt5Gui.so.5
#20 0x00007f7f8f9c8a09 in QApplicationPrivate::~QApplicationPrivate() () from /usr/lib/libQt5Widgets.so.5
#21 0x00007f7f8f111618 in QObject::~QObject() () from /usr/lib/libQt5Core.so.5
#22 0x00007f7f8f9ca7f9 in QApplication::~QApplication() () from /usr/lib/libQt5Widgets.so.5
#23 0x00007f7f929212e8 in kdemain () from /usr/lib/libkdeinit5_konsole.so
#24 0x00007f7f92573610 in __libc_start_main () from /usr/lib/libc.so.6
#25 0x0000000000400779 in _start ()
Comment 2 xarkam 2016-02-05 12:46:40 UTC
I have this bug on Kubuntu 15.10 with KDE 5.5.3, QT 5.5.1,  KDE Frameworks 5.18.0
But, I can start konsole by using Xterm or Uterm with many konsole process zombie.
Comment 3 Jack 2016-03-29 23:31:14 UTC
I also see this, with kubuntu 15.10 running as a vbox guest.
konsole 15.0.8.0
kde frameworks 5.15.0
qt: 5.4.2

It happens if I try to launch from within the VBox instance, or even if I ssh -Y in from the host (Gentoo).  Doing a ps from that ssh session often seems to show some drkonqui instances, but I can't figure out how to get the full information from any of them.

In the KUbuntu - if I do Alt-Tab, I can see the konsole instances with a square frown face icon, but nothing actually shows up as a visible window.