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

Developer

Forums

Forums:

hello

i am getting folling err while i try to execute the application.

First-chance exception at 0x00c2ac98 in BREW_Emulator.exe: 0xC0000005: Access violation reading location 0x7c6c0000.
First-chance exception at 0x00c2ac98 in BREW_Emulator.exe: 0xC0000005: Access violation reading location 0x7c6d0000.
First-chance exception at 0x00c2ac98 in BREW_Emulator.exe: 0xC0000005: Access violation reading location 0x7c6e0000.
First-chance exception at 0x00c2ac98 in BREW_Emulator.exe: 0xC0000005: Access violation reading location 0x7c6f0000.
First-chance exception at 0x00c2ac98 in BREW_Emulator.exe: 0xC0000005: Access violation reading location 0x7c700000.
First-chance exception at 0x00c2ac98 in BREW_Emulator.exe: 0xC0000005: Access violation reading location 0x7c710000.
First-chance exception at 0x00c2ac98 in BREW_Emulator.exe: 0xC0000005: Access violation reading location 0x7c720000.
First-chance exception at 0x00c2ac98 in BREW_Emulator.exe: 0xC0000005: Access violation reading location 0x7c730000.
First-chance exception at 0x00c2ac98 in BREW_Emulator.exe: 0xC0000005: Access violation reading location 0x7c740000.
First-chance exception at 0x00c2ac98 in BREW_Emulator.exe: 0xC0000005: Access violation reading location 0x7c750000.
First-chance exception at 0x00c2ac98 in BREW_Emulator.exe: 0xC0000005: Access violation reading location 0x7c760000.
First-chance exception at 0x00c2ac98 in BREW_Emulator.exe: 0xC0000005: Access violation reading location 0x7c770000.
First-chance exception at 0x00c2ac98 in BREW_Emulator.exe: 0xC0000005: Access violation reading location 0x7c780000.
First-chance exception at 0x00c2ac98 in BREW_Emulator.exe: 0xC0000005: Access violation reading location 0x7c790000.
First-chance exception at 0x00c2ac98 in BREW_Emulator.exe: 0xC0000005: Access violation reading location 0x7c7a0000.
First-chance exception at 0x00c2ac98 in BREW_Emulator.exe: 0xC0000005: Access violation reading location 0x7c7b0000.
First-chance exception at 0x00c2ac98 in BREW_Emulator.exe: 0xC0000005: Access violation reading location 0x7c7c0000.
First-chance exception at 0x00c2ac98 in BREW_Emulator.exe: 0xC0000005: Access violation reading location 0x7c7d0000.
First-chance exception at 0x00c2ac98 in BREW_Emulator.exe: 0xC0000005: Access violation reading location 0x7c7e0000.
First-chance exception at 0x00c2ac98 in BREW_Emulator.exe: 0xC0000005: Access violation reading location 0x7c7f0000.
'BREW_Emulator.exe': Loaded 'C:\WINDOWS\system32\wininet.dll', No symbols loaded.
'BREW_Emulator.exe': Loaded 'C:\WINDOWS\system32\crypt32.dll', No symbols loaded.
'BREW_Emulator.exe': Loaded 'C:\WINDOWS\system32\msasn1.dll', No symbols loaded.
'BREW_Emulator.exe': Loaded 'C:\WINDOWS\system32\oleaut32.dll', No symbols loaded.
'BREW_Emulator.exe': Loaded 'C:\Program Files\BREW SDK v2.0.1\Bin\BREW_Tones.dll', Binary was not built with debug information.
#*gBI
ISHELL_AppStart 16809984
WakeStart...
OEM_AppStarting OK
App Context Created 16809984
#*gST=16809984
App_SendStart(0)...
App Started...
WakeStart Done...
#*g*C=1000003:3
ISHELL_AppStart 287379985
WakeStart...
#*gSU=16809984
#*gCL=16809984
WARNING: App Callback Pending (012D3A6C)
WARNING: App Callback Pending (012D4C94)
WARNING: App Callback Pending (012D6D84)
WARNING: App Callback Pending (012D7090)
WARNING: App Callback Pending (012D72DC)
WARNING: App Callback Pending (012D318C)
App_Cleanup(1008000)
** M-0 Released
App Context Created 287379985
'BREW_Emulator.exe': Loaded 'C:\Program Files\BREW SDK v2.0.1\Examples\first_cpp\first_cpp.dll', Symbols loaded.
#*gST=287379985
App_SendStart(0)...
App Started...
WakeStart Done...
in unload images of objects..
in unload images of objects..
in unload images of objects..
in unload images of objects..
in unload images of objects..
END Key Pressed
WakeClose ALL
App_Close (11211211) - RESUME
#*gCL=287379985
WARNING: App Callback Pending (012D2D0C)
deleting memory........
unload images....
in unload enemy images/..
in unload images of objects..
App_Cleanup(11211211)
** FIRST_CPP Released
Validating Heap...
------ App Heap Info ------
24 - FIRST_CPP #279 File: redefine.cpp Line: 20 (L)
32 - FIRST_CPP #280 File: redefine.cpp Line: 20 (L)
20 - FIRST_CPP #281 File: redefine.cpp Line: 20 (L)
20 - FIRST_CPP #282 File: redefine.cpp Line: 20 (L)
20 - FIRST_CPP #283 File: redefine.cpp Line: 20 (L)
20 - FIRST_CPP #317 File: redefine.cpp Line: 20 (L)
20 - FIRST_CPP #318 File: redefine.cpp Line: 20 (L)
20 - FIRST_CPP #319 File: redefine.cpp Line: 20 (L)
32 - FIRST_CPP #320 File: redefine.cpp Line: 20 (L)
220 - FIRST_CPP #314 File: redefine.cpp Line: 20 (L)
20 - FIRST_CPP #321 File: redefine.cpp Line: 20 (L)
20 - FIRST_CPP #322 File: redefine.cpp Line: 20 (L)
20 - FIRST_CPP #323 File: redefine.cpp Line: 20 (L)
20 - FIRST_CPP #324 File: redefine.cpp Line: 20 (L)
20 - FIRST_CPP #325 File: redefine.cpp Line: 20 (L)
20 - FIRST_CPP #326 File: redefine.cpp Line: 20 (L)
20 - FIRST_CPP #327 File: redefine.cpp Line: 20 (L)
20 - FIRST_CPP #328 File: redefine.cpp Line: 20 (L)
232 - FIRST_CPP #380 File: redefine.cpp Line: 20 (L)
152 - FIRST_CPP #651 File: redefine.cpp Line: 20 (L)
20 - FIRST_CPP #652 File: redefine.cpp Line: 20 (L)
20 - FIRST_CPP #653 File: redefine.cpp Line: 20 (L)
152 - FIRST_CPP #782 File: redefine.cpp Line: 20 (L)
20 - FIRST_CPP #783 File: redefine.cpp Line: 20 (L)
20 - FIRST_CPP #784 File: redefine.cpp Line: 20 (L)
152 - FIRST_CPP #845 File: redefine.cpp Line: 20 (L)
20 - FIRST_CPP #846 File: redefine.cpp Line: 20 (L)
20 - FIRST_CPP #847 File: redefine.cpp Line: 20 (L)
152 - FIRST_CPP #940 File: redefine.cpp Line: 20 (L)
20 - FIRST_CPP #941 File: redefine.cpp Line: 20 (L)
20 - FIRST_CPP #942 File: redefine.cpp Line: 20 (L)
152 - FIRST_CPP #1029 File: redefine.cpp Line: 20 (L)
20 - FIRST_CPP #1030 File: redefine.cpp Line: 20 (L)
20 - FIRST_CPP #1031 File: redefine.cpp Line: 20 (L)
152 - FIRST_CPP #1106 File: redefine.cpp Line: 20 (L)
20 - FIRST_CPP #1107 File: redefine.cpp Line: 20 (L)
20 - FIRST_CPP #1108 File: redefine.cpp Line: 20 (L)
-------------------------
89679 Alloc - Total
0 OEM
87707 BREW
1972 Apps
2233 Wasted
4102392 Free - Total
4099860 Largest
516 Largest Non Seq.
2532 Total Non Seq.
-------------------------
** FIRST_CPP Unloading
'BREW_Emulator.exe': Unloaded 'C:\Program Files\BREW SDK v2.0.1\Examples\first_cpp\first_cpp.dll'
App_Free(11211211)
App_Cleanup(11211211)
WakeResume
#*gRE=16809984
Restart App
App_SendStart(0)...
App Started...
WakeResume Done
** WARNING **
Callback 004F9468 consumed too much time (160828)
#*gSU=16809984
#*gCL=16809984
WARNING: Timer Pending 004F9540
App_Cleanup(1008000)
** M-0 Released
#*gSU=0
App_Cleanup(0)
#*gEX
App_Cleanup(0)
App_Close (0) - NO RESUME
App_Cleanup(0)
App_Free(0)
App_Cleanup(0)
App_Cleanup(0)
App_Close (0) - NO RESUME
App_Cleanup(0)
App_Free(0)
App_Cleanup(0)
App_Cleanup(1008000)
App_Close (1008000) - NO RESUME
App_Cleanup(1008000)
** Return to OEM
AEE_Resume
App_Free(1008000)
App_Cleanup(1008000)
Validating Heap...
------ Heap Info ------
4194276 FREE
-------------------------
0 Alloc - Total
0 OEM
0 BREW
0 Apps
28 Wasted
4194276 Free - Total
4194276 Largest
0 Largest Non Seq.
0 Total Non Seq.
-------------------------
'BREW_Emulator.exe': Unloaded 'C:\Program Files\BREW SDK v2.0.1\Bin\BREW_Tones.dll'
The thread 'Win32 Thread' (0xc0) has exited with code 0 (0x0).
The program '[368] BREW_Emulator.exe: Native' has exited with code 0 (0x0).

