Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117183 - media-sound/xmms-1.2.10-r15 crashes on SIGINT
Summary: media-sound/xmms-1.2.10-r15 crashes on SIGINT
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Luis Medinas (RETIRED)
URL:
Whiteboard:
Keywords: PMASKED
Depends on: xmms-must-die
Blocks:
  Show dependency tree
 
Reported: 2005-12-30 04:30 UTC by Suren A. Chilingaryan
Modified: 2006-10-23 00:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix (xmms-ds-sigterm.patch,977 bytes, patch)
2005-12-30 04:31 UTC, Suren A. Chilingaryan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.