Use backtrace_symbols_fd() 74/293774/1
authorHwankyu Jhun <h.jhun@samsung.com>
Sat, 3 Jun 2023 10:02:48 +0000 (10:02 +0000)
committerHwankyu Jhun <h.jhun@samsung.com>
Sat, 3 Jun 2023 10:02:48 +0000 (10:02 +0000)
commit35bed848d152b7c6e2a6157d726d73402a32e865
treec84d7e8cb1a268d4e64cb960668f9135d50d164e
parentd1666a3f28a823c542c1d387321c28211c979b26
Use backtrace_symbols_fd()

We used backtrace_symbols() instead of backtrace_symbols_fd() to print numbers.
Unfortunately, some applications have issues related to the memory corruption.
While printing the backtrace, the crash issue is occured.
To avoid the crash issue, this patch changes the implementation to using
the backtrace_symbols_fd()

Change-Id: If01ff27df070a6be3ca77e8ac12481e651537b4e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
tizen-cpp/app-core-cpp/app_core_base.cc