Freelancer Community Network
Reminder: Internet Explorer 6 or below are NOT supported.
HomeHome
ForumForum
WikiWiki
DownloadsDownloads
ForgeForge
Multiplayer Connection Tutorial
Collapse/Expand Random Image
Collapse/Expand Login
Username:

Password:

Remember me



Lost Password?

Register now!
Collapse/Expand Chat
Collapse/Expand Who's Online
74 user(s) are online (49 user(s) are browsing Forum)

Members: 0
Guests: 74

more...
Collapse/Expand Donations
Monthly costs: -30€
Income (ads): +5€
Donations (last month): +165€

Current balance: 105€
(last updated 02/2021)

Please make a donation if you want to help keeping The-Starport online:

Thanks!
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 33 users playing Freelancer on 37 servers.
April. 20, 2021
The Starport Forum Index > All Posts (Crazy)

Bottom Bottom   Previous Topic   Next Topic

« 1 (2) 3 4 5 ... 11 »


Re: Crash @ 0x6341616 (Common.dll)
Just can't stay away
Joined:
2008/5/9 17:27
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 243
Offline
I fixed this crash by moving some calculations (including IObjectInspect stuff etc.) from an extra thread into the ServerImpl:Update method.

I think some function calls were overriding internal stuff (as adoxa already guesed).

Seems FLServer doesn't like multihreading when you do any internal stuff.

Sorry for wasting your time

Posted on: 2015/7/27 14:15
Top
Topic | Forum


Re: Crash @ 0x6341616 (Common.dll)
Just can't stay away
Joined:
2008/5/9 17:27
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 243
Offline
Would a full memory dump during the crash help?

I only got a MiniDump of the MINIDUMP_TYPE MiniDumpNormal right now but I could extend it if that could help.

Posted on: 2015/7/17 14:47
Top
Topic | Forum


Re: Crash @ 0x6341616 (Common.dll)
Just can't stay away
Joined:
2008/5/9 17:27
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 243
Offline
I'd say the crashes aren't that frequent as before after applying your patch (could have been luck ).

I could try to add this function into Cannons CrashCatcher which would add a try/catch around every function call and hope for no side effects. I'd only need to patch over 200 adresses

Posted on: 2015/7/17 7:23
Top
Topic | Forum


Re: Crash @ 0x6341616 (Common.dll)
Just can't stay away
Joined:
2008/5/9 17:27
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 243
Offline
We hadn't a BaseWatcher crash till this morning.
So it's actually working. But now I get the following crash:

Unhandled exception at 0x06341616 (Common.dll) in flserver_16.07.2015_08.16.dmp-1.dmp: 0xC0000005: Access violation reading location 0x6F6C5F6B.

Same offset but this time with invalid data > 0 I guess:
EAX 0x6f6c5f6b
EBX 0x00000000
ECX 0x0c6df1b4
EDX 0x6f6c5f67
ESI 0x0ddd9c30
EDI 0x0c6df1b4
EBP 0x08926a50
EIP 0x06341616
ESP 0x038190f0

In this case the return adress is: 0x062c28ee so it was called from 0x62C28E9 which is part of ScanList::add_in_range(class Vector const &,float,struct IObjDB *,unsigned int,struct Filter *);

Any idea how to fix the crash or how to find out what is causing it?

Posted on: 2015/7/16 9:57
Top
Topic | Forum


Re: Crash @ 0x6341616 (Common.dll)
Just can't stay away
Joined:
2008/5/9 17:27
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 243
Offline
Hm, the MiniDump doesn't seem to contain a valid StackTrace.. or Visual Studio isn't able to reconstruct it.

Anyway I've implemented your patch @Adoxa. Thanks a lot.

I'll report whether we still get BaseWatcher crashes or not.

Posted on: 2015/7/13 22:52
Top
Topic | Forum


Crash @ 0x6341616 (Common.dll)
Just can't stay away
Joined:
2008/5/9 17:27
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 243
Offline
Hey,

we've got a crash @ 0x6341616 in Common.dll.

Does anyone has a clue what could cause this crash?

It's part of the function at 0x6341610: protected: void __thiscall BaseWatcher::set_pointer(struct Watchable const *)
?[email protected]@@[email protected]@@Z

which seems to be called from a lot different positions.

The Disassembly at 0x6341616 is:
mov edx, [eax]

edx = 0
eax = 4

Any hint would be much appreciated.

Cheers,
Crazy

Posted on: 2015/7/13 8:57
Top
Topic | Forum


Adding new entries into the flserver window
Just can't stay away
Joined:
2008/5/9 17:27
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 243
Offline
Ahoi,

I guess this could be useful for some of you. I've reversed it quite a while ago:

Open in new window


We're using this on HHC to display some thread queue information.

Code of the above screenshot:

Code:

