RE: [Freevo-devel] Re: Thread handling in Freevo

2004-08-20 Thread Mick
> IIRC,  means that the child is dead, but the parent hasn't
> 'wait'ed for the return value. On exit, a process is reduced to it's
> exit value and will remain a  process until the parent calls
> wait. Or if the parent dies, too, than init will wait and this will
> happen at once.
>
Yes, this is what I understand defunct to mean, but in the case, my
thread.polll() is still returning -1.  So the parent (excuse my lack of
knowledge) is still waiting..

> > Did you experience this?  Once they are  I can only kill
> > them with a reboot..
>
> Kill the parent, that should help.
>
This would be a nice option.. however, I'm waiting for something to happen
finish..  I cannot continue on and say, burn the audio disc, until I am sure
all the wav files have been created..

Again to Nicolas:
Doing some further testing, I actually get 'backup complete' messages when I
rip in trakc mode tccat with dvdbackup.py.  So i think whatever its doing is
working.. Its only when trying to rip with subtitles that it hangs,
something is reporting that its not done..

And bruno, if your watching ;-): DVD writing works..  However, menu status
willnot change from 'stop' to fresh write again without first stopping.. I
think this is to do with defunct-ness..

Anyone else running gentoo and kenrel 2.6.7?  Can I you respond I'd love to
do some testing with you...

Mick



---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


RE: [Freevo-devel] Thread handling in Freevo

2004-08-20 Thread Jason Tackaberry
On Fri, 2004-08-20 at 01:19 +0800, Mick wrote:
> does before a child process.. But, in all my cases the parent process
> (freevo/cd_brun/dvdcopy) are still running, waiting for the child to
> return.. they sit there polling and returning as is if the child was
> running..

Collect your zombies.

try:
os.waitpid(-1, os.WNOHANG)
except:
pass

Cheers,
Jason.


signature.asc
Description: This is a digitally signed message part


[Freevo-devel] zsnes won't load a file from command line

2004-08-20 Thread Ben Ford
I'm trying to run zsnes with freevo, and for the life of me, I can't get 
zsnes to actually load the games.  Freevo calls it with the game as a 
parameter, but zsnes just opens up it's gui with the menu ready for you 
to browse and load a game.

I even tried running zsnes manually under strace to see what was 
happening, and it never even *tried* opening the file.

-- start strace --
[EMAIL PROTECTED] ~ $ strace zsnes /home/ben/game.smc 2>&1 | grep smc
execve("/usr/games/bin/zsnes", ["zsnes", "/home/ben/game.smc"], [/* 50 
vars */]) = 0
-- here is where it sat after zsnes loaded.

stat64("game.smc", {st_mode=S_IFREG|0644, st_size=3146240, ...}) = 0
stat64("game.smc", {st_mode=S_IFREG|0644, st_size=3146240, ...}) = 0
stat64("game.smc", {st_mode=S_IFREG|0644, st_size=3146240, ...}) = 0
-- and this is after I opened the open file dialog
open("game.smc", O_RDONLY)  = 8
-- and here is it finally loading the game after I selected it.
Anybody know what's going on?  I even cut+pasted the command line from 
the damn help output and it did the same thing.

zsnes 1.36 & 1.37_pre20040803
gentoo linux
2.6.8.1 kernel
2 separate systems, one w/ reiserfs and one with jfs
-b
begin:vcard
fn:Ben Ford
n:Ford;Ben
email;internet:[EMAIL PROTECTED]
x-mozilla-html:FALSE
version:2.1
end:vcard



smime.p7s
Description: S/MIME Cryptographic Signature


[Freevo-devel] Re: Thread handling in Freevo

2004-08-20 Thread Dirk Meyer
"Mick" wrote:
> Nicolas,
>
> I am having issues that i cannot follow with threads atm.  All my childs are
> hanging, they appear  in 'ps aux'

IIRC,  means that the child is dead, but the parent hasn't
'wait'ed for the return value. On exit, a process is reduced to it's
exit value and will remain a  process until the parent calls
wait. Or if the parent dies, too, than init will wait and this will
happen at once. 

> Did you experience this?  Once they are  I can only kill
> them with a reboot..

Kill the parent, that should help.


Dischi

-- 
My opinion is neither copyrighted nor trademarked, and it's price
competitive. If you like, I'll trade for one of yours.


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel