Bug 363676 - Each time a plasma5 session is started one or more drkonqi segfault
Summary: Each time a plasma5 session is started one or more drkonqi segfault
Status: RESOLVED UNMAINTAINED
Alias: None
Product: drkonqi
Classification: Applications
Component: general (show other bugs)
Version: 5.6.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-29 19:03 UTC by Bruno Friedmann
Modified: 2019-07-09 05:10 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 Bruno Friedmann 2016-05-29 19:03:12 UTC
Start plasma5 session ( sddm with autologin)
check coredumpctl entries drkonqi is shown

Version installed 
S | Name               | Type    | Version                                | Arch   | Repository
--+--------------------+---------+----------------------------------------+--------+-----------
i | drkonqi5           | package | 5.6.90git~20160526T140410~aa20144-50.1 | x86_64 | kuf
i | drkonqi5-debuginfo | package | 5.6.90git~20160526T140410~aa20144-50.1 | x86_64 | kuf


Reproducible: Always


Actual Results:  
backtrace

Expected Results:  
no backtrace

coredumpctl gdb 29441
           PID: 29441 (drkonqi)
           UID: 1502 (bruno)
           GID: 1500 (ioda)
        Signal: 6 (ABRT)
     Timestamp: Sun 2016-05-29 13:26:18 CEST (7h ago)
  Command Line: /usr/lib64/libexec/drkonqi -platform xcb -display :0 --appname kdeinit5 --kdeinit --apppath /usr/bin --signal 11 --pid 3300 --startupid 0 --restarted
    Executable: /usr/lib64/libexec/drkonqi
 Control Group: /user.slice/user-1502.slice/session-1.scope
          Unit: session-1.scope
         Slice: user-1502.slice
       Session: 1
     Owner UID: 1502 (bruno)
       Boot ID: 647f6a3b06ad418d95c66aafef34f942
    Machine ID: 5796a69412fbda1c055a261856a26e81
      Hostname: qt-kt.labaroche.ioda.net
      Coredump: /var/lib/systemd/coredump/core.drkonqi.1502.647f6a3b06ad418d95c66aafef34f942.29441.1464521178000000.xz
       Message: Process 29441 (drkonqi) of user 1502 dumped core.

GNU gdb (GDB; openSUSE Tumbleweed) 7.11
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib64/libexec/drkonqi...Reading symbols from /usr/lib/debug/usr/lib64/libexec/drkonqi.debug...done.
done.
[New LWP 29441]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/lib64/libexec/drkonqi -platform xcb -display :0 --appname kdeinit5 --kdein'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007f95111bf908 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007f95111bf908 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1  0x00007f95111c0d5a in __GI_abort () at abort.c:78
#2  0x00007f95119485ce in QMessageLogger::fatal(char const*, ...) const (context=..., message=<synthetic pointer>) at global/qlogging.cpp:1648
#3  0x00007f95119485ce in QMessageLogger::fatal(char const*, ...) const (this=this@entry=0x7ffceb2444b0, msg=msg@entry=0x7f9506d5ccc8 "QXcbConnection: Could not connect to display %s")
    at global/qlogging.cpp:790
#4  0x00007f9506cd53e0 in QXcbConnection::QXcbConnection(QXcbNativeInterface*, bool, unsigned int, char const*) (this=
    0x1757df0, nativeInterface=0x1757cf0, canGrabServer=<optimized out>, defaultVisualId=<optimized out>, displayName=0x7ffceb24533f ":0") at qxcbconnection.cpp:585
#5  0x00007f9506cda805 in QXcbIntegration::QXcbIntegration(QStringList const&, int&, char**) (this=<optimized out>, parameters=..., argc=@0x7ffceb244a8c: 13, argv=0x7ffceb244ce8)
    at qxcbintegration.cpp:179
