PDA

View Full Version : Blackberry crash



JonyMnemonic
02-24-2012, 11:32 PM
Hello,

I try to start my application on blackberry, and I've crash in function:


bool RTFont::Load( string fileName )
{
m_kerningMap.clear();
m_chars.clear();
m_fontStates.clear();

...
}


Applications crashes in m_kerningMap.clear(). You can see on attached screenshots.
722723

Any ideas, what can be the problem?

Thanks in advance

Seth
02-25-2012, 02:12 AM
For a sanity test I rebuilt RTBareBones and put it on my Playbook, ran fine here.

Do RTBareBones or RTSimpleApp do this? If not, I'd try a complete rebuild. If it's still happening I would suspect something else in your app is corrupting memory somewhere.

Also, set a break point in RTFont::Load, is it loading a font into the same RTFont twice? If so, hmm, I don't think I've ever tried that, there could be a bug connected to that... :wheelchair:

JonyMnemonic
02-25-2012, 11:50 AM
After updating protonsdk on revision 767, the problem was resolved :). Before I used revision 731 for my application, but RTBareBones or RTSimpleApp have been successfully worked on 731 revision. So, I don't understand what was issue:confused:. Maybe this thread help others with the same problem.

Thanks for help.