Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 357385

Summary: EasyTAG 2.1.6: Handle SIGCHLD to make audacious archived skins workable
Product: Gentoo Linux Reporter: Alexei Ababilov <ilovegnulinux>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Fix incorrect behavior

Description Alexei Ababilov 2011-03-04 15:54:01 UTC
It seems that development of EasyTAG is stopped, and so I send the patch to gentoo developers.

EasyTAG calls signal(SIGCHLD,SIG_IGN) to avoid zombies. It works fine,
but it leads to one problem.
If one calls 'Run Audio Player', the player's SIGCHLD signal handler is
inherited. So, when audacious calls system() in order to unpack its
archived skin, the archiver process ends silently (the wait() call in
system() function cannot hear that the child process has ended). The
audacious process assumes that there was an error and an unarchived skin
is used.
A possible solution is to set a handler for SIGCHLD in EasyTAG. The
handler is called when a child process ends and the latter doesn't
become a zombie.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-03-04 15:55:48 UTC

*** This bug has been marked as a duplicate of bug 357383 ***
Comment 2 Alexei Ababilov 2011-03-04 15:55:55 UTC
Created attachment 264727 [details, diff]
Fix incorrect behavior