Bug 368736 - After clicking on "Update" button discovery crashes
Summary: After clicking on "Update" button discovery crashes
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.7.3
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-09-13 10:43 UTC by David Heidelberg
Modified: 2016-10-03 13:31 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 David Heidelberg 2016-09-13 10:43:26 UTC
Application: plasma-discover (5.7.3)

Qt Version: 5.7.0
Frameworks Version: 5.27.0
Operating System: Linux 4.8.0-040800rc5-generic x86_64
Distribution: KDE neon User Edition 5.7

-- Information about the crash:
- What I was doing when the application crashed:
clicking Update button
This seems to be that "1 package to update":

# apt upgrade
Načítají se seznamy balíků… Hotovo
Vytváří se strom závislostí       
Načítají se stavové informace… Hotovo
Entering ResolveByKeepzace… 10%
Propočítává se aktualizace… Hotovo
Následující balíky budou aktualizovány:
  neon-desktop
1 aktualizováno, 0 nově instalováno, 0 k odstranění a 0 neaktualizováno.
Nutno stáhnout 3 170 B archivů.
Po této operaci bude na disku použito dalších 0 B.

The crash can be reproduced every time.

-- 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 0x7fd025c598c0 (LWP 29532))]

Thread 4 (Thread 0x7fd00b2b4700 (LWP 29535)):
#0  0x00007fd01e2b630c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fd01e2b64ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd02318823b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fd023132cea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fd022f57fb4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd0238de675 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007fd022f5cb98 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fd01ff116fa in start_thread (arg=0x7fd00b2b4700) at pthread_create.c:333
#8  0x00007fd022560b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fd00c4c5700 (LWP 29534)):
#0  0x00007fd01e2faae0 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fd01e2b5c09 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd01e2b6317 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd01e2b64ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd02318823b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd023132cea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fd022f57fb4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fd0207a87a5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007fd022f5cb98 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fd01ff116fa in start_thread (arg=0x7fd00c4c5700) at pthread_create.c:333
#10 0x00007fd022560b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fd014bed700 (LWP 29533)):
#0  0x00007fd022554e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fd01de4bc62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fd01de4d8d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fd017144a39 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fd022f5cb98 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd01ff116fa in start_thread (arg=0x7fd014bed700) at pthread_create.c:333
#6  0x00007fd022560b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fd025c598c0 (LWP 29532)):
[KCrash Handler]
#6  0x00007fd023b0f822 in QWindow::setGeometry(QRect const&) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#7  0x000000000040d1cf in DiscoverMainWindow::integrateObject (this=0x1253b70, object=0x0) at /workspace/build/discover/DiscoverMainWindow.cpp:194
#8  0x00007fd02315fe76 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fd0238cbf54 in QQmlApplicationEngine::objectCreated(QObject*, QUrl const&) () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#10 0x00007fd0238ccb89 in QQmlApplicationEnginePrivate::_q_finishLoad(QObject*) () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#11 0x00007fd0238cce52 in QQmlApplicationEnginePrivate::startLoad(QUrl const&, QByteArray const&, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#12 0x00007fd0238cce8d in QQmlApplicationEngine::load(QUrl const&) () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#13 0x000000000040ccd2 in DiscoverMainWindow::DiscoverMainWindow (this=0x1253b70, mode=<optimized out>) at /workspace/build/discover/DiscoverMainWindow.cpp:91
#14 0x0000000000409402 in main (argc=3, argv=<optimized out>) at /workspace/build/discover/main.cpp:118

Reported using DrKonqi
Comment 1 Aleix Pol 2016-09-14 11:16:28 UTC
Git commit bb83898fd4b1880c42c4477fd8ac8ec65a133ee7 by Aleix Pol.
Committed on 14/09/2016 at 11:05.
Pushed by apol into branch 'master'.

Make sure the assumption is coherent

With regards to the main window's root object

M  +2    -0    discover/DiscoverMainWindow.cpp

http://commits.kde.org/discover/bb83898fd4b1880c42c4477fd8ac8ec65a133ee7
Comment 2 Aleix Pol 2016-10-03 13:31:41 UTC
This is solved in 5.8.