[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#849877: marked as done (konsole --version crashes)



Your message dated Wed, 11 Jan 2017 15:56:39 +0000
with message-id <E1cRLGR-000ItA-EJ@fasolo.debian.org>
and subject line Bug#845662: fixed in qtbase-opensource-src 5.7.1+dfsg-3
has caused the Debian Bug report #845662,
regarding konsole --version crashes
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
845662: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845662
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: konsole
Version: 4:16.08.2-2
Severity: normal

When I run "konsole --version", it crashes with the following errors

rajulocal@hogwarts ~ % konsole --version
konsole 16.08.2
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = konsole path = /usr/bin pid = 12566
KCrash: Arguments: /usr/bin/konsole --version
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from
kdeinit
sock_file=/run/user/1000/kdeinit5__0
zsh: suspended (signal)  konsole --version


Here is the backtrace from the popup window

Application: konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
[Current thread is 1 (Thread 0x7f2134ecc940 (LWP 12589))]

Thread 3 (Thread 0x7f2131027700 (LWP 12591)):
[KCrash Handler]
#6  0x00007f214326b3ef in QObject::disconnect (sender=0x55da6ad15e60,
signal=signal@entry=0x0, receiver=receiver@entry=0x7f21240030f0,
method=method@entry=0x0) at kernel/qobject.cpp:2956
#7  0x00007f2146c9ed50 in QObject::disconnect (member=0x0,
receiver=0x7f21240030f0, this=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qobject.h:336
#8  QDBusConnectionPrivate::closeConnection (this=this@entry=0x7f21240030f0) at
qdbusintegrator.cpp:1145
#9  0x00007f2146c8b7e2 in QDBusConnectionManager::run (this=0x7f2146d00d60
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:188
#10 0x00007f214306bda8 in QThreadPrivate::start (arg=0x7f2146d00d60 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:368
#11 0x00007f213f8d1464 in start_thread (arg=0x7f2131027700) at
pthread_create.c:333
#12 0x00007f21466989df in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 2 (Thread 0x7f2132f0a700 (LWP 12590)):
#0  0x00007f214668f56d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f213fcf6150 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f213fcf7ee9 in xcb_wait_for_event () from /usr/lib/x86_64-linux-
gnu/libxcb.so.1
#3  0x00007f2134c2fb69 in ?? () from /usr/lib/x86_64-linux-
gnu/libQt5XcbQpa.so.5
#4  0x00007f214306bda8 in QThreadPrivate::start (arg=0x55da6acba2b0) at
thread/qthread_unix.cpp:368
#5  0x00007f213f8d1464 in start_thread (arg=0x7f2132f0a700) at
pthread_create.c:333
#6  0x00007f21466989df in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7f2134ecc940 (LWP 12589)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f214306cc6b in QWaitConditionPrivate::wait
(time=18446744073709551615, this=0x55da6ad01ff0) at
thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=this@entry=0x55da6ad01fd0,
mutex=mutex@entry=0x55da6ad01fb0, time=time@entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:215
#3  0x00007f214306b94e in QThread::wait (this=this@entry=0x7f2146d00d60
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>,
time=time@entry=18446744073709551615) at thread/qthread_unix.cpp:698
#4  0x00007f2146c8b546 in QDBusConnectionManager::~QDBusConnectionManager
(this=0x7f2146d00d60 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>, __in_chrg=<optimized
out>) at qdbusconnection.cpp:157
#5  0x00007f2146c8b5d9 in (anonymous
namespace)::Q_QGS__q_manager::Holder::~Holder (this=<optimized out>,
__in_chrg=<optimized out>) at qdbusconnection.cpp:76
#6  0x00007f21465e5920 in __run_exit_handlers (status=status@entry=0,
listp=0x7f21469485d8 <__exit_funcs>,
run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at
exit.c:83
#7  0x00007f21465e597a in __GI_exit (status=status@entry=0) at exit.c:105
#8  0x00007f214307b473 in QCommandLineParser::showVersion
(this=this@entry=0x55da6ad2b710) at tools/qcommandlineparser.cpp:1004
#9  0x00007f214307c6fb in QCommandLineParser::process
(this=this@entry=0x55da6ad2b710, arguments=...) at
tools/qcommandlineparser.cpp:596
#10 0x00007f214307c75f in QCommandLineParser::process
(this=this@entry=0x55da6ad2b710, app=...) at tools/qcommandlineparser.cpp:611
#11 0x00007f21469759cb in kdemain (argc=<optimized out>, argv=<optimized out>)
at ./src/main.cpp:116
#12 0x00007f21465d02b1 in __libc_start_main (main=0x55da6a154780 <main>,
argc=2, argv=0x7ffc2d688398, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffc2d688388) at ../csu/libc-start.c:291
#13 0x000055da6a1547ba in _start ()


