eina: fix random segfaults when displaying BT
authorJean Guyomarc'h <jean@guyomarch.bzh>
Tue, 19 Dec 2017 15:33:18 +0000 (16:33 +0100)
committerWonki Kim <wonki_.kim@samsung.com>
Wed, 10 Jan 2018 11:08:13 +0000 (20:08 +0900)
commitf434fdae9358acdedb1b13d891f61ed1fb2e758b
treeeb18ee30010703401bed100eedb22f00b635d21c
parentb579fd27442a0a5172e39d73c3efb93d8021892d
eina: fix random segfaults when displaying BT

Under some circumstances, eina crashes when attempting to display the
backtrace, because dladdr() may yield a dli_fname that is NULL. This is
especially annoying in realease, when the backtrace is shown by default
when CRI/ERR are thrown.

@fix
src/lib/eina/eina_debug_bt.c