Single Player bugs and crashes v35 plus (SVN) - After the 18th of August 2014

With a clean install from the SVN I am getting the following errors and then the game starts with no UI.
Code:
Traceback (most recent call last):

  File "CvAppInterface", line 45, in forceBUGModuleInit

  File "BugInit", line 79, in initForced

  File "BugPath", line 320, in init

  File "BugPath", line 585, in initDataFolder

  File "BugUtil", line 268, in error

  File "BugUtil", line 285, in log

  File "BugUtil", line 295, in logToScreen

RuntimeError: unidentifiable C++ exception
ERR: Python function forceBUGModuleInit failed, module CvAppInterface
Traceback (most recent call last):

  File "BugUtil", line 692, in <lambda>

  File "BugEventManager", line 577, in preGameStart

  File "CvAppInterface", line 109, in preGameStart

  File "CvScreensInterface", line 94, in showMainInterface

  File "CvMainInterface", line 960, in interfaceScreen

AttributeError: type object 'CvPythonExtensions.WidgetTypes' has no attribute 'WIDGET_GP_PROGRESS_BAR'
ERR: Python function preGameStart failed, module CvAppInterface
Strange... haven't had a problem with that here. But then I'm not using a fresh SVN install either. Perhaps a file is missing somewhere?

I'm using SVN 8121 and modern fishing boats are useless. I just created a few but every time I try to use them, I get this message "A modern workboat is unable to complete create fishing boats because it requires the sacrifice of a standard group sized unit of its type."
Assuming you're not trying to split or merge them, is this coming from units that have upgraded or are being built from scratch?
 
CTD with this:
Spoiler :
Traceback (most recent call last):

File "BugUtil", line 692, in <lambda>

File "BugEventManager", line 577, in preGameStart

File "CvAppInterface", line 105, in preGameStart

File "CvScreensInterface", line 105, in showTechChooser

File "CvTechChooser", line 246, in interfaceScreen

File "CvTechChooser", line 267, in ConstructTabs

File "CvTechChooser", line 307, in DrawTechChooser

File "CvTechChooser", line 444, in placeTechs

RuntimeError: unidentifiable C++ exception
ERR: Python function preGameStart failed, module CvAppInterface


also
[8700.862] info type 'BUILDING_RHINO_MYTH' not found, Current XML file is: modules\MrAzure\Celebration\Festivals\Festivals_CIV4BuildingInfos.xml

and in Modules\Animals\Ecological_Animals\Rhinoceros\Rhinoceros_CIV4UnitInfos.xml
on 1316
<UnitType>UNIT_SUBDUED_SUBDUED_ELASMOTHERIUM</UnitType>

I wonder if I might've updated with a debug dll accidentally... I'll have that part fixed soon if I have.
 
on game start with debug dll

Assert Failed

File: CvGlobals.cpp
Line: 5240
SVN-Rev: 8120
Expression: stricmp(szType, "NONE")==0 || strcmp(szType, "")==0
Message: info type 'BUILDING_RHINO_MYTH' not found, Current XML file is: modules\MrAzure\Celebration\Festivals\Festivals_CIV4BuildingInfos.xml


can i add that info type manualy somehow?
 
No, even after svn 8123 ctd.

crash happen on game start with "play now" and custom game with different maps, initial save not created.

last strings in pythondbg.log

load_module CvGameInterface

load_module CvGameInterfaceFile
 
I may need to do a fresh checkout to see what you guys are having trouble with. Maybe. I'm doing some testing here and we'll see if I can hit the problem.

In the meantime... if I can't replicate this with ease, crashes are nearly impossible to diagnose without a save from before the crash takes place or the minidump at least.

EDIT:Ack... some things I've been working on here are needing some debugging before I can look into the problem(s) there. That could take a bit... the more I dig the more I'm finding needed to be done to complete the project I was on. Without getting that stable it's going to be a little difficult.

However, I'll try to get a fresh checkout started so I can determine what could be going on with that end of things independently... could help to sort out whether some problems on this project are or are not unrelated to the project itself. And has the side effect of giving me an opportunity to try to repair whatever may be wrong there.
 
using debugger i got this :

Spoiler :
KERNELBASE!RaiseException
MSVCR71!CxxThrowException
CvGameCoreDLL
CvGameCoreDLL
CvGameCoreDLL
CvGameCoreDLL
CvGameCoreDLL
CvGameCoreDLL
CvGameCoreDLL
CvGameCoreDLL
CvGameCoreDLL
CvGameCoreDLL
CvGameCoreDLL!CvXMLLoadUtility::ResetGlobalEffectInfo
CvGameCoreDLL!CvXMLLoadUtility::LoadGraphicOptions
CvGameCoreDLL!CvXMLLoadUtility::SetGlobalArtDefines
Civ4BeyondSword
Civ4BeyondSword
ntdll!wcsnicmp
ntdll!wcsnicmp
kernel32!HeapFree
MSVCR71!free
Civ4BeyondSword
Civ4BeyondSword
MSVCP71!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::basic_string<char,std::char_traits<char>,std::allocator<char> >
Civ4BeyondSword
Civ4BeyondSword
Civ4BeyondSword!initCvPythonExtensions
kernel32!BaseThreadInitThunk
ntdll!RtlInitializeExceptionChain
ntdll!RtlInitializeExceptionChain

with Exception #: 0XE06D7363 count 465 (or maybe more)

Also i traced file access and got many unfound files http://rghost.ru/download/59320983/3ff219c46ba829808aaca36dfff420df48df27a7/Logfile.7z

i`m sure you need to recheck this list.
 
any progress on the orions mod aircraft tags?


ggm
No... it's exceedingly low priority at the moment.

using debugger i got this :

Spoiler :
KERNELBASE!RaiseException
MSVCR71!CxxThrowException
CvGameCoreDLL
CvGameCoreDLL
CvGameCoreDLL
CvGameCoreDLL
CvGameCoreDLL
CvGameCoreDLL
CvGameCoreDLL
CvGameCoreDLL
CvGameCoreDLL
CvGameCoreDLL
CvGameCoreDLL!CvXMLLoadUtility::ResetGlobalEffectInfo
CvGameCoreDLL!CvXMLLoadUtility::LoadGraphicOptions
CvGameCoreDLL!CvXMLLoadUtility::SetGlobalArtDefines
Civ4BeyondSword
Civ4BeyondSword
ntdll!wcsnicmp
ntdll!wcsnicmp
kernel32!HeapFree
MSVCR71!free
Civ4BeyondSword
Civ4BeyondSword
MSVCP71!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::basic_string<char,std::char_traits<char>,std::allocator<char> >
Civ4BeyondSword
Civ4BeyondSword
Civ4BeyondSword!initCvPythonExtensions
kernel32!BaseThreadInitThunk
ntdll!RtlInitializeExceptionChain
ntdll!RtlInitializeExceptionChain

with Exception #: 0XE06D7363 count 465 (or maybe more)

Also i traced file access and got many unfound files http://rghost.ru/download/59320983/3ff219c46ba829808aaca36dfff420df48df27a7/Logfile.7z

i`m sure you need to recheck this list.
Interesting. Alberts2... do you have a going theory on what's taking place here? Do we just have missing files somewhere and if so how do we discover which ones, where to get them, and where they should go?
 
Quote:
Originally Posted by SteelSterling View Post
I'm using SVN 8121 and modern fishing boats are useless. I just created a few but every time I try to use them, I get this message "A modern workboat is unable to complete create fishing boats because it requires the sacrifice of a standard group sized unit of its type."

Assuming you're not trying to split or merge them, is this coming from units that have upgraded or are being built from scratch?


Built from scratch.
 
using unitinfos as a base I have updated svn 8122 air missions to include the missing air missions from orions mod. I have included an updated file from orions mod for those still using older versions. just copy and replace. I hope you will use this file in your svn.

ggm
 

Attachments

Quote:
Originally Posted by SteelSterling View Post
I'm using SVN 8121 and modern fishing boats are useless. I just created a few but every time I try to use them, I get this message "A modern workboat is unable to complete create fishing boats because it requires the sacrifice of a standard group sized unit of its type."

Assuming you're not trying to split or merge them, is this coming from units that have upgraded or are being built from scratch?


Built from scratch.
hmm... very strange. I'll look for some low hanging fruit that should make it obvious what's wrong but if that doesn't work I could use a save that can build those.
using unitinfos as a base I have updated svn 8122 air missions to include the missing air missions from orions mod. I have included an updated file from orions mod for those still using older versions. just copy and replace. I hope you will use this file in your svn.

ggm
THANKS! Always good to get a helping hand! I'll try to get these in tomorrow.
 
on game start with debug dll

Assert Failed

File: CvGlobals.cpp
Line: 5240
SVN-Rev: 8120
Expression: stricmp(szType, "NONE")==0 || strcmp(szType, "")==0
Message: info type 'BUILDING_RHINO_MYTH' not found, Current XML file is: modules\MrAzure\Celebration\Festivals\Festivals_CIV4BuildingInfos.xml


can i add that info type manualy somehow?

That is an indication that the debug dll is being used. There is no "real" error it is just WoC doing its thing. I am working on getting rid of these false errors but it takes time and currently I can't get C2C to start at all.
 