I am able to reproduce the problem consistently. It crashes everytime I run
konsole --version. However, the popup window that gives the backtrace comes up
sometimes and does not come up some other times. When there is no popup window,
I get the following backtrace from gdb

% gdb konsole
GNU gdb (Debian 7.11.1-2+b1) 7.11.1
...
Reading symbols from konsole...Reading symbols from /usr/lib/debug/.build-
id/2b/559c27a0259b9f5254ac6482a73ecd5f0fce6a.debug...done.
done.
(gdb) set args --version
(gdb) thread apply all backtrace
(gdb) r
Starting program: /usr/bin/konsole --version
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe414b700 (LWP 12929)]
[New Thread 0x7fffe2268700 (LWP 12930)]
konsole 16.08.2

Thread 3 "QDBusConnection" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe2268700 (LWP 12930)]
0x00007ffff44b03ef in QObject::disconnect (sender=0x5555557d31c0,
signal=signal@entry=0x0,
    receiver=receiver@entry=0x7fffd40030f0, method=method@entry=0x0) at
kernel/qobject.cpp:2956
2956    kernel/qobject.cpp: No such file or directory.
(gdb) bt
#0  0x00007ffff44b03ef in QObject::disconnect (sender=0x5555557d31c0,
signal=signal@entry=0x0,
    receiver=receiver@entry=0x7fffd40030f0, method=method@entry=0x0) at
kernel/qobject.cpp:2956
#1  0x00007ffff7edfd50 in QObject::disconnect (member=0x0,
receiver=0x7fffd40030f0, this=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qobject.h:336
#2  QDBusConnectionPrivate::closeConnection (this=this@entry=0x7fffd40030f0) at
qdbusintegrator.cpp:1145
#3  0x00007ffff7ecc7e2 in QDBusConnectionManager::run (
    this=0x7ffff7f41d60 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>)
    at qdbusconnection.cpp:188
#4  0x00007ffff42b0da8 in QThreadPrivate::start (
    arg=0x7ffff7f41d60 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>)
    at thread/qthread_unix.cpp:368
#5  0x00007ffff0b16464 in start_thread (arg=0x7fffe2268700) at
pthread_create.c:333
#6  0x00007ffff78dd9df in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:105


The crash occurs with dolphin --version but not with konqueror --version.

% dolphin --version
dolphin 16.08.2
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = dolphin path = /usr/bin pid = 12709
KCrash: Arguments: /usr/bin/dolphin --version
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from
kdeinit
sock_file=/run/user/1000/kdeinit5__0
zsh: suspended (signal)  dolphin --version

% konqueror --version
Qt: 4.8.7
KDE Development Platform: 4.14.26
Konqueror: 4.14.25