void MFCInit()
{
int iPtr = (*(int*)0x4277EC)+256+32;
HkFLServerInsertCol(2, "Max", 0, 42, 2);
SendMessageW(*(HWND *)(iPtr), 0x101E, 0, 100);
SendMessageW(*(HWND *)(iPtr), 0x101E, 1, 50);
HkFLServerSetItem(0,2,1,"0");
HkFLServerInsertItem(1,6,"AC Inbound Queue");
HkFLServerSetItem(6,1,1,"0");
HkFLServerSetItem(6,2,1,"0");
HkFLServerInsertItem(1,7,"AC Outbound Queue");
HkFLServerSetItem(7,1,1,"0");
HkFLServerSetItem(7,2,1,"0");
}

//Item in der FLServer CListCtrl inserten
void HkFLServerInsertItem(uint nMask, int nItem, LPCSTR lpszItem)
{
int iPtr = (*(int*)0x4277EC)+256;
__asm
{
push 0
push 0
push 0
push 0
push lpszItem
push nItem
push nMask
mov ecx, iPtr
mov edx, 0x419308
call edx
}
}

//Item in der FLServer CListCtrl updaten
void HkFLServerSetItem(int nItem, int nSubItem, uint nMask, LPCSTR lpszItem)
{
int iPtr = (*(int*)0x4277EC)+256;
__asm
{
push 0
push 0
push 0
push 0
push lpszItem
push nMask
push nSubItem
push nItem
mov ecx, iPtr
mov edx, 0x4192FC
call edx
}
}

void HkFLServerInsertCol(int nCol, LPCSTR lpszColumnHeading, int nFormat, int nWidth, int nSubItem)
{
int iPtr = (*(int*)0x4277EC)+256;
__asm
{
push nSubItem
push nWidth
push nFormat
push lpszColumnHeading
push nCol
mov ecx, iPtr
mov edx, 0x41930E
call edx
}
}


Cheers,
Crazy

Posted on: 2015/7/9 22:03
Top
Topic | Forum


Re: FL-Listserver
Just can't stay away
Joined:
2008/5/9 17:27
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 243
Offline
Well, looks stable here:

Quote:

23.05.2015 09:44:34> Receiving game information from: 149.172.26.129:61003
23.05.2015 09:44:34> Server name: ENIGMA V.4 ATG (RP 24/7) Server Options: 2302:30:0:1:1:5948f9e0-57449ddc-732e8aa9-ff810504:1497954784


Quote:

23.05.2015 09:44:37> Server deleted: ENIGMA V.4 ATG (RP 24/7) (Shutdown)


Quote:

23.05.2015 09:44:51> Receiving game information from: 149.172.26.129:1099 23.05.2015 09:44:51> Server name: ENIGMA V.4 ATG (RP 24/7) Server Options: 2302:30:0:1:1:5948f9e0-57449ddc-732e8aa9-ff810504:1497954784


Quote:

23.05.2015 18:01:01> Server deleted: ENIGMA V.4 ATG (RP 24/7) (Crashed)


Quote:

23.05.2015 18:04:03> Server name: ENIGMA V.4 ATG (RP 24/7) Server Options: 2302:30:0:1:1:5948f9e0-57449ddc-732e8aa9-ff810504:1497954784

Posted on: 2015/5/23 17:48
Top
Topic | Forum


Re: FL-Listserver
Just can't stay away
Joined:
2008/5/9 17:27
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 243
Offline
Should be back online now.

22.05.2015 21:01:43> Total Server count: 42

Posted on: 2015/5/22 20:04
Top
Topic | Forum


Re: FL-Listserver
Just can't stay away
Joined:
2008/5/9 17:27
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 243
Offline
I love windows updates.

I'll fix it today.

Posted on: 2015/5/22 8:33
Top
Topic | Forum


Re: [The Starport News]Server Switch & Site Direction
Just can't stay away
Joined:
2008/5/9 17:27
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 243
Offline
phpBB ftw!

Posted on: 2015/4/24 11:42
Top
Topic | Forum


Re: Running FL on a Virtual Machine; and gives an error for my disk drive.
Just can't stay away
Joined:
2008/5/9 17:27
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 243
Offline
If you don't want to run it on your main OS:
Why do you need a disk?

Just copy the content of the disk or install it somewhere else and copy the installed files.

Posted on: 2014/9/29 9:08
Top
Topic | Forum


Re: Formatting inline code
Just can't stay away
Joined:
2008/5/9 17:27
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 243
Offline
Wohoo +1!

Posted on: 2014/8/14 9:33
Top
Topic | Forum


Re: Error Message from FLHook
Just can't stay away
Joined:
2008/5/9 17:27
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 243
Offline

Posted on: 2012/12/16 22:53
Top
Topic | Forum


Re: AFK
Just can't stay away
Joined:
2008/5/9 17:27
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 243
Offline
You should read the flhook plugin readme and have a look at the example plugins.

It's basicly always the same base structure. We could maybe add a plugin template which is only doing the basic stuff like exporting the plugin info and 1 or two sample hooks.

But one of the two example plugins is pretty much like this AFAIR.

Posted on: 2012/11/22 11:52
Top
Topic | Forum



Top Top
« 1 (2) 3 4 5 ... 11 »



[Advanced Search]