Bug 178597 - Sound drop in a minute of playing
Summary: Sound drop in a minute of playing
Status: RESOLVED DUPLICATE of bug 160221
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Matthias Kretz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-23 21:01 UTC by Alexey Chernov
Modified: 2008-12-24 21:12 UTC (History)
2 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 Alexey Chernov 2008-12-23 21:01:06 UTC
Version:           4.2.0 (using KDE 4.1.3)
Compiler:          GCC 4.3.2 Target: x86_64-unknown-linux-gnu Configured with:  ../gcc-4.3.2/configure --prefix=/usr --libexecdir=/usr/lib --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++,fortran,objc,treelang --disable-multilib --enable-c99 --enable-long-long Thread model: posix
OS:                Linux
Installed from:    Compiled From Sources

I use Xine Phonon Engine through JACK server. Xine 1.1.15, Phonon 4.2.0, JACK 0.116.1. Every other applications (I mean xine apps, e.g. Amarok 1 and Phonon apps e.g. KNotify4) works fine. But in Amarok 2 in about a minute of playing sound drops. The timer stops for a couple of seconds, but then goes further. In JACK log there're the following message: "subgraph starting at xine (31964) timed out (subgraph_wait_fd=13, status = 0, state = Running, pollret = 0 revents = 0x0)" In some time if not to stop playing in Amarok 2, it crashes with the following report. 

I committed this bug to Amarok 2 here: http://bugs.kde.org/show_bug.cgi?id=178363, but it was refused, because Amarok 2 only use frontend functions of Phonon to play media, so I decided to commit it to Phonon. Also, they said that the crash report is from Solid, but I post it here, maybe it will help.
Comment 1 Alexey Chernov 2008-12-23 21:02:59 UTC
Crash report:
Приложение: Amarok (amarok), сигнал SIGABRT
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0x7f281e8f9700 (LWP 31964)]
[New Thread 0x4c17b950 (LWP 32013)]
[New Thread 0x4b179950 (LWP 32002)]
[New Thread 0x4a978950 (LWP 31995)]
[New Thread 0x4a177950 (LWP 31994)]
[New Thread 0x49976950 (LWP 31993)]
[New Thread 0x49175950 (LWP 31992)]
[New Thread 0x48974950 (LWP 31988)]
[New Thread 0x48173950 (LWP 31984)]
[New Thread 0x47972950 (LWP 31983)]
[New Thread 0x47171950 (LWP 31982)]
[New Thread 0x46970950 (LWP 31980)]
[New Thread 0x4616f950 (LWP 31979)]
[New Thread 0x4596e950 (LWP 31978)]
[New Thread 0x4516d950 (LWP 31977)]
[New Thread 0x4416b950 (LWP 31975)]
[New Thread 0x4396a950 (LWP 31974)]
[New Thread 0x409d8950 (LWP 31973)]
[New Thread 0x43169950 (LWP 31972)]
[New Thread 0x42968950 (LWP 31970)]
[New Thread 0x42167950 (LWP 31969)]
[New Thread 0x4148e950 (LWP 31965)]
[KCrash handler]
#5  0x00007f2816b8a99b in raise () from /lib/libc.so.6
#6  0x00007f2816b8bd4e in abort () from /lib/libc.so.6
#7  0x00007f281b597f95 in qt_message_output (msgType=QtFatalMsg, 
    buf=<value optimized out>) at global/qglobal.cpp:2102
#8  0x00007f281b5980c7 in qFatal (msg=<value optimized out>)
    at global/qglobal.cpp:2303
#9  0x00007f281baaf867 in Solid::DeviceManagerPrivate::_k_deviceAdded (
    this=0x1fd3190, udi=@0x42161c0)
    at /usr/src/packages/kde4/4.1.3/kdelibs-4.1.3/solid/solid/devicemanager.cpp:164
#10 0x00007f281baaf987 in Solid::DeviceManagerPrivate::qt_metacall (
    this=0x1fd3190, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff2693bdc0)
    at /usr/src/packages/kde4/4.1.3/kdelibs-4.1.3/build/solid/solid/devicemanager_p.moc:72
#11 0x00007f281b691bec in QMetaObject::activate (sender=0x1fda160, 
    from_signal_index=<value optimized out>, to_signal_index=4, 
    argv=0xffffffffffffffff) at kernel/qobject.cpp:3022
#12 0x00007f281bac2e37 in Solid::Ifaces::DeviceManager::deviceAdded (
    this=0x1fda160, _t1=@0x42161c0)
    at /usr/src/packages/kde4/4.1.3/kdelibs-4.1.3/build/solid/solid/ifaces/devicemanager.moc:79
