Bug 215548 - The error was closing Dragon Player during avi playing
Summary: The error was closing Dragon Player during avi playing
Status: RESOLVED DOWNSTREAM
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: Xine backend (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Matthias Kretz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-21 12:58 UTC by Sergio Casagrande
Modified: 2009-12-14 23:00 UTC (History)
2 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 Sergio Casagrande 2009-11-21 12:58:37 UTC
Application that crashed: dragon
Version of the application: 2.0
KDE Version: 4.3.3 (KDE 4.3.3)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
If you open an avi file, press play and during it you close Dragon it hang

 -- Backtrace:
Application: Dragon Player (dragon), signal: Segmentation fault
pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7fc46dd69750 (LWP 7607))]

Thread 12 (Thread 0x7fc45ce65910 (LWP 7610)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007fc46c973c91 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fc467ab8a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fc46acd67bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fc45ba28910 (LWP 7611)):
#0  0x00007fc46acca373 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc465f4d29a in ?? () from /usr/lib/libxcb.so.1
#2  0x00007fc465f4d7d7 in ?? () from /usr/lib/libxcb.so.1
#3  0x00007fc465f4d8f8 in ?? () from /usr/lib/libxcb.so.1
#4  0x00007fc465f4da0a in xcb_flush () from /usr/lib/libxcb.so.1
#5  0x00007fc45c45e6cc in ?? () from /usr/lib/xine/plugins/1.26/xineplug_vo_out_xcbxv.so
#6  0x00007fc46c9812fa in ?? () from /usr/lib/libxine.so.1
#7  0x00007fc46c981703 in ?? () from /usr/lib/libxine.so.1
#8  0x00007fc467ab8a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007fc46acd67bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fc45a2dc910 (LWP 7612)):
[KCrash Handler]
#5  0x00007fc46c98e220 in xine_post_input () from /usr/lib/libxine.so.1
#6  0x00007fc4627609e4 in Phonon::Xine::VolumeFaderEffectXT::createInstance (this=0x1f75880) at ../../xine/volumefadereffect.cpp:123
#7  0x00007fc462745ed2 in Phonon::Xine::EffectXT::ensureInstance (this=0x1f75880) at ../../xine/effect.cpp:70
#8  0x00007fc46274606d in Phonon::Xine::EffectXT::audioOutputPort (this=0x0) at ../../xine/effect.cpp:45
#9  0x00007fc462748af2 in Phonon::Xine::AudioOutputXT::rewireTo (this=0x1c4e0e0, source=0x7fc462770db9) at ../../xine/audiooutput.cpp:332
#10 0x00007fc462736505 in Phonon::Xine::XineThread::event (this=<value optimized out>, e=<value optimized out>) at ../../xine/xinethread.cpp:130
#11 0x00007fc46b416efc in QApplicationPrivate::notify_helper (this=0x1546e60, receiver=0x1c650a0, e=0x1f7dac0) at kernel/qapplication.cpp:4056
#12 0x00007fc46b41e1ce in QApplication::notify (this=0x7fff1431a520, receiver=0x1c650a0, e=0x1f7dac0) at kernel/qapplication.cpp:4021
#13 0x00007fc46d2bee56 in KApplication::notify (this=0x7fff1431a520, receiver=0x1c650a0, event=0x1f7dac0) at ../../kdeui/kernel/kapplication.cpp:302
#14 0x00007fc46bf6ec2c in QCoreApplication::notifyInternal (this=0x7fff1431a520, receiver=0x1c650a0, event=0x1f7dac0) at kernel/qcoreapplication.cpp:610
#15 0x00007fc46bf6f80a in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1c50a70) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#16 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1c50a70) at kernel/qcoreapplication.cpp:1247
#17 0x00007fc46bf97533 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#18 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:210
#19 0x00007fc4671efbbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#20 0x00007fc4671f3588 in ?? () from /lib/libglib-2.0.so.0
#21 0x00007fc4671f36b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#22 0x00007fc46bf971a6 in QEventDispatcherGlib::processEvents (this=0x1c5b010, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#23 0x00007fc46bf6d532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#24 0x00007fc46bf6d904 in QEventLoop::exec (this=0x7fc45a2dc000, flags=) at kernel/qeventloop.cpp:201
#25 0x00007fc46be856cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#26 0x00007fc46273556e in Phonon::Xine::XineThread::run (this=0x1c650a0) at ../../xine/xinethread.cpp:143
#27 0x00007fc46be88445 in QThreadPrivate::start (arg=0x1c650a0) at thread/qthread_unix.cpp:188
#28 0x00007fc467ab8a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#29 0x00007fc46acd67bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#30 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 9 (Thread 0x7fc4556c9910 (LWP 7621)):
#0  0x00007fc46acca373 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc45ae0e20f in ?? () from /usr/lib/libpulse.so.0
#2  0x00007fc45adfe5e6 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3  0x00007fc45adffeb9 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4  0x00007fc45adfff70 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5  0x00007fc45ae0e12b in ?? () from /usr/lib/libpulse.so.0
#6  0x00007fc45abcf050 in ?? () from /usr/lib/libpulsecommon-0.9.19.so
#7  0x00007fc467ab8a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007fc46acd67bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fc4594c4910 (LWP 7622)):
#0  0x00007fc46acca373 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc4598d7cbe in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#2  0x00007fc467ab8a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fc46acd67bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fc458cc3910 (LWP 7623)):
#0  0x00007fc467abc420 in __pthread_mutex_unlock_full (mutex=0x7fc44c000af0, decr=1) at pthread_mutex_unlock.c:215
#1  0x00007fc45abce37e in pa_mutex_unlock () from /usr/lib/libpulsecommon-0.9.19.so
#2  0x00007fc4596ce669 in ?? () from /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
#3  0x00007fc462bfba1c in ?? () from /usr/lib/libasound.so.2
#4  0x00007fc462bbd3b1 in ?? () from /usr/lib/libasound.so.2
#5  0x00007fc462bfbd7a in ?? () from /usr/lib/libasound.so.2
#6  0x00007fc4598d81e0 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#7  0x00007fc46c9828a6 in ?? () from /usr/lib/libxine.so.1
#8  0x00007fc46c98460d in ?? () from /usr/lib/libxine.so.1
#9  0x00007fc467ab8a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fc46acd67bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fc45808a910 (LWP 7624)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007fc46c97f44c in ?? () from /usr/lib/libxine.so.1
#2  0x00007fc46c97f528 in ?? () from /usr/lib/libxine.so.1
#3  0x00007fc46c990b03 in ?? () from /usr/lib/libxine.so.1
#4  0x00007fc4488551c2 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_decode_mpeg2.so
#5  0x00007fc4488556c7 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_decode_mpeg2.so
#6  0x00007fc46c97d81b in ?? () from /usr/lib/libxine.so.1
#7  0x00007fc467ab8a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007fc46acd67bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fc4576bc910 (LWP 7625)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007fc46c982b67 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fc4607d043d in ?? () from /usr/lib/xine/plugins/1.26/xineplug_decode_a52.so
#3  0x00007fc46c97ebf2 in ?? () from /usr/lib/libxine.so.1
#4  0x00007fc467ab8a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007fc46acd67bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 4 (Thread 0x7fc456ebb910 (LWP 7626)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fc46c987a0b in xine_event_wait () from /usr/lib/libxine.so.1
#2  0x00007fc46c987a7e in ?? () from /usr/lib/libxine.so.1
#3  0x00007fc467ab8a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007fc46acd67bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fc44997f910 (LWP 7627)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fc46c977463 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fc461e8887d in ?? () from /usr/lib/xine/plugins/1.26/xineplug_inp_dvd.so
#3  0x00007fc46c99497a in ?? () from /usr/lib/libxine.so.1
#4  0x00007fc44b7eea47 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_dmx_mpeg_block.so
#5  0x00007fc44b7ef90b in ?? () from /usr/lib/xine/plugins/1.26/xineplug_dmx_mpeg_block.so
#6  0x00007fc46c98c775 in ?? () from /usr/lib/libxine.so.1
#7  0x00007fc467ab8a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007fc46acd67bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc440cb6910 (LWP 7628)):
#0  __pthread_mutex_lock_full (mutex=0x7fc44c000af0) at pthread_mutex_lock.c:303
#1  0x00007fc45abce4ee in pa_mutex_lock () from /usr/lib/libpulsecommon-0.9.19.so
#2  0x00007fc45ae0e219 in ?? () from /usr/lib/libpulse.so.0
#3  0x00007fc45adfe5e6 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0x00007fc45adffeb9 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0x00007fc45adfff70 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0x00007fc45ae0e12b in ?? () from /usr/lib/libpulse.so.0
#7  0x00007fc45abcf050 in ?? () from /usr/lib/libpulsecommon-0.9.19.so
#8  0x00007fc467ab8a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007fc46acd67bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc46dd69750 (LWP 7607)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fc46be894fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1c68078, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1c68078, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fc46273a1dd in Phonon::Xine::XineStream::closeBlocking (this=0x1c68000) at ../../xine/xinestream.cpp:1542
#4  0x00007fc46274ded6 in ~MediaObject (this=0x1c4ec20, __in_chrg=<value optimized out>) at ../../xine/mediaobject.cpp:109
#5  0x00007fc46ce6c690 in ~MediaNodePrivate (this=0x1c57670, __in_chrg=<value optimized out>) at ../3rdparty/phonon/phonon/medianode.cpp:74
#6  0x00007fc46ce6bc7e in ~MediaObjectPrivate (this=0x1c57670, __in_chrg=<value optimized out>) at ../3rdparty/phonon/phonon/mediaobject_p.h:42
#7  0x00007fc46ce6b1f0 in ~MediaObject (this=0x163c320, __in_chrg=<value optimized out>) at ../3rdparty/phonon/phonon/mediaobject.cpp:65
#8  0x00007fc46bf7ce5c in QObjectPrivate::deleteChildren (this=0x16303e0) at kernel/qobject.cpp:1847
#9  0x00007fc46b461993 in ~QWidget (this=0x1675e30, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1367
#10 0x000000000041a74e in _start ()
The current source language is "auto; currently c".
The current source language is "auto; currently asm".

