[GWA2] Memory read 00000004 crash

06/14/2018 08:50 3vangelist#1
Just a quick ambiguous question - I occasionally get 2 gw crash boxes (1 comes up after clicking "Don't Send" on the first one) with the same error - memory read at address 00000004 failed.

This happens sometimes (maybe 1 in 20 times) during map load, but I can't pin it down.

Does anyone else have this issue using the GWA2 library, or can anyone give any advice on where to look for this?

Code:
*--> Crash <--*
Exception: c0000005 
Memory at address 00000004 could not be read
App: Gw.exe
ProgramId: 1
Build: 36755
When: 6/14/2018 12:53:58
Flags: 0

*--> System <--*
Name: JON-XPS13
IpAddr: 10.10.10.1 192.168.56.1 192.168.2.114
Processors: 4 [GenuineIntel:6:10:9]
OSVersion: 6.2 (64 bit)

*--> Thread 0xfffffffe <--*
eax=00000004 ebx=0b23fcbe ecx=0581fd04 edx=03375d98 esi=0581fd04 edi=0b200e34
eip=006d29c0 esp=0581fce4 ebp=0581fd14
cs=10202 ss=0023 ds=002b es=002b fs=002b gs=0053 efl=0000002b

ebx-32 0B23FC9C  f20415ff 8bc30089 ebe2040d 0c508b00 
ebx-16 0B23FCAC  04508b52 0870ff4a 587d37e8 fcf1e9f5 
ebx +0 0B23FCBC  488dffff 7b7ae804 e4e9f558 8bfffffc 
ebx+16 0B23FCCC  d2330448 55d0bbe8 fcd5e9f5 0d8bffff 
ebx+32 0B23FCDC  00a30a34 5208508d 8b04508b fda2e8c1 
ebx+48 0B23FCEC  bce9f534 83fffffc d08b04c0 c083c933 
ecx-32 0581FCE4  0503b5fc 007c7852 0581fd74 0503b5fc 
ecx-16 0581FCF4  2008a340 00000000 0581fd4c 00407b2b 
ecx +0 0581FD04  0581fd20 0040d778 0503b854 00602b04 
ecx+16 0581FD14  0581fd80 0b23fcc6 0000000e 0581fd74 
ecx+32 0581FD24  0503b5fc 0581fd80 0581fd40 0000000c 
ecx+48 0581FD34  0581fe00 0581fd54 0503b5f0 0581fd80 
edx-32 03375D78  00000000 00000000 00000000 00000000 
edx-16 03375D88  c7644020 88000b43 00000000 03375d90 
edx +0 03375D98  00000000 05024530 00000000 00000000 
edx+16 03375DA8  c7604024 88000c50 00000000 00000000 
edx+32 03375DB8  000000f0 03375d1c 000000f4 00000000 
edx+48 03375DC8  c76c4028 89000d6a 504d4f43 52455455 
esi-32 0581FCE4  0503b5fc 007c7852 0581fd74 0503b5fc 
esi-16 0581FCF4  2008a340 00000000 0581fd4c 00407b2b 
esi +0 0581FD04  0581fd20 0040d778 0503b854 00602b04 
esi+16 0581FD14  0581fd80 0b23fcc6 0000000e 0581fd74 
esi+32 0581FD24  0503b5fc 0581fd80 0581fd40 0000000c 
esi+48 0581FD34  0581fe00 0581fd54 0503b5f0 0581fd80 
esi-32 0B200E14  00000000 00000000 00000000 00000000 
esi-16 0B200E24  00000000 00000000 00000000 00000000 
esi +0 0B200E34  4677e400 c6a06600 00000000 006b0063 
esi+16 0B200E44  00000000 00000000 00000000 00000000 
esi+32 0B200E54  00000000 00000000 00000000 00000000 
esi+48 0B200E64  00000000 00000000 00000000 00000000 

