Are there any known sigprocmask () reasons for segfault when used in a multi-threaded application?
I have an application that creates multiple threads using clone (). I determined that for some reason, when I use sigprocmask, these are segfaults (not all the time, though). From backtrace (), it also seems that segfault occurs when I use sigprocmask () after siglongjmp ().
Any ideas?
Check out the second and third arguments. If they are not NULL, make sure they are valid pointers to sigset_t.
sigset_t
, sigprocmask() . pthread_sigmask() , , , errno.
sigprocmask()
pthread_sigmask()
errno
Source: https://habr.com/ru/post/1730724/More articles:Создать допустимый XML из XSD, загруженного в Runtime (без xsd.exe) - c#Using python C API in my own C module - pythonWhy (dictionary.keys ()). Sort () not working in python? - pythonProgrammatically create XML file from XSD - xmlthinner border line? - cssУдаление вложенных тегов с помощью simpleHTML - phpProblem with Python __init__ - pythonBest output format for Xargs - linuxjQuery closest () doesn't work for me (or I don't work for it) - javascriptклавиатура не появляется при нажатии uitextfield - objective-cAll Articles