PtokaX forum

PtokaX => Bugs => Topic started by: Pothead on 11 May, 2006, 14:16:14

Title: Crash in PtokaX DC Hub 0.3.4.0g1 [debug]
Post by: Pothead on 11 May, 2006, 14:16:14

---------------------------11/05/2006 13:27:10---------------------------
Exception 'EAccessViolation' in module PtokaX.exe at 001CDA1D
Access violation at address 005CEA1D in module 'PtokaX.exe'. Read of address 00000003

Call stack:
:005CEA1D [PtokaX.exe]
:77FCB8AF [ntdll.dll]
:77FCBA2B [ntdll.dll]
:77FCB9B1 [ntdll.dll]
:77E4158F [USER32.DLL]
:77E27E2D [USER32.DLL]
:005BC488 [PtokaX.exe]
:0053374A [PtokaX.exe]
:77E4158F [USER32.DLL]
:77E3C19D [USER32.DLL]
:77E3C1CA [USER32.DLL]
:77E3C1DA [USER32.DLL]
:77F91BAF [ntdll.dll]
:77E3820C [USER32.DLL]
:77E3B811 [USER32.DLL]
:7173DE03 [COMCTL32.DLL]
:7173D74D [COMCTL32.DLL]
:7173D75D [COMCTL32.DLL]
:77F86140 [ntdll.dll]
:77F8615C [ntdll.dll]
:7C579605 [KERNEL32.DLL]
:77E34F7E [USER32.DLL]
:77E34FBB [USER32.DLL]
:00400000 [PtokaX.exe]
:77E36168 [USER32.DLL]
:77E36105 [USER32.DLL]
:71738FD4 [COMCTL32.DLL]
:77E34BA1 [USER32.DLL]
:77E268B4 [USER32.DLL]
:77E4158F [USER32.DLL]
:77E3AFA1 [USER32.DLL]
:77E27E2D [USER32.DLL]
:0059E970 [PtokaX.exe]
:0055D3E2 [PtokaX.exe]
:0059B8E7 [PtokaX.exe]
:77E33A0B [USER32.DLL]
:77E361DE [USER32.DLL]
:71765247 [COMCTL32.DLL]
:0046EFCE [PtokaX.exe] classUsers::UserPutInSendBuf (colUsers.cpp, line 1679)
:0054BD97 [PtokaX.exe]
:0054DD2E [PtokaX.exe]
:0054BD16 [PtokaX.exe]
:0054BF3D [PtokaX.exe]
:005CDFCB [PtokaX.exe]
:004B8B4C [PtokaX.exe] cDcCommands::MyPass (DcCommands.cpp, line 1924)
:77E27E2D [USER32.DLL]
:0059E970 [PtokaX.exe]
:0059B8E7 [PtokaX.exe]
:004B0EF3 [PtokaX.exe] cDcCommands::ConnectToMe (DcCommands.cpp, line 833)
:004B8AD3 [PtokaX.exe] cDcCommands::MyINFO (DcCommands.cpp, line 1897)
:004AE3BA [PtokaX.exe] cDcCommands::PreProcessData (DcCommands.cpp, line 252)
:0059E507 [PtokaX.exe]
:0059E51E [PtokaX.exe]
:75021166 [WS2HELP.DLL]
:7502119D [WS2HELP.DLL]
:0054BD97 [PtokaX.exe]
:0054DD2E [PtokaX.exe]
:0054BD16 [PtokaX.exe]
:0054BD98 [PtokaX.exe]
:005C92ED [PtokaX.exe]
:005C8E8E [PtokaX.exe]
:0046E133 [PtokaX.exe] classUsers::UserProcessLines (colUsers.cpp, line 1312)
:0046DFF4 [PtokaX.exe] classUsers::UserDoRecv (colUsers.cpp, line 1276)
:0046E030 [PtokaX.exe] classUsers::UserDoRecv (colUsers.cpp, line 1279)
:77E3C1DA [USER32.DLL]
:77E3820C [USER32.DLL]
:77E27C15 [USER32.DLL]
:00538489 [PtokaX.exe]
:00477E2B [PtokaX.exe] theLoop::ReceiveLoop (serviceLoop.cpp, line 260)
:004793C2 [PtokaX.exe] theLoop::SendLoop (serviceLoop.cpp, line 623)
:00A17DEB [PXLUA.DLL] luaD_rawrunprotected (ldo.c, line 118)
:00A114B4 [PXLUA.DLL] lua_pcall (lapi.c, line 814)
:00591480 [PtokaX.exe]
:0059145E [PtokaX.exe]
:005914BA [PtokaX.exe]
:00477D00 [PtokaX.exe] theLoop::FOnTimer (serviceLoop.cpp, line 210)
:00591512 [PtokaX.exe]
:005913F8 [PtokaX.exe]
:0053374A [PtokaX.exe]
:77E4158F [USER32.DLL]
:77E41DC9 [USER32.DLL]
:77E3C9DD [USER32.DLL]
:77E27466 [USER32.DLL]
:00536E2F [PtokaX.exe]
:77E437BD [USER32.DLL]
:77E27ED6 [USER32.DLL]
:0058E12C [PtokaX.exe]
:0058E163 [PtokaX.exe]
:0058E383 [PtokaX.exe]
:0058E3C6 [PtokaX.exe]
:00401B38 [PtokaX.exe] WinMain (PtokaX.cpp, line 43)
:005D5D17 [PtokaX.exe]
:00400000 [PtokaX.exe]
:7C598989 [KERNEL32.DLL]

Modules:
$00400000 (00400000,00001000,0021E000) C:\Program Files 2\PtokaX\PtokaX.exe
$77F80000 (77F80000,00001000,0004B200) C:\WINNT\system32\ntdll.dll
$77E10000 (77E10000,00001000,0005B400) C:\WINNT\system32\USER32.DLL
$71710000 (71710000,00001000,0005E400) C:\WINNT\system32\COMCTL32.DLL
$7C570000 (7C570000,00001000,00059000) C:\WINNT\system32\KERNEL32.DLL
$75020000 (75020000,00001000,00003600) C:\WINNT\system32\WS2HELP.DLL
$00A00000 (00400000,00001000,0002B000) C:\Program Files 2\PtokaX\PXLUA.DLL

Main Thread ID = 000001A0, Current Thread ID = 000001A0
Registers:
EAX = 7FFFFFFF  CS = 001B  EIP = 005CEA1D  Flags = 00010206
EBX = 01FDA173  SS = 0023  ESP = 0012F4E0    EBP = 0012FA0C
ECX = 00000000  DS = 0023  ESI = 0065030F    FS  = 0038
EDX = 00000003  ES = 0023  EDI = 00000020    GS  = 0000
Code at CS:EIP
80 3A 00 75 EE E9 C9 00 00 00 F7 C7 00 01 00 00
Stack:
0012FEF4 00591500 01FDA188 5359535B 4D24205D
00000000 7C598989 0054D305 0181D58C 0061590B
01F51840 01782B0B 00000000 01C6F544 7C598989
FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF 00000001

Additional info:
Application Title : PtokaX DC Hub 0.3.4.0g1 [debug]
Major : 5
Minor : 0
Build : 2195
SP : 4
Type : 1
iJoins: 595366, iParts: 595274, iLogged: 91
NicklistLen : 1087
OplistLen   : 217
MyInfosLen  : 4937
MyInfosTagLen  : 8249
Title: Re: Crash in PtokaX DC Hub 0.3.4.0g1 [debug]
Post by: PPK on 11 May, 2006, 15:35:07
Found and fixed, one of bugs causing in most times crash without reason  :o
Title: Re: Crash in PtokaX DC Hub 0.3.4.0g1 [debug]
Post by: TiMeTrAVelleR on 11 May, 2006, 16:27:51

---------------------------11-5-2006 17:02:48---------------------------
Exception 'EZeroDivide' in module PXLUA.DLL at 0000D8D7
Floating point division by zero

