Bug 359428 - Konsole crash after reboot and during session restore
Summary: Konsole crash after reboot and during session restore
Status: RESOLVED DUPLICATE of bug 355421
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 15.08.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-02-15 10:43 UTC by Vadim Pilipenko
Modified: 2016-06-28 18:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (2.84 KB, text/plain)
2016-06-14 04:44 UTC, gus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vadim Pilipenko 2016-02-15 10:43:20 UTC
Application: konsole (15.08.0)

Qt Version: 5.4.2
Operating System: Linux 4.4.0-2-lowlatency x86_64
Distribution: Ubuntu 15.10

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

Just rebooted system, and konsole was crashed during session restore.

The crash can be reproduced every time.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f37cc5cf840 (LWP 2099))]

Thread 2 (Thread 0x7f37c9eae700 (LWP 2100)):
#0  0x00007f37ddb7f8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f37d66febd2 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f37d670074f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f37cbdd5a39 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#4  0x00007f37da58e2be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f37d60d26aa in start_thread (arg=0x7f37c9eae700) at pthread_create.c:333
#6  0x00007f37ddb8aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f37cc5cf840 (LWP 2099)):
[KCrash Handler]
#6  0x00007f37dd7ecda0 in Konsole::Session::sessionId() const () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.15
#7  0x00007f37dd820f28 in Konsole::ViewManager::createTerminalDisplay(Konsole::Session*) () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.15
#8  0x00007f37dd826e90 in Konsole::ViewManager::createView(Konsole::Session*, Konsole::ViewContainer*, int) () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.15
#9  0x00007f37dd8274ef in Konsole::ViewManager::createView(Konsole::Session*) () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.15
#10 0x00007f37dd82910d in Konsole::ViewManager::restoreSessions(KConfigGroup const&) () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.15
#11 0x00007f37dce552e0 in KMainWindow::readPropertiesInternal(KConfig*, int) () from /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#12 0x00007f37dce55342 in KMainWindow::restore(int, bool) () from /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#13 0x00007f37dde6ec6c in ?? () from /usr/lib/x86_64-linux-gnu/libkdeinit5_konsole.so
#14 0x00007f37dde6fbd6 in kdemain () from /usr/lib/x86_64-linux-gnu/libkdeinit5_konsole.so
#15 0x00007f37ddaa4a40 in __libc_start_main (main=0x400730 <main>, argc=3, argv=0x7ffeed039a18, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffeed039a08) at libc-start.c:289
#16 0x0000000000400769 in _start ()

Possible duplicates by query: bug 356270, bug 355421.

Reported using DrKonqi
Comment 1 gus 2016-06-14 04:44:22 UTC
Created attachment 99486 [details]
New crash information added by DrKonqi

konsole (16.04.1) using Qt 5.5.1

Following the hint in #355421, I also found I had an invalid trailing ,0 in a session file:

% grep Sessions ~/.config/session/konsole_10ccd3e4d500014* | grep -w 0
/home/gus/.config/session/konsole_10ccd3e4d5000146371881400000129690027_1465797279_351777:Sessions=6,1,2,4,5,3,0

-- Backtrace (Reduced):
#6  0x00007f48f8fd7820 in Konsole::Session::sessionId() const () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.16
#7  0x00007f48f900c3f8 in Konsole::ViewManager::createTerminalDisplay(Konsole::Session*) () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.16
#8  0x00007f48f9012360 in Konsole::ViewManager::createView(Konsole::Session*, Konsole::ViewContainer*, int) () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.16
#9  0x00007f48f901271f in Konsole::ViewManager::createView(Konsole::Session*) () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.16
#10 0x00007f48f9014a5d in Konsole::ViewManager::restoreSessions(KConfigGroup const&) () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.16
Comment 2 kde 2016-06-26 08:57:39 UTC
Application: konsole (15.12.3)

Qt Version: 5.5.1
Operating System: Linux 4.4.6-gentoo x86_64
Distribution: "NAME=Gentoo"

-- Information about the crash:
After Login, Konsole crashes, afterwards a new one (without previous tabs) can be started.

The crash can be reproduced every time, when logging on.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7faff9f81800 (LWP 12687))]

Thread 2 (Thread 0x7faff78f6700 (LWP 12688)):
#0  0x00007fb00a18ee3d in poll () from /lib64/libc.so.6
#1  0x00007fb002fa1352 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007fb002fa2fbf in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007faff9a53cb9 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007fb006bcaee2 in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007fb002b7d4bd in start_thread () from /lib64/libpthread.so.0
#6  0x00007fb00a19817d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7faff9f81800 (LWP 12687)):
[KCrash Handler]
#6  0x00007fb009e12390 in Konsole::Session::sessionId() const () from /usr/lib64/libkonsoleprivate.so.15
#7  0x00007fb009e47878 in Konsole::ViewManager::createTerminalDisplay(Konsole::Session*) () from /usr/lib64/libkonsoleprivate.so.15
#8  0x00007fb009e4de61 in Konsole::ViewManager::createView(Konsole::Session*, Konsole::ViewContainer*, int) () from /usr/lib64/libkonsoleprivate.so.15
#9  0x00007fb009e4f178 in Konsole::ViewManager::createView(Konsole::Session*) () from /usr/lib64/libkonsoleprivate.so.15
#10 0x00007fb009e4f40c in Konsole::ViewManager::restoreSessions(KConfigGroup const&) () from /usr/lib64/libkonsoleprivate.so.15
#11 0x00007fb00945dd10 in KMainWindow::readPropertiesInternal(KConfig*, int) () from /usr/lib64/libKF5XmlGui.so.5
#12 0x00007fb00945dd72 in KMainWindow::restore(int, bool) () from /usr/lib64/libKF5XmlGui.so.5
#13 0x00007fb00a477d8c in ?? () from /usr/lib64/libkdeinit5_konsole.so
#14 0x00007fb00a478d7d in kdemain () from /usr/lib64/libkdeinit5_konsole.so
#15 0x00007fb00a0cc700 in __libc_start_main () from /lib64/libc.so.6
#16 0x0000000000400789 in _start ()

Possible duplicates by query: bug 364653, bug 364624, bug 361841, bug 359428, bug 356270.

Report to https://bugs.kde.org/
Comment 3 Christoph Feck 2016-06-28 18:52:46 UTC

*** This bug has been marked as a duplicate of bug 355421 ***