[Development] systematic crash-on-exit in QDBusConnectionPrivate::closeConnection

René J.V. Bertin rjvbertin at gmail.com
Tue Dec 5 15:34:26 CET 2017


Hi,

Is the crash below another (new?) variant of the on-exit QDBus crashes for which a few fixes were pushed a couple months ago, a new bug I should report, or is this the result of a bug in the dependent code?

rekonq built on Linux from the frameworks git head, Qt 5.8 (with the QDBus patches backported), KF5 frameworks
@Konstatin Tokarev : this is with QtWebKit 5.212 Alpha2 - not that I think it's related.

#6  0x0000000001832c40 in ?? ()
#7  0x00007f5c2985efd1 in QObject::disconnect (sender=0x907590, signal=signal at entry=0x0, receiver=receiver at entry=0x7f5c040030f0, method=method at entry=0x0) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/corelib/kernel/qobject.cpp:2956
#8  0x00007f5c2bbea770 in disconnect (member=0x0, receiver=0x7f5c040030f0, this=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:339
#9  QDBusConnectionPrivate::closeConnection (this=this at entry=0x7f5c040030f0) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/dbus/qdbusintegrator.cpp:1147
#10 0x00007f5c2bbea994 in QDBusConnectionPrivate::~QDBusConnectionPrivate (this=0x7f5c040030f0, __in_chrg=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/dbus/qdbusintegrator.cpp:1071
#11 0x00007f5c2bbeaca9 in QDBusConnectionPrivate::~QDBusConnectionPrivate (this=0x7f5c040030f0, __in_chrg=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/dbus/qdbusintegrator.cpp:1091
#12 0x00007f5c2bbde0fe in QDBusConnectionManager::run (this=0x7f5c2be4e460 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/dbus/qdbusconnection.cpp:178
#13 0x00007f5c29664cf9 in QThreadPrivate::start (arg=0x7f5c2be4e460 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/corelib/thread/qthread_unix.cpp:368
#14 0x00007f5c2878f184 in start_thread (arg=0x7f5c0a6d6700) at pthread_create.c:312
#15 0x00007f5c28aa2ffd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f5c32ad68c0 (LWP 18256)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f5c29665aeb in wait (time=18446744073709551615, this=0x90aba0) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=this at entry=0x90bee0, mutex=mutex at entry=0x90bec0, time=time at entry=18446744073709551615) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:215
#3  0x00007f5c296648ee in QThread::wait (this=this at entry=0x7f5c2be4e460 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>, time=time at entry=18446744073709551615) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/corelib/thread/qthread_unix.cpp:698
#4  0x00007f5c2bbdba96 in QDBusConnectionManager::~QDBusConnectionManager (this=0x7f5c2be4e460 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>, __in_chrg=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/dbus/qdbusconnection.cpp:149
#5  0x00007f5c2bbdbb59 in (anonymous namespace)::Q_QGS__q_manager::Holder::~Holder (this=<optimized out>, __in_chrg=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/dbus/qdbusconnection.cpp:72
#6  0x00007f5c2bbdbb59 in operator() (this=<optimized out>) from /opt/local/libexec/qt5/lib/libQt5DBus.so.5
#7  QDBusConnection::systemBus () at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/dbus/qdbusconnection.cpp:1186
#8  0x00007f5c289e11a9 in __run_exit_handlers (status=0, listp=0x7f5c28d676c8 <__exit_funcs>, run_list_atexit=run_list_atexit at entry=true) at exit.c:82
#9  0x00007f5c289e11f5 in __GI_exit (status=<optimized out>) at exit.c:104
#10 0x00007f5c289c6f4c in __libc_start_main (main=0x400b00 <main(int, char**)>, argc=1, argv=0x7ffed8743628, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffed8743618) at libc-start.c:321
#11 0x0000000000400a39 in _start ()




More information about the Development mailing list