anyone help to sort out this problem.
ketan

ketan wrote:hello
i am getting folling err while i try to execute the application.
...
anyone help to sort out this problem.
ketan
ketan, emulator execution log isn't a help in this situation. Your problem need sources investigation and seems like one of these:
1) Uninitialized (NULL) or invalid (i.e., already released) interface pointer passed to some of interface functions;
2) Some of callbacks doesn't cancelled before exit from the application.

ketan wrote:hello
i am getting folling err while i try to execute the application.
...
anyone help to sort out this problem.
ketan
ketan, emulator execution log isn't a help in this situation. Your problem need sources investigation and seems like one of these:
1) Uninitialized (NULL) or invalid (i.e., already released) interface pointer passed to some of interface functions;
2) Some of callbacks doesn't cancelled before exit from the application.

Dmitry V. Zhada wrote:ketan, emulator execution log isn't a help in this situation. Your problem need sources investigation and seems like one of these:
1) Uninitialized (NULL) or invalid (i.e., already released) interface pointer passed to some of interface functions;
2) Some of callbacks doesn't cancelled before exit from the application.
Thanks Dmitry V. Zhada]ketan for ur reply. how could i get to know that i am using uninitialized pointer.did u know any method which will give some sort of info about aove mention scenerio.
i am allocation memory in onevent function.
spriteArray = (Hero**)MALLOC(1*sizeof(Hero*));
//spriteArray = (Hero**)new (Hero*);
if(spriteArray == NULL){
DBGPRINTF("err allocating memory for hero...");
return;
}else{
spriteArray[0]= new Hero(this,60, 110,21,30, 1, false, 176, 203);
if(!spriteArray[0])
{
DBGPRINTF("err....");
return;
}
}
//allocating memory for 20 enemies.
EnemyArray = (Enemy**)MALLOC(20 * sizeof(Enemy*));
if(EnemyArray == NULL){
DBGPRINTF("err allocating memory for enemies...");
return;
}
//allocating memory for objects like hero_bullet,enemies_bullet,guardian_rocket.
objArray = (object**)MALLOC(2* sizeof(object*));
if(objArray == NULL)
{
DBGPRINTF("err while allocating memory for object");
return;
}
can i allocate such large memory at starting of my app.
i am still facing the access vio err :mad: .pls help
ketan

Dmitry V. Zhada wrote:ketan, emulator execution log isn't a help in this situation. Your problem need sources investigation and seems like one of these:
1) Uninitialized (NULL) or invalid (i.e., already released) interface pointer passed to some of interface functions;
2) Some of callbacks doesn't cancelled before exit from the application.
Thanks Dmitry V. Zhada]ketan for ur reply. how could i get to know that i am using uninitialized pointer.did u know any method which will give some sort of info about aove mention scenerio.
i am allocation memory in onevent function.
spriteArray = (Hero**)MALLOC(1*sizeof(Hero*));
//spriteArray = (Hero**)new (Hero*);
if(spriteArray == NULL){
DBGPRINTF("err allocating memory for hero...");
return;
}else{
spriteArray[0]= new Hero(this,60, 110,21,30, 1, false, 176, 203);
if(!spriteArray[0])
{
DBGPRINTF("err....");
return;
}
}
//allocating memory for 20 enemies.
EnemyArray = (Enemy**)MALLOC(20 * sizeof(Enemy*));
if(EnemyArray == NULL){
DBGPRINTF("err allocating memory for enemies...");
return;
}
//allocating memory for objects like hero_bullet,enemies_bullet,guardian_rocket.
objArray = (object**)MALLOC(2* sizeof(object*));
if(objArray == NULL)
{
DBGPRINTF("err while allocating memory for object");
return;
}
can i allocate such large memory at starting of my app.
i am still facing the access vio err :mad: .pls help
ketan