Bug 399035

Summary: Konsole crashes at startup
Product: [Applications] konsole Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED WORKSFORME    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Patrick Silva 2018-09-24 19:33:14 UTC
Application: konsole (18.11.70)

Qt Version: 5.11.1
Frameworks Version: 5.51.0
Operating System: Linux 4.15.0-34-generic x86_64
Distribution: KDE neon Developer Edition

-- Information about the crash:
- What I was doing when the application crashed:
Plasma shows crash notification immediately after I click Konsole icon in the apps launcher.

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 0x7fe5c5dd7800 (LWP 7141))]

Thread 3 (Thread 0x7fe5a7fff700 (LWP 7144)):
#0  0x00007fe5c56dbcf6 in __GI_ppoll (fds=fds@entry=0x7fe5a0011518, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007fe5c1c157a1 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7fe5a0011518) at kernel/qcore_unix.cpp:112
#3  qt_safe_poll (fds=0x7fe5a0011518, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:133
#4  0x00007fe5c1c16eae in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:500
#5  0x00007fe5c1bbddea in QEventLoop::exec (this=this@entry=0x7fe5a7ffed70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007fe5c19e8b8a in QThread::exec (this=this@entry=0x7fe5bfd6ed60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:525
#7  0x00007fe5bfaf6e45 in QDBusConnectionManager::run (this=0x7fe5bfd6ed60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007fe5c19f3aab in QThreadPrivate::start (arg=0x7fe5bfd6ed60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:367
#9  0x00007fe5bcf276db in start_thread (arg=0x7fe5a7fff700) at pthread_create.c:463
#10 0x00007fe5c56e888f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fe5b07a0700 (LWP 7143)):
#0  0x00007fe5c56dbbf9 in __GI___poll (fds=0x7fe5b079fca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe5bd34d747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fe5bd34f36a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fe5b3761129 in QXcbEventReader::run (this=0x5652802d22d0) at qxcbconnection.cpp:1388
#4  0x00007fe5c19f3aab in QThreadPrivate::start (arg=0x5652802d22d0) at thread/qthread_unix.cpp:367
#5  0x00007fe5bcf276db in start_thread (arg=0x7fe5b07a0700) at pthread_create.c:463
#6  0x00007fe5c56e888f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fe5c5dd7800 (LWP 7141)):
[KCrash Handler]
#6  0x00007fe5c52d1840 in Konsole::ColorScheme::colorTable() const () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.18
#7  0x00007fe5c52d1f17 in Konsole::ColorScheme::colorEntry(int, unsigned int) const () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.18
#8  0x00007fe5c52d2187 in Konsole::ColorScheme::getColorTable(QColor*, unsigned int) const () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.18
#9  0x00007fe5c535be02 in Konsole::ViewManager::applyProfileToView(Konsole::TerminalDisplay*, QExplicitlySharedDataPointer<Konsole::Profile>) () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.18
#10 0x00007fe5c535e44a in Konsole::ViewManager::createView(Konsole::Session*, Konsole::TabbedViewContainer*, int) () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.18
#11 0x00007fe5c535ff1e in Konsole::ViewManager::createView(Konsole::Session*) () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.18
#12 0x00007fe5c59d4626 in Konsole::MainWindow::createSession (this=this@entry=0x565280324040, profile=..., directory=...) at ./src/MainWindow.cpp:513
#13 0x00007fe5c59d14fe in Konsole::Application::newInstance (this=0x7ffe34fc1c00) at ./src/Application.cpp:230
#14 0x00007fe5c59e05bd in kdemain (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:198
#15 0x00007fe5c55e8b97 in __libc_start_main (main=0x56527fe8a720 <main>, argc=1, argv=0x7ffe34fc1d58, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe34fc1d48) at ../csu/libc-start.c:310
#16 0x000056527fe8a75a in _start ()

Reported using DrKonqi
Comment 1 Patrick Silva 2018-09-28 13:04:59 UTC
it's not crashing anymore.