Jump to content

Crashing on combat in BG1


NickDelios

Recommended Posts

Good evening,

 

After trying a run of BG:Trilogy with the Widescreen mod (which looked great) - I started hitting a crashing issue. When I go into the storeroom of Candlekeep with the 'kill the rats' mission, the game crashes out during combat. Thinking this could be an issue with GemRB and BG:Trilogy, I just tested this on a fresh install of BG1 + TotSC + latest patch... same crash.

 

I'm running GemRB 0.71 (the latest Ubuntu package, according to http://www.playdeb.net/software/GemRB), Ubuntu 12.04 LTS and... attached to this message is a .zip file with my GemRB.log and my config.

 

Thanks,

Erik

NicksLogConfig.zip

Link to comment
You said you build 0.7.2 from git, so you had to do extra steps already (git checkout v0.7.2 or similar). Use git checkout master #to get back on track and then rebuild.

Sorry - but the only experience I have with git is following the directions outlined here. I've poked around on the 'net for assistance to clarify how I might go about grabbing the Master from the repository, but I have been unsuccessful as of yet.

 

If you were able to provide me with an example of a full, working console command to grab the Master - or wouldn't mind explaining how I would go about doing so, I would appreciate it.

 

Also - since I followed the directions outlined at the link - I had assumed that I grabbed the most recent source (with the command "git clone git://gemrb.git.sourceforge.net/gitroot/gemrb/gemrb"). Was I incorrect in this?

 

Edit:

 

If you didn't use tag just what was written on the page, then you already build from HEAD. In that case, a gdb trace would be helpful.

Ah - I thought I may have built it from HEAD. I'll GoogleFu about a 'gdb trace' - unless you wouldn't mind explaining how I would find / create one and provide you with it.

 

 

Thank you,

Erik

Link to comment

You just run the game with gdb gemrb <whatever you had here as parameters>

 

When it crashes, type 'where' at the gdb prompt.

Quote that stuff here.

Hrm - I haven't been able to get gdb to execute gemrb, even when providing it with the same command that I execute from the Terminal to launch gemrb with Baldur's Gate. The following is the command in reference, attempted to launch via gdb, and the output.

Starting program: /usr/local/bin/gemrb gemrb -c /home/oswald/BG/gemrb-bg.cfg

[Thread debugging using libthread_db enabled]

Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".

[Core]: GemRB Core Version v0.7.2-git Loading...

[Core]: Initializing the Event Manager...

[Config]: Trying to open "GemRB.cfg".

[Config/ERROR]: Failed to open config file "GemRB.cfg".

[Config]: Trying to open "/home/oswald/.gemrb/gemrb.cfg".

[Config/ERROR]: Failed to open config file "/home/oswald/.gemrb/gemrb.cfg".

[Config]: Trying to open "/usr/local/etc/gemrb/gemrb.cfg".

[Config/ERROR]: Failed to open config file "/usr/local/etc/gemrb/gemrb.cfg".

[Core/ERROR]: Could not load config file.

[Core]: Starting Plugin Manager...

[PluginMgr]: Loading Plugins from

[Core/FATAL]: Plugin Loading Failed, check path...

[Main]: Press enter to continue...

 

Also - after running gemrb from the console and playing Baldur's Gate up to the Rat Crash, the following is available in the Terminal and may be of some help:

[ResourceManager]: Searching for 'HIT_03A'...

[ResourceManager]: Found 'HIT_03A.wav' in 'chitin.key'.

[GameScript]: Displaying string on: none

[ResourceManager]: Searching for 'female1l'...

[ResourceManager]: Found 'female1l.wav' in 'Sounds'.

[Actor/COMBAT]: Damage animation type: 2

[ResourceManager]: Found 'bloodm.bam' in 'chitin.key'.

[initRound]: Name: Rat | Attacks: 1 | Start: 32234

[unknown]: Performattack for Rat, target is: test

[Attack/COMBAT]: (Main) Left: 0 | Next: 32324 [Hit]

Segmentation fault (core dumped)

 

Looking over the GemRB.log, nothing breaks as clearly as above - though I've attached my GemRB.log (as GemRB.txt) to this post.

 

Big thanks :)

Erik

GemRB.txt

Link to comment

You need to use --args if you want to pass parameters to gemrb via gdb, otherwise gdb thinks they are for him.

Ah, got it. It took a bit - but I didn't realize that passing the args meant just using 'run' at the gdb prompt (found this post on StackOverflow that helped).

 

