12-18-2012 12:06 PM
We have our development system set up to build/install from the command line (in Linux).
Playbook development is fine *but* the apps produced crash on a BB10 Dev Alpha device, the strange thing is that they run some code before crashing but the crash occurs before main is reached. It seems to be in the pre-main construction of the globally scoped objects. It mentions an offset from getFacet when it dies with a segmentation violation.
Any idea what differences between Playbook/BB10 would cause this?
01-10-2013 06:26 AM
Replying to my own post, but I finally found the problem!
It turns out that the BB10's version of libstdc++.so.6 was killing the app before it reached main().
My solution was to include the NDK version of the library in my bar-descriptor.xml:-
<asset path="../bbndk-2.1.0/target/qnx6/armle-v7/lib/libs
and, to make sure it uses this file:-
<env var="LD_LIBRARY_PATH" value="app/native/lib"/>
Now the BAR file works fine on both Playbook and BB10.
Hoepfully this might help someone else!