*--> Code <--*
006D29A0  5dc20400 90909090 90909090 90909090 ]...............
006D29B0  568bf1e8 f823eeff 8b40148b ce83c004 V....#..  [MENTION=320166]......[/MENTION]
006D29C0  8b108911 8b500489 51048b50 08895108 .....P..Q..P..Q.
006D29D0  8b400c89 410c8bc6 5ec39090 90909090 .@..A...^.......
006D29E0  53568bf2 33db83fe 02570f9d c34b83fe SV..3....W...K..
006D29F0  028bf97c 1468e106 0000ba20 4ba100b9 ...|.h..... K...

*--> Trace <--*
Pc:006d29c0 Fr:0581fd14 Rt:0b23fcc6 Arg:0000000e 0581fd74 0503b5fc 0581fd80 
Pc:0b23fcc6 Fr:0581fd80 Rt:005fd756 Arg:0503005c 0503b5f0 00000004 0581fe00 
Pc:005fd756 Fr:0581fdbc Rt:005fd42f Arg:00000004 05030290 00000000 00000001 
Pc:005fd42f Fr:0581fe04 Rt:005fcedf Arg:0581fee8 0581fee4 ffffffff 00000002 
Pc:005fcedf Fr:0581fedc Rt:005b5302 Arg:005fcca0 00000001 00000002 ffffffff 
Pc:005b5302 Fr:0581fefc Rt:005b8f5b Arg:00821e8f 05036df8 04f5ee00 001ac2eb 
Pc:005b8f5b Fr:0581ff30 Rt:005b31a6 Arg:00000002 00821e8f 04f5ee00 04f5ee00 
Pc:005b31a6 Fr:0581ff48 Rt:00821f18 Arg:05036df8 00821e8f 00821e8f 04f5ee00 
Pc:00821f18 Fr:0581ff80 Rt:76d98654 Arg:04f5ee00 76d98630 98d144a9 0581ffdc 
Pc:76d98654 Fr:0581ff94 Rt:77574a47 Arg:04f5ee00 e12bdb4f 00000000 00000000 
Pc:77574a47 Fr:0581ffdc Rt:77574a17 Arg:ffffffff 77599eb0 00000000 00000000 
Pc:77574a17 Fr:0581ffec Rt:00000000 Arg:00821e8f 04f5ee00 00000000 00000000 