Call stack:
:0023E8D7 [PXLUA.DLL] luaV_execute (lvm.c, line 482)
:0053C816 [PtokaX.exe]
:7C910551 [ntdll.dll]
:7C91056D [ntdll.dll]
:0054BD97 [PtokaX.exe]
:0059E88C [PtokaX.exe]
:0059E51E [PtokaX.exe]
:0053374A [PtokaX.exe]
:77D18734 [USER32.DLL]
:77D1885A [USER32.DLL]
Recursive call (2 times):
:77D1882A [USER32.DLL]
:77D2F3E3 [USER32.DLL]
:005BA2CF [PtokaX.exe]
:005BA85D [PtokaX.exe]
:0060F2E1 [PtokaX.exe]
:002488D8 [PXLUA.DLL] luaD_call (ldo.c, line 377)
:00241443 [PXLUA.DLL] f_call (lapi.c, line 793)
:00247DF9 [PXLUA.DLL] luaD_rawrunprotected (ldo.c, line 118)
:00247DEB [PXLUA.DLL] luaD_rawrunprotected (ldo.c, line 118)
:00248B4F [PXLUA.DLL] luaD_pcall (ldo.c, line 460)
:00241426 [PXLUA.DLL] lua_call (lapi.c, line 778)
:002414B4 [PXLUA.DLL] lua_pcall (lapi.c, line 814)
:00241426 [PXLUA.DLL] lua_call (lapi.c, line 778)
:0048FEA4 [PtokaX.exe] lua_OnTimer (luaInterface.cpp, line 4967)
:004927D8 [PtokaX.exe] LuaInterpret::ScriptTimerTimer (luaInterface.cpp, line 5722)
:00591512 [PtokaX.exe]
:005913F8 [PtokaX.exe]
:0053374A [PtokaX.exe]
:77D18734 [USER32.DLL]
:77D18816 [USER32.DLL]
:77D189CD [USER32.DLL]
:77D185A4 [USER32.DLL]
:77D2E04A [USER32.DLL]
:77D18A10 [USER32.DLL]
:77D2E2B9 [USER32.DLL]
:77D261C6 [USER32.DLL]
:00400000 [PtokaX.exe]
:77D26208 [USER32.DLL]
:00400000 [PtokaX.exe]
:77D3B168 [USER32.DLL]
:00400000 [PtokaX.exe]
:00618558 [PtokaX.exe]
:00400000 [PtokaX.exe]
:00618575 [PtokaX.exe]
:00617B95 [PtokaX.exe]
:00618D19 [PtokaX.exe]
:00618D7C [PtokaX.exe]
:006161EA [PtokaX.exe]
:0061620F [PtokaX.exe]
:0061622E [PtokaX.exe]
:0061624B [PtokaX.exe]
:7C9037BF [ntdll.dll]
:7C90378B [ntdll.dll]
:7C937B48 [ntdll.dll]
:7C90D625 [ntdll.dll]
:7C937B75 [ntdll.dll]
:00250590 [PXLUA.DLL]
:00250993 [PXLUA.DLL]
:00259724 [PXLUA.DLL]
:0024B1FF [PXLUA.DLL]
:0024BB59 [PXLUA.DLL]
:0024B988 [PXLUA.DLL]
:0024BE2E [PXLUA.DLL]
:0024B10D [PXLUA.DLL]
:00234059 [PXLUA.DLL] luaM_realloc_ (lmem.c, line 79)
Recursive call (2 times):
:7C910732 [ntdll.dll]
:7C9106AB [ntdll.dll]
:7C9106EB [ntdll.dll]
:0054D998 [PtokaX.exe]
:005C0023 [PtokaX.exe]
:005CDF98 [PtokaX.exe]
:005CE377 [PtokaX.exe]
:005CED2A [PtokaX.exe]
:005D276E [PtokaX.exe]
:005D7EBE [PtokaX.exe]
:77D1882A [USER32.DLL]
:7C910945 [ntdll.dll]
:7C91094E [ntdll.dll]
:7C914190 [ntdll.dll]
:7C91ADFA [ntdll.dll]
:7C910970 [ntdll.dll]
:0054BBE8 [PtokaX.exe]
:0054BD74 [PtokaX.exe]
:0054BD97 [PtokaX.exe]
:0054D390 [PtokaX.exe]
:0054D74E [PtokaX.exe]
:0054D7A6 [PtokaX.exe]
:0053DAEE [PtokaX.exe]
:0054D76D [PtokaX.exe]
:0054D57F [PtokaX.exe]
:0053E187 [PtokaX.exe]
:0053E1A6 [PtokaX.exe]
:0061629A [PtokaX.exe]
:006162BA [PtokaX.exe]
:00552222 [PtokaX.exe]
:0054D76D [PtokaX.exe]
:0058E44F [PtokaX.exe]
:00591416 [PtokaX.exe]
:7C9037BF [ntdll.dll]
:7C90378B [ntdll.dll]

