Bug 1873713

Summary: coredump in libQt5Core.so.5
Product: [Fedora] Fedora Reporter: tetsuji-rai
Component: qt5-qtbaseAssignee: Than Ngo <than>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 33CC: alekcejk, dan, denis, haidouzo, huzaifas, jgrulich, jreznik, kde-sig, lemenkov, lpechacek, mathias, mruprich, msehnout, nb, peter, rdieter, rvokal, sergey.avseyev, than
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: qt5-qtbase-5.15.2-2.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-04 19:51:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1900527    
Bug Blocks:    

Description tetsuji-rai 2020-08-29 13:27:52 UTC
Description of problem:
As soon as wireshark is launched on terminal as root, it crashes and dumps core.

Version-Release number of selected component (if applicable):
wireshark-cli-1:3.2.6-1.fc33.x86_64
wireshark-1:3.2.6-1.fc33.x86_64

How reproducible:
always

Steps to Reproduce:
1.Just launch wireshark as root on a terminal
2.
3.

Actual results:
Here is the real rersult.
---------------------------
[tetsuji@maverick ~]$ sudo wireshark
Segmentation fault
---------------------------

Addition:
I executed executables in wireshark-cli-1:3.2.6-1.fc33.x86_64 one by one manually, but none of them crashed.   They seem to work properly, though I don't know how to get them work and don't know whether they work properly.

Anyway, I don't know how to investigate dumped core (though I know where they are) so can't solve this problem.  Anyway cli doesn't seem to be responsible for it.

Comment 1 tetsuji-rai 2020-08-29 14:45:39 UTC
Just in case.

I'm using Xorg instead of Wayland.

Comment 2 Michal Ruprich 2020-08-31 11:41:19 UTC
Hi,

cannot reproduce with neither wayland nor xorg. Can you please run 'coredumpctl info' after the crash and post it here?

Thank and regards,
Michal

Comment 3 tetsuji-rai 2020-08-31 12:42:31 UTC
Hi,

As it's not long, I post here.  BTW my network environment is as follows:

Best regards,