#13 0x00007f281bae1fe8 in Solid::Backends::Hal::HalManager::slotDeviceAdded (
    this=0x1fda160, udi=@0x42161c0)
    at /usr/src/packages/kde4/4.1.3/kdelibs-4.1.3/solid/solid/backends/hal/halmanager.cpp:214
#14 0x00007f281bae2055 in Solid::Backends::Hal::HalManager::qt_metacall (
    this=0x1fda160, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff2693be90)
    at /usr/src/packages/kde4/4.1.3/kdelibs-4.1.3/build/solid/solid/backends/hal/halmanager.moc:70
#15 0x00007f2819fd4ca6 in QDBusConnectionPrivate::deliverCall (this=0x20430d0, 
    object=0x1fda160, msg=@0x3ba68f8, metaTypes=@0x3ba6900, slotIdx=6)
    at qdbusintegrator.cpp:849
#16 0x00007f2819fdd4cf in QDBusCallDeliveryEvent::placeMetaCall (this=0x0, 
    object=0x7cdc) at qdbusintegrator_p.h:130
#17 0x00007f281b68c612 in QObject::event (this=0x1fda160, e=0x3ba68b0)
    at kernel/qobject.cpp:1146
#18 0x00007f281880a77e in QApplicationPrivate::notify_helper (this=0x1e35ab0, 
    receiver=0x1fda160, e=0x3ba68b0) at kernel/qapplication.cpp:3803
#19 0x00007f281880f29e in QApplication::notify (this=0x7fff2693cb10, 
    receiver=0x1fda160, e=0x3ba68b0) at kernel/qapplication.cpp:3768
#20 0x00007f281de5253c in KApplication::notify (this=0x7fff2693cb10, 
    receiver=0x1fda160, event=0x3ba68b0)
    at /usr/src/packages/kde4/4.1.3/kdelibs-4.1.3/kdeui/kernel/kapplication.cpp:311
#21 0x00007f281b67db28 in QCoreApplication::notifyInternal (
    this=0x7fff2693cb10, receiver=0x1fda160, event=0x3ba68b0)
    at kernel/qcoreapplication.cpp:587
#22 0x00007f281b67ed0d in QCoreApplicationPrivate::sendPostedEvents (
    receiver=0x0, event_type=0, data=0x1de3f00)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#23 0x00007f281b6a6513 in postEventSourceDispatch (s=<value optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:214
#24 0x00007f281654b3e4 in g_main_dispatch () from /usr/lib/libglib-2.0.so.0
#25 0x00007f281654cb67 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#26 0x00007f281654d1ac in g_main_context_iterate ()
   from /usr/lib/libglib-2.0.so.0
#27 0x00007f281654d3ed in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#28 0x00007f281b6a67fe in QEventDispatcherGlib::processEvents (this=0x1e029d0, 
    flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:319
#29 0x00007f2818890fdf in QGuiEventDispatcherGlib::processEvents (this=0x7cdc, 
    flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:198
#30 0x00007f281b67cf45 in QEventLoop::processEvents (
    this=<value optimized out>, flags=@0x7fff2693ca80)
    at kernel/qeventloop.cpp:143
#31 0x00007f281b67d0a8 in QEventLoop::exec (this=0x7fff2693cac0, 
    flags=@0x7fff2693cad0) at kernel/qeventloop.cpp:194
#32 0x00007f281b67f0ae in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:845
#33 0x00000000004034bf in main (argc=1, argv=0x7fff2693dd48)
    at /usr/src/packages/amarok-2.0/src/main.cpp:131
#0  0x00007f2816bf1671 in nanosleep () from /lib/libc.so.6
Comment 2 Dario Andres 2008-12-23 21:19:47 UTC
The backtrace posted is the same as bug 160221 (solid crash). May be you can publish your case in that bug report.
Comment 3 Alexey Chernov 2008-12-23 21:36:07 UTC
Ok, I've posted there, there're report about problem with USB flash drive, I've just remembered that I use it too that time, so maybe the crash report isn't connected with the sound problem. Sorry for deceiving you.. But the problem with sound drops is remaining. I tried to recompile everything, but it didn't worked.
Comment 4 Christophe Marin 2008-12-24 03:37:33 UTC

*** This bug has been marked as a duplicate of bug 160221 ***
Comment 5 Dario Andres 2008-12-24 12:08:12 UTC
@Alexey: this bug report was closed but you can open a new one with the original issue (xine+jack on Phonon sound issue), try to not mention the crash so the new report won't be marked as duplicate of bug 160221. :)
Comment 6 Alexey Chernov 2008-12-24 21:12:02 UTC
Yeah, Dario, thank you for advice, i think i'll do like this.