Skip to content

resolved the issue #1 of crashes when debugging#2

Open
opt12 wants to merge 1 commit intodotsha747:masterfrom
opt12:master
Open

resolved the issue #1 of crashes when debugging#2
opt12 wants to merge 1 commit intodotsha747:masterfrom
opt12:master

Conversation

@opt12
Copy link
Copy Markdown

@opt12 opt12 commented Jul 2, 2018

The issue with crashes when debugging is resolved.

I added a handler for EINTR errors when receiving from the socket. Such interruptions occur when debugging the code using gdb.
Now these EINTR-errors are silently swallowed and another retry to receive from the socket is issued.
See:
https://www.gnu.org/software/libc/manual/html_node/Interrupted-Primitives.html#Interrupted-Primitives
and
http://250bpm.com/blog:12
This resolves #1

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.

Problem when debugging app using libXPlane

1 participant