Thanks for investigating that further, David! I recall that there's a pointer-to-member-function address extractor (PtmfHelper) that I never ported when getting everything working with Visual C++, which I believe is required to get address-to-filename/line translation working -- perhaps that's part of the issue. I'll explore when I have access to my Windows machine again.
In the meantime I added an issue for this here: https://github.com/capnproto/capnproto/issues/593 On Wed, Nov 29, 2017 at 1:39 AM, David Ondrušek < [email protected]> wrote: > I got it to compile using the CMake approach, but when it's converting > return addresses to filename/lines using dbghelp.dll it causes a segfault > by writing to 0 in SymGetLineFromAddr64. > > There doesn't seem to be anything wrong with the usage of dbghelp (apart > from not checking where symInitialize returns true). > > Things i tried: > - Installing Debugging Tools For Windows (includes dbghelp) > - Hardcoding the path to dbghelp (LoadLibraryA returns null) > > -- > You received this message because you are subscribed to the Google Groups > "Cap'n Proto" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > Visit this group at https://groups.google.com/group/capnproto. > -- You received this message because you are subscribed to the Google Groups "Cap'n Proto" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/capnproto.
