Bug 420146

Summary: konsole crashed at start after change in .config/session/konsole_*
Product: [Applications] konsole Reporter: SkZ <skz5k2>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description SkZ 2020-04-16 05:23:06 UTC
Application: kdeinit5 (15.12.3)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-177-generic x86_64
Distribution: Ubuntu 16.04.6 LTS

-- Information about the crash:
- What I was doing when the application crashed:
kde starting and loading from saved session
- Custom settings of the application:
in .config/session/konsole_* I changed from
[1]
Active=11
Sessions=1,2,3,4,5,6,8,7,9,10,11

[Number]
NumberOfSessions=11
NumberOfWindows=1

to

[1]
Active=11
Sessions=1,2,3,4,5,6,8,7,9,10,11

[Number]
NumberOfSessions=4
NumberOfWindows=1

(my mistake: I wanted to change Active value, but should not crash)

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

Thread 2 (Thread 0x7f9beb3f8700 (LWP 2250)):
#0  0x00007f9c001a974d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f9bff885c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f9bff8878d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f9bed755889 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f9c0051d7be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f9bfdeea6ba in start_thread (arg=0x7f9beb3f8700) at pthread_create.c:333
#6  0x00007f9c001b541d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f9c01a4e780 (LWP 2249)):
[KCrash Handler]
#6  0x00007f9bef55a850 in Konsole::Session::sessionId() const () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.15
#7  0x00007f9bef58f328 in Konsole::ViewManager::createTerminalDisplay(Konsole::Session*) () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.15
#8  0x00007f9bef595290 in Konsole::ViewManager::createView(Konsole::Session*, Konsole::ViewContainer*, int) () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.15
#9  0x00007f9bef59564f in Konsole::ViewManager::createView(Konsole::Session*) () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.15
#10 0x00007f9bef59798d in Konsole::ViewManager::restoreSessions(KConfigGroup const&) () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.15
#11 0x00007f9bf54e11f0 in KMainWindow::readPropertiesInternal (this=this@entry=0xa9fcd0, config=0xa8b4c0, number=number@entry=1) at ../../src/kmainwindow.cpp:610
#12 0x00007f9bf54e1252 in KMainWindow::restore (this=0xa9fcd0, number=1, show=<optimized out>) at ../../src/kmainwindow.cpp:435
#13 0x00007f9bef816c6c in ?? () from /usr/lib/x86_64-linux-gnu/libkdeinit5_konsole.so
#14 0x00007f9bef817d8d in kdemain () from /usr/lib/x86_64-linux-gnu/libkdeinit5_konsole.so
#15 0x00000000004085ec in ?? ()
#16 0x0000000000409de9 in ?? ()
#17 0x000000000040a467 in ?? ()
#18 0x0000000000405194 in main ()

Reported using DrKonqi
Comment 1 Nate Graham 2020-04-16 19:44:01 UTC
> Application: kdeinit5 (15.12.3)
> Distribution: Ubuntu 16.04.6 LTS

You're using software that is more than four years old. That old version of Konsole is no longer maintained or supported. I would recommend upgrading to a newer version of Ubuntu.