Crash in latest CVS snapshot

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
Ezric
Posts: 55
Joined: Thu May 14, 2020 1:34 pm

Crash in latest CVS snapshot

Post by Ezric »

I decided to install the latest CVS snapshot this morning, but found that I'm crashing to desktop right after the loading swirly/ bubbly screen (you know, the red one in BG and the blue one in SI). I never actually see the game world before the crash. This is using a fresh copy of BG and SI pulled straight off a yellow "Ultima Collection" CD-ROM. I get the same behavior in both BG and SI. I can confirm that v1.2 works just fine using the same BG and SI folders.

Here's the contents of all the important files:

---------------------------------------------
exult.cfg
---------------------------------------------






C:\ULTIMA7


(default)


jmsfx.flx




C:\SERPENT


(default)


jmsisfx.flx




1




yes



yes


gs




yes


gm



no


0




no


0



1.000000


no


gm




yes



no




yes


no


no


yes


no


yes


no


no


no



0


original


no



8


yes


yes




320


200


2


2xSaI


no


no



1.00


1.00


1.00





---------------------------------------------
stdout.txt when starting a new game in BG
---------------------------------------------

Exult version 1.4.01cvs
Built at: Apr 10 2006 16:09:32
Compile-time options: USE_FMOPL_MIDI, USE_EXULTSTUDIO, HAVE_ZIP_SUPPORT
Compiler: gcc, version: 3.4.5 (mingw special)

Platform: Windows XP Service Pack 1 Version 5.1 Build 2600
Exult path settings:
Data : data
Digital music : data\music

OGG Vorbis Digital Music: Disabled
Trying: `Windows'
2 Midi Devices Detected
Listing midi devices:
-1: Microsoft MIDI Mapper
0: SoundMAX Wavetable Synth
1: Microsoft GS Wavetable SW Synth
Using device -1: Microsoft MIDI Mapper
Success!
Midi Output: Enabled
Black Gate : found
exult_bg.flx : found
Serpent Isle : found
exult_si.flx : found
Starting a BLACK GATE game
Game path settings:
Static : C:\ULTIMA7\static
Gamedat : C:\ULTIMA7\gamedat
Savegame: C:\ULTIMA7
Patch : C:\ULTIMA7\patch

Serpent Isle : found
exult_si.flx : found
Creating 'gamedat' files.
Support for SI Paperdolls and Multiracial Avatars in BG is enabled.
Loading /exult_bg.flx...
Loading default keybindings

---------------------------------------------
stderr.txt when starting a new BG game
---------------------------------------------

Fatal signal: Segmentation Fault (SDL Parachute Deployed)

---------------------------------------------
stdout.txt when starting a new SI game
---------------------------------------------

Exult version 1.4.01cvs
Built at: Apr 10 2006 16:09:32
Compile-time options: USE_FMOPL_MIDI, USE_EXULTSTUDIO, HAVE_ZIP_SUPPORT
Compiler: gcc, version: 3.4.5 (mingw special)

Platform: Windows XP Service Pack 1 Version 5.1 Build 2600
Exult path settings:
Data : data
Digital music : data\music

OGG Vorbis Digital Music: Disabled
Trying: `Windows'
2 Midi Devices Detected
Listing midi devices:
-1: Microsoft MIDI Mapper
0: SoundMAX Wavetable Synth
1: Microsoft GS Wavetable SW Synth
Using device -1: Microsoft MIDI Mapper
Success!
Midi Output: Enabled
Black Gate : found
exult_bg.flx : found
Serpent Isle : found
exult_si.flx : found
Starting a SERPENT ISLE game
Game path settings:
Static : C:\SERPENT\static
Gamedat : C:\SERPENT\gamedat
Savegame: C:\SERPENT
Patch : C:\SERPENT\patch

Creating 'gamedat' files.
Loading /exult_si.flx...
Loading default keybindings

---------------------------------------------
stderr.txt when starting a new SI game
---------------------------------------------

Fatal signal: Segmentation Fault (SDL Parachute Deployed)

Perhaps also of interest, if I attempt to journey onward after that initial crash of BG, stderr.txt mentions "SFX 115 is out of range" before the "Fatal signal" bit.

Is there a known issue with the current CVS, or is it just something I've done wrong?
Ezric
Posts: 55
Joined: Thu May 14, 2020 1:34 pm

Re: Crash in latest CVS snapshot

Post by Ezric »

The lack of responses seems to indicate I might be the only one experiencing this problem. That doesn't bode well...
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Crash in latest CVS snapshot

Post by Dominus »

or that no one actually has time to look at Exult code over the easter holidays :)
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
John J.

Re: Crash in latest CVS snapshot

Post by John J. »

dude, im having the EXACT same problem, i found that forsome reason if i dont use my mouse in the menu, and just hit esc to go past the intro blah blah and select START NEW GAME / JOUNEY ONWARD all with the keyboard, i dont seem to crash...
drcode
Site Admin
Posts: 2267
Joined: Thu May 14, 2020 1:34 pm

Re: Crash in latest CVS snapshot

Post by drcode »

I'd like to get to the bottom of this, since we really want the CVS version to be playable. I'm pretty sure I've started new games recently, but maybe I didn't use the mouse. Unfortunately, I'm out-of-town until Wednesday, so I won't be able to try again for several days.
Ezric
Posts: 55
Joined: Thu May 14, 2020 1:34 pm

Re: Crash in latest CVS snapshot

Post by Ezric »

I tried not using the mouse just now on another clean installation of the May 1st build, and I'm getting the same thing still. With or without using the mouse, it crashes just the same as I originally described. I wish I could pin down when this problem showed up, but I'd been using an older 1.4 build (that I've since deleted) for quite a long while before I decided to update to the latest.

I appreciate that it's going to be looked into. I miss having access to 1.4.

I'll post any and all required information to help get to the bottom of this. Just ask.
SB-X
Posts: 980
Joined: Thu May 14, 2020 1:34 pm

Re: Crash in latest CVS snapshot

Post by SB-X »

Did you try disabling music?
Ezric
Posts: 55
Joined: Thu May 14, 2020 1:34 pm

Re: Crash in latest CVS snapshot

Post by Ezric »

Hah! Disabled the music did the trick!

So what's going on here? Exult without music just isn't the same. :(
Ezric
Posts: 55
Joined: Thu May 14, 2020 1:34 pm

Re: Crash in latest CVS snapshot

Post by Ezric »

After a little testing (just a couple minutes spent on it), it appears I can enable music while in-game and it works fine (music plays perfectly), but I can't start a new game or "journey onward" with it enabled.
Ezric
Posts: 55
Joined: Thu May 14, 2020 1:34 pm

Re: Crash in latest CVS snapshot

Post by Ezric »

How very, very odd...

Changing the "midi driver" in the in-game audio menu from "default" to "Windows" allows me to run Exult normally with no crashes at all. I won't be posting back in this thread again unless someone requests additional information from me, as this is my third post in a row in this thread :P

Thanks a ton, though, SB-X. I'm really glad to be able to use 1.4 again.
SB-X
Posts: 980
Joined: Thu May 14, 2020 1:34 pm

Re: Crash in latest CVS snapshot

Post by SB-X »

You're welcome. I have no idea what causes it to crash, but other people have reported the same thing, so I just guessed.
Locked