Modules:
$00400000 (00400000,00001000,0021E000) C:\Documents and Settings\kim\Bureaublad\Hubs\Hub Roger\PtokaX.exe
$00230000 (00400000,00001000,0002B000) C:\Documents and Settings\kim\Bureaublad\Hubs\Hub Roger\PXLUA.DLL
$77D10000 (77D10000,00001000,0005EE00) C:\WINDOWS\system32\USER32.DLL
$7C900000 (7C900000,00001000,0007A800) C:\WINDOWS\system32\ntdll.dll
$71A20000 (71A20000,00001000,00003E00) C:\WINDOWS\system32\WS2HELP.dll
$719D0000 (719D0000,00001000,00035200) C:\WINDOWS\system32\MSWSOCK.dll
$71A30000 (71A30000,00001000,00012200) C:\WINDOWS\system32\WS2_32.dll
$7C800000 (7C800000,00001000,00081E00) C:\WINDOWS\system32\kernel32.dll

Main Thread ID = 000001A0, Current Thread ID = 000001A0
Registers:
EAX = 00000000  CS = 001B  EIP = 0023E8E6  Flags = 00010246
EBX = 01A4A634  SS = 0023  ESP = 0012E844    EBP = 0012EA88
ECX = 02235D6C  DS = 0023  ESI = 00591500    FS  = 003B
EDX = 02235D6C  ES = 0023  EDI = 0012EC20    GS  = 0000
Code at CS:EIP
DD 19 8B 85 24 FF FF FF C7 40 08 03 00 00 00 E9
Stack:
0127301C 0053C816 0053C81E 00F0DEB0 00000043
00000000 7C90378B 0054D305 01D6CF60 0061590B
00000002 01212800 00000000 01735A14 7C90378B
FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF 00000001

Additional info:
Application Title : PtokaX DC Hub 0.3.4.0g1 [debug]
Major : 5
Minor : 1
Build : 2600
SP : 2
Type : 1
iJoins: 1015, iParts: 894, iLogged: 120
NicklistLen : 1634
OplistLen   : 220
MyInfosLen  : 5458
MyInfosTagLen  : 11571

Title: Re: Crash in PtokaX DC Hub 0.3.4.0g1 [debug]
Post by: PPK on 11 May, 2006, 16:37:01
Quote from: T?M??r?V?ll?R on 11 May, 2006, 16:27:51
Exception 'EZeroDivide' in module PXLUA.DLL at 0000D8D7
Buggy script... division by zero is bad  :P Fixed in lua  ;)
Title: Re: Crash in PtokaX DC Hub 0.3.4.0g1 [debug]
Post by: TiMeTrAVelleR on 11 May, 2006, 17:20:17
oki need to find out what script it is    converted  few  to lua  5.1    :)
Title: Re: Crash in PtokaX DC Hub 0.3.4.0g1 [debug]
Post by: -SkA- on 11 May, 2006, 19:00:36
Quote from: PPK on 11 May, 2006, 15:35:07
Found and fixed, one of bugs causing in most times crash without reason? :o

