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 |
rustyrussell
left a comment
There was a problem hiding this comment.
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().