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

Re: konsole --version crashes



On Thu, Dec 29, 2016 at 2:00 AM, Andrey Rahmatullin <wrar@debian.org> wrote:
> On Thu, Dec 29, 2016 at 11:59:07AM +0500, Andrey Rahmatullin wrote:
>> On Thu, Dec 29, 2016 at 01:52:20AM -0500, kamaraju kusumanchi wrote:
>> > Is the above link up to date? I ask because
>> > https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Debian
>> > says that there are -dbg packages that I should install to get
>> > backtrace. But I do not see any packages such as konsole-dbg or
>> > libqt5dbus5-dbg in the archive.
>> They are now konsole-dbgsym and libqt5dbus5-dbgsym. For other packages the
>> names may differ.
> You also need to enable the debug repo, see
> https://wiki.debian.org/AutomaticDebugPackages

Thanks. Just for the record, I also found
https://wiki.debian.org/HowToGetABacktrace to be useful for this
exercise. Here is the backtrace with all the symbols.


 % gdb konsole
...
Reading symbols from konsole...Reading symbols from
/usr/lib/debug/.build-id/2b/559c27a0259b9f5254ac6482a73ecd5f0fce6a.debug...done.
done.
(gdb) set args --version
(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 23997)]
[New Thread 0x7fffe2268700 (LWP 23998)]
konsole 16.08.2

Thread 3 "QDBusConnection" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe2268700 (LWP 23998)]
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


thanks
raju
-- 
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog


Reply to: