PtokaX forum

Development Section => PtokaX Development Versions => Topic started by: PPK on 10 March, 2007, 18:57:33

Title: 0.3.5.2g1
Post by: PPK on 10 March, 2007, 18:57:33
New testing version is here (http://www.ptokax.org/files/0.3.5.2g1.7z).

Fixed crash from 0.3.5.2g on generating temp ban message to banned user, thanx to all who report it.

Full online PtokaX changelog is available in Wiki (http://wiki.ptokax.ath.cx/doku.php?id=changelogs:ptokax:changes_after_0.330_15.31).
Title: Re: 0.3.5.2g1
Post by: nEgativE on 11 March, 2007, 02:02:41
Quote---------------------------11-03-2007 0:44:01---------------------------
Exception 'EAccessViolation' in module PXLUA.DLL at 000289D8
Access violation at address 002599D8 in module 'PXLUA.DLL'. Read of address 0026B000

Call stack:
:002599D8 [PXLUA.DLL]
:00259C12 [PXLUA.DLL]
:00259977 [PXLUA.DLL]
:00235B2C [PXLUA.DLL] os_time (loslib.c, line 185)
:002486B0 [PXLUA.DLL] luaD_precall (ldo.c, line 319)
:0023F348 [PXLUA.DLL] luaV_execute (lvm.c, line 599)
:7C920732 [ntdll.dll]
:7C921538 [ntdll.dll]
:7C921596 [ntdll.dll]
:7C9206EB [ntdll.dll]
Recursive call (2 times):
:7C92056D [ntdll.dll]
:00242B9C [PXLUA.DLL] l_alloc (lauxlib.c, line 634)
:00234029 [PXLUA.DLL] luaM_realloc_ (lmem.c, line 79)
:0023B5CE [PXLUA.DLL] resize (ltable.c, line 323)
:0023B69B [PXLUA.DLL] rehash (ltable.c, line 348)
:0024887B [PXLUA.DLL] luaD_call (ldo.c, line 377)
:0024148A [PXLUA.DLL] f_call (lapi.c, line 796)
:00247E81 [PXLUA.DLL] luaD_rawrunprotected (ldo.c, line 118)
:00247E73 [PXLUA.DLL] luaD_rawrunprotected (ldo.c, line 118)
:00248AF2 [PXLUA.DLL] luaD_pcall (ldo.c, line 461)
:0024146D [PXLUA.DLL] lua_call (lapi.c, line 781)
:002414FB [PXLUA.DLL] lua_pcall (lapi.c, line 817)
:0024146D [PXLUA.DLL] lua_call (lapi.c, line 781)
:004DD4DB [PtokaX.exe] LuaScriptsSet::OpConnected (luaScriptsSet.cpp, line 568)
:71A54301 [WS2_32.dll]
:0047F56E [PtokaX.exe] theLoop::ReceiveLoop (serviceLoop.cpp, line 470)
:77D18C12 [USER32.dll]
:00572348 [PtokaX.exe]
:77D18C26 [USER32.dll]
:00572326 [PtokaX.exe]
:00572382 [PtokaX.exe]
:0047E9CC [PtokaX.exe] theLoop::FOnTimer (serviceLoop.cpp, line 238)
:005723DA [PtokaX.exe]
:005722C0 [PtokaX.exe]
:0051C392 [PtokaX.exe]
:77D18709 [USER32.dll]
:77D187EB [USER32.dll]
:77D40494 [USER32.dll]
:77D189A5 [USER32.dll]
:0051EFAF [PtokaX.exe]
:77D40494 [USER32.dll]
:77D1BCCC [USER32.dll]
:0056EFF4 [PtokaX.exe]
:0056F02B [PtokaX.exe]
:0056F24B [PtokaX.exe]
:0056F28E [PtokaX.exe]
:00401A44 [PtokaX.exe] WinMain (PtokaX.cpp, line 48)
:005B6A27 [PtokaX.exe]
:7C816D4F [kernel32.dll]
:7C8399F3 [kernel32.dll]

Modules:
$00400000 (00400000,00001000,001D1000) C:\dConnect\PtokaX-[0.352]\PtokaX.exe
$00230000 (00400000,00001000,0002B000) C:\dConnect\PtokaX-[0.352]\PXLUA.DLL
$7C910000 (7C910000,00001000,0007A800) C:\WINDOWS\system32\ntdll.dll
$71A50000 (71A50000,00001000,00012200) C:\WINDOWS\system32\WS2_32.dll
$77D10000 (77D10000,00001000,0005EE00) C:\WINDOWS\system32\USER32.dll
$7C800000 (7C800000,00001000,00081E00) C:\WINDOWS\system32\kernel32.dll

Main Thread ID = 00000DCC, Current Thread ID = 00000DCC
Registers:
EAX = 00000025  CS = 001B  EIP = 002599D8  Flags = 00010216
EBX = 00000000  SS = 0023  ESP = 0012F89C    EBP = 0012F8AC
ECX = 0000295C  DS = 0023  ESI = FFFFFFFF    FS  = 003B
EDX = 0026B000  ES = 0023  EDI = 00000025    GS  = 0000
Code at CS:EIP
8B 1A 3B 5D FC 76 F5 EB 15 03 34 8D 8C 0A 26 00
Stack:
00000025 FFFFFFFF 00000000 FFFFFFFF 0012F8D4
00000000 7C8399F3 00533005 011C7A70 005CCF0B
011C5FFC 011C2B0B 00000000 012B1FE4 7C8399F3
FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF 00000001

Additional info:
Application Title : PtokaX DC Hub 0.3.5.2g1 Lua 5.1.1
Major : 5
Minor : 1
Build : 2600
SP : 2
Type : 1
iJoins: 14, iParts: 10, iLogged: 3
NicklistLen : 78
OplistLen   : 50
MyInfosLen  : 327
MyInfosTagLen  : 423

:(
Title: Re: 0.3.5.2g1
Post by: PPK on 11 March, 2007, 02:55:51
I don't know why it crashed in lua lib, it was not changed from previous version  :'(
Title: Re: 0.3.5.2g1
Post by: PPK on 11 March, 2007, 03:02:48
It don't looks like bad script... it is script with opconnected using os.time  ::)
Title: Re: 0.3.5.2g1
Post by: 7P-Darkman on 14 March, 2007, 14:55:34
Hello PPK...


Congratulations for this version... very light and stable. See the stats:


[09:42:59] <#THE-Punisher><#THE-Punisher>
------------------------------------------------------------
Current stats:
------------------------------------------------------------
Version: PtokaX DC Hub 0.3.5.2g1 built on Mar 10 2007 18:37:59
Uptime: 1 days, 23 hours, 13 minutes
Users (Max/Actual Peak (Max Peak)/Logged): 300 / 74 (82) / 40
Users shared size: 2965679807603 Bytes / 2.70 TB
Chat messages: 145 x
Unknown commands: 1 x
PM commands: 181 x
Key commands: 3105 x
Supports commands: 3238 x
MyINFO commands: 6983 x
ValidateNick commands: 2964 x
GetINFO commands: 56 x
Password commands: 109 x
Version commands: 2818 x
GetNickList commands: 2895 x
Search commands: 14737 x (0 x)
SR commands: 6683 x
CTM commands: 15686 x (0 x)
RevCTM commands: 5559 x
BotINFO commands: 28 x
Close commands: 0 x
------------------------------------------------------------
CPU usage (60 sec avg): 0.35%
CPU time: 0:10:08
Mem usage (Peak): 61.75 MB (89.59 MB)
VM size (Peak): 59.16 MB (87.41 MB)
------------------------------------------------------------
SendRests (Peak): 0 (1)
RecvRests (Peak): 0 (2)
Compression saved: 6.04 MB (23)
Data sent: 70.20 MB
Data received: 4.32 MB
Tx (60 sec avg): 0 B/s (316 B/s)
Rx (60 sec avg): 0 B/s (10 B/s)



Respectfully,


7P-Darkman
Title: Re: 0.3.5.2g1
Post by: ncux on 16 March, 2007, 15:08:46
may be offtop. Sorry. PX support SMP machines?
Title: Re: 0.3.5.2g1
Post by: PPK on 18 March, 2007, 21:18:00
Yes and no, depend on what you mean by support :P (Yes running on them, but no PtokaX not use all cpus/cores because any today new single core cpu is enough for PtokaX).
Title: Re: 0.3.5.2g1
Post by: ncux on 19 March, 2007, 03:37:38
eh. but anyway, thanks for info.

wbr
Title: Re: 0.3.5.2g1
Post by: bastya_elvtars on 19 March, 2007, 13:48:02
So does it scale in theory or not? :-)
Title: Re: 0.3.5.2g1
Post by: nikita800 on 15 April, 2007, 15:22:50
In advance I apologize for my clumsy English.
On bookmark Users/Chat has included the general chat, approximately after 30 minutes of work in this window messages have collected and the hub ITSELF HAS stopped with reason: Out of memory! Why so has occured? It is a mistake of a hub? Memories on a server 2048Mb
After inclusion of a hub in this window have been found out in me following records: [13:47] PtokaX memory heap corrupted!
[14:03] PtokaX memory heap corrupted!
[14:18] PtokaX memory heap corrupted!
[14:32] PtokaX memory heap corrupted!

P.S. I shall add, that once for a long time, I do not remember already on what version of a hub, there was a similar autocratic stop owing to Out of memory! Only then I touched nothing, the hub worked continuously more than 30 days.
Here the hub has broken  :( ??? :-[

Quote---------------------------15.04.2007 16:20:35---------------------------
Exception 'EAccessViolation' in module ntdll.dll at 000317F9
Access violation at address 7C9427F9 in module 'ntdll.dll'. Read of address 00000000

Call stack:
:7C9427F9 [ntdll.dll]
:7C93FF8A [ntdll.dll]
:7C9400C6 [ntdll.dll]
Recursive call (3 times):
:7C93F9DD [ntdll.dll]
:00470436 [PtokaX.exe] classUsers::UserDelete (colUsers.cpp, line 2623)
:71A934A0 [WS2_32.dll]
:71A93481 [WS2_32.dll]
:71A93534 [WS2_32.dll]
:00460BA3 [PtokaX.exe] classUsers::DisconnectAll (colUsers.cpp, line 263)
:71A93481 [WS2_32.dll]
:71A93534 [WS2_32.dll]
:0041CD01 [PtokaX.exe] ThubForm::FinalStopServer (frmHub.cpp, line 2125)
:0055FB19 [PtokaX.exe]
:0057F3CF [PtokaX.exe]
:0057F3E6 [PtokaX.exe]
:0042A2F8 [PtokaX.exe] ThubForm::HubStop (frmHub.cpp, line 4381)
:00430671 [PtokaX.exe] ThubForm::Dispatch (frmHub.h, line 847)
:0057C7AF [PtokaX.exe]
:77F5C4C8 [USER32.dll]
:77F5C498 [USER32.dll]
:7C93FB23 [ntdll.dll]
:00232BCB [PXLUA.DLL] l_alloc (lauxlib.c, line 642)
:00224029 [PXLUA.DLL] luaM_realloc_ (lmem.c, line 79)
:0022B9F8 [PXLUA.DLL] luaH_get (ltable.c, line 474)
:00228DE2 [PXLUA.DLL] newlstr (lstring.c, line 62)
:0022D2AA [PXLUA.DLL] luaV_gettable (lvm.c, line 116)
:00230E2E [PXLUA.DLL] lua_getfield (lapi.c, line 547)
:00230314 [PXLUA.DLL] lua_remove (lapi.c, line 179)
:0057F754 [PtokaX.exe]
:77F5C7F1 [USER32.dll]
:77F6C508 [USER32.dll]
:00568DEE [PtokaX.exe]
:77F6CD1E [USER32.dll]
:004225E0 [PtokaX.exe] ThubForm::PxWndProc (frmHub.cpp, line 3006)
:0057F3CF [PtokaX.exe]
:0051C392 [PtokaX.exe]
:77F5C3B7 [USER32.dll]
:77F5C484 [USER32.dll]
:77F5C43A [USER32.dll]
:77F5C73C [USER32.dll]
:0051EE1B [PtokaX.exe]
:0051EFAF [PtokaX.exe]
:77F4E406 [USER32.dll]
:0056EFF4 [PtokaX.exe]
:0056F02B [PtokaX.exe]
:0056F24B [PtokaX.exe]
:0056F28E [PtokaX.exe]
:00401A44 [PtokaX.exe] WinMain (PtokaX.cpp, line 48)
:005B6A27 [PtokaX.exe]
:00400000 [PtokaX.exe]
:7C8123E5 [kernel32.dll]

Modules:
$00400000 (00400000,00001000,001D1000) C:\DC2HUB\HUB\Hub 0.3.5.2g1\PtokaX.exe
$7C910000 (7C910000,00001000,00086800) C:\WINDOWS\system32\ntdll.dll
$71A90000 (71A90000,00001000,00012600) C:\WINDOWS\system32\WS2_32.dll
$77F40000 (77F40000,00001000,00060E00) C:\WINDOWS\system32\USER32.dll
$00220000 (00400000,00001000,0002B000) C:\DC2HUB\HUB\Hub 0.3.5.2g1\PXLUA.DLL
$7C800000 (7C800000,00001000,00089E00) C:\WINDOWS\system32\kernel32.dll

Main Thread ID = 00000144, Current Thread ID = 00000144
Registers:
EAX = 04989008  CS = 001B  EIP = 7C9427F9  Flags = 00010246
EBX = 013B0000  SS = 0023  ESP = 0012F9E8    EBP = 0012F9F4
ECX = 00000000  DS = 0023  ESI = 04989000    FS  = 003B
EDX = 00000000  ES = 0023  EDI = 049AB000    GS  = 0000
Code at CS:EIP
8B 09 3B 4A 04 89 55 0C 0F 85 B2 D0 02 00 3B C8
Stack:
013B0000 049AB000 00000000 0012FADC 7C93FF8A
00000000 7C8123E5 00533005 0BE6C00C 005CCF0B
011CB9F4 011C2B0B 00000000 0CEE882C 7C8123E5
FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF 00000001

Additional info:
Application Title : PtokaX DC Hub 0.3.5.2g1 Lua 5.1.1
Major : 5
Minor : 2
Build : 3790
SP : 1
Type : 3
iJoins: 15210, iParts: 14089, iLogged: 2044
NicklistLen : 20244
OplistLen   : 53
MyInfosLen  : 0
MyInfosTagLen  : 173159

In window Users/Chat there was such information.

Quote[15:17] PtokaX memory heap corrupted!
[15:32] PtokaX memory heap corrupted!
[15:48] PtokaX memory heap corrupted!
[16:03] PtokaX memory heap corrupted!
[16:17] PtokaX memory heap corrupted!
[16:20] [BUF] alef (10.120.122.31) Cannot reallocate 1941/135424 bytes of memory in classUsers::UserPutInSendBuf! 0 $ZOn|xЪmWЭ?ЭFѕаEТ№
[16:20] [ERR] Out of memory...

It is casual not attack from the user 10.120.122.31?