#6  0x00007f9506fd54fd in QXcbIntegrationPlugin::create(QString const&, QStringList const&, int&, char**) (this=<optimized out>, system=..., parameters=..., argc=@0x7ffceb244a8c: 13, argv=0x7ffceb244ce8) at qxcbmain.cpp:50
#7  0x00007f951206317b in QPlatformIntegrationFactory::create(QString const&, QStringList const&, int&, char**, QString const&) (argv=0x7ffceb244ce8, argc=@0x7ffceb244a8c: 13, parameters=..., key=..., loader=<optimized out>) at kernel/qplatformintegrationfactory.cpp:56
#8  0x00007f951206317b in QPlatformIntegrationFactory::create(QString const&, QStringList const&, int&, char**, QString const&) (platform=..., paramList=..., argc=@0x7ffceb244a8c: 13, argv=argv@entry=0x7ffceb244ce8, platformPluginPath=...) at kernel/qplatformintegrationfactory.cpp:73
#9  0x00007f9512070a83 in QGuiApplicationPrivate::createPlatformIntegration() (argv=<optimized out>, argc=<optimized out>, platformThemeName=..., platformPluginPath=..., pluginArgument=...)
    at kernel/qguiapplication.cpp:1058
#10 0x00007f9512070a83 in QGuiApplicationPrivate::createPlatformIntegration() (this=0x173ddf0) at kernel/qguiapplication.cpp:1227
#11 0x00007f951207187d in QGuiApplicationPrivate::createEventDispatcher() (this=<optimized out>) at kernel/qguiapplication.cpp:1244
#12 0x00007f9511b2b646 in QCoreApplicationPrivate::init() (this=this@entry=0x173ddf0) at kernel/qcoreapplication.cpp:814
#13 0x00007f9512072f6b in QGuiApplicationPrivate::init() (this=this@entry=0x173ddf0) at kernel/qguiapplication.cpp:1267
#14 0x00007f951284edb9 in QApplicationPrivate::init() (this=0x173ddf0) at kernel/qapplication.cpp:578
#15 0x000000000041db36 in main(int, char**) (argc=13, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.6.90git~20160526T140410~aa20144/drkonqi/main.cpp:60
(gdb)
Comment 1 Bruno Friedmann 2016-07-17 14:52:53 UTC
Still true with 5.7.0 version 
qt-kt:~ # coredumpctl gdb 1024
           PID: 1024 (drkonqi)
           UID: 1502 (bruno)
           GID: 1500 (ioda)
        Signal: 6 (ABRT)
     Timestamp: Sun 2016-07-17 11:01:25 CEST (5h 46min ago)
  Command Line: /usr/lib64/libexec/drkonqi -platform xcb -display :0 --appname kdeinit5 --kdeinit --apppath /usr/bin --signal 11 --pid 3054 --startupid 0 --restarted
    Executable: /usr/lib64/libexec/drkonqi
 Control Group: /user.slice/user-1502.slice/session-1.scope
          Unit: session-1.scope
         Slice: user-1502.slice
       Session: 1
     Owner UID: 1502 (bruno)
       Boot ID: a24e755e12b84261a49ff60422e4d104
    Machine ID: 5796a69412fbda1c055a261856a26e81
      Hostname: qt-kt.labaroche.ioda.net
      Coredump: /var/lib/systemd/coredump/core.drkonqi.1502.a24e755e12b84261a49ff60422e4d104.1024.1468746085000000.xz
       Message: Process 1024 (drkonqi) of user 1502 dumped core.

GNU gdb (GDB; openSUSE Tumbleweed) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib64/libexec/drkonqi...Reading symbols from /usr/lib/debug/usr/lib64/libexec/drkonqi.debug...done.
done.
[New LWP 1024]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/lib64/libexec/drkonqi -platform xcb -display :0 --appname kdeinit5 --kdein'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007f31b1195975 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007f31b1195975 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1  0x00007f31b1196d8a in __GI_abort () at abort.c:78
#2  0x00007f31b1925331 in QMessageLogger::fatal(char const*, ...) const (context=..., message=<synthetic pointer>) at global/qlogging.cpp:1648
#3  0x00007f31b1925331 in QMessageLogger::fatal(char const*, ...) const (this=this@entry=0x7ffcd36cf170, msg=msg@entry=0x7f31a6d14a10 "QXcbConnection: Could not connect to display %s")
    at global/qlogging.cpp:790
#4  0x00007f31a6c8a007 in QXcbConnection::QXcbConnection(QXcbNativeInterface*, bool, unsigned int, char const*) (this=
    0x22486b0, nativeInterface=0x22485b0, canGrabServer=<optimized out>, defaultVisualId=<optimized out>, displayName=<optimized out>) at qxcbconnection.cpp:585
#5  0x00007f31a6c8cede in QXcbIntegration::QXcbIntegration(QStringList const&, int&, char**) (this=<optimized out>, parameters=..., argc=@0x7ffcd36cf7bc: 13, argv=0x7ffcd36cfa28)
    at qxcbintegration.cpp:179
#6  0x00007f31a6f8e4fd in QXcbIntegrationPlugin::create(QString const&, QStringList const&, int&, char**) (this=<optimized out>, system=..., parameters=..., argc=@0x7ffcd36cf7bc: 13, argv=0x7ffcd36cfa28) at qxcbmain.cpp:50
#7  0x00007f31b2057d1d in QPlatformIntegrationFactory::create(QString const&, QStringList const&, int&, char**, QString const&) (argv=0x7ffcd36cfa28, argc=@0x7ffcd36cf7bc: 13, parameters=..., key=..., loader=<optimized out>) at kernel/qplatformintegrationfactory.cpp:56
#8  0x00007f31b2057d1d in QPlatformIntegrationFactory::create(QString const&, QStringList const&, int&, char**, QString const&) (platform=..., paramList=..., argc=@0x7ffcd36cf7bc: 13, argv=argv@entry=0x7ffcd36cfa28, platformPluginPath=...) at kernel/qplatformintegrationfactory.cpp:73
#9  0x00007f31b2066365 in QGuiApplicationPrivate::createPlatformIntegration() (argv=<optimized out>, argc=@0x7ffcd36cf7bc: 13, platformThemeName=..., platformPluginPath=..., pluginArgument=...)
    at kernel/qguiapplication.cpp:1058
#10 0x00007f31b2066365 in QGuiApplicationPrivate::createPlatformIntegration() (this=0x222e620) at kernel/qguiapplication.cpp:1227
#11 0x00007f31b206715d in QGuiApplicationPrivate::createEventDispatcher() (this=<optimized out>) at kernel/qguiapplication.cpp:1244
#12 0x00007f31b1b1bd5f in QCoreApplicationPrivate::init() (this=this@entry=0x222e620) at kernel/qcoreapplication.cpp:814
#13 0x00007f31b2068adf in QGuiApplicationPrivate::init() (this=this@entry=0x222e620) at kernel/qguiapplication.cpp:1267
#14 0x00007f31b285e329 in QApplicationPrivate::init() (this=0x222e620) at kernel/qapplication.cpp:578
#15 0x000000000041db89 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.7.0/drkonqi/main.cpp:60
(gdb)
Comment 2 Harald Sitter 2019-07-03 12:52:23 UTC
Is this still a problem?

From the backtrace it looks like Qt's XCB backend failed to initialize, which it generally only does when either not using X (are you using wayland?) or when it gets invoked from a nonexistant/defunct Xserver display.

There should also be other crashes around the same time frame. Drkonqi was invoked based on a crash, so it'd be interesting to know what that crash was.
Comment 3 Bruno Friedmann 2019-07-09 05:10:26 UTC
This is no more seen with drkonqi 5.16
Most of crashes seen at startup time are now akonadi or baloo/miloo related.