Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

We have a crash that is easy to reproduce but hard to debug.
We are running the Sapphire (1.0.2.320) simulator.

Crash basically happens when we attempt to suspend the application,
like to the task tray or launch another application...
It only happens if we happen to visit a screen that is heavily graphics laden...
otherwise everything works great.

Top of the call stack has lua.dll! 0beccd2b()

Stack is pretty deep...and has nothing really recognizable except aeemailboxwm.dll
as well.

Our first thought was that we had setup a callback that was no longer in memory..but
canceling everything does not seem to help. (That does not mean this is still not the
case)

This has turned into a very iterative debug...and has been frustrating and time consuming.

Has anybody seen lua.dll show up in a stack?

Any suggestions at all would greatly be appreciated.

Thank you,
Mike

What are you returning from EVT_APP_SUSPEND?
suspend/resume can be hard to debug

What are you returning from EVT_APP_SUSPEND?
suspend/resume can be hard to debug

Thanks for your reply.
Interestingly enough, I am not getting an EVT_APP_SUSPEND.
Here is how the second app is being launched:
ISHELL_BrowseURL(this->m_pIShell, url);
The url has a mime type which is tied to the second application.
Today I am able to do it without a crash....I am making sure all my dead
threads are stopped and their callbacks cleared.
However, when I hit the end key on the 'second app' and return to my first
app, not everything works properly every time. Sometimes everything works
but sometimes I can't create new threads and screen touches are not recognized.
But no crashes anymore.
I also get no event when I return.
I am using Sapphire 2.320...
I appreciate any help.
-Mike

Thanks for your reply.
Interestingly enough, I am not getting an EVT_APP_SUSPEND.
Here is how the second app is being launched:
ISHELL_BrowseURL(this->m_pIShell, url);
The url has a mime type which is tied to the second application.
Today I am able to do it without a crash....I am making sure all my dead
threads are stopped and their callbacks cleared.
However, when I hit the end key on the 'second app' and return to my first
app, not everything works properly every time. Sometimes everything works
but sometimes I can't create new threads and screen touches are not recognized.
But no crashes anymore.
I also get no event when I return.
I am using Sapphire 2.320...
I appreciate any help.
-Mike