[mlpack-git] [mlpack] Log::Fatal should give a backtrace of some sort (#380)

Shahnawaz Ahmed notifications at github.com
Thu Feb 12 10:08:50 EST 2015


Yeah,  I found some documentation on libunwind and could implement a simple code to backtrace inside a single file within different functions. Have to try on different classes with functions spread over multiple files. 
I still need some help on the Log::Fatal method and how it exits the program. Maybe the backtracing fucntion can be called just before the exit call to see the whole stack.

Link to implementation using libunwind : 
http://pastebin.com/BHgippet

Someone who worked on the mlpack / PrefferedStreamOutput file before can try to implement it.. 

---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/380#issuecomment-74085796
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20150212/e7624815/attachment.html>


More information about the mlpack-git mailing list