! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Xfmedia sometimes hangs
Status:
RESOLVED: WORKSFORME
Product:
Xfmedia
Component:
general

Comments

Description Bernhard Walle 2005-01-07 10:31:02 CET
Problem: Sometimes Xfmedia hangs and cannot be closed with normal commands but
only with killall. At the moment I have no reproducable examle, but it occures
sometimes with streaming if something isn't correct 

One possibility to solve this would be a separate GUI thread or GUI process.
Another (simpler) approach would be some kind of "Xine timeout" with alarm() or
setitimer().

Reproducible: Always
Steps to Reproduce:
1. 
2. 
3.
Comment 1 Brian J. Tarricone (not reading bugmail) 2005-01-11 10:01:36 CET
firstly, why is this marked enhancement?

(In reply to comment #0)
> Problem: Sometimes Xfmedia hangs and cannot be closed with normal commands but
> only with killall. At the moment I have no reproducable examle, but it occures
> sometimes with streaming if something isn't correct 

yeah, that's a pain, but i can't reproduce it myself, so it's not likely i'll be
able to fix this.

> One possibility to solve this would be a separate GUI thread or GUI process.
> Another (simpler) approach would be some kind of "Xine timeout" with alarm() or
> setitimer().

definitely not.  this would introduce a lot of complexity and probably many more
bugs.  xine is designed to be called from the app's main thread (most of xine's
actually work occurs in other threads).  also, since alarm() and setitimer() use
POSIX signals, this may not play nicely with xine's multithreaded/highly-mutexed
nature.  it's just not a very good solution, anyway.  if there's a deadlock in
xine's code, it's a xine bug and should be fixed.  same with my code.
Comment 2 Bernhard Walle 2005-01-11 10:37:50 CET
Ok, I didn't know that. If I have a reproducable case, I'll tell you.
Comment 3 Ben Ford 2005-06-19 21:18:04 CEST
I'd say that it's a xine problem.  Mine does the same thing with every xine
based app I run.  It happens pretty randomly.
Comment 4 Brian J. Tarricone (not reading bugmail) 2005-07-24 03:17:56 CEST
I don't think this is an issue anymore.  Reopen if it can be reproduced
reliably, and if other xine-based apps don't show the same problem with the same
file.

Bug #659

Reported by:
Bernhard Walle
Reported on: 2005-01-07
Last modified on: 2005-07-24

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
0 users

Version

Version:
0.7.0cvs

Attachments

Additional information