Bug 379388 - Discover Segfault upon closing window
Summary: Discover Segfault upon closing window
Status: RESOLVED UPSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-04-30 20:05 UTC by rainer+kdebugs
Modified: 2017-05-04 09:53 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rainer+kdebugs 2017-04-30 20:05:43 UTC
Application: plasma-discover (5.7.5)

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.8.0-49-generic x86_64
Distribution: Ubuntu 16.10

-- Information about the crash:
- What I was doing when the application crashed:

I believe Discover segfaulted when I closed all Discover windows via the Task-Manager Panel. Alternatively, it may have crashed when I unplugged the USB card reader that it had open.

-- Backtrace:
Application: Discover (plasma-discover), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f59ed5a3340 (LWP 3370))]

Thread 4 (Thread 0x7f59cdaab700 (LWP 3375)):
#0  0x00007f59f60cb044 in g_mutex_unlock (mutex=0x7f59c8000990) at ././glib/gthread-posix.c:1348
#1  0x00007f59f6084ecc in g_main_context_prepare (context=context@entry=0x7f59c8000990, priority=priority@entry=0x7f59cdaaabc0) at ././glib/gmain.c:3499
#2  0x00007f59f60858fb in g_main_context_iterate (context=context@entry=0x7f59c8000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ././glib/gmain.c:3909
#3  0x00007f59f6085aec in g_main_context_iteration (context=0x7f59c8000990, may_block=may_block@entry=1) at ././glib/gmain.c:3990
#4  0x00007f59f9a3c4ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f59c80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#5  0x00007f59f99e40fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f59cdaaad00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f59f9809d43 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:500
#7  0x00007f59f980ec68 in QThreadPrivate::start(void*) (arg=0x55e56102b530) at thread/qthread_unix.cpp:341
#8  0x00007f59f65a96ca in start_thread (arg=0x7f59cdaab700) at pthread_create.c:333
#9  0x00007f59f8e110af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 3 (Thread 0x7f59e2769700 (LWP 3372)):
#0  0x00007f59f8e050bd in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f59f60859d6 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f59dc00b520, timeout=<optimized out>, context=0x7f59dc000990) at ././glib/gmain.c:4228
#2  0x00007f59f60859d6 in g_main_context_iterate (context=context@entry=0x7f59dc000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ././glib/gmain.c:3924
#3  0x00007f59f6085aec in g_main_context_iteration (context=0x7f59dc000990, may_block=may_block@entry=1) at ././glib/gmain.c:3990
#4  0x00007f59f9a3c4ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f59dc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#5  0x00007f59f99e40fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f59e2768cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f59f9809d43 in QThread::exec() (this=this@entry=0x7f59f6eb5d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:500
#7  0x00007f59f6e41575 in QDBusConnectionManager::run() (this=0x7f59f6eb5d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:171
#8  0x00007f59f980ec68 in QThreadPrivate::start(void*) (arg=0x7f59f6eb5d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:341
#9  0x00007f59f65a96ca in start_thread (arg=0x7f59e2769700) at pthread_create.c:333
#10 0x00007f59f8e110af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 2 (Thread 0x7f59eac7c700 (LWP 3371)):
#0  0x00007f59f8e050bd in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f59f422bc62 in poll (__timeout=-1, __nfds=1, __fds=0x7f59eac7bc00) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  0x00007f59f422bc62 in _xcb_conn_wait (c=c@entry=0x55e560f6b4f0, cond=cond@entry=0x55e560f6b530, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:459
#3  0x00007f59f422d8d7 in xcb_wait_for_event (c=0x55e560f6b4f0) at ../../src/xcb_in.c:693
#4  0x00007f59ed1d3299 in QXcbEventReader::run() (this=0x55e560f75ba0) at qxcbconnection.cpp:1325
#5  0x00007f59f980ec68 in QThreadPrivate::start(void*) (arg=0x55e560f75ba0) at thread/qthread_unix.cpp:341
#6  0x00007f59f65a96ca in start_thread (arg=0x7f59eac7c700) at pthread_create.c:333
#7  0x00007f59f8e110af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7f59ed5a3340 (LWP 3370)):
[KCrash Handler]
#6  0x00007f59fc6695df in QExplicitlySharedDataPointer<QNetworkConfigurationPrivate>::~QExplicitlySharedDataPointer() (this=0x55e5655d8a30, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qshareddata.h:159
#7  0x00007f59fc6695df in QNetworkConfiguration::~QNetworkConfiguration() (this=0x55e5655d8a30, __in_chrg=<optimized out>) at bearer/qnetworkconfiguration.cpp:297
#8  0x00007f59f986f019 in QHashData::free_helper(void (*)(QHashData::Node*)) (this=0x55e5655d8f50, node_delete=0x7f59fc67c090 <QHash<QNetworkConfiguration, QWeakPointer<QNetworkSession> >::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:538
#9  0x00007f59fc67c06f in QHash<QNetworkConfiguration, QWeakPointer<QNetworkSession> >::freeData(QHashData*) (this=0x55e5656004d0, x=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qhash.h:555
#10 0x00007f59fc67c06f in QHash<QNetworkConfiguration, QWeakPointer<QNetworkSession> >::~QHash() (this=0x55e5656004d0, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qhash.h:246
#11 0x00007f59fc67c06f in QSharedNetworkSessionManager::~QSharedNetworkSessionManager() (this=0x55e5656004d0, __in_chrg=<optimized out>) at bearer/qsharednetworksession_p.h:61
#12 0x00007f59fc67c06f in qThreadStorage_deleteData<QSharedNetworkSessionManager>(void*, QSharedNetworkSessionManager**) (d=0x55e5656004d0) at ../../include/QtCore/../../src/corelib/thread/qthreadstorage.h:86
#13 0x00007f59fc67c06f in QThreadStorage<QSharedNetworkSessionManager*>::deleteData(void*) (x=0x55e5656004d0) at ../../include/QtCore/../../src/corelib/thread/qthreadstorage.h:129
#14 0x00007f59f980ced3 in QThreadStorageData::finish(void**) (p=0x55e560f5be28) at thread/qthreadstorage.cpp:195
#15 0x00007f59f99e5a2c in QCoreApplicationPrivate::cleanupThreadData() (this=this@entry=0x55e560f5c580) at kernel/qcoreapplication.cpp:487
#16 0x00007f59f9fc284b in QGuiApplicationPrivate::~QGuiApplicationPrivate() (this=0x55e560f5c580, __in_chrg=<optimized out>) at kernel/qguiapplication.cpp:1444
#17 0x00007f59fa5b0869 in QApplicationPrivate::~QApplicationPrivate() (this=0x55e560f5c580, __in_chrg=<optimized out>) at kernel/qapplication.cpp:192
#18 0x00007f59f9a1b2c7 in QScopedPointerDeleter<QObjectData>::cleanup(QObjectData*) (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:54
#19 0x00007f59f9a1b2c7 in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer() (this=0x7fff7d77b118, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:101
#20 0x00007f59f9a1b2c7 in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:893
#21 0x00007f59f99e7ec6 in QCoreApplication::~QCoreApplication() (this=0x7fff7d77b110, __in_chrg=<optimized out>) at kernel/qcoreapplication.cpp:848
#22 0x00007f59fa5b2331 in QApplication::~QApplication() (this=0x7fff7d77b110, __in_chrg=<optimized out>) at kernel/qapplication.cpp:820
#23 0x000055e55eea0633 in  ()
#24 0x00007f59f8d293f1 in __libc_start_main (main=0x55e55ee9ff90, argc=3, argv=0x7fff7d77b2a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff7d77b298) at ../csu/libc-start.c:291
#25 0x000055e55eea07ba in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2017-05-04 09:53:00 UTC
This is https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1630765

Please check with your distribution, if you indeed have a Qt version with the fix applied.