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

Developer

Forums

Forums:

Platform: 1.0.4.91 PRO

Toolset: 7.11.1.0.1591871

Simulator: Candy Bar (1.0.4.91 PRO)

I use Qualcomm Sample "c_basicapp".

I added this code snippet in MyApp_DrawScreen intentionally, to test whether CHT can detect heap buffer overrun:

 


{
char* buffer = (char*)MALLOC(3);
STRCPY(buffer, "abcd");
FREE(buffer);
}

I edit CHT.ini, to disable CHT logging when simulator starting:

StartOn=0

I installed c_basicapp into simulator/fs/usermods.
I started simulator without VS2005 debugger attached.
I launched my modified c_basicapp manually. At this time, the Applet is not frozen. The applet can react to arrow keys clicked.
I clicked on Tools menu on simulator.
I moved mouse cursor over "CHT" menu item.
The small yellow tooltip shows "Turn on CTH" (not typo).
I clicked on "CHT" menu item.
Now the Applet is frozen. The Applet can not react to arrow key clicked. I also clicked on AVK_END key, but simulaotr had no response.
I clicked on Tools menu again. I moved mouse cursor over "CHT" menu item.
The small yellow tooltip shows "Turn off CTH".
I clicked on "CHT" menu item.
Now the Applet is still frozen. The Applet can not react to arrow key clicked. I also clicked on AVK_END key, but simulator had no response.

Hello,
I'm taking a look into your issue.  Will advise with a solution shortly.
Regards,
Brian

Hello,
I'm taking a look into your issue.  Will advise with a solution shortly.
Regards,
Brian