Jump to content


How to debug tobex/bgmain crash?


  • Please log in to reply
4 replies to this topic

#1 -salvador-

-salvador-
  • Guest

Posted 23 August 2015 - 01:05 AM

Hello, everybody.

 

I did a BWP install on a virtualbox virtual machine running clean freshly installed WinXP x86. Have .net v4 installed. I ran the game, pressed "new game" and the process hang. I couldn't do anything except reboot the machine from the host system. After that, the bgmain.exe started crashing immediately. Following the clues from system events' journal, I've re-installed the .NET and also installed vc2008 redistributable package. After that, the TobEx loader appears to be running, but the game crashed nonetheless. Unmodded bg2 and bg run smoothly.

 

What can be done at that point to debug the problem?

 

Weidu log attached: http://pastebin.com/jrscg2KU



#2 The Imp

The Imp

    Not good, see EVIL is better. You'll LIVE.

  • Member
  • 5150 posts

Posted 23 August 2015 - 01:15 AM

The tobex debug help says:

 

Troubleshooting
---------------
First, make sure that TobEx is actually the issue.
You can forcefully disable TobEx from running by renaming TobEx.dll in your game directory.

For more debugging information:
1. Open TobEx_ini/TobExCore.ini in a simple text editor.
2. Under the [Debug] section, set all values of 0 to 1.
3. Try to reproduce your error in-game. TobEx may sometimes reports some extra information about the error.
4. Report any errors you find on the Spellhold Studios forums. Expect to be asked to attach a .zip of your saved game folder, WeiDU.log, TobEx.log, TobExCore.ini, and TobExTweak.ini.

 

 

But why are you using a virtual machine to run the game ? The game should run fine without any such a thing. And the game is very combersome even without any virtualization. Of course if it's a Mac or Linux machine... you might wish to restrict yourself from ToBEx usage, BGT and so forth...


Edited by The Imp, 23 August 2015 - 02:01 AM.

Yep, Jarno Mikkola. my Mega Mod FAQ. Use of the BWS, and how to use it(scroll down that post a bit). 
OK, desert dweller, welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand. Ouh, actually it was still snow then.. but anyways.


#3 -salvador-

-salvador-
  • Guest

Posted 23 August 2015 - 01:40 AM

Shame on me. I didn't think of enable verbose logging. Here's the log. Any ideas how to deal with it?

 

As for virtual machine, yes, I'm running it on Mac, I have no possibility to do this on windows at the moment (no access to a windows machine).

 

 

-----TobEx: Throne of Bhaal Extender build 0.26.3.25 (Sun 23 Aug 2015 16:38:13)
[Sun 23 Aug 2015 16:38:13] InitUserPatches(): FindFirstFile() failed (error code 183)
[Sun 23 Aug 2015 16:38:14] Could Not Find Resource: CLABMA01.2DA
 
[Sun 23 Aug 2015 16:38:14] Could Not Find Resource: CLABMA02.2DA
 
[Sun 23 Aug 2015 16:38:14] Could Not Find Resource: CLABMA03.2DA
 
[Sun 23 Aug 2015 16:38:14] Could Not Find Resource: CLABMA04.2DA
 
[Sun 23 Aug 2015 16:38:14] Could Not Find Resource: CLABMA05.2DA
 
[Sun 23 Aug 2015 16:38:14] Could Not Find Resource: CLABMA06.2DA
 
[Sun 23 Aug 2015 16:38:14] Could Not Find Resource: CLABMA07.2DA
 
[Sun 23 Aug 2015 16:38:14] Could Not Find Resource: CLABMA09.2DA
 
[Sun 23 Aug 2015 16:38:14] Could Not Find Resource: CLABMA02.2DA
 
[Sun 23 Aug 2015 16:38:14] Could Not Find Resource: CLABMA06.2DA
 
[Sun 23 Aug 2015 16:38:14] Could Not Find Resource: CLABMA05.2DA
 
[Sun 23 Aug 2015 16:38:14] Could Not Find Resource: CLABMA09.2DA
 
[Sun 23 Aug 2015 16:38:14] Could Not Find Resource: CLABMA07.2DA
 
[Sun 23 Aug 2015 16:38:14] Could Not Find Resource: CLABMA03.2DA
 
[Sun 23 Aug 2015 16:38:14] Could Not Find Resource: CLABMA04.2DA
 
[Sun 23 Aug 2015 16:38:14] Could Not Find Resource: CLABMA01.2DA
 
[Sun 23 Aug 2015 16:38:14] AREA-TRANSITION: CInfGame::SetVisibleArea
[Sun 23 Aug 2015 16:38:14] ---------------------Start Logging Session---------------------
[Sun 23 Aug 2015 16:38:14] ---------------------Start Logging Session---------------------
[Sun 23 Aug 2015 16:38:14] Assertion warning. Return Address: 0x975299 File: UIControlButtons.cpp Line: 5637 Expression: FALSE Message: CreateUIControl: nCtrlIdx out of bounds in GUICG panel 7 (mage book)
[Sun 23 Aug 2015 16:38:14] Assertion warning. Return Address: 0x97783D File: UIControlButtons.cpp Line: 6223 Expression: FALSE Message: CreateUIControl: nCtrlIdx out of bounds in GUICG panel 22 (class kit)
[Sun 23 Aug 2015 16:38:14] Assertion warning. Return Address: 0x97783D File: UIControlButtons.cpp Line: 6223 Expression: FALSE Message: CreateUIControl: nCtrlIdx out of bounds in GUICG panel 22 (class kit)
[Sun 23 Aug 2015 16:38:14] Assertion warning. Return Address: 0x9B6E02 File: ChVideo.cpp Line: 5830 Expression: FALSE Message: No valid video modes supported.

 



#4 The Imp

The Imp

    Not good, see EVIL is better. You'll LIVE.

  • Member
  • 5150 posts

Posted 23 August 2015 - 02:00 AM

Well, I don't know, but at least these don't even matter:

 

[Sun 23 Aug 2015 16:38:14] Could Not Find Resource: CLABMA0*.2DA

As they are just the mage kit tables that normally do not exist.


Yep, Jarno Mikkola. my Mega Mod FAQ. Use of the BWS, and how to use it(scroll down that post a bit). 
OK, desert dweller, welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand. Ouh, actually it was still snow then.. but anyways.


#5 -salvador-

-salvador-
  • Guest

Posted 23 August 2015 - 02:06 AM

I've figured it out. I had 3d acceleration disabled in the config. Turning it on helped. Thanks for the hint with the log.