>>At this point, the so is loaded and invoked (at least enough so that I
>>see a
>> PIN prompt for the card).  After the PIN prompt, I hit a crash.  In the
>>log
>> I also see lots of "Caught segmentation fault" messages that do not
>>appear
>> to cause a problem, until this final one:
>> 
>> D GeckoLinker: Caught segmentation fault @0xdeadbaad
>> 
>> I've been trying to figure out how to log a call stack at that point.
>
>There might be a stack of the crash in the 'adb logcat' output, but
>you should setup a GDB environment [3] if you want to debug it.
>
>[3] https://wiki.mozilla.org/Android/GDB

Thanks, JimDB was very helpful.

The crasher is inside one of the libraries when an exception is thrown.
The same code works fine when invoked from an adb shell using certutil but
it crashes when invoked from the browser during the TLS negotiation.  When
building the library, I have tried linking in a few different STL
libraries and have -fexceptions specified.  Any advice for how to build or
load a .so that uses exceptions?


_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to