Wladimir J. van der Laan
1ef79854c3
lightningd: Don't crash when libunwind backtrace not available
...
libunwind does not accept a NULL parameter for the error callback. It
will simply call into the NULL pointer. So add an error callback.
This makes the crash output somewhat more sensible on FreeBSD, where
there is no libunwind stack trace available:
2018-02-05T20:24:50.598Z lightningd(75556): error getting backtrace: no stack trace because unwind library not available (0)
Signed-off-by: Wladimir J. van der Laan <laanwj@gmail.com >
2018-02-06 01:35:31 +00:00
..
2018-02-05 08:52:42 +00:00
2017-10-20 18:31:32 +02:00
2018-02-01 03:12:43 +00:00
2018-02-01 03:12:43 +00:00
2018-01-08 17:19:25 +01:00
2017-12-20 12:56:15 +01:00
2018-02-02 06:16:23 +00:00
2018-01-30 08:11:51 +00:00
2018-02-02 00:05:00 +01:00
2018-02-02 00:05:00 +01:00
2017-10-20 18:31:32 +02:00
2018-01-19 22:23:45 +00:00
2018-01-19 22:23:45 +00:00
2017-12-03 17:06:13 +01:00
2017-06-27 10:25:53 +09:30
2018-02-02 20:33:49 +01:00
2018-02-02 20:33:49 +01:00
2018-02-05 08:52:42 +00:00
2018-01-16 13:03:54 +01:00
2018-02-02 23:52:28 +00:00
2018-02-02 00:05:00 +01:00
2018-02-05 08:52:42 +00:00
2018-02-02 20:33:49 +01:00
2018-02-06 01:35:31 +00:00
2018-02-02 00:55:38 +00:00
2018-01-13 11:29:42 +01:00
2018-01-23 13:32:44 +01:00
2017-12-21 09:56:20 +00:00
2017-12-21 09:56:20 +00:00
2017-08-29 17:54:14 +02:00
2017-08-29 17:54:14 +02:00
2018-02-03 17:56:08 +01:00
2018-01-19 22:23:45 +00:00
2018-02-03 21:03:01 +01:00
2017-06-23 09:29:42 +09:30
2018-02-05 18:23:41 +00:00
2018-01-29 06:01:56 +00:00
2018-02-02 20:33:49 +01:00
2018-02-02 20:33:49 +01:00
2017-10-20 18:31:32 +02:00
2018-01-30 19:47:27 +00:00
2017-11-06 10:24:34 +01:00
2018-01-08 17:19:25 +01:00
2018-01-08 17:19:25 +01:00
2018-01-31 11:37:22 +01:00
2018-01-31 11:37:22 +01:00