Bug 175407 - phonon-xine crashes on start/first access with german and italian translations
Summary: phonon-xine crashes on start/first access with german and italian translations
Status: RESOLVED UPSTREAM
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.2 (KDE 4.1)
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: Matthias Kretz
URL:
Keywords:
: 173542 175155 176050 177207 177574 177650 177776 179488 179647 180366 180478 180642 180924 183257 183636 184125 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-17 16:42 UTC by Andrew Dushko
Modified: 2009-02-15 09:59 UTC (History)
19 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Dushko 2008-11-17 16:42:08 UTC
Version:           Version 2.0 (using KDE 4.1.2)
OS:                Linux
Installed from:    Debian stable Packages

Application: Dragon Player (dragon), signal SIGSEGV
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb61e66c0 (LWP 25190)]
[New Thread 0xafde9b90 (LWP 25203)]
[New Thread 0xb05eab90 (LWP 25202)]
[New Thread 0xb0fb8b90 (LWP 25201)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0xb762f31f in QMutex::lock () from /usr/lib/libQtCore.so.4
#7  0xb76311f0 in QSemaphore::release () from /usr/lib/libQtCore.so.4
#8  0xb7733a0a in QMetaCallEvent::~QMetaCallEvent ()
   from /usr/lib/libQtCore.so.4
#9  0xb7726bf4 in QCoreApplicationPrivate::~QCoreApplicationPrivate ()
   from /usr/lib/libQtCore.so.4
#10 0xb6da9428 in QApplicationPrivate::~QApplicationPrivate ()
   from /usr/lib/libQtGui.so.4
#11 0xb773bd9e in QObject::~QObject () from /usr/lib/libQtCore.so.4
#12 0xb77266b6 in QCoreApplication::~QCoreApplication ()
   from /usr/lib/libQtCore.so.4
#13 0xb6db19e4 in QApplication::~QApplication () from /usr/lib/libQtGui.so.4
#14 0xb7ca7c7e in KApplication::~KApplication () from /usr/lib/libkdeui.so.5
#15 0x0806f505 in _start ()
#0  0xb80ee430 in __kernel_vsyscall ()
Comment 1 Oliver Putz 2008-11-19 08:38:33 UTC
Hi and thanks for your bugreport. 

Can you reproduce the crash? If so, could you have a look at http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports, try to install the debugging packages for your distribution and post another (more verbose) backtrace for the crash? (A step-by-step instruction on how to reproduce the crash would also be helpful). If you cannot reproduce the crash, can you say what you were doing right before the crash?
Comment 2 Fritz Heinrichmeyer 2008-11-24 14:20:43 UTC
i installed debugging libraries and produced the following backtrace typing

"dragon" (kubuntu amd64 kde-4.1.3)

Anwendung: Dragon Player (dragon), Signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0x7fefedee96f0 (LWP 7194)]
[New Thread 0x41250950 (LWP 7195)]
[KCrash handler]
#5  0x00007fefeaebc690 in strlen () from /lib/libc.so.6
#6  0x00007fefeae8544e in vfprintf () from /lib/libc.so.6
#7  0x00007fefeaf36d18 in __vsnprintf_chk () from /lib/libc.so.6
#8  0x00007fefeb4e5fad in ?? () from /usr/lib/libxine.so.1
#9  0x00007fefeb4c89f4 in xine_log () from /usr/lib/libxine.so.1
#10 0x00007fefeb4d3ecc in ?? () from /usr/lib/libxine.so.1
#11 0x00007fefe304dfc2 in ?? () from /usr/lib/kde4/phonon_xine.so
#12 0x00007fefe30515dc in KPluginFactory::createInstance<Phonon::Xine::Backend, QObject> () from /usr/lib/kde4/phonon_xine.so
#13 0x00007fefecfd3845 in KPluginFactory::create (this=0x1772b90, 
    iface=0x7fefec6b8040 "QObject", parentWidget=0x0, parent=0x0, 
    args=@0x7ffff5f1e630, keyword=@0x7ffff5f1e510)
    at /build/buildd/kde4libs-4.1.3/kdecore/util/kpluginfactory.cpp:189
#14 0x00007fefe38a95b9 in Phonon::KdePlatformPlugin::createBackend (
    this=<value optimized out>, newService={d = 0x7ffff5f1e710})
    at /usr/include/kpluginfactory.h:515
#15 0x00007fefe38aaf0d in Phonon::KdePlatformPlugin::createBackend (
    this=0x172d510)
    at /build/buildd/kdebase-runtime-4.1.3/phonon/platform_kde/kdepluginfactory.cpp:199
#16 0x00007fefecbd44c8 in ?? () from /usr/lib/libphonon.so.4
#17 0x00007fefecbd5407 in Phonon::Factory::backend ()
   from /usr/lib/libphonon.so.4
