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

Bug 117183

Summary: media-sound/xmms-1.2.10-r15 crashes on SIGINT
Product: Gentoo Linux Reporter: Suren A. Chilingaryan <csa>
Component: New packagesAssignee: Luis Medinas (RETIRED) <metalgod>
Status: RESOLVED WONTFIX    
Severity: normal Keywords: PMASKED
Priority: High    
Version: 2005.1   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 152472    
Bug Blocks:    
Attachments: Fix

Description Suren A. Chilingaryan 2005-12-30 04:30:09 UTC
Due to baggy 0040_all_sigterm.patch patch, the XMMS crushes on SIGINT (Ctrl+C). 

Only async safe functions should be used in signal handler. Normally you should set a flag variable and perform required actions out of the handler. The GNU C documentation states:
"Handlers that return normally must modify some global variable in order to have any effect. Typically, the variable is one that is examined periodically by the
Comment 1 Suren A. Chilingaryan 2005-12-30 04:31:49 UTC
Created attachment 75783 [details, diff]
Fix

One can use attached patch, instead of 0040_all_sigterm.patch
Comment 2 Luis Medinas (RETIRED) gentoo-dev 2005-12-30 04:59:56 UTC
i just want to know where you guys get xmms-1.2.10-r18 ?

i'll review your patch and maybe commit on the next release of gentoo-patches.
Comment 3 Suren A. Chilingaryan 2005-12-30 13:55:20 UTC
It is XMMS with RusXMMS patch applied (By the way is it any chances to see that patch in the official tree?). However same behevior is with r15 and other releases which includes 0040_all_sigterm.patch.
Comment 4 Luis Medinas (RETIRED) gentoo-dev 2005-12-30 14:23:47 UTC
the point is: THERE ISN'T any xmms-1.2.10-r18 on the tree so to report bugs about it you should do it to the person how did it not us.

So please rename the bug title if you want this issue to be reviewed by us.
Comment 5 Suren A. Chilingaryan 2005-12-30 14:37:05 UTC
Done
Comment 6 Luis Medinas (RETIRED) gentoo-dev 2006-01-04 05:48:53 UTC
the patch looks good i'll introduce it in the next gentoo patchset
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-10-23 00:44:19 UTC
xmms and all plugins are now package.masked and will be removed from the tree in one month.

WONTFIX.