amp slave does not exit

Bug #347614 reported by yippi
2
Affects Status Importance Assigned to Milestone
Moovida
Fix Released
High
Unassigned

Bug Description

When I run elisa and play an audio file, then exit elisa while the audio is playing I notice that it leaves behind a amp slave process. It doesn't seem to exit when elisa exits. The slave process running is this:

/usr/bin/python2.4 /usr/lib/python2.4/vendor-packages/elisa/plugins/amp/slave.py

I am attaching the stack trace of the hung process.

Revision history for this message
yippi (brian-cameron) wrote :
Revision history for this message
Olivier Tilloy (osomon) wrote :

Does Elisa itself exit properly?

Revision history for this message
yippi (brian-cameron) wrote :

Most of the time elisa exits properly. For example, if I run elisa from a terminal window, start playing an audio file, then exit, it usually exits and the prompt returns to the terminal. However, even when elisa exits properly, the slave process is left behind.

Sometimes when I run elisa, it hangs. Sometimes when elisa hangs, the song continues playing - but not always. A bit odd.

I notice that whether the slave uses sys.exit() or os._exit() does not seem to make a difference with this. See bug #345633.

Revision history for this message
Olivier Tilloy (osomon) wrote :

I wonder if that could be a python 2.4 specific problem.

Changed in elisa:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
yippi (brian-cameron) wrote :

Note, this isn't a Python 2.4 specific problem. I've built and tested elisa on Solaris using both Python 2.4 and 2.6 and I notice the same problem.

If there is anything I can do to help debug what might be going on, please let me know. I'm not very familiar with the amp slave or how it should be exiting. Perhaps if we added some debug statements to the code we could track down what is happening? If you could advise where to add debug statements or if you have other suggestions, then I would be happy to research this further.

Also, I believe that Sun provided Fluendo with some Solaris machines, so it might be possible for you to test and see the behavior as well if this is Solaris specific.

Revision history for this message
Florian Boucault (fboucault) wrote :

Is that still valid with Moovida 1.0.8?

Changed in moovida:
status: Confirmed → Incomplete
Revision history for this message
yippi (brian-cameron) wrote :

Thanks for reminding me to re-test this. I just tested with moovida 1.0.8 and this problem no longer happens.

Olivier Tilloy (osomon)
Changed in moovida:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.