NickDelios Posted February 19, 2013 Share Posted February 19, 2013 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
lynx Posted February 19, 2013 Share Posted February 19, 2013 This is an old version, so tough luck. You could try a buidbot binary between releases, compile 0.7.2 or git yourself or make an updated deb yourself. Link to comment
NickDelios Posted February 20, 2013 Author Share Posted February 20, 2013 This is an old version, so tough luck. You could try a buidbot binary between releases, compile 0.7.2 or git yourself or make an updated deb yourself. I just built 0.7.2 and it crashes in the exact same spot. Again, I've attached my error log - if that's of any help. GemRB.log.zip Thanks, Erik Link to comment
lynx Posted February 20, 2013 Share Posted February 20, 2013 I guess it was fixed after that release then. I think it had to do with the rats having the tutorial stunning damage type. Link to comment
NickDelios Posted February 20, 2013 Author Share Posted February 20, 2013 I guess it was fixed after that release then. I think it had to do with the rats having the tutorial stunning damage type. Is... is there another release? I built my 0.7.2 from the GIT repository off SourceForge mentioned at: http://www.gemrb.org/wiki/doku.php?id=installation Link to comment
lynx Posted February 20, 2013 Share Posted February 20, 2013 build HEAD then, don't use the 0.7.2 tag. Link to comment
NickDelios Posted February 21, 2013 Author Share Posted February 21, 2013 build HEAD then, don't use the 0.7.2 tag. As a Linux user of low-level experience, would you mind elaborating on how to 'build HEAD' in this situation? Also - thanks for everything. I'm super excited to play BG on my ol' netbook. Live old times again. Link to comment
lynx Posted February 21, 2013 Share Posted February 21, 2013 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. Link to comment
Avenger Posted February 21, 2013 Share Posted February 21, 2013 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. Link to comment
NickDelios Posted February 22, 2013 Author Share Posted February 22, 2013 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
SyntaxError Posted February 22, 2013 Share Posted February 22, 2013 you are on head if you didnt explicitly checkout the 0.7.2 tag. just post a stack trace. any crash log should do if you built following the standard directions with cmake. Link to comment
Avenger Posted February 22, 2013 Share Posted February 22, 2013 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. Link to comment
NickDelios Posted February 23, 2013 Author Share Posted February 23, 2013 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
lynx Posted February 23, 2013 Share Posted February 23, 2013 You need to use --args if you want to pass parameters to gemrb via gdb, otherwise gdb thinks they are for him. Link to comment
NickDelios Posted February 23, 2013 Author Share Posted February 23, 2013 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.