Anyhow, watching the log of contents of the gdb terminal window. All the interesting bits seem to happen after I enter the store to take on the ol' rats:

[unknown]: Loading regions

[unknown]: Loading containers

[unknown]: Loading doors

[unknown]: Loading spawnpoints

[unknown]: Loading actors

[ResourceManager]: Found 'cat.cre' in 'chitin.key'.

[ResourceManager]: Found 'acatg1.bam' in 'chitin.key'.

[ResourceManager]: Found 'cat.cre' in 'chitin.key'.

[ResourceManager]: Found 'rat2.cre' in 'chitin.key'.

[ResourceManager]: Found 'rat02.bcs' in 'chitin.key'.

[ResourceManager]: Found 'aratg1.bam' in 'chitin.key'.

[ResourceManager]: Found 'rat2.cre' in 'chitin.key'.

[ResourceManager]: Found 'rat2.cre' in 'chitin.key'.

[ResourceManager]: Found 'rat2.cre' in 'chitin.key'.

[ResourceManager]: Found 'rat2.cre' in 'chitin.key'.

[unknown]: Loading animations

[ResourceManager]: Found 'fliess.bam' in 'chitin.key'.

[unknown]: Loading entrances

[unknown]: Loading variables

[unknown]: Loading ambients

[unknown]: Loading automap notes

[unknown]: Loading traps

[unknown]: Loading tiles

[unknown]: Loading explored bitmap

[unknown]: Loading wallgroups

[GameScript]: MoveBetweenAreas: test to ar2606 [161.330] face: 10

[ResourceManager]: Found 'defsound.2da' in 'GemRB Unhardcoded data'.

[ResourceManager]: Found 'defsound.2da' in 'GemRB Unhardcoded data'.

[Thread 0xafa9fb40 (LWP 2098) exited]

[New Thread 0xafa9fb40 (LWP 2100)]

[ResourceManager]: Found 'defsound.2da' in 'GemRB Unhardcoded data'.

[Thread 0xafa9fb40 (LWP 2100) exited]

[ResourceManager]: Found 'GUIW.chu' in 'chitin.key'.

[initRound]: Name: Rat | Attacks: 1 | Start: 32377

[unknown]: Performattack for Rat, target is: test

[unknown]: Performattack for Rat, target is: test

[Attack/COMBAT]: (Main) Left: 0 | Next: 32476 [Hit]

[initRound]: Name: Rat | Attacks: 1 | Start: 32389

[unknown]: Performattack for Rat, target is: test

[ResourceManager]: Searching for 'HIT_03A'...

[ResourceManager]: Found 'HIT_03A.wav' in 'chitin.key'.

[Actor/COMBAT]: Damage animation type: 2

[ResourceManager]: Found 'bloodm.bam' in 'chitin.key'.

[unknown]: Performattack for Rat, target is: test

[Attack/COMBAT]: (Main) Left: 0 | Next: 32488 [Hit]

[ResourceManager]: Found 'acatg1e.bam' in 'chitin.key'.

[ResourceManager]: Found 'aratg1e.bam' in 'chitin.key'.

[Attack/COMBAT]: (Leaving attack)

[Attack/COMBAT]: (Leaving attack)

[initRound]: Name: Rat | Attacks: 1 | Start: 32424

[unknown]: Performattack for Rat, target is: test

[Attack/COMBAT]: (Main) Left: 0 | Next: 32514 [Missed]

[initRound]: Name: Rat | Attacks: 1 | Start: 32440

[unknown]: Performattack for Rat, target is: test

[Attack/COMBAT]: (Main) Left: 0 | Next: 32530 [Missed]

[Attack/COMBAT]: (Leaving attack)

[Attack/COMBAT]: (Leaving attack)

[Attack/COMBAT]: (Leaving attack)

[initRound]: Name: Rat | Attacks: 1 | Start: 32503

[unknown]: Performattack for Rat, target is: test

[Attack/COMBAT]: (Main) Left: 0 | Next: 32593 [Missed]

[Attack/COMBAT]: (Leaving attack)

 

Program received signal SIGSEGV, Segmentation fault.

0xb7fd2ff4 in ?? () from /usr/local/lib/gemrb/libgemrb_core.so

(gdb) where

#0 0xb7fd2ff4 in ?? () from /usr/local/lib/gemrb/libgemrb_core.so

#1 0x00000000 in ?? ()

(gdb)

 

If you thought I was a helpless n00b before, well... o_O

 

Thanks :)

-Erik

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...