Bug 293955 - KNotify SegFault when switching to battery power
Summary: KNotify SegFault when switching to battery power
Status: RESOLVED DUPLICATE of bug 293951
Alias: None
Product: phonon-backend-gstreamer
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.5.90 (4.6rc1)
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Olivier Goffart
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-13 03:33 UTC by Hayden
Modified: 2012-02-13 07:43 UTC (History)
4 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 Hayden 2012-02-13 03:33:04 UTC
Application: knotify4 (4.0)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.8.0
Operating System: Linux 3.2.5-3.fc16.x86_64 x86_64
Distribution: "Fedora release 16 (Verne)"

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

Unplugged my laptop from the power adapter, thereby switching to battery power.  Presumably KNotify was going to tell me so when it crashed.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7ff9b1bb8700 (LWP 23149)):
#0  0x00007ff9c9464af3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff9c5bdefd8 in g_main_context_poll (n_fds=1, fds=0x7ff9ac002450, priority=<optimized out>, timeout=-1, context=0x7ff9ac0009a0) at gmain.c:3402
#2  g_main_context_iterate (context=0x7ff9ac0009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3084
#3  0x00007ff9c5bdf49c in g_main_context_iteration (context=0x7ff9ac0009a0, may_block=1) at gmain.c:3152
#4  0x00007ff9ca297dc6 in QEventDispatcherGlib::processEvents (this=0x7ff9ac0008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007ff9ca268182 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007ff9ca2683d7 in QEventLoop::exec (this=0x7ff9b1bb7d10, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007ff9ca168b27 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007ff9ca247e7f in QInotifyFileSystemWatcherEngine::run (this=0x1f29630) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007ff9ca16bb6b in QThreadPrivate::start (arg=0x1f29630) at thread/qthread_unix.cpp:298
#10 0x00007ff9c9edbd90 in start_thread (arg=0x7ff9b1bb8700) at pthread_create.c:309
#11 0x00007ff9c946d48d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7ff9ccbce840 (LWP 23148)):
[KCrash Handler]
#6  Phonon::Gstreamer::Pipeline::setState (this=0x0, state=GST_STATE_PLAYING) at /usr/src/debug/phonon-backend-gstreamer-4.5.90/gstreamer/pipeline.cpp:220
#7  0x000000000040e80b in play (file=..., this=0x1f6c1d0) at /usr/src/debug/kde-runtime-4.7.4/knotify/notifybysound.cpp:63
#8  NotifyBySound::notify (this=0x1eead20, eventId=164, config=<optimized out>) at /usr/src/debug/kde-runtime-4.7.4/knotify/notifybysound.cpp:245
#9  0x000000000040b3ad in KNotify::emitEvent (this=0x7fff0e34adc0, e=0x1d725d0) at /usr/src/debug/kde-runtime-4.7.4/knotify/knotify.cpp:230
#10 0x000000000040c1a4 in KNotify::event (this=0x7fff0e34adc0, event=<optimized out>, appname=..., contexts=<optimized out>, title=<optimized out>, text=<optimized out>, image=..., actions=..., timeout=-1, winId=0) at /usr/src/debug/kde-runtime-4.7.4/knotify/knotify.cpp:149
#11 0x000000000040c8fe in KNotifyAdaptor::event (this=0x1f27fa0, event=..., fromApp=..., contexts=<optimized out>, title=..., text=..., image=..., actions=..., timeout=-1, winId=0) at /usr/src/debug/kde-runtime-4.7.4/knotify/knotify.cpp:289
#12 0x000000000040cae8 in qt_static_metacall (_a=0x7fff0e34a120, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kde-runtime-4.7.4/x86_64-redhat-linux-gnu/knotify/knotify.moc:218
#13 KNotifyAdaptor::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fff0e34a120) at /usr/src/debug/kde-runtime-4.7.4/x86_64-redhat-linux-gnu/knotify/knotify.moc:208
#14 0x000000000040cbcb in KNotifyAdaptor::qt_metacall (this=0x1f27fa0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff0e34a120) at /usr/src/debug/kde-runtime-4.7.4/x86_64-redhat-linux-gnu/knotify/knotify.moc:260
#15 0x00007ff9ca5e1d8b in QDBusConnectionPrivate::deliverCall (this=0x1d72ec0, object=0x1f27fa0, msg=..., metaTypes=..., slotIdx=8) at qdbusintegrator.cpp:947
#16 0x00007ff9ca5e2ecd in QDBusConnectionPrivate::activateCall (this=0x1d72ec0, object=0x1f27fa0, flags=273, msg=...) at qdbusintegrator.cpp:857
#17 0x00007ff9ca5e382b in QDBusConnectionPrivate::activateObject (this=0x1d72ec0, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1423
#18 0x00007ff9ca5e391b in QDBusActivateObjectEvent::placeMetaCall (this=0x1f32f80) at qdbusintegrator.cpp:1537
#19 0x00007ff9ca281f16 in QObject::event (this=0x7fff0e34adc0, e=<optimized out>) at kernel/qobject.cpp:1195
#20 0x00007ff9cb13e994 in notify_helper (e=0x1f32f80, receiver=0x7fff0e34adc0, this=0x1d89860) at kernel/qapplication.cpp:4550
#21 QApplicationPrivate::notify_helper (this=0x1d89860, receiver=0x7fff0e34adc0, e=0x1f32f80) at kernel/qapplication.cpp:4522
#22 0x00007ff9cb143813 in QApplication::notify (this=0x7fff0e34adf0, receiver=0x7fff0e34adc0, e=0x1f32f80) at kernel/qapplication.cpp:4411
#23 0x00007ff9cc5c7766 in KApplication::notify (this=0x7fff0e34adf0, receiver=0x7fff0e34adc0, event=0x1f32f80) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#24 0x00007ff9ca26904c in QCoreApplication::notifyInternal (this=0x7fff0e34adf0, receiver=0x7fff0e34adc0, event=0x1f32f80) at kernel/qcoreapplication.cpp:876
#25 0x00007ff9ca26cada in sendEvent (event=0x1f32f80, receiver=0x7fff0e34adc0) at kernel/qcoreapplication.h:231
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1d59600) at kernel/qcoreapplication.cpp:1500
#27 0x00007ff9ca297933 in sendPostedEvents () at kernel/qcoreapplication.h:236
#28 postEventSourceDispatch (s=0x1d8e5a0) at kernel/qeventdispatcher_glib.cpp:279
#29 0x00007ff9c5bdeacd in g_main_dispatch (context=0x1d8d0e0) at gmain.c:2441
#30 g_main_context_dispatch (context=0x1d8d0e0) at gmain.c:3011
#31 0x00007ff9c5bdf2c8 in g_main_context_iterate (context=0x1d8d0e0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#32 0x00007ff9c5bdf49c in g_main_context_iteration (context=0x1d8d0e0, may_block=1) at gmain.c:3152
#33 0x00007ff9ca297d5f in QEventDispatcherGlib::processEvents (this=0x1d5aee0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#34 0x00007ff9cb1e166e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#35 0x00007ff9ca268182 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007ff9ca2683d7 in QEventLoop::exec (this=0x7fff0e34ad50, flags=...) at kernel/qeventloop.cpp:204
#37 0x00007ff9ca26cdd5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#38 0x00000000004097c7 in main (argc=1, argv=0x7fff0e34b178) at /usr/src/debug/kde-runtime-4.7.4/knotify/main.cpp:73

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-02-13 07:43:06 UTC

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