Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Visitor
Posts: 1
Registered: ‎01-10-2013
My Device: Playbook & BB10 Dev Alpha A
My Carrier: B&You

Crash at exit on BB10 & Tablet OS 2.10

For some weird reason, my app (pure C/C++/OpenGL, no QT/Cascades) crashes at exit with the following call stack, after call to return 0 in main()..

 

__exchange_and_add() at atomicity.h:48 0x784e3a76
__exchange_and_add_dispatch() at atomicity.h:81 0x784e3a76
_M_remove_reference() at locale_classes.h:518 0x784e3a76
std::locale::~locale() at locale.cc:91 0x784e3a76
__cxa_finalize() at 0x18811ec
_btext() at 0x78458f38
_btext() at 0x78458f38

Please note this crash happen on both BB10 Dev Alpha (first model) and Playbook with latest Tablet OS 2.1.
I can guess there's something I'm doing wrong of

I am aware of another thread with a similar issue (but this time using Qt) here : http://supportforums.blackberry.com/t5/Native-Development/Desperate-for-help-with-simple-program-cra...

I will be happy to provide more info if needed, since this is a critical one to me :smileysad:

Developer
Posts: 90
Registered: ‎05-31-2012
My Device: BlackBerry Playbook
My Carrier: Bell

Re: Crash at exit on BB10 & Tablet OS 2.10

Is this happening as part of the static destruction of objects? If so, it looks like there may be some form of memory corruption taking place causing the crash.