Bug 290753 - knotify crashes in phonon-vlc
Summary: knotify crashes in phonon-vlc
Status: RESOLVED NOT A BUG
Alias: None
Product: phonon-backend-vlc
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: VLO minor
Target Milestone: ---
Assignee: Harald Sitter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-05 23:22 UTC by Christian Weilbach
Modified: 2012-06-18 03:53 UTC (History)
5 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 Christian Weilbach 2012-01-05 23:22:22 UTC
Application: knotify4 (4.0)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.8.0
Operating System: Linux 3.1.6-1.fc16.x86_64 x86_64
Distribution: "Fedora release 16 (Verne)"

-- Information about the crash:
- What I was doing when the application crashed:
Logging into KDE after a reboot.

My Phonon backend is VLC, just to let you know, because it seems related.

-- Backtrace:
Application: KNotify (knotify4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
39		cmpq $-4095, %rax	/* Check %rax for error.  */
[Current thread is 1 (Thread 0x7f7071d00840 (LWP 1884))]

Thread 4 (Thread 0x7f7065a54700 (LWP 1887)):
#0  0x0000003e83809de5 in __pthread_mutex_lock (mutex=0x7f70600009a8) at pthread_mutex_lock.c:65
#1  0x0000003e85444043 in g_main_context_prepare (context=0x7f70600009a0, priority=0x7f7065a53be8) at gmain.c:2748
#2  0x0000003e85444e1d in g_main_context_iterate (context=0x7f70600009a0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3053
#3  0x0000003e8544544c in g_main_context_iteration (context=0x7f70600009a0, may_block=1) at gmain.c:3136
#4  0x00000032157a7db6 in QEventDispatcherGlib::processEvents (this=0x7f70600008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x0000003215778172 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00000032157783c7 in QEventLoop::exec (this=0x7f7065a53d10, flags=...) at kernel/qeventloop.cpp:204
#7  0x0000003215678b27 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x0000003215757e6f in QInotifyFileSystemWatcherEngine::run (this=0xb61c00) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x000000321567bb6b in QThreadPrivate::start (arg=0xb61c00) at thread/qthread_unix.cpp:298
#10 0x0000003e83807d90 in start_thread (arg=0x7f7065a54700) at pthread_create.c:309
#11 0x0000003e830ef48d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f70641dd700 (LWP 2303)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00000038ef22fd44 in LoopRequest (p_playlist=0xcdac60) at playlist/thread.c:539
#2  Thread (data=0xcdac60) at playlist/thread.c:586
#3  0x0000003e83807d90 in start_thread (arg=0x7f70641dd700) at pthread_create.c:309
#4  0x0000003e830ef48d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f702dcb5700 (LWP 2304)):
[KCrash Handler]
#6  __GI_getenv (name=0x7f702dcb46a2 "G_DATA_HOME") at getenv.c:90
#7  0x00000038ef2a5e57 in config_GetAppDir (xdg_name=0x38ef2d00d6 "DATA", xdg_default=0x38ef2d00c9 ".local/share") at config/dirs_xdg.c:96
#8  0x00007f7049889d2f in vlclua_dir_list (p_this=0x7f7020004f60, luadirname=0x7f702000f7c3 "playlist", pppsz_dir_list=0x7f702dcb4748) at vlc.c:221
#9  0x00007f704988b84d in __vlclua_add_modules_path (obj=0x7f7020004f60, L=0x7f70200057e0, psz_filename=<optimized out>) at vlc.c:811
#10 0x00007f70498881fe in probe_luascript (p_this=0x7f7020004f60, psz_filename=0x7f702000b3c0 "/usr/lib64/vlc/lua/playlist/katsomo.luac", user_data=<optimized out>) at demux.c:153
#11 0x00007f704988a0d2 in vlclua_scripts_batch_execute (p_this=0x7f7020004f60, luadirname=<optimized out>, func=0x7f7049888120 <probe_luascript>, user_data=0x0) at vlc.c:309
#12 0x00007f704988870e in Import_LuaPlaylist (p_this=0x7f7020004f60) at demux.c:219
#13 0x00000038ef28ca75 in module_need (p_this=<optimized out>, psz_capability=0x38ef2c6809 "demux", psz_name=<optimized out>, b_strict=true) at modules/modules.c:559
#14 0x00000038ef24630f in __demux_New (p_obj=<optimized out>, p_parent_input=<optimized out>, psz_access=0x7f7020005029 "1", psz_demux=0x38ef2ce991 "", psz_path=0x7f7020004e20 "/usr/lib64/libvlc.so.5.2.1", s=<optimized out>, out=0x7f7020004250, b_quick=true) at input/demux.c:170
#15 0x00000038ef253781 in InputSourceInit (p_input=<optimized out>, in=<optimized out>, psz_mrl=<optimized out>, psz_forced_demux=<optimized out>, b_in_can_fail=false) at input/input.c:2603
#16 0x00000038ef2548e6 in Init (p_input=0x7f7020000970) at input/input.c:1244
#17 0x00000038ef256050 in input_Preparse (p_parent=<optimized out>, p_item=<optimized out>) at input/input.c:201
#18 0x00000038ef235dcd in Preparse (p_item=0xd66890, p_playlist=<optimized out>) at playlist/preparser.c:140
#19 Thread (data=0x1060550) at playlist/preparser.c:220
#20 0x0000003e83807d90 in start_thread (arg=0x7f702dcb5700) at pthread_create.c:309
#21 0x0000003e830ef48d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f7071d00840 (LWP 1884)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
#1  0x000000321567a63b in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0xc28360) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0xc28360, timeout=<optimized out>) at thread/qmutex_unix.cpp:113
#3  0x00000032156763ed in QMutex::lockInternal (this=<optimized out>) at thread/qmutex.cpp:450
#4  0x00007f7064e1a181 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#5  0x00007f7064e2ce4f in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#6  0x000000321578ccd1 in QMetaObject::activate (sender=0xd63eb0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8fa13e00) at kernel/qobject.cpp:3547
#7  0x00007f7064e0ea41 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#8  0x00007f7064e3018c in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#9  0x00000038ef60c704 in libvlc_event_send (p_em=0xc23140, p_event=0x7fff8fa13f30) at control/event.c:216
#10 0x00000038ef610132 in libvlc_media_player_stop (p_mi=0xf0bdc0) at control/media_player.c:772
#11 0x00007f7064e2e3b5 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#12 0x00007f7064e2e469 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#13 0x000000321c641b24 in Phonon::MediaNodePrivate::deleteBackendObject (this=0xb9c730) at /usr/src/debug/phonon-4.5.57/phonon/medianode.cpp:81
#14 0x000000321c62c5a0 in Phonon::FactoryPrivate::~FactoryPrivate (this=0xb9c130, __in_chrg=<optimized out>) at /usr/src/debug/phonon-4.5.57/phonon/factory.cpp:236
#15 0x000000321c62c889 in Phonon::FactoryPrivate::~FactoryPrivate (this=0xb9c130, __in_chrg=<optimized out>) at /usr/src/debug/phonon-4.5.57/phonon/factory.cpp:246
#16 0x0000003e83039931 in __run_exit_handlers (status=1, listp=0x3e833af668, run_list_atexit=true) at exit.c:78
#17 0x0000003e830399b5 in __GI_exit (status=<optimized out>) at exit.c:100
#18 0x0000003216a35228 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:770
#19 0x0000003218a4f4a8 in KApplication::xioErrhandler (this=0x7fff8fa15c00, dpy=0x9e8220) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:419
#20 0x0000003e860481be in _XIOError (dpy=0x9e8220) at XlibInt.c:1618
#21 0x0000003e86045fdb in _XReply (dpy=0x9e8220, rep=0x7fff8fa14140, extra=0, discard=1) at xcb_io.c:643
#22 0x0000003e8602fc60 in XInternAtoms (dpy=0x9e8220, names=0x3218e561a0, count=89, onlyIfExists=0, atoms_return=0x7fff8fa141d0) at IntAtom.c:283
#23 0x0000003218b8c3d8 in create_netwm_atoms (d=<optimized out>) at /usr/src/debug/kdelibs-4.7.4/kdeui/windowmanagement/netwm.cpp:469
#24 0x0000003218b948bf in NETWinInfo::NETWinInfo (this=0x7fff8fa147d0, display=<optimized out>, window=<optimized out>, rootWindow=168, properties=524288, role=<optimized out>) at /usr/src/debug/kdelibs-4.7.4/kdeui/windowmanagement/netwm.cpp:2880
#25 0x0000003218b84ac4 in KWindowSystem::demandAttention (win=90177622, set=true) at /usr/src/debug/kdelibs-4.7.4/kdeui/windowmanagement/kwindowsystem_x11.cpp:581
#26 0x0000000000416127 in NotifyByTaskbar::notify (this=0xbee4f0, id=13, config=0xc1d0b8) at /usr/src/debug/kde-runtime-4.7.4/knotify/notifybytaskbar.cpp:45
#27 0x000000000040b3ad in KNotify::emitEvent (this=0x7fff8fa15bd0, e=0xc1d0b0) at /usr/src/debug/kde-runtime-4.7.4/knotify/knotify.cpp:230
#28 0x000000000040c1a4 in KNotify::event (this=0x7fff8fa15bd0, event=<optimized out>, appname=..., contexts=<optimized out>, title=<optimized out>, text=<optimized out>, image=..., actions=..., timeout=-1, winId=90177622) at /usr/src/debug/kde-runtime-4.7.4/knotify/knotify.cpp:149
#29 0x000000000040c8fe in KNotifyAdaptor::event (this=0xbde800, event=..., fromApp=..., contexts=<optimized out>, title=..., text=..., image=..., actions=..., timeout=-1, winId=90177622) at /usr/src/debug/kde-runtime-4.7.4/knotify/knotify.cpp:289
#30 0x000000000040cae8 in qt_static_metacall (_a=0x7fff8fa14f30, _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
#31 KNotifyAdaptor::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fff8fa14f30) at /usr/src/debug/kde-runtime-4.7.4/x86_64-redhat-linux-gnu/knotify/knotify.moc:208
#32 0x000000000040cbcb in KNotifyAdaptor::qt_metacall (this=0xbde800, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff8fa14f30) at /usr/src/debug/kde-runtime-4.7.4/x86_64-redhat-linux-gnu/knotify/knotify.moc:260
#33 0x0000003216422d8b in QDBusConnectionPrivate::deliverCall (this=0x9c5f00, object=0xbde800, msg=..., metaTypes=..., slotIdx=8) at qdbusintegrator.cpp:947
#34 0x0000003216423ecd in QDBusConnectionPrivate::activateCall (this=0x9c5f00, object=0xbde800, flags=273, msg=...) at qdbusintegrator.cpp:857
#35 0x000000321642482b in QDBusConnectionPrivate::activateObject (this=0x9c5f00, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1423
#36 0x000000321642491b in QDBusActivateObjectEvent::placeMetaCall (this=0xbf7ac0) at qdbusintegrator.cpp:1537
#37 0x0000003215791f06 in QObject::event (this=0x7fff8fa15bd0, e=<optimized out>) at kernel/qobject.cpp:1195
#38 0x00000032169c9994 in notify_helper (e=0xbf7ac0, receiver=0x7fff8fa15bd0, this=0x9e9f00) at kernel/qapplication.cpp:4550
#39 QApplicationPrivate::notify_helper (this=0x9e9f00, receiver=0x7fff8fa15bd0, e=0xbf7ac0) at kernel/qapplication.cpp:4522
#40 0x00000032169ce813 in QApplication::notify (this=0x7fff8fa15c00, receiver=0x7fff8fa15bd0, e=0xbf7ac0) at kernel/qapplication.cpp:4411
#41 0x0000003218a50766 in KApplication::notify (this=0x7fff8fa15c00, receiver=0x7fff8fa15bd0, event=0xbf7ac0) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#42 0x000000321577903c in QCoreApplication::notifyInternal (this=0x7fff8fa15c00, receiver=0x7fff8fa15bd0, event=0xbf7ac0) at kernel/qcoreapplication.cpp:876
#43 0x000000321577caca in sendEvent (event=0xbf7ac0, receiver=0x7fff8fa15bd0) at kernel/qcoreapplication.h:231
#44 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9ac600) at kernel/qcoreapplication.cpp:1500
#45 0x00000032157a7923 in sendPostedEvents () at kernel/qcoreapplication.h:236
#46 postEventSourceDispatch (s=0x9e7200) at kernel/qeventdispatcher_glib.cpp:279
#47 0x0000003e85444a7d in g_main_dispatch (context=0x9ebde0) at gmain.c:2425
#48 g_main_context_dispatch (context=0x9ebde0) at gmain.c:2995
#49 0x0000003e85445278 in g_main_context_iterate (context=0x9ebde0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#50 0x0000003e8544544c in g_main_context_iteration (context=0x9ebde0, may_block=1) at gmain.c:3136
#51 0x00000032157a7d4f in QEventDispatcherGlib::processEvents (this=0x9adee0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#52 0x0000003216a6c61e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#53 0x0000003215778172 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#54 0x00000032157783c7 in QEventLoop::exec (this=0x7fff8fa15b60, flags=...) at kernel/qeventloop.cpp:204
#55 0x000000321577cdc5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#56 0x00000000004097c7 in main (argc=1, argv=0x7fff8fa15f88) at /usr/src/debug/kde-runtime-4.7.4/knotify/main.cpp:73

Reported using DrKonqi
Comment 1 Harald Sitter 2012-06-18 03:45:57 UTC
actually it gets an XIOError first, so it would have exploded anyway

not terribly sure that the crash can be avoided though
Comment 2 Harald Sitter 2012-06-18 03:53:08 UTC
actually never mind that...

the crash is somewhere in some event handler, but since the symbols are incomplete I could not possible tell where

cant fix