Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

avoid blocking+malloc below signal_handler (bnc#929826) #69

Closed
wants to merge 2 commits into from

Conversation

bmwiedemann
Copy link
Member

the old code would deadlock and block until killed with kill -9

https://bugzilla.opensuse.org/show_bug.cgi?id=929826

see also
http://pubs.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html#tag_02_04_03
for a list of signal-safe functions

@bmwiedemann
Copy link
Member Author

note: some segfaults still left

@mlandres
Copy link
Member

The only clean solution is leaving the exit handler and exiting ASAP. Appdata trigger, cleanup of temp. repos, directories, etc.. must be performed.

@mlandres
Copy link
Member

mlandres commented Mar 2, 2018

Should be resolved meanwhile. The exit handler is left ASAP and should not perform any cleanup anymore.

@mlandres mlandres closed this Mar 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants