| Summary: | Phonon Xine backend makes all multimedia apps crash | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] Phonon | Reporter: | Nicolò Rebughini <nicolo.rebughini+kde> |
| Component: | Xine backend | Assignee: | Matthias Kretz <kretz> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | crash | CC: | alberthilbert, jemand, lool |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Nicolò Rebughini
2008-10-29 09:39:35 UTC
Please recompile kdesupport/phonon with full debug info. Also please install libxine1-dbg. Then get a new backtrace and paste it here. I installed the debugging symbols and recompiled phonon with debug info.
This is the backtrace of amarok.
Application: Amarok (amarok), signal SIGSEGV
0x00007f93b9761621 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 10276)]
Thread 2 (Thread 0x416b1950 (LWP 10277)):
#0 0x00007f93bac2a55d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x00007f93a8e2af31 in metronom_sync_loop (this=0x13d92a0) at metronom.c:870
#2 0x00007f93bac263ea in start_thread () from /lib/libpthread.so.0
#3 0x00007f93b979fc6d in clone () from /lib/libc.so.6
#4 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7f93ab6e0730 (LWP 10276)):
[KCrash Handler]
#5 0x00007f93b973b690 in strlen () from /lib/libc.so.6
#6 0x00007f93b970444e in vfprintf () from /lib/libc.so.6
#7 0x00007f93b97b5d18 in __vsnprintf_chk () from /lib/libc.so.6
#8 0x00007f93a8e42fad in scratch_printf (this=0x1387ea0, format=0x7f93a8bf75c3 "load_plugins: plugin %s trovato\n", argp=0x7fffc3704be0) at /usr/include/bits/stdio2.h:78
#9 0x00007f93a8e259f4 in xine_log (this=0x1364e80, buf=1, format=0x7f93a8bf75c3 "load_plugins: plugin %s trovato\n") at xine.c:2245
#10 0x00007f93a8e30ecc in _register_plugins_internal (this=0x1364e80, file=0x0, info=0x7f93a92c45e0) at load_plugins.c:492
#11 0x00007f93a908795c in XineEngineData (this=0x1293370) at /media/sda2/src/kdesupport/phonon/xine/xineengine.cpp:49
#12 0x00007f93a90879b0 in Phonon::Xine::XineEngine::create (this=0x135c948) at /media/sda2/src/kdesupport/phonon/xine/xineengine.cpp:62
#13 0x00007f93a909fe31 in Backend (this=0x135c900, parent=<value optimized out>) at /media/sda2/src/kdesupport/phonon/xine/backend.cpp:77
#14 0x00007f93a90a08e7 in qt_plugin_instance () at /media/sda2/src/kdesupport/phonon/xine/backend.cpp:53
#15 0x00007f93a94c9c42 in Phonon::KdePlatformPlugin::createBackend () from /opt/kde4/lib/kde4/plugins/phonon_platform/kde.so
#16 0x00007f93a94cadfd in Phonon::KdePlatformPlugin::createBackend () from /opt/kde4/lib/kde4/plugins/phonon_platform/kde.so
#17 0x00007f93b4a89537 in Phonon::FactoryPrivate::createBackend (this=0x134a820) at /media/sda2/src/kdesupport/phonon/phonon/factory.cpp:107
#18 0x00007f93b4a89b48 in Phonon::Factory::backend (createWhenNull=true) at /media/sda2/src/kdesupport/phonon/phonon/factory.cpp:379
#19 0x00007f93b4a86bae in Phonon::GlobalConfig::audioOutputDeviceListFor (this=<value optimized out>, category=Phonon::MusicCategory, override=<value optimized out>)
at /media/sda2/src/kdesupport/phonon/phonon/globalconfig.cpp:151
#20 0x00007f93b4a86ca5 in Phonon::GlobalConfig::audioOutputDeviceFor (this=<value optimized out>, category=<value optimized out>) at /media/sda2/src/kdesupport/phonon/phonon/globalconfig.cpp:169
#21 0x00007f93b4a846db in Phonon::AudioOutputPrivate::init (this=0x134ab60, c=Phonon::MusicCategory) at /media/sda2/src/kdesupport/phonon/phonon/audiooutput.cpp:83
#22 0x00007f93ba446d21 in EngineController::EngineController () from /opt/kde4/lib/libamaroklib.so.1
#23 0x00007f93ba44724d in EngineController::instance () from /opt/kde4/lib/libamaroklib.so.1
#24 0x00007f93ba4514cd in MainWindow::MainWindow () from /opt/kde4/lib/libamaroklib.so.1
#25 0x00007f93ba43cd93 in App::continueInit () from /opt/kde4/lib/libamaroklib.so.1
#26 0x00007f93ba43e44e in App::App () from /opt/kde4/lib/libamaroklib.so.1
#27 0x000000000040408b in main ()
"plugin %s trovato" means "plugin %s found", right? If that's the case then I'm stuck to understand what's going on. A wild guess would be a translation error... Try to run it in the C locale.
This is the code in libxine, and your backtrace shows that file == NULL, so it really shouldn't print "plugin %s found"...
if (file)
xine_log (this, XINE_LOG_PLUGIN,
_("load_plugins: plugin %s found\n"), file->filename);
else
xine_log (this, XINE_LOG_PLUGIN,
_("load_plugins: static plugin found\n"));
You're right, 'trovato' in italian means 'found'. If the C locale can be changed I'll do it to favor further debugging, but I don't know how to do. As far as I know just switching all of KDE to English (untranslated is the C-locale) should also switch the libxine translations. So just go to System Settings... I already have my KDE in english language. To be sure of all choices, I tried to run amarok in both Italian or English languages and the error was the same. Even restarting KDE each time. (isn't there a more comfortable way to communicate instead of bugzilla comments?) Running in C locale makes the crash disappear. It seems to be an incorrectly translated string. Needs to be fixed in libxine. *** Bug 174438 has been marked as a duplicate of this bug. *** This was due to broken translations, and multiple levels failing to implement sanity checks which were meant to be present. It's currently being worked around by replacing the xine_log(_(...)) calls with xine_log("%s", _("...")) and we're fixing the translations and the tools.
See <https://bugs.launchpad.net/ubuntu/+source/xine-lib/+bug/290768>.
*** Bug 180827 has been marked as a duplicate of this bug. *** |