*--> Stack <--*
0581FCE4  0503b5fc 007c7852 0581fd74 0503b5fc ....Rx|.t.......
0581FCF4  2008a340 00000000 0581fd4c 00407b2b @.. ....L...+{@.
0581FD04  0581fd20 0040d778 0503b854 00602b04  ...x.@.T....+`.
0581FD14  0581fd80 0b23fcc6 0000000e 0581fd74 ......#.....t...
0581FD24  0503b5fc 0581fd80 0581fd40 0000000c .......  [MENTION=748117].......[/MENTION]
0581FD34  0581fe00 0581fd54 0503b5f0 0581fd80 ....T...........
0581FD44  00602b04 00000002 05030028 0581fe00 .+`.....(.......
0581FD54  00000002 00000002 00000004 0581fd7c ............|...
0581FD64  05030290 00000001 0581fd84 005b15f7 ..............[.
0581FD74  0503b5fc 05030055 00000000 0581fdbc ....U...........
0581FD84  005fd756 0503005c 0503b5f0 00000004 V._.\...........
0581FD94  0581fe00 05030290 00000001 05030028 ............(...
0581FDA4  00000000 050301e8 00000000 0581fdb0 ................
0581FDB4  0581fdb1 00000002 0581fe04 005fd42f ............/._.
0581FDC4  00000004 05030290 00000000 00000001 ................
0581FDD4  00000000 800c9fa2 05030028 00000000 ........(.......
0581FDE4  800c9fa2 05030028 0581fdfc 00000000 ....(...........
0581FDF4  800c9fa2 a57fc5a6 00000004 00000011 ................
0581FE04  0581fedc 005fcedf 0581fee8 0581fee4 ......_.........
0581FE14  ffffffff 00000002 800c9fa2 00000000 ................
0581FE24  00000000 05030028 00000000 00000000 ....(...........
0581FE34  00000000 353b7100 0581fec0 775c4e1e .....q;5.....N\w
0581FE44  0581fea4 0581fea0 00000000 00000000 ................
0581FE54  00000000 ffffffff 0581fee0 775c4e1e .............N\w
0581FE64  0581fec4 0581fec0 00000000 e12bdae7 ..............+.
0581FE74  0581fea8 775953e2 c0000005 0581fea0 .....SYw........
0581FE84  0581fea4 fffffffc ffffff81 00000001 ................
0581FE94  0581ff10 7755cc0c 0581fec0 0581014c ......Uw....L...
0581FEA4  e12bda3b 05030028 771f2f17 00000000 ;.+.(..../.w....
0581FEB4  00000001 0120d86f 00000000 ffffffff ....o. .........
0581FEC4  0581fe0c 0581f724 0581ff70 00593a24 ....$...p...$:Y.
0581FED4  009851b8 00000000 0581fefc 005b5302 .Q...........S[.
0581FEE4  005fcca0 00000001 00000002 ffffffff .._.............
0581FEF4  800c9fa2 00000002 0581ff30 005b8f5b ........0...[.[.
0581FF04  00821e8f 05036df8 04f5ee00 001ac2eb .....m..........
0581FF14  00000000 a576ac55 00000004 800c9e4e ....U.v.....N...
0581FF24  800c9fa2 00000318 00000324 0581ff48 ........$...H...
0581FF34  005b31a6 00000002 00821e8f 04f5ee00 .1[.............
0581FF44  04f5ee00 0581ff80 00821f18 05036df8 .............m..
0581FF54  00821e8f 00821e8f 04f5ee00 c0000005 ................
0581FF64  00000000 0581ff54 0581f724 0581ffcc ....T...$.......
0581FF74  00593a24 009ae4a0 00000000 0581ff94 $:Y.............
0581FF84  76d98654 04f5ee00 76d98630 98d144a9 T..v....0..v.D..
0581FF94  0581ffdc 77574a47 04f5ee00 e12bdb4f ....GJWw....O.+.
0581FFA4  00000000 00000000 04f5ee00 00000000 ................
0581FFB4  00000000 00000000 00000000 e12bdb4f ............O.+.
0581FFC4  0581ffa0 00000000 0581ffe4 77586a20 ............ jXw
0581FFD4  93cade63 00000000 0581ffec 77574a17 c............JWw
0581FFE4  ffffffff 77599eb0 00000000 00000000 ......Yw........

*--> Error Logs <--*
(1) Portal initialized = 1
(0) OnAccountLogin err=242
(1) Portal login success
(0) OnAccountLogin err=0
(2) Sequence queue congestion

*--> DirectX Device Info <--*
VendorId    = 0x8086
DeviceId    = 0x0166
Version     = 10.18.0010.4653
Description = Intel(R) HD Graphics 4000
Compat      = 0x00000081
VidMem      = 1792 MB

*--> DirectSound Device Info <--*
3D channels  = 0
2D channels  = 0
EAX support  = None
Device count = 1

*--> Game Context <--*
MapId: 482
Flags: 0x241
ElapsedTime: 00:14:20
09/18/2018 21:30 bingbongman#2
I'm having the same problem, but it happens more often (like 3 out of 10 times). Did you manage to resolve this issue?
09/19/2018 12:06 RitIRL#3
"This happens sometimes (maybe 1 in 20 times) during map load"

I would think that this is down to improper management of the loading process and trying to move / do some action while the map is loading. I always use a Do...Until loop with WaitMapLoading which sleeps until that map is actually loaded.

Do you have an example bot?
09/19/2018 12:45 bingbongman#4
Quote:
Originally Posted by RitIRL View Post
"This happens sometimes (maybe 1 in 20 times) during map load"

I would think that this is down to improper management of the loading process and trying to move / do some action while the map is loading. I always use a Do...Until loop with WaitMapLoading which sleeps until that map is actually loaded.

Do you have an example bot?
This was my assumption as well, unfortunately I also (wrongly) assumed that "WaitMapLoading" was blocking...
Your loop-solution seems to work fine. Thank you!
10/16/2018 12:47 natanders#5
bump