-Tetsuji
---------------------------------------------------------
$ ifconfig
enp0s25: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.2  netmask 255.255.254.0  broadcast 192.168.1.255
        inet6 fe80::3b0e:5d55:2bee:8b53  prefixlen 64  scopeid 0x20<link>
        inet6 240f:104:8409:1:55a1:xxxx:xxxx:xxxx  prefixlen 64  scopeid 0x0<global>
        ether d0:50:99:29:d7:a9  txqueuelen 1000  (Ethernet)
        RX packets 11431  bytes 7961523 (7.5 MiB)
        RX errors 0  dropped 516  overruns 0  frame 0
        TX packets 8835  bytes 2366378 (2.2 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 20  memory 0xef800000-ef820000  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 64  bytes 7286 (7.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 64  bytes 7286 (7.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
---------------------------------------------------------


sudo coredumpctl info
---------------------------------------------------------
           PID: 9818 (wireshark)
           UID: 0 (root)
           GID: 0 (root)
        Signal: 11 (SEGV)
     Timestamp: Mon 2020-08-31 21:38:07 JST (23s ago)
  Command Line: wireshark
    Executable: /usr/bin/wireshark
 Control Group: /user.slice/user-1000.slice/user/apps.slice/apps-org.gnome.Terminal.slice/vte-spawn-c8b0770b-3e34-4557-8d01-ecb761210336.scope
          Unit: user
     User Unit: vte-spawn-c8b0770b-3e34-4557-8d01-ecb761210336.scope
         Slice: user-1000.slice
     Owner UID: 1000 (tetsuji)
       Boot ID: 09a49e7d9e054397ac1c235584aff457
    Machine ID: b394bee60e82482a94f217f80ced03eb
      Hostname: maverick
       Storage: /var/lib/systemd/coredump/core.wireshark.0.09a49e7d9e054397ac1c235584aff457.9818.1598877487000000000000.zst
       Message: Process 9818 (wireshark) of user 0 dumped core.
                
                Stack trace of thread 9818:
                #0  0x00007ff62685ca7f _Z10doActivateILb0EEvP7QObjectiPPv (libQt5Core.so.5 + 0x288a7f)
                #1  0x00007ff626c03ee6 _ZN15QGuiApplication11screenAddedEP7QScreen (libQt5Gui.so.5 + 0x115ee6)
                #2  0x00007ff626bf3fd0 _ZN22QWindowSystemInterface17handleScreenAddedEP15QPlatformScreenb (libQt5Gui.so.5 + 0x105fd0)
                #3  0x00007ff615087370 _ZN14QXcbConnection17initializeScreensEv (libQt5XcbQpa.so.5 + 0x68370)
                #4  0x00007ff615062b04 _ZN14QXcbConnectionC1EP19QXcbNativeInterfacebjPKc (libQt5XcbQpa.so.5 + 0x43b04)
                #5  0x00007ff615065893 _ZN15QXcbIntegrationC1ERK11QStringListRiPPc (libQt5XcbQpa.so.5 + 0x46893)
                #6  0x00007ff62da755a3 _ZN21QXcbIntegrationPlugin6createERK7QStringRK11QStringListRiPPc (libqxcb.so + 0x25a3)
                #7  0x00007ff626bfcbbf _ZN27QPlatformIntegrationFactory6createERK7QStringRK11QStringListRiPPcS2_ (libQt5Gui.so.5 + 0x10ebbf)
                #8  0x00007ff626c07520 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x119520)
                #9  0x00007ff626c08b38 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x11ab38)
                #10 0x00007ff6268343e9 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x2603e9)
                #11 0x00007ff626c0b508 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x11d508)
                #12 0x00007ff627655ba0 _ZN19QApplicationPrivate4initEv (libQt5Widgets.so.5 + 0x17aba0)
                #13 0x000055b250628b02 _ZN20WiresharkApplicationC2ERiPPc (wireshark + 0x2fab02)
                #14 0x000055b25042fc46 main (wireshark + 0x101c46)
                #15 0x00007ff6260e51a2 __libc_start_main (libc.so.6 + 0x281a2)
                #16 0x000055b25043652e _start (wireshark + 0x10852e)
                
                Stack trace of thread 9819:
                #0  0x00007ff6261b3a0f __poll (libc.so.6 + 0xf6a0f)
                #1  0x00007ff624851842 _xcb_conn_wait.part.0 (libxcb.so.1 + 0xd842)
                #2  0x00007ff6248531cc xcb_wait_for_event (libxcb.so.1 + 0xf1cc)
                #3  0x00007ff615083c78 _ZN14QXcbEventQueue3runEv (libQt5XcbQpa.so.5 + 0x64c78)
                #4  0x00007ff626699690 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xc5690)
                #5  0x00007ff625b0f3f9 start_thread (libpthread.so.0 + 0x93f9)
                #6  0x00007ff6261beb03 __clone (libc.so.6 + 0x101b03)

Comment 4 tetsuji-rai 2020-09-01 03:06:29 UTC
I tried with another machine (notebook) with wayland, and it also crashed.   coredumpctl info is different. As follows:

Best regards,

-Tetsuji
-------------------------------------------------------------------------------------------
           PID: 2903 (wireshark)
           UID: 0 (root)
           GID: 0 (root)
        Signal: 11 (SEGV)
     Timestamp: Tue 2020-09-01 11:58:52 JST (2min 10s ago)
  Command Line: wireshark
    Executable: /usr/bin/wireshark
 Control Group: /user.slice/user-1000.slice/user/apps.slice/apps-org.gnome.Terminal.slice/vte-spawn-d43b17fc-97f8-4402-a16c-b7ef6e1e60af.scope
          Unit: user
     User Unit: vte-spawn-d43b17fc-97f8-4402-a16c-b7ef6e1e60af.scope
         Slice: user-1000.slice
     Owner UID: 1000 (tetsuji)
       Boot ID: f37baff0890f45cdbbe84088302a5c11
    Machine ID: 89f66e99b633401683941fcec545c350
      Hostname: vaio
       Storage: /var/lib/systemd/coredump/core.wireshark.0.f37baff0890f45cdbbe84088302a5c11.2903.1598929132000000000000.zst
       Message: Process 2903 (wireshark) of user 0 dumped core.
                
                Stack trace of thread 2903:
                #0  0x00007ff11632ba7f _Z10doActivateILb0EEvP7QObjectiPPv (libQt5Core.so.5 + 0x288a7f)
                #1  0x00007ff1166d2ee6 _ZN15QGuiApplication11screenAddedEP7QScreen (libQt5Gui.so.5 + 0x115ee6)
                #2  0x00007ff104b8c92b _ZN15QtWaylandClient15QWaylandDisplay23handleScreenInitializedEPNS_14QWaylandScreenE (libQt5WaylandClient.so.5 + 0x6692b)
                #3  0x00007ff104b9a4a3 _ZN15QtWaylandClient14QWaylandScreen15maybeInitializeEv (libQt5WaylandClient.so.5 + 0x744a3)
                #4  0x00007ff11240fb10 ffi_call_unix64 (libffi.so.6 + 0x6b10)
                #5  0x00007ff11240f0a3 ffi_call (libffi.so.6 + 0x60a3)
                #6  0x00007ff104b1c8fe wl_closure_invoke.constprop.0 (libwayland-client.so.0 + 0x68fe)
                #7  0x00007ff104b1cfcb dispatch_event.isra.0 (libwayland-client.so.0 + 0x6fcb)
                #8  0x00007ff104b1d19c wl_display_dispatch_queue_pending (libwayland-client.so.0 + 0x719c)
                #9  0x00007ff104b8d005 _ZN15QtWaylandClient15QWaylandDisplay14forceRoundTripEv (libQt5WaylandClient.so.5 + 0x67005)
                #10 0x00007ff104b94765 _ZN15QtWaylandClient15QWaylandDisplay15registry_globalEjRK7QStringj (libQt5WaylandClient.so.5 + 0x6e765)
                #11 0x00007ff104baa1bf _ZN9QtWayland11wl_registry13handle_globalEPvP11wl_registryjPKcj (libQt5WaylandClient.so.5 + 0x841bf)
                #12 0x00007ff11240fb10 ffi_call_unix64 (libffi.so.6 + 0x6b10)
                #13 0x00007ff11240f0a3 ffi_call (libffi.so.6 + 0x60a3)
                #14 0x00007ff104b1c8fe wl_closure_invoke.constprop.0 (libwayland-client.so.0 + 0x68fe)
                #15 0x00007ff104b1cfcb dispatch_event.isra.0 (libwayland-client.so.0 + 0x6fcb)
                #16 0x00007ff104b1d19c wl_display_dispatch_queue_pending (libwayland-client.so.0 + 0x719c)
                #17 0x00007ff104b8d005 _ZN15QtWaylandClient15QWaylandDisplay14forceRoundTripEv (libQt5WaylandClient.so.5 + 0x67005)
                #18 0x00007ff104b92fc3 _ZN15QtWaylandClient15QWaylandDisplayC1EPNS_19QWaylandIntegrationE (libQt5WaylandClient.so.5 + 0x6cfc3)
                #19 0x00007ff104b8a0ab _ZN15QtWaylandClient19QWaylandIntegrationC1Ev (libQt5WaylandClient.so.5 + 0x640ab)
                #20 0x00007ff11d5353b7 _ZN15QtWaylandClient25QWaylandIntegrationPlugin6createERK7QStringRK11QStringList (libqwayland-generic.so + 0x23b7)
                #21 0x00007ff1166cbbbf _ZN27QPlatformIntegrationFactory6createERK7QStringRK11QStringListRiPPcS2_ (libQt5Gui.so.5 + 0x10ebbf)
                #22 0x00007ff1166d6520 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x119520)
                #23 0x00007ff1166d7b38 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x11ab38)
                #24 0x00007ff1163033e9 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x2603e9)
                #25 0x00007ff1166da508 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x11d508)
                #26 0x00007ff117122ba0 _ZN19QApplicationPrivate4initEv (libQt5Widgets.so.5 + 0x17aba0)
                #27 0x00005653da506b02 _ZN20WiresharkApplicationC2ERiPPc (wireshark + 0x2fab02)
                #28 0x00005653da30dc46 main (wireshark + 0x101c46)
                #29 0x00007ff115bb41a2 __libc_start_main (libc.so.6 + 0x281a2)
                #30 0x00005653da31452e _start (wireshark + 0x10852e)

Comment 5 tetsuji-rai 2020-09-01 03:46:21 UTC
Hi,

Out of whim, I downloaded the source tar ball from www.wireshark.org, and built it and it worked fine (but I don't know every feature, so I'm not sure it's complete.  Anyway, no crash.)  Only wireshark binary was replaced, and the libraries and other executables are left.

Best regards,

-Tetsuji

Comment 6 Stephen Lasseter 2020-09-04 01:47:30 UTC
I'm also seeing this wireguard crash on startup, but under Fedora 33.  I am seeing a similar crash for nextcloud client as well.  Both appear to be failing with libQt5Core.  I'm testing under KDE Plasma over x11, but I have confirmed the same outcome under Gnome over Wayland.  Hardware is a Thinkpad X250, if that matters at all.

❯ rpm -q wireshark nextcloud-client qt5-qtbase 
wireshark-3.2.6-1.fc33.x86_64
nextcloud-client-2.6.5-7.fc33.x86_64
qt5-qtbase-5.14.2-8.fc33.x86_64

❯ wireshark
Segmentation fault (core dumped)

           PID: 46568 (wireshark)
           UID: 1000 (oatmeal)
           GID: 1000 (oatmeal)
        Signal: 11 (SEGV)
     Timestamp: Fri 2020-09-04 10:38:22 JST (36s ago)
  Command Line: wireshark
    Executable: /usr/bin/wireshark
 Control Group: /user.slice/user-1000.slice/user/apps-org.kde.konsole-74009f4d63b44e27950a77641c4de413.scope
          Unit: user
     User Unit: apps-org.kde.konsole-74009f4d63b44e27950a77641c4de413.scope
         Slice: user-1000.slice
     Owner UID: 1000 (oatmeal)
       Boot ID: c2d1b5bc00e142868cb35c8fb9cef7d7
    Machine ID: 1eb6abf8affe4df2ba7f1903b6167ea4
      Hostname: graphite
       Storage: /var/lib/systemd/coredump/core.wireshark.1000.c2d1b5bc00e142868cb35c8fb9cef7d7.46568.1599183502000000.zst
       Message: Process 46568 (wireshark) of user 1000 dumped core.
                
                Stack trace of thread 46568:
                #0  0x00007f9921455a7f _Z10doActivateILb0EEvP7QObjectiPPv (libQt5Core.so.5 + 0x288a7f)
                #1  0x00007f99217fcee6 _ZN15QGuiApplication11screenAddedEP7QScreen (libQt5Gui.so.5 + 0x115ee6)
                #2  0x00007f99217ecfd0 _ZN22QWindowSystemInterface17handleScreenAddedEP15QPlatformScreenb (libQt5Gui.so.5 + 0x105fd0)
                #3  0x00007f990fc92370 _ZN14QXcbConnection17initializeScreensEv (libQt5XcbQpa.so.5 + 0x68370)
                #4  0x00007f990fc6db04 _ZN14QXcbConnectionC1EP19QXcbNativeInterfacebjPKc (libQt5XcbQpa.so.5 + 0x43b04)
                #5  0x00007f990fc70893 _ZN15QXcbIntegrationC1ERK11QStringListRiPPc (libQt5XcbQpa.so.5 + 0x46893)
                #6  0x00007f992866c5a3 _ZN21QXcbIntegrationPlugin6createERK7QStringRK11QStringListRiPPc (libqxcb.so + 0x25a3)
                #7  0x00007f99217f5bbf _ZN27QPlatformIntegrationFactory6createERK7QStringRK11QStringListRiPPcS2_ (libQt5Gui.so.5 + 0x10ebbf)
                #8  0x00007f9921800520 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x119520)
                #9  0x00007f9921801b38 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x11ab38)
                #10 0x00007f992142d3e9 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x2603e9)
                #11 0x00007f9921804508 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x11d508)
                #12 0x00007f992224cba0 _ZN19QApplicationPrivate4initEv (libQt5Widgets.so.5 + 0x17aba0)
                #13 0x000056095824eb02 _ZN20WiresharkApplicationC2ERiPPc (wireshark + 0x2fab02)
                #14 0x0000560958055c46 main (wireshark + 0x101c46)
                #15 0x00007f9920cde1a2 __libc_start_main (libc.so.6 + 0x281a2)
                #16 0x000056095805c52e _start (wireshark + 0x10852e)
                
                Stack trace of thread 46569:
                #0  0x00007f9920daca0f __poll (libc.so.6 + 0xf6a0f)
                #1  0x00007f991f45c842 _xcb_conn_wait.part.0 (libxcb.so.1 + 0xd842)
                #2  0x00007f991f45e1cc xcb_wait_for_event (libxcb.so.1 + 0xf1cc)
                #3  0x00007f990fc8ec78 _ZN14QXcbEventQueue3runEv (libQt5XcbQpa.so.5 + 0x64c78)
                #4  0x00007f9921292690 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xc5690)
                #5  0x00007f992070d3f9 start_thread (libpthread.so.0 + 0x93f9)
                #6  0x00007f9920db7b03 __clone (libc.so.6 + 0x101b03)

❯ gdb wireshark
GNU gdb (GDB) Fedora 9.2-7.fc33
...
Reading symbols from wireshark...
Reading symbols from /usr/lib/debug/usr/bin/wireshark-3.2.6-1.fc33.x86_64.debug...
(gdb) run
Starting program: /usr/bin/wireshark 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffdf24e640 (LWP 48339)]

Thread 1 "wireshark" received signal SIGSEGV, Segmentation fault.
0x00007ffff0db0a7f in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
(gdb) bt
#0  0x00007ffff0db0a7f in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#1  0x00007ffff1157ee6 in QGuiApplication::screenAdded(QScreen*) () from /lib64/libQt5Gui.so.5
#2  0x00007ffff1147fd0 in QWindowSystemInterface::handleScreenAdded(QPlatformScreen*, bool) () from /lib64/libQt5Gui.so.5
#3  0x00007fffdf5ed370 in QXcbConnection::initializeScreens() () from /lib64/libQt5XcbQpa.so.5
#4  0x00007fffdf5c8b04 in QXcbConnection::QXcbConnection(QXcbNativeInterface*, bool, unsigned int, char const*) () from /lib64/libQt5XcbQpa.so.5
#5  0x00007fffdf5cb893 in QXcbIntegration::QXcbIntegration(QStringList const&, int&, char**) () from /lib64/libQt5XcbQpa.so.5
#6  0x00007ffff7fc75a3 in QXcbIntegrationPlugin::create(QString const&, QStringList const&, int&, char**) () from /usr/lib64/qt5/plugins/platforms/libqxcb.so
#7  0x00007ffff1150bbf in QPlatformIntegrationFactory::create(QString const&, QStringList const&, int&, char**, QString const&) () from /lib64/libQt5Gui.so.5
#8  0x00007ffff115b520 in QGuiApplicationPrivate::createPlatformIntegration() () from /lib64/libQt5Gui.so.5
#9  0x00007ffff115cb38 in QGuiApplicationPrivate::createEventDispatcher() () from /lib64/libQt5Gui.so.5
#10 0x00007ffff0d883e9 in QCoreApplicationPrivate::init() () from /lib64/libQt5Core.so.5
#11 0x00007ffff115f508 in QGuiApplicationPrivate::init() () from /lib64/libQt5Gui.so.5
#12 0x00007ffff1ba7ba0 in QApplicationPrivate::init() () from /lib64/libQt5Widgets.so.5
#13 0x000055555584eb02 in WiresharkApplication::WiresharkApplication (this=<optimized out>, argc=<optimized out>, argv=<optimized out>, this=<optimized out>, 
    argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/wireshark-3.2.6-1.fc33.x86_64/ui/qt/wireshark_application.cpp:727
#14 0x0000555555655c46 in main (argc=<optimized out>, qt_argv=0x7fffffffdc78) at /usr/src/debug/wireshark-3.2.6-1.fc33.x86_64/ui/qt/main.cpp:593
(gdb) disassemble                                                                                                                                                      
Dump of assembler code for function _Z10doActivateILb0EEvP7QObjectiPPv:                                                                                                
   0x00007ffff0db0a60 <+0>:     endbr64 
   0x00007ffff0db0a64 <+4>:     push   %rbp
   0x00007ffff0db0a65 <+5>:     mov    %rsp,%rbp
   0x00007ffff0db0a68 <+8>:     push   %r15
   0x00007ffff0db0a6a <+10>:    push   %r14
   0x00007ffff0db0a6c <+12>:    push   %r13
   0x00007ffff0db0a6e <+14>:    push   %r12
   0x00007ffff0db0a70 <+16>:    push   %rbx
   0x00007ffff0db0a71 <+17>:    sub    $0xa8,%rsp
   0x00007ffff0db0a78 <+24>:    mov    %rdx,-0x90(%rbp)
=> 0x00007ffff0db0a7f <+31>:    mov    0x8(%rdi),%r13
   0x00007ffff0db0a83 <+35>:    mov    %fs:0x28,%rax
   0x00007ffff0db0a8c <+44>:    mov    %rax,-0x38(%rbp)
   0x00007ffff0db0a90 <+48>:    xor    %eax,%eax
...

I hope this helps.  I can provide more info if you need.

Comment 7 Stephen Lasseter 2020-09-04 12:24:05 UTC
(In reply to Stephen Lasseter from comment #6)
> I'm also seeing this wireguard crash on startup, but under Fedora 33.  I am
> seeing a similar crash for nextcloud client as well.  Both appear to be ...

I meant *wireshark* here, not wireguard.

Comment 8 tiny6996 2020-09-09 00:09:21 UTC
Description: nextcloud gui crashes immediately when starting only cli
steps to reproduce: open nextcloud from the appliaction menu
package versions: 

nextcloud-client-3.0.1-1.fc33.x86_64
qt5-qtbase-5.14.2-8.fc33.x86_64



result: instant crash below is the output for coredumpctl info

                Stack trace of thread 17994:
                #0  0x00007fa8c2e87a7f _Z10doActivateILb0EEvP7QObjectiPPv (libQt5Core.so.5 + 0x288a7f)
                #1  0x00007fa8c3787ee6 _ZN15QGuiApplication11screenAddedEP7QScreen (libQt5Gui.so.5 + 0x115ee6)
                #2  0x00007fa8c3777fd0 _ZN22QWindowSystemInterface17handleScreenAddedEP15QPlatformScreenb (libQt5Gui.so.5 + 0x105fd0)
                #3  0x00007fa8b0800370 _ZN14QXcbConnection17initializeScreensEv (libQt5XcbQpa.so.5 + 0x68370)
                #4  0x00007fa8b07dbb04 _ZN14QXcbConnectionC1EP19QXcbNativeInterfacebjPKc (libQt5XcbQpa.so.5 + 0x43b04)
                #5  0x00007fa8b07de893 _ZN15QXcbIntegrationC1ERK11QStringListRiPPc (libQt5XcbQpa.so.5 + 0x46893)
                #6  0x00007fa8cf0bc5a3 _ZN21QXcbIntegrationPlugin6createERK7QStringRK11QStringListRiPPc (libqxcb.so + 0x25a3)
                #7  0x00007fa8c3780bbf _ZN27QPlatformIntegrationFactory6createERK7QStringRK11QStringListRiPPcS2_ (libQt5Gui.so.5 + 0x10ebbf)
                #8  0x00007fa8c378b520 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x119520)
                #9  0x00007fa8c378cb38 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x11ab38)
                #10 0x00007fa8c2e5f3e9 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x2603e9)
                #11 0x00007fa8c378f508 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x11d508)
                #12 0x00007fa8c6eccba0 _ZN19QApplicationPrivate4initEv (libQt5Widgets.so.5 + 0x17aba0)
                #13 0x0000561c5df5d917 _ZN11SharedTools19QtSingleApplicationC1ERK7QStringRiPPc (nextcloud + 0x1a2917)
                #14 0x0000561c5de95d88 _ZN3OCC11ApplicationC2ERiPPc (nextcloud + 0xdad88)
                #15 0x0000561c5de662d3 main (nextcloud + 0xab2d3)
                #16 0x00007fa8c27121a2 __libc_start_main (libc.so.6 + 0x281a2)
                #17 0x0000561c5de6698e _start (nextcloud + 0xab98e)
                
                Stack trace of thread 17996:
                #0  0x00007fa8c27e0a0f __poll (libc.so.6 + 0xf6a0f)
                #1  0x00007fa8c140e842 _xcb_conn_wait.part.0 (libxcb.so.1 + 0xd842)
                #2  0x00007fa8c14101cc xcb_wait_for_event (libxcb.so.1 + 0xf1cc)
                #3  0x00007fa8b07fcc78 _ZN14QXcbEventQueue3runEv (libQt5XcbQpa.so.5 + 0x64c78)
                #4  0x00007fa8c2cc4690 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xc5690)
                #5  0x00007fa8c238b3f9 start_thread (libpthread.so.0 + 0x93f9)
                #6  0x00007fa8c27ebb03 __clone (libc.so.6 + 0x101b03)

Comment 9 Michal Ruprich 2020-09-09 07:52:29 UTC
This crash is not just in wireshark but in nextcloud as well. I imagine that it happens in other applications as well. I am switching this to qt5-qtbase since the crash is in libQt5Core.so.

Comment 10 Dan Horák 2020-09-09 09:32:46 UTC
see bug 1866207 for a crash in Scribus, enabled LTO might be revealing some well hidden bugs in the source code ...

Comment 11 Nick Bebout 2020-09-09 15:42:34 UTC
This is happening to me with nextcloud-client as well.

Comment 12 Michal Ruprich 2020-09-10 07:40:56 UTC
This is definitely caused by the LTO. I rebuilt wireshark with  %define _lto_cflags %{nil} in the specfile and it starts up fine. I will rebuild wireshark in f33 and rawhide today without LTO so that users can use it but this should definitely be resolved in QT.

Comment 13 Libor Pechacek 2020-11-23 09:54:41 UTC
FYI, we've hit application crashes on Fedora 33 in OpenOrienteeing Mapper project (https://github.com/OpenOrienteering/mapper/issues/1765). Disabling LTO helped too but it's a mere workaround to a more delicate problem in binutils. See https://bugreports.qt.io/browse/QTBUG-86173 for an expert discussion about the cause of the crashes. I've also filed the bug report for Fedora binutils at https://bugzilla.redhat.com/show_bug.cgi?id=1900527.

Comment 14 Rex Dieter 2020-11-25 14:27:59 UTC
Thanks!

One step to address this is in qt5-qtbase itself,
https://src.fedoraproject.org/rpms/qt5-qtbase/c/d4ab2137a55708d645fcff5ddf92630b8a5de947

We'll bring 5.12.2 update to f33 soon, that will bring a large stack of fixed builds.

There will likely be more work to do after that, we'll see.

Comment 15 Fedora Update System 2020-11-27 21:46:11 UTC
FEDORA-2020-ee2a1e1595 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-ee2a1e1595

Comment 16 Fedora Update System 2020-11-28 02:56:07 UTC
FEDORA-2020-ee2a1e1595 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-ee2a1e1595`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-ee2a1e1595

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 17 Fedora Update System 2020-11-28 19:30:15 UTC
FEDORA-2020-ee2a1e1595 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-ee2a1e1595

Comment 18 Fedora Update System 2020-11-29 02:07:44 UTC
FEDORA-2020-ee2a1e1595 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-ee2a1e1595`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-ee2a1e1595

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 19 Fedora Update System 2020-12-04 19:51:53 UTC
FEDORA-2020-ee2a1e1595 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.