Bug 174438 - knotify4 crashes on kde logout
Summary: knotify4 crashes on kde logout
Status: RESOLVED DUPLICATE of bug 173813
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: Xine backend (show other bugs)
Version: unspecified
Platform: Ubuntu Unspecified
: NOR crash
Target Milestone: ---
Assignee: Matthias Kretz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-06 15:45 UTC by albert
Modified: 2008-11-08 19:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Backtrace of the crash (4.73 KB, application/octet-stream)
2008-11-08 11:47 UTC, albert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description albert 2008-11-06 15:45:22 UTC
Version:            (using KDE 4.1.2)
Installed from:    Ubuntu Packages

knotify4 crashes with signal SIGSEGV on kde logout.
Comment 1 Frank Reininghaus 2008-11-07 01:57:24 UTC
Thanks for the bug report. I might be helpful if you could provide a backtrace, see
http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Thanks!
Comment 2 albert 2008-11-08 11:47:35 UTC
Created attachment 28409 [details]
Backtrace of the crash
Comment 3 Frank Reininghaus 2008-11-08 16:32:11 UTC
Thanks for the update! I'll paste the backtrace below because that makes finding duplicates easier. Looks related to Phonon, more precisely the Xine backend. Might be a duplicate of bug 173813 which is actually a Xine bug. I'm not sure though if it has actually been reported to the Xine developers yet.

Applicazione: KNotify (knotify4), segnale SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0x7f2163e026f0 (LWP 6623)]
[New Thread 0x41dc5950 (LWP 6639)]
[KCrash handler]
#5  0x00007f2161777690 in strlen () from /lib/libc.so.6
#6  0x00007f216174044e in vfprintf () from /lib/libc.so.6
#7  0x00007f21617f1d18 in __vsnprintf_chk () from /lib/libc.so.6
#8  0x00007f21591aafad in ?? () from /usr/lib/libxine.so.1
#9  0x00007f215918d9f4 in xine_log () from /usr/lib/libxine.so.1
#10 0x00007f2159198ecc in ?? () from /usr/lib/libxine.so.1
#11 0x00007f215940cfc2 in ?? () from /usr/lib/kde4/phonon_xine.so
#12 0x00007f21594105dc in KPluginFactory::createInstance<Phonon::Xine::Backend, QObject> () from /usr/lib/kde4/phonon_xine.so
#13 0x00007f216399d845 in KPluginFactory::create (this=0x25e1cf0, 
    iface=0x7f216355a040 "QObject", parentWidget=0x0, parent=0x0, 
    args=@0x7fff6be2cbf0, keyword=@0x7fff6be2cad0)
    at /build/buildd/kde4libs-4.1.3/kdecore/util/kpluginfactory.cpp:189
#14 0x00007f215afa25b9 in Phonon::KdePlatformPlugin::createBackend (
    this=<value optimized out>, newService={d = 0x7fff6be2ccd0})
    at /usr/include/kpluginfactory.h:515
#15 0x00007f215afa3f0d in Phonon::KdePlatformPlugin::createBackend (
    this=0x25b2640)
    at /build/buildd/kdebase-runtime-4.1.3/phonon/platform_kde/kdepluginfactory.cpp:199
#16 0x00007f2161da64c8 in ?? () from /usr/lib/libphonon.so.4
#17 0x00007f2161da7407 in Phonon::Factory::backend ()
   from /usr/lib/libphonon.so.4
#18 0x00007f2161da2cf2 in ?? () from /usr/lib/libphonon.so.4
#19 0x00007f2161da325d in ?? () from /usr/lib/libphonon.so.4
#20 0x00007f2161d9d6b0 in ?? () from /usr/lib/libphonon.so.4
#21 0x00007f2161d9e341 in Phonon::AudioOutput::AudioOutput ()
   from /usr/lib/libphonon.so.4
#22 0x000000000040cab1 in PlayerPool::getPlayer (this=0x2583b18)
    at /build/buildd/kdebase-runtime-4.1.3/knotify/notifybysound.cpp:57
