Bug 372313 - Comic Strip 'Add Comic' Button crashes plasmashell
Summary: Comic Strip 'Add Comic' Button crashes plasmashell
Status: RESOLVED FIXED
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: Comic (show other bugs)
Version: 5.8.3
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords: drkonqi
: 372432 373298 375115 375593 379543 379600 381446 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-11-10 22:53 UTC by melkor333
Modified: 2017-07-17 11:04 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description melkor333 2016-11-10 22:53:09 UTC
Application: plasmashell (5.8.3)

Qt Version: 5.7.0
Frameworks Version: 5.27.0
Operating System: Linux 4.4.30-1-MANJARO x86_64
Distribution: "Manjaro Linux"

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

On my Manjaro Linux (based on Arch):

1. Drag the comic strip widget from the widgets-area to the Desktop
2. click on 'configure' in the widget area
3. click on "Get new comics..."
 -> Plasmashell crashes (and instantly restarts)


I already had a bug described in https://bugs.kde.org/show_bug.cgi?id=357222 (My Bug Report has been marked as duplicate, Bug 369172).
After updating (with the official Manjaro updates), i tried it and I was able to do the above steps.
The former bug describes a Crash right after the first step.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1d774c3800 (LWP 1204))]

Thread 9 (Thread 0x7f1c9ca95700 (LWP 4097)):
#0  0x00007f1d70bd948d in poll () at /usr/lib/libc.so.6
#1  0x00007f1d6bea1786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f1d6bea189c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f1d714fb72b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f1d714a523a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f1d712c80f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f1d7462b2d5 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007f1d712ccd78 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f1d703dc454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f1d70be27df in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7f1ca9a5f700 (LWP 1468)):
#0  0x00007f1d70bd54ed in read () at /usr/lib/libc.so.6
#1  0x00007f1d6bee5a10 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f1d6bea1235 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f1d6bea1724 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f1d6bea189c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f1d714fb72b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f1d714a523a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f1d712c80f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f1cabf8b0a7 in KCupsConnection::run() () at /usr/lib/libkcupslib.so
#9  0x00007f1d712ccd78 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f1d703dc454 in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007f1d70be27df in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f1cbe976700 (LWP 1439)):
#0  0x00007f1d6bee6db9 in g_mutex_lock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f1d6bea0c95 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#2  0x00007f1d6bea16ab in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f1d6bea189c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f1d714fb72b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f1d714a523a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f1d712c80f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f1d751ca856 in  () at /usr/lib/libQt5Quick.so.5
#8  0x00007f1d712ccd78 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f1d703dc454 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f1d70be27df in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f1d4dbbf700 (LWP 1408)):
#0  0x00007f1d703e210f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f1d76c5aac4 in  () at /usr/lib/libQt5Script.so.5
#2  0x00007f1d76c5ab09 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007f1d703dc454 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f1d70be27df in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f1d4f86c700 (LWP 1380)):
#0  0x00007f1d6be9e74b in  () at /usr/lib/libglib-2.0.so.0
#1  0x00007f1d6bea0c2b in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#2  0x00007f1d6bea16ab in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f1d6bea189c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f1d714fb72b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f1d714a523a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f1d712c80f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f1d7462b2d5 in  () at /usr/lib/libQt5Qml.so.5
#8  0x00007f1d712ccd78 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f1d703dc454 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f1d70be27df in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f1d5d449700 (LWP 1338)):
#0  0x00007f1d712c42e9 in QMutex::unlock() () at /usr/lib/libQt5Core.so.5
#1  0x00007f1d714faeb1 in  () at /usr/lib/libQt5Core.so.5
#2  0x00007f1d6bea0c89 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#3  0x00007f1d6bea16ab in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f1d6bea189c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f1d714fb72b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f1d714a523a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f1d712c80f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f1d7462b2d5 in  () at /usr/lib/libQt5Qml.so.5
#9  0x00007f1d712ccd78 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f1d703dc454 in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007f1d70be27df in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f1d5ee91700 (LWP 1249)):
#0  0x00007f1d70bd948d in poll () at /usr/lib/libc.so.6
#1  0x00007f1d6bea1786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f1d6bea189c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f1d714fb72b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f1d714a523a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f1d712c80f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f1d72048e55 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007f1d712ccd78 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f1d703dc454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f1d70be27df in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f1d60ac3700 (LWP 1228)):
#0  0x00007f1d70bd948d in poll () at /usr/lib/libc.so.6
#1  0x00007f1d75b9a8e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007f1d75b9c679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f1d62800449 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f1d712ccd78 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f1d703dc454 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f1d70be27df in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f1d774c3800 (LWP 1204)):
[KCrash Handler]
#6  0x00007f1d7245588e in QWidget::show() () at /usr/lib/libQt5Widgets.so.5
#7  0x00007f1ca148c947 in  () at /usr/lib/qt/plugins/plasma/applets/plasma_applet_comic.so
#8  0x00007f1ca14a77e5 in  () at /usr/lib/qt/plugins/plasma/applets/plasma_applet_comic.so
#9  0x00007f1ca14a83c8 in  () at /usr/lib/qt/plugins/plasma/applets/plasma_applet_comic.so
#10 0x00007f1d745e3a99 in  () at /usr/lib/libQt5Qml.so.5
#11 0x00007f1d7457136e in  () at /usr/lib/libQt5Qml.so.5
#12 0x00007f1d745725f9 in  () at /usr/lib/libQt5Qml.so.5
#13 0x00007f1d7457334d in QV4::QObjectMethod::callInternal(QV4::CallData*) const () at /usr/lib/libQt5Qml.so.5
#14 0x00007f1d74588730 in QV4::Runtime::callProperty(QV4::ExecutionEngine*, int, QV4::CallData*) () at /usr/lib/libQt5Qml.so.5
#15 0x00007f1ca1232c11 in  ()
#16 0x0000000000000000 in  ()

