Bug 472428 - Konsole crashes when external monitor is connected via USB Type C cable
Summary: Konsole crashes when external monitor is connected via USB Type C cable
Status: RESOLVED DUPLICATE of bug 471439
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 23.04.2
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-07-20 10:55 UTC by Yurii
Modified: 2023-10-26 17:21 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (3.62 KB, text/plain)
2023-09-12 13:31 UTC, Yurii
Details
New crash information added by DrKonqi (3.55 KB, text/plain)
2023-10-18 17:24 UTC, Yurii
Details
attachment-467077-0.html (1.34 KB, text/html)
2023-10-26 17:16 UTC, tcanabrava
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yurii 2023-07-20 10:55:53 UTC
Application: konsole (23.04.2)

Qt Version: 5.15.10
Frameworks Version: 5.107.0
Operating System: Linux 6.2.0-10014-tuxedo x86_64
Windowing System: X11
Distribution: TUXEDO OS 2
DrKonqi: 5.27.6 [KCrashBackend]

-- Information about the crash:
It doesn't happen when the Nvidia Prime Performance profile mode is enabled

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f5acc797f24 in QWidget::hide() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#5  0x00007f5acc904c0d in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#6  0x00007f5acc909830 in QMenuBar::changeEvent(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007f5acc7af916 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007f5acc76c763 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007f5acbabcdda in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f5acc7a09d5 in QWidgetPrivate::updateFont(QFont const&) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f5acc7afdd0 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f5acc76c763 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f5acbabcdda in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f5acc7c8dc6 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f5acc7c8df6 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f5acc7c8ec6 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f5acbaf4888 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f5acbf46853 in QWindow::screenChanged(QScreen*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#19 0x00007f5acbf470c1 in QWindowPrivate::emitScreenChangedRecursion(QScreen*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#20 0x00007f5acc7a1ba5 in QWidgetPrivate::create() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007f5acc7a1ece in QWidget::create(unsigned long long, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f5acc90717e in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007f5acc907639 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f5acc8c8ab2 in QMainWindow::menuBar() const () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007f5acd0558ee in Konsole::MainWindow::setupActions() () from /lib/x86_64-linux-gnu/libkonsoleapp.so.1
#26 0x00007f5acd059672 in Konsole::MainWindow::MainWindow() () from /lib/x86_64-linux-gnu/libkonsoleapp.so.1
#27 0x00007f5acd059fe0 in Konsole::Application::newMainWindow() () from /lib/x86_64-linux-gnu/libkonsoleapp.so.1
#28 0x00007f5acd05a550 in Konsole::Application::processWindowArgs(bool&) () from /lib/x86_64-linux-gnu/libkonsoleapp.so.1
#29 0x00007f5acd05a852 in Konsole::Application::newInstance() () from /lib/x86_64-linux-gnu/libkonsoleapp.so.1
#30 0x00005592ae6908af in ?? ()
#31 0x00007f5acb029d90 in __libc_start_call_main (main=main@entry=0x5592ae68ece0, argc=argc@entry=1, argv=argv@entry=0x7ffe27192568) at ../sysdeps/nptl/libc_start_call_main.h:58
#32 0x00007f5acb029e40 in __libc_start_main_impl (main=0x5592ae68ece0, argc=1, argv=0x7ffe27192568, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe27192558) at ../csu/libc-start.c:392
#33 0x00005592ae691055 in ?? ()
[Inferior 1 (process 5553) detached]

The reporter indicates this bug may be a duplicate of or related to bug 471439, bug 469289.

Reported using DrKonqi
Comment 1 Yurii 2023-09-12 13:31:35 UTC
Created attachment 161575 [details]
New crash information added by DrKonqi

konsole (23.08.0) using Qt 5.15.10

Plasma version 5.27.7 version. The bug still here. And my brand new and expensive dock station is still a useless brick.

-- Backtrace (Reduced):
#4  0x00007fbd29797f24 in QWidget::hide() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
[...]
#6  0x00007fbd299099c0 in QMenuBar::changeEvent(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007fbd297af916 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007fbd2976c763 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007fbd28abce7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
Comment 2 Yurii 2023-10-18 17:24:31 UTC
Created attachment 162408 [details]
New crash information added by DrKonqi

konsole (23.08.2) using Qt 5.15.11

The bug is still here in case somebody was wondering

-- Backtrace (Reduced):
#4  0x00007fe32ed97f24 in QWidget::hide() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
[...]
#6  0x00007fe32ef099f0 in QMenuBar::changeEvent(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007fe32edaf926 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007fe32ed6c763 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007fe32e0bc88a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
Comment 3 fanzhuyifan 2023-10-26 14:21:33 UTC
Thank you for your report! What kind of GPU(s) do you have? I noticed that you mentioned nvidia prime. Do you have a multi-gpu setup?
Comment 4 Yurii 2023-10-26 14:43:33 UTC
Hi fanzhuyifan,

I'm using laptop with two graphic cards: Nvidia and Intel. Details below:

  *-display                 
       description: 3D controller
       product: GA107M [GeForce RTX 3050 Ti Mobile]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: /dev/fb0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list rom fb
       configuration: depth=32 driver=nvidia latency=0 mode=2880x1800 visual=truecolor xres=2880 yres=1800
       resources: iomemory:600-5ff iomemory:610-60f irq:181 memory:5f000000-5fffffff memory:6000000000-60ffffffff memory:6100000000-6101ffffff ioport:3000(size=128) memory:60000000-6007ffff
  *-display
       description: VGA compatible controller
       product: Alder Lake-P Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       logical name: /dev/fb0
       version: 0c
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=i915 latency=0 resolution=2880,1800
       resources: iomemory:610-60f iomemory:400-3ff irq:162 memory:612c000000-612cffffff memory:4000000000-400fffffff ioport:4000(size=64) memory:c0000-dffff memory:4010000000-4016ffffff memory:4020000000-40ffffffff

Is that helpful? Please let me know if you need more information.

P.S. I think this bug might be related to this one because programs crash there only when Nvidia is disabled: https://bugs.kde.org/show_bug.cgi?id=446987
Comment 5 fanzhuyifan 2023-10-26 17:13:53 UTC
Likely duplicate of 471439. Backtrace looks the same. Also Nvidia + Intel dual GPU setup

*** This bug has been marked as a duplicate of bug 471439 ***
Comment 6 tcanabrava 2023-10-26 17:16:04 UTC
Created attachment 162576 [details]
attachment-467077-0.html

the backtrace is completely out of konsole (something inside of Qt)

On Thu, Oct 26, 2023 at 7:14 PM <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=472428
>
> fanzhuyifan@gmail.com changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>          Resolution|WAITINGFORINFO              |DUPLICATE
>              Status|NEEDSINFO                   |RESOLVED
>
> --- Comment #5 from fanzhuyifan@gmail.com ---
> Likely duplicate of 471439. Backtrace looks the same. Also Nvidia + Intel
> dual
> GPU setup
>
> *** This bug has been marked as a duplicate of bug 471439 ***
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
Comment 7 fanzhuyifan 2023-10-26 17:21:37 UTC
(In reply to tcanabrava from comment #6)
> Created attachment 162576 [details]
> attachment-467077-0.html
> 
> the backtrace is completely out of konsole (something inside of Qt)
> 

So do you think this is a Qt issue then?

Also do you think this should not be marked as a duplicate? I am happy to reopen this if you think this is not a duplicate of 471439.