Reported using DrKonqi
Comment 1 Dario Andres 2009-11-21 14:19:38 UTC
This is a Phonon (the multimedia library) issue. It could be related to bug 214069.

- Does Dragon always crash when closing it ? Have you tried different kind of AVI and other video files ? May be it only happens with some kind of videos.

Regards
Comment 2 Sergio Casagrande 2009-11-21 15:22:27 UTC
I try Dragon on a ten of avi files.
If I stop Dragon before press x to exit, it exit correctly.
If I close Dragon without stop it, it always crash.
Ciao
Comment 3 Martin Sandsmark 2009-11-29 03:45:34 UTC
Have you installed Phonon from anywhere other than the standard Ubuntu repositories?

(The bug looks like the wrong-malloc-thingy that was fixed before any phonon release...)
Comment 4 Sergio Casagrande 2009-11-29 18:00:03 UTC
Martin,
before installing kubuntu 9.10 I was using ppa archive to upgrade kde environment.
deb http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu intrepid main
If that is the problem how could I reinstall the right version of Phonon to check your idea?
Comment 5 Dario Andres 2009-12-14 19:41:37 UTC
May be you could disable that repo and update the Phonon related packages from the official repos: "phonon", "libphonon4", "phonon-backend-xine", and some other mentioned at http://packages.ubuntu.com/search?keywords=phonon&searchon=names&suite=karmic&section=all
Regards
Comment 6 Sergio Casagrande 2009-12-14 22:56:35 UTC
Dario,
I disabled repository.
Today I have reinstalled these packages (libphonon4_4.3.1-4ubuntu1_amd64.deb, libqt4-phonon_4.5.3really4.5.2-0ubuntu1_amd64.deb, phonon_4.3.1-4ubuntu1_all.deb, phonon-backend-xine_4.3.1-4ubuntu1_amd64.deb, python-qt4-phonon_4.6-1_amd64.deb) from official repository and now Dragon doesn't crash.
Thank you.
Regards.
Comment 7 Dario Andres 2009-12-14 23:00:39 UTC
I'm glad it is working now :) Regards