#18 0x00007fefecbd5710 in ?? () from /usr/lib/libphonon.so.4
#19 0x00007fefecbda326 in ?? () from /usr/lib/libphonon.so.4
#20 0x00007fefecbd9fcb in Phonon::VideoWidget::VideoWidget ()
   from /usr/lib/libphonon.so.4
#21 0x00000000004184b1 in VideoWindow (this=0x172b2e0, 
    parent=<value optimized out>)
    at /build/buildd/kdemultimedia-4.1.3/dragonplayer/src/app/videoWindow.cpp:90
#22 0x0000000000430a83 in MainWindow (this=0x1730930)
    at /build/buildd/kdemultimedia-4.1.3/dragonplayer/src/app/mainWindow.cpp:102
#23 0x000000000042b4bf in main (argc=1, argv=<value optimized out>)
    at /build/buildd/kdemultimedia-4.1.3/dragonplayer/src/app/main.cpp:56
#0  0x00007fefeaee2621 in nanosleep () from /lib/libc.so.6
Comment 3 Fritz Heinrichmeyer 2008-11-24 14:29:10 UTC
A hopefully more helpful backtrace with libxine1-dbg installed:
Anwendung: Dragon Player (dragon), Signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0x7f533a1e46f0 (LWP 7496)]
[New Thread 0x42547950 (LWP 7497)]
[KCrash handler]
#5  0x00007f53371b7690 in strlen () from /lib/libc.so.6
#6  0x00007f533718044e in vfprintf () from /lib/libc.so.6
#7  0x00007f5337231d18 in __vsnprintf_chk () from /lib/libc.so.6
#8  0x00007f53377e0fad in scratch_printf (this=0x1431bd0, 
    format=0x7f532ecf0bf6 "load_plugins: Plugin %s gefunden\n", 
    argp=0x7fff42215530) at /usr/include/bits/stdio2.h:78
#9  0x00007f53377c39f4 in xine_log (this=0x142b810, buf=1, 
    format=0x7f532ecf0bf6 "load_plugins: Plugin %s gefunden\n") at xine.c:2245
#10 0x00007f53377ceecc in _register_plugins_internal (this=0x142b810, 
    file=0x0, info=0x7f532f56c680) at load_plugins.c:492
#11 0x00007f532f348fc2 in ?? () from /usr/lib/kde4/phonon_xine.so
#12 0x00007f532f34c5dc in KPluginFactory::createInstance<Phonon::Xine::Backend, QObject> () from /usr/lib/kde4/phonon_xine.so
#13 0x00007f53392ce845 in KPluginFactory::create (this=0x1425b90, 
    iface=0x7f53389b3040 "QObject", parentWidget=0x0, parent=0x0, 
    args=@0x7fff42216920, keyword=@0x7fff42216800)
    at /build/buildd/kde4libs-4.1.3/kdecore/util/kpluginfactory.cpp:189
#14 0x00007f532fba45b9 in Phonon::KdePlatformPlugin::createBackend (
    this=<value optimized out>, newService={d = 0x7fff42216a00})
    at /usr/include/kpluginfactory.h:515
#15 0x00007f532fba5f0d in Phonon::KdePlatformPlugin::createBackend (
    this=0x13e0510)
    at /build/buildd/kdebase-runtime-4.1.3/phonon/platform_kde/kdepluginfactory.cpp:199
#16 0x00007f5338ecf4c8 in ?? () from /usr/lib/libphonon.so.4
#17 0x00007f5338ed0407 in Phonon::Factory::backend ()
   from /usr/lib/libphonon.so.4
#18 0x00007f5338ed0710 in ?? () from /usr/lib/libphonon.so.4
#19 0x00007f5338ed5326 in ?? () from /usr/lib/libphonon.so.4
#20 0x00007f5338ed4fcb in Phonon::VideoWidget::VideoWidget ()
   from /usr/lib/libphonon.so.4
#21 0x00000000004184b1 in VideoWindow (this=0x13de2e0, 
    parent=<value optimized out>)
    at /build/buildd/kdemultimedia-4.1.3/dragonplayer/src/app/videoWindow.cpp:90
#22 0x0000000000430a83 in MainWindow (this=0x13e3930)
    at /build/buildd/kdemultimedia-4.1.3/dragonplayer/src/app/mainWindow.cpp:102
#23 0x000000000042b4bf in main (argc=1, argv=<value optimized out>)
    at /build/buildd/kdemultimedia-4.1.3/dragonplayer/src/app/main.cpp:56
#0  0x00007f53371dd621 in nanosleep () from /lib/libc.so.6
Comment 4 Fritz Heinrichmeyer 2008-11-24 14:47:36 UTC
at least dragon works when i select gstreamer as audo backend ...
Comment 5 Fritz Heinrichmeyer 2008-11-24 14:53:11 UTC
i meant audio backend, dragon fails when xine is choosen ..
Comment 6 David Edmundson 2008-11-25 00:31:04 UTC
It's crashing inside some string manipulation/copying. Is there anything "unusual" in the file name/meta data? Non-ascii characters, umlauts etc.
Comment 7 Fritz Heinrichmeyer 2008-11-25 09:22:41 UTC
LC_ALL=C LANG=C dragon 

