Bug 349667 - script-files don't work in System Notification Configuration
Summary: script-files don't work in System Notification Configuration
Status: RESOLVED DUPLICATE of bug 348510
Alias: None
Product: frameworks-knotifications
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Martin Klapetek
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-06-27 18:32 UTC by LordKhael Light
Modified: 2015-07-28 13:04 UTC (History)
1 user (show)

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 LordKhael Light 2015-06-27 18:32:39 UTC
Application: kded5 ()

Qt Version: 5.4.1
Operating System: Linux 3.19.0-21-generic x86_64
Distribution: Ubuntu 15.04

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

In System Settings->System Notifications->Manage Notifications  there is a "Run command" option., but commands or shellscripts selected from file don't work. It seems to be a kdeinit5 bug.
I tried with different commands/shellscripts but none of them work.

-- Backtrace:
Application: kded5 (kded5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8dcb24c780 (LWP 15821))]

Thread 12 (Thread 0x7f8dbef12700 (LWP 15822)):
#0  0x00007f8dcac028dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f8dc595cb72 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f8dc595e64f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f8dcb1bc099 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#4  0x00007f8dc8f0cb0e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f8dc89436aa in start_thread (arg=0x7f8dbef12700) at pthread_create.c:333
#6  0x00007f8dcac0deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 11 (Thread 0x7f8da93cc700 (LWP 15897)):
#0  0x00007f8dcac028dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f8dc8424ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8dc8425242 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8da9f64af6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f8dc844b955 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f8dc89436aa in start_thread (arg=0x7f8da93cc700) at pthread_create.c:333
#6  0x00007f8dcac0deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 10 (Thread 0x7f8d973d5700 (LWP 15912)):
#0  0x00007f8dc84247fb in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f8dc8424e60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8dc8424fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8dc91a3c6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f8dc91483e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f8dc8f07b44 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f8da3543cf7 in KCupsConnection::run() () from /usr/lib/x86_64-linux-gnu/libkcupslib.so
#7  0x00007f8dc8f0cb0e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f8dc89436aa in start_thread (arg=0x7f8d973d5700) at pthread_create.c:333
#9  0x00007f8dcac0deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7f8d96bd4700 (LWP 15913)):
#0  0x00007f8dcac028dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f8dc8424ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8dc8424fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8dc91a3c6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f8dc91483e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f8dc8f07b44 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f8dc8f0cb0e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f8dc89436aa in start_thread (arg=0x7f8d96bd4700) at pthread_create.c:333
#8  0x00007f8dcac0deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f8d6df65700 (LWP 16128)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f8dc84698ef in g_cond_wait () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8d7aa29d0d in ?? () from /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#3  0x00007f8dc844c2e8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f8dc844b955 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f8dc89436aa in start_thread (arg=0x7f8d6df65700) at pthread_create.c:333
#6  0x00007f8dcac0deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f8d9e67c700 (LWP 16134)):
#0  0x00007f8dcac028dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f8db6237601 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007f8db6228b41 in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007f8db62291de in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007f8db6229290 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007f8db6237596 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007f8db57876c8 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-6.0.so
#7  0x00007f8dc89436aa in start_thread (arg=0x7f8d9e67c700) at pthread_create.c:333
#8  0x00007f8dcac0deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f8d9ee7d700 (LWP 16135)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f8dc84698ef in g_cond_wait () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8d7aa29d0d in ?? () from /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#3  0x00007f8dc844c2e8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f8dc844b955 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f8dc89436aa in start_thread (arg=0x7f8d9ee7d700) at pthread_create.c:333
#6  0x00007f8dcac0deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f8d9de7b700 (LWP 16136)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f8dc84698ef in g_cond_wait () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8d7a341032 in ?? () from /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0
#3  0x00007f8d7a342340 in gst_data_queue_pop () from /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0
#4  0x00007f8d70667201 in ?? () from /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoreelements.so
#5  0x00007f8d7aa29b71 in ?? () from /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#6  0x00007f8dc844c2e8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f8dc844b955 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f8dc89436aa in start_thread (arg=0x7f8d9de7b700) at pthread_create.c:333
#9  0x00007f8dcac0deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f8d6e766700 (LWP 16137)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f8dc84698ef in g_cond_wait () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8d7a32542d in gst_base_sink_wait_preroll () from /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0
#3  0x00007f8d79e5731c in ?? () from /usr/lib/x86_64-linux-gnu/libgstaudio-1.0.so.0
#4  0x00007f8d7a327947 in ?? () from /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0
#5  0x00007f8d7a328e14 in ?? () from /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0
#6  0x00007f8d7a9fbe3f in ?? () from /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#7  0x00007f8d7a336c04 in ?? () from /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0
#8  0x00007f8d7a9fbe3f in ?? () from /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#9  0x00007f8d7a336c04 in ?? () from /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0
#10 0x00007f8d7a9fbe3f in ?? () from /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#11 0x00007f8d7a336c04 in ?? () from /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0
#12 0x00007f8d7a9fbe3f in ?? () from /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#13 0x00007f8d7066af4e in ?? () from /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoreelements.so
#14 0x00007f8d7aa29b71 in ?? () from /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#15 0x00007f8dc844c2e8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f8dc844b955 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f8dc89436aa in start_thread (arg=0x7f8d6e766700) at pthread_create.c:333
#18 0x00007f8dcac0deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f8d95e7e700 (LWP 16138)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f8dc84698ef in g_cond_wait () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8d7aa29d0d in ?? () from /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#3  0x00007f8dc844c2e8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f8dc844b955 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f8dc89436aa in start_thread (arg=0x7f8d95e7e700) at pthread_create.c:333
#6  0x00007f8dcac0deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f8d6f768700 (LWP 16139)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f8dc84698ef in g_cond_wait () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8d7aa29d0d in ?? () from /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#3  0x00007f8dc844c2e8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f8dc844b955 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f8dc89436aa in start_thread (arg=0x7f8d6f768700) at pthread_create.c:333
#6  0x00007f8dcac0deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f8dcb24c780 (LWP 15821)):
[KCrash Handler]
#6  0x00007f8dca5e8170 in QWidget::window() const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007f8dbd9764f6 in topLevelWidget (this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:294
#8  NotifyByExecute::notify (this=0x1ebc180, notification=0x2ad9970, config=<optimized out>) at ../../src/notifybyexecute.cpp:55
#9  0x00007f8dbd95bb6f in KNotificationManager::notify (this=0x7f8dbdb8fe90 <(anonymous namespace)::Q_QGS_s_self::innerFunction()::holder>, n=n@entry=0x2ad9970) at ../../src/knotificationmanager.cpp:177
#10 0x00007f8dbd95a2d8 in KNotification::sendEvent (this=0x2ad9970) at ../../src/knotification.cpp:381
#11 0x00007f8dc917c73a in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f8dca5bbb2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f8dca5c1000 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f8dc914ac2b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f8dc914cc9b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f8dc91a3843 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f8dc8424c3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f8dc8424f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f8dc8424fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f8dc91a3c57 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f8dc91483e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f8dc915002c in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f8dcaede321 in kdemain (argc=1, argv=<optimized out>) at ../../src/kded.cpp:846
#24 0x00007f8dcab27a40 in __libc_start_main (main=0x400720 <main(int, char**)>, argc=1, argv=0x7fff89818088, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff89818078) at libc-start.c:289
#25 0x0000000000400759 in _start ()

Reported using DrKonqi
Comment 1 LordKhael Light 2015-06-27 18:38:15 UTC
Maybe related to Bug https://bugs.kde.org/show_bug.cgi?id=338242
Comment 2 LordKhael Light 2015-06-27 18:47:50 UTC
After searching maybe it is related to https://bugs.kde.org/show_bug.cgi?id=348510 too.
Comment 3 Martin Klapetek 2015-07-28 13:04:32 UTC
Please update your libkf5notifications package and if you can still reproduce this crash with version 5.12 or newer, please comment on bug 348510.

Thanks

*** This bug has been marked as a duplicate of bug 348510 ***