#23 0x000000000040d0f6 in NotifyBySound::notify (this=0x254e560, eventId=5, 
    config=<value optimized out>)
    at /build/buildd/kdebase-runtime-4.1.3/knotify/notifybysound.cpp:233
#24 0x00000000004079da in KNotify::emitEvent (this=0x7fff6be2e5a0, 
    e=0x25809d0)
    at /build/buildd/kdebase-runtime-4.1.3/knotify/knotify.cpp:176
#25 0x00000000004080fc in KNotify::event (this=0x7fff6be2e5a0, 
    event=<value optimized out>, appname=<value optimized out>, 
    contexts=<value optimized out>, text=<value optimized out>, 
    pixmap=@0x7fff6be2d590, actions=@0x257c180, winId=0)
    at /build/buildd/kdebase-runtime-4.1.3/knotify/knotify.cpp:126
#26 0x0000000000408568 in KNotifyAdaptor::event (this=0x257dee0, 
    event=@0x2550fc0, fromApp=@0x2551150, contexts=<value optimized out>, 
    text=@0x2551020, image=@0x257f910, actions=@0x257c180, winId=0)
    at /build/buildd/kdebase-runtime-4.1.3/knotify/knotify.cpp:235
#27 0x0000000000409208 in KNotifyAdaptor::qt_metacall (this=0x257dee0, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fff6be2d900)
    at /build/buildd/kdebase-runtime-4.1.3/obj-x86_64-linux-gnu/knotify/knotify.moc:208
#28 0x00007f21625dbea3 in ?? () from /usr/lib/libQtDBus.so.4
#29 0x00007f21625dd1b0 in ?? () from /usr/lib/libQtDBus.so.4
#30 0x00007f21625dd791 in ?? () from /usr/lib/libQtDBus.so.4
#31 0x00007f21625ddaa8 in ?? () from /usr/lib/libQtDBus.so.4
#32 0x00007f21634deda5 in QObject::event () from /usr/lib/libQtCore.so.4
#33 0x00007f21629f1c3d in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#34 0x00007f21629f99ea in QApplication::notify () from /usr/lib/libQtGui.so.4
#35 0x00007f21621ddfcb in KApplication::notify (this=0x7fff6be2e5d0, 
    receiver=0x7fff6be2e5a0, event=0x258d3a0)
    at /build/buildd/kde4libs-4.1.3/kdeui/kernel/kapplication.cpp:311
#36 0x00007f21634cfd61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#37 0x00007f21634d09fa in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
#38 0x00007f21634f84d3 in ?? () from /usr/lib/libQtCore.so.4
#39 0x00007f216092bd3b in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#40 0x00007f216092f50d in ?? () from /usr/lib/libglib-2.0.so.0
#41 0x00007f216092f6cb in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#42 0x00007f21634f815f in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#43 0x00007f2162a83a9f in ?? () from /usr/lib/libQtGui.so.4
#44 0x00007f21634ce682 in QEventLoop::processEvents ()
   from /usr/lib/libQtCore.so.4
#45 0x00007f21634ce80d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#46 0x00007f21634d0cbd in QCoreApplication::exec ()
   from /usr/lib/libQtCore.so.4
#47 0x0000000000406d3b in main (argc=1, argv=0x7fff6be2e958)
    at /build/buildd/kdebase-runtime-4.1.3/knotify/main.cpp:73
#0  0x00007f216179d621 in nanosleep () from /lib/libc.so.6
Comment 4 albert 2008-11-08 16:59:22 UTC
The crash (with the same backtrace) happens also on every incoming message in kopete.
Comment 5 Matthias Kretz 2008-11-08 17:57:36 UTC
Are you using Italian translations? If so, then please try moving /usr/share/locale/it/libxine1.mo to some temporary place. That should make all xine strings fall back to English but stop the crashes. Please let me know whether that fixed it.
Comment 6 albert 2008-11-08 19:16:01 UTC
Yes, I use Italian localization and moving libxine1.mo solves the problem.
I want just to report that the path to libxine1.mo is /usr/share/locale-langpack/it/LC_MESSAGES/.
Thank you very very much...
kopete was unusable without this fix.

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