Really? WooooooooW
Title: Re: Crash in PtokaX DC Hub 0.3.4.0g1 [debug]
Post by: Pothead on 12 May, 2006, 01:01:50
Yer, i was impressed as well. Posted it, and went to bed.  In morning, it's already been sorted. :D
Good work PPK. :)
Title: Re: Crash in PtokaX DC Hub 0.3.4.0g1 [debug]
Post by: Typhoon on 12 May, 2006, 08:58:32
Quote from: PPK on 11 May, 2006, 16:37:01
Quote from: T?M??r?V?ll?R on 11 May, 2006, 16:27:51
Exception 'EZeroDivide' in module PXLUA.DLL at 0000D8D7
Buggy script... division by zero is bad  :P Fixed in lua  ;)

is there any chance to get PtokaX return the script name when it's a error on the lua side, would make life much easier to unresolved errors.

Typhoon?
Title: Re: Crash in PtokaX DC Hub 0.3.4.0g1 [debug]
Post by: PPK on 12 May, 2006, 10:47:59
Quote from: Typhoon? on 12 May, 2006, 08:58:32
is there any chance to get PtokaX return the script name
I fixed it as is already done in PXLua 5.0.2... it return "division by zero" script error (with script name and line number as for other script errors) instead of crash  ::)
Title: Re: Crash in PtokaX DC Hub 0.3.4.0g1 [debug]
Post by: GeceBekcisi on 12 May, 2006, 11:42:10
I hope this fix will cure my and other users' 0.3.4.0b+ problems. Thanks to both of you, Pothead and PPK
Title: Re: Crash in PtokaX DC Hub 0.3.4.0g1 [debug]
Post by: PPK on 12 May, 2006, 13:56:03
This fix fixed bug in 0.3.4.0d+   ::)
Title: Re: Crash in PtokaX DC Hub 0.3.4.0g1 [debug]
Post by: Typhoon on 12 May, 2006, 13:58:15
Quote from: PPK on 12 May, 2006, 10:47:59
Quote from: Typhoon? on 12 May, 2006, 08:58:32
is there any chance to get PtokaX return the script name
I fixed it as is already done in PXLua 5.0.2... it return "division by zero" script error (with script name and line number as for other script errors) instead of crash  ::)

just great, this was all i needed to hear ppk :) ..

Typhoon
Title: Re: Crash in PtokaX DC Hub 0.3.4.0g1 [debug]
Post by: GeceBekcisi on 13 May, 2006, 01:11:31
Quote from: PPK on 12 May, 2006, 13:56:03
This fix fixed bug in 0.3.4.0d+? ?::)

Is "This fix"
Quote from: PPK on 11 May, 2006, 15:35:07
Found and fixed, one of bugs causing in most times crash without reason? :o
or DivisionByZero ?
Title: Re: Crash in PtokaX DC Hub 0.3.4.0g1 [debug]
Post by: johny on 05 June, 2006, 22:46:11
Hi ya PPK or some one else
Is the some one who can tell me wher to get the latest ptokax version loke ver PtokaX DC Hub 0.3.4.0h0 [debug]
Title: Re: Crash in PtokaX DC Hub 0.3.4.0g1 [debug]
Post by: PPK on 05 June, 2006, 23:21:15
Latest released version of PtokaX is always on http://www.PtokaX.org  ::)
Title: Re: Crash in PtokaX DC Hub 0.3.4.0g1 [debug]
Post by: johny on 06 June, 2006, 09:00:24
hi PPK,
all i could vind there is the 0.3.4.0f0 debug version.
and it crashes all the time on me, sorry sir.
perhaps you can mail me the latest debug version to me?
I-will-not-publish-email-again@stupid.me
Title: Re: Crash in PtokaX DC Hub 0.3.4.0g1 [debug]
Post by: PPK on 06 June, 2006, 16:40:02
If you don't know where find testing version then you are not allowed to test it  :P