Initially I reported the problem on debian-kde mailing list
(https://lists.debian.org/debian-kde/2016/12/msg00013.html). Please note that
the thread only contains the second version of the backtrace (the one where
there is no popup window).

As mentioned in that thread, Luigi Toscano discussed the issue with the QtBus
maintainer (Thiago Macieira) who mentioned that this could be due to a race
condition. The crashes may be fixed by applying the patches https://codereview
.qt-project.org/180231  and https://codereview.qt-project.org/180232. These
patches are not currently applied to the Qt packages in Debian as they are
causing some regressions on windows.

I am reporting the bug here so it does not get lost and will be fixed
eventually.


thanks
raju





-- System Information:
Debian Release: stretch/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages konsole depends on:
ii  kio                   5.27.0-2
ii  konsole-kpart         4:16.08.2-2
ii  libc6                 2.24-8
ii  libkf5completion5     5.27.0-1
ii  libkf5configcore5     5.27.0-1
ii  libkf5configgui5      5.27.0-1
ii  libkf5configwidgets5  5.27.0-1
ii  libkf5coreaddons5     5.27.0-1
ii  libkf5crash5          5.27.0-1
ii  libkf5dbusaddons5     5.27.0-1
ii  libkf5i18n5           5.27.0-2
ii  libkf5iconthemes5     5.27.0-1
ii  libkf5kiowidgets5     5.27.0-2
ii  libkf5notifyconfig5   5.27.0-1
ii  libkf5widgetsaddons5  5.27.0-1
ii  libkf5windowsystem5   5.27.0-1
ii  libkf5xmlgui5         5.27.0-1
ii  libqt5core5a          5.7.1+dfsg-1
ii  libqt5gui5            5.7.1+dfsg-1
ii  libqt5widgets5        5.7.1+dfsg-1
ii  libstdc++6            6.2.1-5

konsole recommends no packages.

konsole suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: qtbase-opensource-src
Source-Version: 5.7.1+dfsg-3

We believe that the bug you reported is fixed in the latest version of
qtbase-opensource-src, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 845662@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dmitry Shachnev <mitya57@debian.org> (supplier of updated qtbase-opensource-src package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 11 Jan 2017 18:14:40 +0300
Source: qtbase-opensource-src
Binary: libqt5core5a libqt5gui5 qt5-gtk-platformtheme libqt5network5 libqt5opengl5 libqt5sql5 libqt5sql5-mysql libqt5sql5-odbc libqt5sql5-psql libqt5sql5-sqlite libqt5sql5-tds libqt5sql5-ibase libqt5xml5 libqt5dbus5 libqt5test5 libqt5concurrent5 libqt5widgets5 libqt5printsupport5 qtbase5-dev qtbase5-private-dev libqt5opengl5-dev qtbase5-dev-tools qt5-qmake qtbase5-examples qt5-default qtbase5-doc qtbase5-doc-html
Architecture: source
Version: 5.7.1+dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Dmitry Shachnev <mitya57@debian.org>
Description:
 libqt5concurrent5 - Qt 5 concurrent module
 libqt5core5a - Qt 5 core module
 libqt5dbus5 - Qt 5 D-Bus module
 libqt5gui5 - Qt 5 GUI module
 libqt5network5 - Qt 5 network module
 libqt5opengl5 - Qt 5 OpenGL module
 libqt5opengl5-dev - Qt 5 OpenGL library development files
 libqt5printsupport5 - Qt 5 print support module
 libqt5sql5 - Qt 5 SQL module
 libqt5sql5-ibase - Qt 5 Firebird database driver
 libqt5sql5-mysql - Qt 5 MySQL database driver
 libqt5sql5-odbc - Qt 5 ODBC database driver
 libqt5sql5-psql - Qt 5 PostgreSQL database driver
 libqt5sql5-sqlite - Qt 5 SQLite 3 database driver
 libqt5sql5-tds - Qt 5 FreeTDS database driver
 libqt5test5 - Qt 5 test module
 libqt5widgets5 - Qt 5 widgets module
 libqt5xml5 - Qt 5 XML module
 qt5-default - Qt 5 development defaults package
 qt5-gtk-platformtheme - Qt 5 GTK+ 3 platform theme
 qt5-qmake  - Qt 5 qmake Makefile generator tool
 qtbase5-dev - Qt 5 base development files
 qtbase5-dev-tools - Qt 5 base development programs
 qtbase5-doc - Qt 5 base documentation
 qtbase5-doc-html - Qt 5 base HTML documentation
 qtbase5-examples - Qt 5 base examples
 qtbase5-private-dev - Qt 5 base private development files
Closes: 834750 845662 850746
Changes:
 qtbase-opensource-src (5.7.1+dfsg-3) unstable; urgency=medium
 .
   * Backport upstream change to fix accessibility-related crashes
     (fix_accessibility_crash.diff; closes: #834750).
   * Backport upstream fix to make QGtk3Dialog not crash on Wayland
     (gtkdialogs_wayland.diff; closes: #850746).
   * Backport upstream change to stop unloading plugins in QPluginLoader
     and QFactoryLoader (stop_unloading_pluings.diff; closes: #845662).
Checksums-Sha1:
 cae48232209b12dd1fb4a9c92db45a74dafa587f 4999 qtbase-opensource-src_5.7.1+dfsg-3.dsc
 52a080165021066de76e51ff4abd59444f1c80e2 216368 qtbase-opensource-src_5.7.1+dfsg-3.debian.tar.xz
Checksums-Sha256:
 83d56c48596a9ece418b3fdaedb525c41d57582e24ed286729aa2512bc5140f0 4999 qtbase-opensource-src_5.7.1+dfsg-3.dsc
 5f41a2642227b376a51b47c29b11177626737d8ed033399be0f819a8a5421651 216368 qtbase-opensource-src_5.7.1+dfsg-3.debian.tar.xz
Files:
 b129812dcf27fbd2888cec2d3732c130 4999 libs optional qtbase-opensource-src_5.7.1+dfsg-3.dsc
 947264130069e92547c811aab3c1d704 216368 libs optional qtbase-opensource-src_5.7.1+dfsg-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCAAxFiEEbEPcK+5mZmLK5jNU1v5xA2P4XdMFAlh2Tn8THG1pdHlhNTdA
ZGViaWFuLm9yZwAKCRDW/nEDY/hd0/JiD/0SZKFhq0zuuZM5qiiK1C7ZgL0Ta6Aj
+s7OGVmEAKKw1r7rb9/p41SC29RopcrXKT2OrncOA1VMh8lNs9FThsEjYK7cV0Z/
UHKJAILYIunmD3OKu3Lkjrk5Y91s6Cm6luEB5u1KB8bSczFIGmEyxa4ygnYObN/C
jz0ggv/YToPAJm5F2jXtlUt+1mdGcWD4huABfIUFVnra0AmWvt5TjEaav43CZ2sX
KGb4oexlu3La38x9SVImZ6mAX5QTUWgPbxFhOtiSMyXTWF3cOr6/8+HmEAhIU2xA
/v0B1lnvvGu72ngEzjfQtzKMMLQuthfg2wNQb0ZrPOPh+rvJHnXyExG27z5ghXs3
CyfT24VQsfzgciPURHYvbeUVCOQC9QsSzrummdDClui+Et9yDNFk0wSEPEYfkHNI
3W60wg8hTtTRiduHL3QjPEbeWt6w7559nS+C/SaluSlN8qgYgMQf4eJA7uyIDic0
V6Zot5U0b+/bKVAI2Tgf5P5CHjEkwW1Rl5pIJ22qRGVpfyrRayWfsvQhaDNWq4Yj
mqZy100RXlvYSrLsj9WyyDLlAQ7hMxqKu9EXWqt6Y9fpAus4HhI+IBgWDUsQbLX0
fKV/9xndD4QOvtHQ6s5zJ3NIp4e1aniZtXdMZMEsLoIpF/DoPz6rs/9ShhRD/Ni5
tyiB06nGjoLUkA==
=+T1t
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: