-
Notifications
You must be signed in to change notification settings - Fork 902
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
Disable backtrace on mac #1258
Disable backtrace on mac #1258
Conversation
Awesome, this works for me on macOS. I'm now able to connect to peers and fund channels (master crashes on launch once I have some channels open). |
Running ok on 10.12.4, but if run with lldb, show
` |
yeah. I saw the same issue with lldb. But, it's not related with this patch. You could file a new issue for that. |
Yes, it seems not related, and the issue have been addressed in #1093 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ack a599399
ignoring dirty files in libwally-core is ugly, probably need a bug report there to improve their .gitignore?
What happens (see #840 (comment)) is that So this fix, removing backtrace, is overkill but it works. Another option would have been to disable backtrace handling just for autodata's subprocesses. |
fix #840
backtrace module does not support mac. So, disable crash log if BACKTRACE_SUPPORTED is 0.
The reason why this patch fix #840 is not fully identified. On mac, SIGSEGV and SIGBUS signal happens after jsonrpc only when signal handlers are registered with
sigaction()
.