works even with xine backend

dragon (with LANG=de_DE.UTF-8) crashes

dragon with LC_ALL=de_DE.ISO-8859-15 crashes

all crashes without any parameter on start
Comment 8 Fabio Locati 2008-11-25 23:19:18 UTC
phonon bug (because with gstreamer it works)
Comment 9 Matthias Kretz 2008-11-29 12:02:12 UTC
That's a bug in the german (and italian) translations of libxine. It translates "load_plugins: static plugin found\n" as "load_plugins: Plugin %s gefunden\n". The "%s" makes it expect another argument which isn't there which makes it crash.

So yes, for now the right solution is to delete the german translations of libxine.
Comment 10 Matthias Kretz 2008-11-29 12:20:06 UTC
*** Bug 173542 has been marked as a duplicate of this bug. ***
Comment 11 Matthias Kretz 2008-11-29 12:21:01 UTC
*** Bug 175155 has been marked as a duplicate of this bug. ***
Comment 12 Matthias Kretz 2008-11-29 12:21:24 UTC
*** Bug 176050 has been marked as a duplicate of this bug. ***
Comment 13 Dario Andres 2008-12-13 04:22:03 UTC
*** Bug 177650 has been marked as a duplicate of this bug. ***
Comment 14 Dario Andres 2008-12-14 14:38:49 UTC
*** Bug 177776 has been marked as a duplicate of this bug. ***
Comment 15 Dario Andres 2008-12-14 19:05:21 UTC
*** Bug 177574 has been marked as a duplicate of this bug. ***
Comment 16 Dario Andres 2009-01-03 14:34:49 UTC
*** Bug 179488 has been marked as a duplicate of this bug. ***
Comment 17 Andrea Zoppi 2009-01-04 16:17:53 UTC
(In reply to comment #9)
> That's a bug in the german (and italian) translations of libxine. It translates
> "load_plugins: static plugin found\n" as "load_plugins: Plugin %s gefunden\n".
> The "%s" makes it expect another argument which isn't there which makes it
> crash.
> 
> So yes, for now the right solution is to delete the german translations of
> libxine.
> 


For "n00bs" like me, the translation file can be disabled with these two simple commands from the terminal:

# Italian version
cd /usr/share/locale-langpack/it/LC_MESSAGES/
sudo mv libxine1.mo libxine1.mo.bak

# German version
cd /usr/share/locale-langpack/de/LC_MESSAGES/
sudo mv libxine1.mo libxine1.mo.bak


This worked for my Ubuntu 8.10 AMD64 with language packs put on a vanilla installation.


Many thanks dudes! Now Amarok can rule my computer! :D
Comment 18 Dario Andres 2009-01-04 22:54:57 UTC
*** Bug 179647 has been marked as a duplicate of this bug. ***
Comment 19 Dario Andres 2009-01-11 21:09:48 UTC
*** Bug 180366 has been marked as a duplicate of this bug. ***
Comment 20 Claus Ilginnis 2009-01-11 22:38:58 UTC
Comment #17 does the job for me !

I have to Ubuntu AMD64 !

Thanks
Comment 21 Dario Andres 2009-01-12 21:23:27 UTC
*** Bug 180478 has been marked as a duplicate of this bug. ***
Comment 22 Dario Andres 2009-01-14 12:51:54 UTC
*** Bug 180642 has been marked as a duplicate of this bug. ***
Comment 23 Dario Andres 2009-01-15 23:24:38 UTC
*** Bug 180701 has been marked as a duplicate of this bug. ***
Comment 24 Dario Andres 2009-01-16 13:12:44 UTC
*** Bug 180924 has been marked as a duplicate of this bug. ***
Comment 25 Christophe Marin 2009-01-19 15:26:48 UTC
*** Bug 177207 has been marked as a duplicate of this bug. ***
Comment 26 Claus Ilginnis 2009-01-20 09:32:31 UTC
Wouldn't it make sense to rename this error to something like
"Qt Pograms Crash on Phonon access"
so it would be a little bit easier to find this bug ? so 
there wouldn't be so much duplicates entered....
Comment 27 Dario Andres 2009-02-05 13:04:05 UTC
*** Bug 183257 has been marked as a duplicate of this bug. ***
Comment 28 Giuseppe Pulicia 2009-02-05 13:24:25 UTC
Yes, this bug was when I'm listen the music with amarok,later I reboot my system and the problem,seems, solved.
Comment 29 Dario Andres 2009-02-08 00:21:08 UTC
*** Bug 183636 has been marked as a duplicate of this bug. ***
Comment 30 Matthias Kretz 2009-02-15 09:59:06 UTC
*** Bug 184125 has been marked as a duplicate of this bug. ***