Reported using DrKonqi
Comment 1 Christoph Feck 2017-01-19 16:32:51 UTC
*** Bug 375115 has been marked as a duplicate of this bug. ***
Comment 2 Christoph Feck 2017-01-19 16:33:19 UTC
*** Bug 372432 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2017-01-19 16:33:39 UTC
*** Bug 373298 has been marked as a duplicate of this bug. ***
Comment 4 David Edmundson 2017-01-26 20:05:29 UTC
*** Bug 375593 has been marked as a duplicate of this bug. ***
Comment 5 Zion Nimchuk 2017-01-26 21:01:16 UTC
Still marked as unconfirmed? This should be confirmed by now.
Comment 6 Christoph Feck 2017-05-26 22:05:18 UTC
*** Bug 379600 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Feck 2017-05-26 22:05:35 UTC
*** Bug 379543 has been marked as a duplicate of this bug. ***
Comment 8 David Edmundson 2017-06-21 12:30:12 UTC
*** Bug 381446 has been marked as a duplicate of this bug. ***
Comment 9 Marco Martin 2017-06-21 13:08:30 UTC

*** This bug has been marked as a duplicate of bug 371779 ***
Comment 10 David Edmundson 2017-07-17 11:04:12 UTC
Git commit 8aa47be2abe657fb0c9c65172a23a9593e7f1a11 by David Edmundson.
Committed on 17/07/2017 at 11:03.
Pushed by davidedmundson into branch 'Plasma/5.10'.

Fix check for missing engine in comic applet

Summary:
Current code would check the comic engine was not installed and not create the
download dialog, but would still always try to show it. This would
crash.

Test Plan: Code review

Reviewers: #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D6746

M  +4    -1    applets/comic/comic.cpp

https://commits.kde.org/kdeplasma-addons/8aa47be2abe657fb0c9c65172a23a9593e7f1a11