Bug 50520 - can play movies only once
Summary: can play movies only once
Status: RESOLVED FIXED
Alias: None
Product: arts
Classification: Miscellaneous
Component: xine_artsplugin (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Multimedia Developers
URL:
Keywords:
: 54324 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-11-10 15:04 UTC by Albert Cervera Areny
Modified: 2003-02-23 16:51 UTC (History)
3 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 Albert Cervera Areny 2002-11-10 15:04:54 UTC
Version:            (using KDE KDE 3.0.8)
Installed from:    Debian testing/unstable Packages
OS:          Linux

Using kaboodle embedded in konqueror or standalone I can only watch a movie once. Whether I press the stop button or it finishes and I press play again, only sound is played (no images). I need to reload the file to watch it again.
Comment 1 Neil Stevens 2002-11-10 17:36:12 UTC
Does this only happen with movies, or with audio files too? 
Comment 2 Nick T 2002-11-20 19:24:32 UTC
I see similar result with KDE 3.0.99. Kaboodle can play an .mpg file Ok.  Pause then play works.  Stop then play does not work (black image).  Repeat play does not work - plays to end then shows black image.  (Sound continues Ok, and progress bar moves, but no video.)  Using Noatun, everything works fine (including repeat play). After closing Noatun, Kaboodle will then open and play the file again (but still can't repeat play it).  (Slackware 8.1 with KDE 3.0.99 / Qt 3.1 built from source with gcc 2.95.3)  
Comment 3 Neil Stevens 2002-11-27 20:50:29 UTC
Nick: Can you see if artsd is crashing after the video plays the first time?  
Both Noatun and Kaboodle will be attempting to restart artsd. 
Comment 4 Nick T 2002-11-28 22:56:25 UTC
No evidence of artsd crashing that I can see.    However, if I start kaboodle from an xterm I see something that does not look  right ...    <pre>  1: bash-2.05a# kaboodle ontario.mpg  2: mcop warning: user defined signal handler found for SIG_PIPE, overriding  3: kparts: MainWindow::createGUI, part=0x80ca280 Kaboodle::Player KaboodleView  4: artskde: KDE::PlayObject::play()  5: artskde: KDE::PlayObject::halt()  6: artskde: KDE::PlayObject: destroyed  7: artskde: KDE::PlayObject::play()  8: kparts: Part::~Part 0x80ca280  9: kparts: deleting widget [Kaboodle::View pointer (0x80e1a18) to widget  KaboodlePlayer, geometry=320x54+0+54] KaboodlePlayer  10: artskde: KDE::PlayObject::halt()  11:artskde: KDE::PlayObject: destroyed  12: bash-2.05a#  </pre>    Lines 1-4 are log of starting to play.  Line 5 shows up when I click the  'stop' button.  Lines 6 and 7 appear when I hit the 'play' button. 'artskde:  KDE::PlayObject: destroyed' doesn't look like correct behaviour!  Lines 8 on  appear after I click on 'Quit' button.    Hope this is of some help - Nick . 
Comment 5 Nick T 2002-11-29 14:23:37 UTC
I also have another issue with kaboodle.  If I open two instances of kaboodle playing two separate mpeg files, whne the first finishes and it auto-closes the application, it also terminates the second instance.
Comment 6 Neil Stevens 2002-11-29 20:52:32 UTC
Subject: Re:  can play movies only once

On Friday November 29, 2002 05:23, Nick T wrote:
> ------- Additional Comments From nick@nickt.free-online.co.uk 
> 2002-11-29 14:23 ------- I also have another issue with kaboodle.  If I
> open two instances of kaboodle playing two separate mpeg files, whne the
> first finishes and it auto-closes the application, it also terminates
> the second instance.

Did artsd crash when that happened?  Yes, ideally a dead artsd shoudln't 
take kaboodle down with it, but knowing if that's the cause would help in 
debugging it.

Comment 7 Nick T 2002-11-30 15:46:26 UTC
Subject: Re:  can play movies only once

Neil

On Friday 29 Nov 2002 7:52 pm, you wrote:
> Did artsd crash when that happened?  Yes, ideally a dead artsd shoudln't
> take kaboodle down with it, but knowing if that's the cause would help in
> debugging it.

Here is copy of output on xterm running kaboodle ...

<pre>
1: bash-2.05a# kaboodle ontario.mpg
2: mcop warning: user defined signal handler found for SIG_PIPE, overriding
3: kparts: MainWindow::createGUI, part=0x80ca280 Kaboodle::Player KaboodleView
4: artskde: KDE::PlayObject::play()
5: artskde: KDE::PlayObject::halt()
6: bash-2.05a#
</pre>

Lines 1-4: kaboodle starts up and plays normally.  From another terminal, I 
then start another instance of kaboodle playing another mpeg file.  That 
instance comes to the end and terminates normally, but at that exact time I 
get output on line 5 and this instance closes.  If I then try and restart 
kaboodle, I get ...

<pre>
1: bash-2.05a# kaboodle ontario.mpg
2: mcop warning: user defined signal handler found for SIG_PIPE, overriding
3: kparts: MainWindow::createGUI, part=0x80ca280 Kaboodle::Player KaboodleView
4: unix_connect: can't connect to server 
(unix:/tmp/mcop-root/kde31_nantmel_ruralwales_net-00cb-3de8ca93)
</pre>

Kaboodle window appears, but no file loaded.

Other than watching on a terminal, is there any other way I can see any more 
of what's happening that might help you?

- Nick

Comment 8 Neil Stevens 2002-11-30 18:07:21 UTC
Thank you.  See that "unix_connect?"  That's a warning that the artsd died.  
Kaboodle tried and failed to open up the mcop connection to artsd.  That 
proves that the problem here is xine_artsplugin is crashing.  Since 
playobjects run inside the artsd process, the crash takes down the whole 
artsd. 
  
By the way, you should not ever run KDE as root.  KDE is not designed to run  
as root.  
Comment 9 Neil Stevens 2003-02-09 06:32:37 UTC
*** Bug 54324 has been marked as a duplicate of this bug. ***
Comment 10 Neil Stevens 2003-02-23 16:51:29 UTC
*** Bug has been marked as fixed ***.