[tor-bugs] #10186 [Tor]: Backtrace support for windows

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Feb 21 07:52:54 UTC 2014


#10186: Backtrace support for windows
-----------------------------+--------------------------------
     Reporter:  nickm        |      Owner:
         Type:  enhancement  |     Status:  needs_revision
     Priority:  normal       |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor          |    Version:
   Resolution:               |   Keywords:  tor-client windows
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+--------------------------------

Comment (by cypherpunks):

 Found working way to unwind stack trace with FPO for gcc generated code.
 Attached code working the same way as glibc's backtrace() does, it uses
 the same libgcc's functions. It's probably need fresh libgcc and static
 link, but no so much overhead. Need testing with "old" gcc.
 It needs "-fasynchronous-unwind-tables" for proper stack trace if
 optimizations enabled. New gcc generates unwind tables by default.
 Symbol part not tested, probably it will require more code and more
 overhead in binary.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10186#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list