Bug 288597

Summary: KNotify crashes during desktop initialization
Product: [Unmaintained] kdelibs Reporter: voidpoint
Component: knotifyAssignee: Olivier Goffart <ogoffart>
Status: RESOLVED WORKSFORME    
Severity: crash CC: cfeck, fry.futurateam
Priority: NOR    
Version: 4.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description voidpoint 2011-12-09 20:30:12 UTC
Application: knotify4 (4.0)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.8.0
Operating System: Linux 3.1.4-1.fc16.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed: normal startup as a non privileged user.

- Custom settings of the application: unknown. standard settings set during F16 installation.

This crash did not occur while logging in as root in a previous session.

-- Backtrace:
Application: KNotify (knotify4), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fdb2a979840 (LWP 1624))]

Thread 8 (Thread 0x7fdb1f6c9700 (LWP 1631)):
#0  g_main_context_prepare (context=0x7fdb180009a0, priority=0x7fdb1f6c8be8) at gmain.c:2782
#1  0x0000003f03c44e1d in g_main_context_iterate (context=0x7fdb180009a0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3053
#2  0x0000003f03c4544c in g_main_context_iteration (context=0x7fdb180009a0, may_block=1) at gmain.c:3136
#3  0x0000003f0d5a6896 in QEventDispatcherGlib::processEvents (this=0x7fdb180008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x0000003f0d576c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x0000003f0d576ed7 in QEventLoop::exec (this=0x7fdb1f6c8d10, flags=...) at kernel/qeventloop.cpp:204
#6  0x0000003f0d478ad7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x0000003f0d556a5f in QInotifyFileSystemWatcherEngine::run (this=0x2266e20) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x0000003f0d47bb1b in QThreadPrivate::start (arg=0x2266e20) at thread/qthread_unix.cpp:298
#9  0x0000003f04407d90 in start_thread (arg=0x7fdb1f6c9700) at pthread_create.c:309
#10 0x0000003f040eed0d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 7 (Thread 0x7fdb1db60700 (LWP 1789)):
#0  0x0000003f040e6373 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003f1c62c08f in poll_func (ufds=0x7fdb08001370, nfds=2, timeout=-1, userdata=0x26def30) at pulse/thread-mainloop.c:75
#2  0x0000003f1c61df06 in pa_mainloop_poll (m=0x26dee30) at pulse/mainloop.c:879
#3  0x0000003f1c61e539 in pa_mainloop_iterate (m=0x26dee30, block=<optimized out>, retval=0x0) at pulse/mainloop.c:961
#4  0x0000003f1c61e5f0 in pa_mainloop_run (m=0x26dee30, retval=0x0) at pulse/mainloop.c:979
#5  0x0000003f1c62c03f in thread (userdata=0x26d6b60) at pulse/thread-mainloop.c:94
#6  0x0000003f1ce38be8 in internal_thread_func (userdata=0x26d6d30) at pulsecore/thread-posix.c:83
#7  0x0000003f04407d90 in start_thread (arg=0x7fdb1db60700) at pthread_create.c:309
#8  0x0000003f040eed0d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 6 (Thread 0x7fdb0f785700 (LWP 1790)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003f224844ef in ?? () from /usr/lib64/libgstreamer-0.10.so.0
#2  0x0000003f03c6c6f8 in g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:319
#3  0x0000003f03c6a1d6 in g_thread_create_proxy (data=0x22b8410) at gthread.c:1962
#4  0x0000003f04407d90 in start_thread (arg=0x7fdb0f785700) at pthread_create.c:309
#5  0x0000003f040eed0d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7fdb0ef84700 (LWP 1791)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003f2663965b in gst_data_queue_pop () from /usr/lib64/libgstbase-0.10.so.0
#2  0x00007fdb1ccb87c1 in ?? () from /usr/lib64/gstreamer-0.10/libgstcoreelements.so
#3  0x0000003f22484364 in ?? () from /usr/lib64/libgstreamer-0.10.so.0
#4  0x0000003f03c6c6f8 in g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:319
#5  0x0000003f03c6a1d6 in g_thread_create_proxy (data=0x7fdb00013a80) at gthread.c:1962
#6  0x0000003f04407d90 in start_thread (arg=0x7fdb0ef84700) at pthread_create.c:309
#7  0x0000003f040eed0d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7fdb0e573700 (LWP 1793)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003f2661cdef in gst_base_sink_wait_preroll () from /usr/lib64/libgstbase-0.10.so.0
#2  0x0000003f2661cf6d in gst_base_sink_do_preroll () from /usr/lib64/libgstbase-0.10.so.0
#3  0x0000003f2661edab in ?? () from /usr/lib64/libgstbase-0.10.so.0
#4  0x0000003f2662101a in ?? () from /usr/lib64/libgstbase-0.10.so.0
#5  0x0000003f26621d2a in ?? () from /usr/lib64/libgstbase-0.10.so.0
#6  0x0000003f2245ecd2 in gst_pad_send_event () from /usr/lib64/libgstreamer-0.10.so.0
#7  0x0000003f2245f253 in gst_pad_push_event () from /usr/lib64/libgstreamer-0.10.so.0
#8  0x0000003f2662b71f in ?? () from /usr/lib64/libgstbase-0.10.so.0
#9  0x0000003f2245ecd2 in gst_pad_send_event () from /usr/lib64/libgstreamer-0.10.so.0
#10 0x0000003f2245f253 in gst_pad_push_event () from /usr/lib64/libgstreamer-0.10.so.0
#11 0x0000003f2662b71f in ?? () from /usr/lib64/libgstbase-0.10.so.0
#12 0x0000003f2245ecd2 in gst_pad_send_event () from /usr/lib64/libgstreamer-0.10.so.0
#13 0x0000003f2245f253 in gst_pad_push_event () from /usr/lib64/libgstreamer-0.10.so.0
#14 0x0000003f2662b71f in ?? () from /usr/lib64/libgstbase-0.10.so.0
#15 0x0000003f2245ecd2 in gst_pad_send_event () from /usr/lib64/libgstreamer-0.10.so.0
#16 0x0000003f2245f253 in gst_pad_push_event () from /usr/lib64/libgstreamer-0.10.so.0
#17 0x00007fdb1ccbd898 in ?? () from /usr/lib64/gstreamer-0.10/libgstcoreelements.so
#18 0x0000003f22484364 in ?? () from /usr/lib64/libgstreamer-0.10.so.0
#19 0x0000003f03c6c6f8 in g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:319
#20 0x0000003f03c6a1d6 in g_thread_create_proxy (data=0x7fdb0402ae10) at gthread.c:1962
#21 0x0000003f04407d90 in start_thread (arg=0x7fdb0e573700) at pthread_create.c:309
#22 0x0000003f040eed0d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7fdb0dd72700 (LWP 1794)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003f224844ef in ?? () from /usr/lib64/libgstreamer-0.10.so.0
#2  0x0000003f03c6c6f8 in g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:319
#3  0x0000003f03c6a1d6 in g_thread_create_proxy (data=0x7fdb04027f10) at gthread.c:1962
#4  0x0000003f04407d90 in start_thread (arg=0x7fdb0dd72700) at pthread_create.c:309
#5  0x0000003f040eed0d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fdb0d571700 (LWP 1795)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003f224844ef in ?? () from /usr/lib64/libgstreamer-0.10.so.0
#2  0x0000003f03c6c6f8 in g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:319
#3  0x0000003f03c6a1d6 in g_thread_create_proxy (data=0x7fdb0402a8f0) at gthread.c:1962
#4  0x0000003f04407d90 in start_thread (arg=0x7fdb0d571700) at pthread_create.c:309
#5  0x0000003f040eed0d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fdb2a979840 (LWP 1624)):
[KCrash Handler]
#6  0x0000003f04036285 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x0000003f04037b9b in __GI_abort () at abort.c:91
#8  0x0000003f04075fae in __libc_message (do_abort=2, fmt=0x3f04174418 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:198
#9  0x0000003f0407c2d6 in malloc_printerr (action=3, str=0x3f041713e9 "free(): invalid pointer", ptr=<optimized out>) at malloc.c:5007
#10 0x0000003f0d4c5e9c in QString::free (d=0x21339d0) at tools/qstring.cpp:1232
#11 0x0000003f0d5413ac in ~QSettingsKey (this=0x2496920, __in_chrg=<optimized out>) at io/qsettings_p.h:95
#12 QMap<QSettingsKey, QVariant>::freeData (this=<optimized out>, x=0x23ef970) at ../../src/corelib/tools/qmap.h:650
#13 0x0000003f0d53ee69 in operator= (other=..., this=0x2122ac0) at ../../src/corelib/tools/qmap.h:435
#14 clear (this=0x2122ac0) at ../../src/corelib/tools/qmap.h:446
#15 QConfFileSettingsPrivate::syncConfFile (this=0x22d3350, confFileNo=<optimized out>) at io/qsettings.cpp:1503
#16 0x0000003f0d53f7d1 in QConfFileSettingsPrivate::sync (this=0x22d3350) at io/qsettings.cpp:1367
#17 0x0000003f0d537f21 in update (this=0x22d3350) at io/qsettings.cpp:418
#18 QSettings::event (this=<optimized out>, event=<optimized out>) at io/qsettings.cpp:3355
#19 0x0000003f111c96f4 in notify_helper (e=0x2203a60, receiver=0x22a8150, this=0x20ed1a0) at kernel/qapplication.cpp:4518
#20 QApplicationPrivate::notify_helper (this=0x20ed1a0, receiver=0x22a8150, e=0x2203a60) at kernel/qapplication.cpp:4490
#21 0x0000003f111ce573 in QApplication::notify (this=0x7fff7da2a890, receiver=0x22a8150, e=0x2203a60) at kernel/qapplication.cpp:4379
#22 0x0000003f13450396 in KApplication::notify (this=0x7fff7da2a890, receiver=0x22a8150, event=0x2203a60) at /usr/src/debug/kdelibs-4.7.3/kdeui/kernel/kapplication.cpp:311
#23 0x0000003f0d577b4c in QCoreApplication::notifyInternal (this=0x7fff7da2a890, receiver=0x22a8150, event=0x2203a60) at kernel/qcoreapplication.cpp:876
#24 0x0000003f0d57b5da in sendEvent (event=0x2203a60, receiver=0x22a8150) at kernel/qcoreapplication.h:231
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x20bf600) at kernel/qcoreapplication.cpp:1500
#26 0x0000003f0d5a6403 in sendPostedEvents () at kernel/qcoreapplication.h:236
#27 postEventSourceDispatch (s=0x20e70f0) at kernel/qeventdispatcher_glib.cpp:279
#28 0x0000003f03c44a7d in g_main_dispatch (context=0x20e7000) at gmain.c:2425
#29 g_main_context_dispatch (context=0x20e7000) at gmain.c:2995
#30 0x0000003f03c45278 in g_main_context_iterate (context=0x20e7000, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#31 0x0000003f03c4544c in g_main_context_iteration (context=0x20e7000, may_block=1) at gmain.c:3136
#32 0x0000003f0d5a682f in QEventDispatcherGlib::processEvents (this=0x20c0ee0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#33 0x0000003f1126c43e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#34 0x0000003f0d576c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#35 0x0000003f0d576ed7 in QEventLoop::exec (this=0x7fff7da2a7f0, flags=...) at kernel/qeventloop.cpp:204
#36 0x0000003f0d57b8d5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#37 0x00000000004097c7 in main (argc=1, argv=0x7fff7da2ac18) at /usr/src/debug/kde-runtime-4.7.3/knotify/main.cpp:73

Possible duplicates by query: bug 286234, bug 283789, bug 275298, bug 257248, bug 257160.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-12-12 10:43:29 UTC
If this is reproducible, try running knotify4 in valgrind. For more information, see http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_with_Valgrind
Comment 2 Christoph Feck 2012-01-07 02:17:29 UTC
*** Bug 290830 has been marked as a duplicate of this bug. ***
Comment 3 Andrew Crouthamel 2018-10-29 22:43:15 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2018-11-13 14:35:54 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2018-11-29 04:55:07 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!