Jsut started again and after a short time only I noticed a discrepancy in the Supply cost and the uits currently outside my borders.
This is the 3rd game this has happened in, out of 3.

I have 8 units outside of borders but paying supply cost for 17 (10free +7 costing)???

Is this just in my copy or do others get this too?

SVN 81xx or so

Cheers
 

Attachments

Jsut started again and after a short time only I noticed a discrepancy in the Supply cost and the uits currently outside my borders.
This is the 3rd game this has happened in, out of 3.

I have 8 units outside of borders but paying supply cost for 17 (10free +7 costing)???

Is this just in my copy or do others get this too?

SVN 81xx or so

Cheers

It is weird for me too, but in another way: it says I got 10 units as free supply, but in fact I pay for each one including the first. I thought it is just a presentational bug - feature of higher difficulty level settings.
 
Just did a fresh install of 8123, the icons for unit healing seem to be missing. Or has unit healing been changed so that you can't heal them outside cultural borders?

Here's a screenshot for illustration. As you can see, the unit is damaged, but there's no heal icons on the unit menu.

8A8923C35FB63B4A2D913516D116541845972C33


Edit: Skipping turns inside my cultural borders healed my clubman... Is this an intentional UI change or an accidental one?
Edit: So far, the only units that has had the heal icons were subdued animals.
 
Jsut started again and after a short time only I noticed a discrepancy in the Supply cost and the uits currently outside my borders.
This is the 3rd game this has happened in, out of 3.

I have 8 units outside of borders but paying supply cost for 17 (10free +7 costing)???

Is this just in my copy or do others get this too?

SVN 81xx or so

Cheers

It is weird for me too, but in another way: it says I got 10 units as free supply, but in fact I pay for each one including the first. I thought it is just a presentational bug - feature of higher difficulty level settings.
Odd. I think Alberts made a couple of adjustments there recently. I'll try to take a moment to review them and see if anything done there might've introduced this issue.

Just did a fresh install of 8123, the icons for unit healing seem to be missing. Or has unit healing been changed so that you can't heal them outside cultural borders?

Here's a screenshot for illustration. As you can see, the unit is damaged, but there's no menu items for healing.

Edit: Skipping turns inside my cultural borders healed my clubman... Is this an intentional UI change or an accidental one?
Edit: So far, the only unit that has had the heal icons was a subdued donkey.

I might've ended up fixing that with a discovered bug in testing. Let me know after this next update coming today.
 
With a clean install from the SVN I am getting the following errors and then the game starts with no UI.
Code:
Traceback (most recent call last):

  File "CvAppInterface", line 45, in forceBUGModuleInit

  File "BugInit", line 79, in initForced

  File "BugPath", line 320, in init

  File "BugPath", line 585, in initDataFolder

  File "BugUtil", line 268, in error

  File "BugUtil", line 285, in log

  File "BugUtil", line 295, in logToScreen

RuntimeError: unidentifiable C++ exception
ERR: Python function forceBUGModuleInit failed, module CvAppInterface
Traceback (most recent call last):

  File "BugUtil", line 692, in <lambda>

  File "BugEventManager", line 577, in preGameStart

  File "CvAppInterface", line 109, in preGameStart

  File "CvScreensInterface", line 94, in showMainInterface

  File "CvMainInterface", line 960, in interfaceScreen

AttributeError: type object 'CvPythonExtensions.WidgetTypes' has no attribute 'WIDGET_GP_PROGRESS_BAR'
ERR: Python function preGameStart failed, module CvAppInterface

I am still getting these errors. The first happens very near the start after pressing "go" from the Custom Game screen. The second happens as the game screen is about to be displayed.


I have checked all the files mentioned in the first error and they exist and are identical to previous versions. This suggests a change in the dll part. The code at
Code:
  File "BugUtil", line 295, in logToScreen
is (bold)
Code:
def logToScreen(message):
	"""
	Displays the message in the on-screen message area after escaping < and >.
	"""
	[B]interface.addImmediateMessage(escapeXml(message), "")[/B]

where interface has been set to
Code:
interface = CyInterface()
Edit The only thing I can think of is that the place it is trying to write to does not exist at the time the error message is being generated. This is possibly part the problem that is cause of those messages that say that BUG has already been initialised when the game starts.

Edit 2 the last version of the SVN I have before this error occurs says it is SVN 8020. That number is supplied by the dll compile so it is most likely somewhere after that and before the next dll change.

Sorry, I have not been active, RL has been a bit of a worry of late - which reminds me it is time to phone my Mum to see how she is going (all OK last time I talked to her - she is even home again).
 
Back
Top Bottom