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

Fix SEGV during snprintf and localtime_r #97

Merged
merged 1 commit into from
Jul 12, 2019
Merged

Fix SEGV during snprintf and localtime_r #97

merged 1 commit into from
Jul 12, 2019

Conversation

dmmarkov
Copy link

@dmmarkov dmmarkov commented Jul 11, 2019

I found that this works for me.
I have tested this patch with Ubuntu 19.04(gcc 8.3.0).
I found that main problem inside libc. Main reason of this problem is using of JIT and registers of CPU. Some time gcc make some optiomization so registers overlaps in multithread environment so we have SEGV. Picture have some asm code where SEGV occured.
image

@grossmj grossmj merged commit fea17c3 into GNS3:master Jul 12, 2019
@grossmj
Copy link
Member

grossmj commented Jul 12, 2019

Thanks a lot for fixing this!

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.

2 participants