Bug 436206 - Konsole crashes when creating a new profile when changing "Command" field and setting it by default without leaving the window
Summary: Konsole crashes when creating a new profile when changing "Command" field and...
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 21.04.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-04-26 10:44 UTC by Daniel
Modified: 2021-07-18 04:33 UTC (History)
1 user (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 Daniel 2021-04-26 10:44:31 UTC
Application: konsole (21.04.0)

Qt Version: 5.15.2
Frameworks Version: 5.81.0
Operating System: Linux 5.11.16-arch1-1 x86_64
Windowing System: X11
Drkonqi Version: 5.21.4
Distribution: Arch Linux

-- Information about the crash:
- What I was doing when the application crashed:
I have created a new profile, changed "Command" field and set it by default without leaving profile settings window

- Unusual behavior I noticed:
When opening profile manager window, the "Profile 1" dublicates in "Settings" -> "Change profile" menu, but in "Manage profiles" this profiles are not added.

- Custom settings of the application:
In profile what I change I've changed "Command" to "/bin/fish" (default value was "/bin/bash")

The crash can be reproduced every time.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f0c2d9d82ef in QVariant Konsole::Profile::property<QVariant>(Konsole::Profile::Property) const () from /usr/lib/libkdeinit5_konsole.so
#5  0x00007f0c2d9d5bff in ?? () from /usr/lib/libkdeinit5_konsole.so
#6  0x00007f0c2d6b09e6 in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007f0c2d1756e6 in Konsole::ProfileList::actionsChanged(QList<QAction*> const&) () from /usr/lib/libkonsoleprivate.so.21
#8  0x00007f0c2d1795b2 in Konsole::ProfileList::updateAction(QAction*, QExplicitlySharedDataPointer<Konsole::Profile>) () from /usr/lib/libkonsoleprivate.so.21
#9  0x00007f0c2d1796ac in Konsole::ProfileList::profileChanged(QExplicitlySharedDataPointer<Konsole::Profile> const&) () from /usr/lib/libkonsoleprivate.so.21
#10 0x00007f0c2d6b09e6 in ?? () from /usr/lib/libQt5Core.so.5
#11 0x00007f0c2d175686 in Konsole::ProfileManager::profileChanged(QExplicitlySharedDataPointer<Konsole::Profile> const&) () from /usr/lib/libkonsoleprivate.so.21
#12 0x00007f0c2d17c6cb in Konsole::ProfileManager::setDefaultProfile(QExplicitlySharedDataPointer<Konsole::Profile> const&) () from /usr/lib/libkonsoleprivate.so.21
#13 0x00007f0c2d9dffbe in ?? () from /usr/lib/libkdeinit5_konsole.so
#14 0x00007f0c2d6b09e6 in ?? () from /usr/lib/libQt5Core.so.5
#15 0x00007f0c2c6f0e43 in QAbstractButton::clicked(bool) () from /usr/lib/libQt5Widgets.so.5
#16 0x00007f0c2c6f17cc in ?? () from /usr/lib/libQt5Widgets.so.5
#17 0x00007f0c2c6f3173 in ?? () from /usr/lib/libQt5Widgets.so.5
#18 0x00007f0c2c6f3353 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5
#19 0x00007f0c2c640bde in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#20 0x00007f0c2c5ff762 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#21 0x00007f0c2c60688b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#22 0x00007f0c2d67968a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#23 0x00007f0c2c60588e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/lib/libQt5Widgets.so.5
#24 0x00007f0c2c659319 in ?? () from /usr/lib/libQt5Widgets.so.5
#25 0x00007f0c2c65c70f in ?? () from /usr/lib/libQt5Widgets.so.5
#26 0x00007f0c2c5ff762 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#27 0x00007f0c2d67968a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#28 0x00007f0c2bf0e594 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5
#29 0x00007f0c2bee3bb5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#30 0x00007f0c2746219c in ?? () from /usr/lib/libQt5XcbQpa.so.5
#31 0x00007f0c2b22202c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0x00007f0c2b275b59 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0x00007f0c2b21f781 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0x00007f0c2d6d2191 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#35 0x00007f0c2d677fec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#36 0x00007f0c2d6804a4 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#37 0x00007f0c2d9dad50 in kdemain () from /usr/lib/libkdeinit5_konsole.so
#38 0x00007f0c2d21db25 in __libc_start_main () from /usr/lib/libc.so.6
#39 0x0000562cae44605e in ?? ()
[Inferior 1 (process 7343) detached]

Possible duplicates by query: bug 428459, bug 426090, bug 423675, bug 423557, bug 422433.

Reported using DrKonqi
Comment 1 Kurt Hindenburg 2021-04-26 13:41:50 UTC
I'm not quite sure the steps you are taking to get it to crash.
Comment 2 Paul Worrall 2021-06-18 16:08:34 UTC
I'm also unable to reproduce this crash, please can you attach a screen recording showing how you trigger it?
Comment 3 Daniel 2021-06-18 16:17:12 UTC
Now i tried to reproduce it myself but it works fine. Sorry
Comment 4 Bug Janitor Service 2021-07-03 04:33:46 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2021-07-18 04:33:40 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!