Bug 437559 - konsole does not start after upgrade from Fedora 33 to 34
Summary: konsole does not start after upgrade from Fedora 33 to 34
Status: RESOLVED DUPLICATE of bug 434892
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 20.12.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
: 437542 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-05-23 16:55 UTC by Yiorgos Stamoulis
Modified: 2021-05-24 10:12 UTC (History)
2 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 Yiorgos Stamoulis 2021-05-23 16:55:48 UTC
Application: konsole (20.12.2)

Qt Version: 5.15.2
Frameworks Version: 5.81.0
Operating System: Linux 5.11.21-300.fc34.x86_64 x86_64
Windowing System: Wayland
Drkonqi Version: 5.21.5
Distribution: "Fedora release 34 (Thirty Four)"

-- Information about the crash:
konsole refuses to start.

from cli:

$ konsole
/usr/include/c++/11/bits/random.tcc:3055: void std::piecewise_linear_distribution<_RealType>::param_type::_M_initialize() [with _RealType = double]: Assertion '__sum > 0' failed.
KCrash: Application 'konsole' crashing...
KCrash: Attempting to start /usr/libexec/drkonqi

[1]+  Stopped                 konsole

The crash can be reproduced every time.

-- Backtrace:
Application: Konsole (konsole), signal: Aborted

[KCrash Handler]
#4  0x00007f2ecd0e12a2 in raise () from /lib64/libc.so.6
#5  0x00007f2ecd0ca8a4 in abort () from /lib64/libc.so.6
#6  0x00007f2eccfa2c78 in std::__replacement_assert(char const*, int, char const*, char const*) () from /lib64/libkonsoleprivate.so.20
#7  0x00007f2ecd04548f in std::piecewise_linear_distribution<double>::param_type::_M_initialize() () from /lib64/libkonsoleprivate.so.20
#8  0x00007f2ecd04c5af in Konsole::ColorScheme::colorEntry(int, unsigned int) const () from /lib64/libkonsoleprivate.so.20
#9  0x00007f2eccffea29 in Konsole::TerminalDisplay::applyProfile(QExplicitlySharedDataPointer<Konsole::Profile> const&) () from /lib64/libkonsoleprivate.so.20
#10 0x00007f2eccfb633b in Konsole::ViewManager::applyProfileToView(Konsole::TerminalDisplay*, QExplicitlySharedDataPointer<Konsole::Profile> const&) () from /lib64/libkonsoleprivate.so.20
#11 0x00007f2eccfbe84b in Konsole::ViewManager::createView(Konsole::Session*) () from /lib64/libkonsoleprivate.so.20
#12 0x00007f2ecd87d82e in Konsole::MainWindow::createSession(QExplicitlySharedDataPointer<Konsole::Profile>, QString const&) () from /lib64/libkdeinit5_konsole.so
#13 0x00007f2ecd883a64 in Konsole::Application::newInstance() () from /lib64/libkdeinit5_konsole.so
#14 0x00007f2ecd88e918 in kdemain () from /lib64/libkdeinit5_konsole.so
#15 0x00007f2ecd0cbb75 in __libc_start_main () from /lib64/libc.so.6
#16 0x00005603a33c836e in _start ()
[Inferior 1 (process 28082) detached]

Reported using DrKonqi
Comment 1 Yiorgos Stamoulis 2021-05-23 17:01:45 UTC
*** Bug 437542 has been marked as a duplicate of this bug. ***
Comment 2 Ahmad Samir 2021-05-23 17:09:04 UTC
Could you please install the debug packages (called -debuginfo in Fedora?) and provide a full backtrace?

Thanks.
Comment 3 ninjalj 2021-05-23 18:33:56 UTC

*** This bug has been marked as a duplicate of bug 434892 ***
Comment 4 Yiorgos Stamoulis 2021-05-23 18:39:18 UTC
Hi Ahmad,

thank you for picking this up so quickly.

I have now installed:

konsole5-debuginfo
konsole5-debugsource
konsole5-part-debuginfo

new backtrace is:

[KCrash Handler]
#4  0x00007efff3d422a2 in raise () from /lib64/libc.so.6
#5  0x00007efff3d2b8a4 in abort () from /lib64/libc.so.6
#6  0x00007efff3c03c78 in std::__replacement_assert (__file=<optimized out>, __line=<optimized out>, __function=<optimized out>, __condition=<optimized out>) at /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2648
#7  0x00007efff3ca648f in std::piecewise_linear_distribution<double>::param_type::_M_initialize (this=0x7fffb8cac180) at /usr/include/c++/11/bits/random.tcc:3055
#8  0x00007efff3cad5af in std::piecewise_linear_distribution<double>::piecewise_linear_distribution<Konsole::ColorScheme::colorEntry(int, uint) const::<lambda(double)> > (__fw=..., __bl=..., this=0x7fffb8cac180) at /usr/include/c++/11/bits/random.h:5867
#9  Konsole::ColorScheme::colorEntry (this=0x7fffb8cac180, index=<optimized out>, randomSeed=3100295360) at /usr/src/debug/konsole5-20.12.2-1.fc34.x86_64/src/colorscheme/ColorScheme.cpp:322
#10 0x00007efff3c5fa29 in Konsole::ColorScheme::getColorTable (randomSeed=49357825, table=0x7fffb8cad640, this=0x5613797f7110) at /usr/src/debug/konsole5-20.12.2-1.fc34.x86_64/src/colorscheme/ColorScheme.cpp:339
#11 Konsole::TerminalDisplay::applyProfile (this=0x5613797231b0, profile=...) at /usr/src/debug/konsole5-20.12.2-1.fc34.x86_64/src/terminalDisplay/TerminalDisplay.cpp:3118
#12 0x00007efff3c1733b in Konsole::ViewManager::applyProfileToView (this=0x561379576130, view=0x5613797231b0, profile=...) at /usr/src/debug/konsole5-20.12.2-1.fc34.x86_64/src/ViewManager.cpp:832
#13 0x00007efff3c1f84b in Konsole::ViewManager::createView (this=0x561379576130, session=session@entry=0x561379719590) at /usr/src/debug/konsole5-20.12.2-1.fc34.x86_64/src/ViewManager.cpp:675
#14 0x00007efff44de82e in Konsole::MainWindow::createSession (this=this@entry=0x5613795264e0, profile=..., directory=...) at /usr/src/debug/konsole5-20.12.2-1.fc34.x86_64/src/MainWindow.cpp:512
#15 0x00007efff44e4a64 in Konsole::Application::newInstance (this=0x7fffb8cadc20) at /usr/src/debug/konsole5-20.12.2-1.fc34.x86_64/src/Application.cpp:235
#16 0x00007efff44ef918 in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/konsole5-20.12.2-1.fc34.x86_64/src/main.cpp:235
#17 0x00007efff3d2cb75 in __libc_start_main () from /lib64/libc.so.6
#18 0x000056137816436e in _start ()
[Inferior 1 (process 48201) detached]
Comment 5 Ahmad Samir 2021-05-24 10:12:44 UTC
A backtrace and you found a duplicate, good work :)