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
45 user(s) are online (23 user(s) are browsing Forum)

Members: 0
Guests: 45

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

Current balance: -85€
(last updated 11/2019)

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

Bitcoin address:
Thanks!
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 37 users playing Freelancer on 40 servers.
December. 14, 2019

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post



Serious Crash at 0x6EF54E0
Starport Admin
Joined:
2009/2/21 21:42
Group:
Webmasters
Registered Users
Posts: 3519
Offline
So we've been noticing a particular crash that's very frequent, but we can't find any information on it. The crash is at 0x6EF54E0, or content.dll+0x554E0. I see some reputation functions being called, but I can't tell exactly what it's doing.

The crash is definitely related to NPCs, and while we've added a try/catch on FLHook, I believe it's still responsible for some of the lag we're noticing and the instability issues we're having.

Any help on tracking down this issue would be very much appreciated.

Posted on: 2014/4/13 2:17
"Cynicism is not realistic and tough. It's unrealistic and kind of cowardly because it means you don't have to try."
-Peggy Noonan
Top
Re: Serious Crash at 0x6EF54E0
Just can't stay away
Joined:
2008/6/16 20:41
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Posts: 312
Offline
Hm the offset is at:

Code:

0 e 061254e0     0001 (0001)  0:**** Content!DestroyInstance+0x6360


When i set a breakpoint there i get different callstacks when i enter the breakpoint, but the most frequent one looks like:

Code:

 #   Memory  ChildEBP RetAddr  Args to Child              
WARNING: Stack unwind information not available. Following frames may be wrong.
00           03b3a624 0612963c 03b3a6d0 03b3a64b 130d7454 Content!DestroyInstance+0x6360
01        54 03b3a678 0618b833 03b3a6d0 03b3a6b0 03b3a6a8 Content!DestroyInstance+0xa4bc
02        c4 03b3a73c 754d43e0 0628581c 1848cba0 00000000 Content!IDLL::operator=+0x22943
03        48 03b3a784 062bf1de 03b3a7a4 11dc9eb0 06cf8b76 msvcrt!__RTDynamicCast+0x2d (FPO: [Non-Fpo])
04           00000000 00000000 00000000 00000000 00000000 Common!IObjInspectImpl::get_angular_velocity+0xe


and i cannot play the game as this break is happening all the time. So it must be something that is "destroyed" at everytime. Could it be a timer for an animation or anything else? However the first argument seems to be a dynamic casto to void

Code:

 3 e 75506600     0001 (0001)  0:**** 
msvcrt!__RTCastToVoid+0xb


Are you sure its something with your NPCs? If you remove the npcs you do not suffer the crash?

Posted on: 2014/4/13 19:38
Open in new window
Top
Re: Serious Crash at 0x6EF54E0
Starport Admin
Joined:
2009/2/21 21:42
Group:
Webmasters
Registered Users
Posts: 3519
Offline
The thing that made me think that was the call to GetReputation within that function. I don't really see the context for this otherwise.

We also only encountered this when we had enough players navigating the systems. We didn't have it when we had no NPCs around. I guess it could be another reason that's only tangentially related to NPCs, but it's really hard to pinpoint...

Posted on: 2014/4/13 19:44
"Cynicism is not realistic and tough. It's unrealistic and kind of cowardly because it means you don't have to try."
-Peggy Noonan
Top
Re: Serious Crash at 0x6EF54E0
Home away from home
Joined:
2008/12/26 16:55
From Xarania
Group:
Registered Users
Senior Members
Posts: 806
Offline
capture and return to base missions?

I used to get a big CTD at the end of a capture and return mission.. many years ago in my 1st experiments..

those calls look like mission calls.. right at that time when it tells you to return to ???? base.. if base is custom.. and there's a funked up zone call at the return phase.. boom.. game over.

just sayin.. those calls.. remind me of that problem.

Posted on: 2014/4/14 5:25
Open in new window
http://freexlr.forumotion.net - FL-XLR MOD http://www.smfweb.com/forums/MERCHQ - [MERC]
Top
Re: Serious Crash at 0x6EF54E0
Starport Admin
Joined:
2009/2/21 21:42
Group:
Webmasters
Registered Users
Posts: 3519
Offline
We've finally figured it out. It happens when a permutation is defined in an encounter INI but doesn't actually exist (say, you have 10 blocks but 11 permutations).

Posted on: 2014/4/14 5:32
"Cynicism is not realistic and tough. It's unrealistic and kind of cowardly because it means you don't have to try."
-Peggy Noonan
Top