Ich selber brauch ja nur TCP da ist das Problem ja nicht.

Das ändern hat nix gebracht.
Vertausch mal bitte die beiden DeleteMap() befehle im UDPWatcher().Andreas21 hat geschrieben:Die Zeit die vergeht bis zum absturtz ist die selbe wie #ENM_SN_UDPWorkAroundInactiveKill.
Ich selber brauch ja nur TCP da ist das Problem ja nicht.
Das ändern hat nix gebracht.
Ich bin grade mit meinem Latein am Ende oder etwas betriebsblind. Ich beschäftige mich jetzt mal ein bisschen mit GAL Programmierung und seh mir das später, bzw. Morgen Vormittag an.Andreas21 hat geschrieben:Das bringts leider auch nicht.
Soll ich etwas debugen und dann posten?
Und wenn ja was.
Code: Alles auswählen
PureBasic 4.51 (Linux - x86)
******************************************
Loading external modules...
Starting compilation...
Including source: ENM.pbi
Including source: ENM_CommandDescription.pbi
Including source: SafeNetwork.pbi
Including source: JobQueue_MultiThread_LE.pbi
Including source: Common/Stack.pbi
Including source: ENM_Pakets.pbi
Including source: Common/zLib.pbi
2806 lines processed.
Creating the executable.
- Feel the ..PuRe.. Power -
root@vs160087:~/EasyNetworkManager/sample# ./server
Press Any Key to exit...Server_Rec: 134637092 blub
Server_Rec: 134654372 blub
Server_Rec: 134653780 blub
Server_Rec: 134654860 blub
Speicherzugriffsfehler
root@vs160087:~/EasyNetworkManager/sample#
Code: Alles auswählen
Server_Rec: X Danke Server :)
Code: Alles auswählen
root@vs160087:~/EasyNetworkManager/sample# pbcompiler -t -e server server.pb
******************************************
PureBasic 4.51 (Linux - x86)
******************************************
Loading external modules...
Starting compilation...
Including source: ENM.pbi
Including source: ENM_CommandDescription.pbi
Including source: SafeNetwork.pbi
Including source: JobQueue_MultiThread_LE.pbi
Including source: Common/Stack.pbi
Including source: ENM_Pakets.pbi
Including source: Common/zLib.pbi
2806 lines processed.
Creating the executable.
- Feel the ..PuRe.. Power -
root@vs160087:~/EasyNetworkManager/sample# ./server
Press Any Key to exit...Server_Rec: 134617372 blub
Server_Rec: 134655100 Danke Server :)
Server_Rec: 134655100 blub
Server_Rec: 134672124 blub
Server_Rec: 134654636 Danke Server :)
Server_Rec: 134654636 blub
Server_Rec: 134617316 blub
Server_Rec: 134664756 Danke Server :)
Server_Rec: 134664756 blub
Server_Rec: 134617316 blub
Server_Rec: 134664988 Danke Server :)
Server_Rec: 134664988 blub
root@vs160087:~/EasyNetworkManager/sample#
Code: Alles auswählen
Speicherzugriffsfehler
Code: Alles auswählen
Procedure __NetworkServerEvent()
Protected Event, Mutex
Shared __NetworkProtector
With __NetworkProtector
LockMutex(\ECMutex)
Event = NetworkServerEvent() ; <=========== Error happens here
UnlockMutex(\ECMutex)
If Event
(...)