Crashing while sleeping

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
MeddlingMonk
Posts: 237
Joined: Thu May 14, 2020 1:34 pm

Crashing while sleeping

Post by MeddlingMonk »

With the latest win32 build running under Win98SE Exult crashes when I try to sleep, both in BG and SI. What happens is that I click on a bed or bedroll, I'm asked how many hours I want to sleep, the screen fades to black and then drops to the desktop. I thought at first it might be a corrupt saved game but I started a new game and got the same crash. Then I uninstalled Exult and U7. Reinstalled. Same crash.

------

stderr.txt:

Fatal signal: Segmentation Fault (SDL Parachute Deployed)

------

stdout.txt:

Exult version 1.1.0cvs
Built at: Mar 11 2003 16:43:32
Compile-time options: USE_EXULTSTUDIO, HAVE_ZIP_SUPPORT
Compiler: gcc, version: 3.2 (mingw special 20020817-1)

Platform: Windows 98 SE Version 4.10 Build 2222
Data path = data
is_installed: 'd:\uc\ultima7\static\endgame.dat': yes
is_installed: 'd:\uc\serpent\static\sispeech.spc' : yes
Starting a BLACK GATE game
Current path settings:
Static : d:\uc\ultima7\static
Gamedat : d:\uc\ultima7\gamedat
Savegame: d:\uc\ultima7
Patch : none

Gamedat identity FORGE
Found Serpent Isle 'paperdol.vga', 'gumps.vga' and 'shapes.vga'.
Support for 'Serpent Isle' Paperdolls and Multiracial Avatars in 'Black Gate' ENABLED.
Loading /exult_bg.flx...
Loading default keybindings
Finding path to schedule for Finnigan
NPC #139 is unused
NPC #148 is unused
NPC #279 is unused
NPC #283 is unused
NPC #286 is unused
NPC #287 is unused
NPC #293 is unused
NPC #294 is unused
NPC #295 is unused
NPC #296 is unused
NPC #297 is unused
NPC #302 is unused
NPC #303 is unused
NPC #304 is unused
NPC #305 is unused
NPC #306 is unused
NPC #307 is unused
NPC #308 is unused
NPC #309 is unused
NPC #310 is unused
NPC #311 is unused
NPC #312 is unused
NPC #313 is unused
NPC #314 is unused
NPC #315 is unused
NPC #316 is unused
NPC #317 is unused
NPC #318 is unused
NPC #319 is unused
NPC #320 is unused
NPC #321 is unused
NPC #322 is unused
NPC #323 is unused
NPC #324 is unused
NPC #325 is unused
NPC #326 is unused
NPC #327 is unused
NPC #328 is unused
NPC #329 is unused
NPC #330 is unused
NPC #331 is unused
NPC #332 is unused
NPC #333 is unused
NPC #334 is unused
NPC #335 is unused
NPC #336 is unused
NPC #337 is unused
NPC #338 is unused
NPC #339 is unused
NPC #340 is unused
NPC #341 is unused
NPC #342 is unused
NPC #343 is unused
NPC #344 is unused
NPC #345 is unused
NPC #346 is unused
NPC #347 is unused
NPC #348 is unused
NPC #349 is unused
NPC #350 is unused
NPC #351 is unused
NPC #352 is unused
NPC #353 is unused
NPC #354 is unused
NPC #355 is unused
Using mailslots
Cheats enabled.
Egg type is 5, prob = 100, distance = 1, crit = 2, once = 1, hatched = 0, areset = 0, data1 = 0, data2 = 1700
Egg type is 2, prob = 100, distance = 15, crit = 2, once = 1, hatched = 0, areset = 0, data1 = 283, data2 = 257
Skutarth

Re: Crashing while sleeping

Post by Skutarth »

I always had that problem in the original...
wjp
Site Admin
Posts: 1708
Joined: Thu May 14, 2020 1:34 pm

Re: Crashing while sleeping

Post by wjp »

Confirmed. It seems we have a bug :-)
wjp
Site Admin
Posts: 1708
Joined: Thu May 14, 2020 1:34 pm

Re: Crashing while sleeping

Post by wjp »

Should be fixed now.
MeddlingMonk
Posts: 237
Joined: Thu May 14, 2020 1:34 pm

Re: Crashing while sleeping

Post by MeddlingMonk »

Cool. Gotta admit, though, it was a little surprising to see the news it was fixed on the front page.
wjp
Site Admin
Posts: 1708
Joined: Thu May 14, 2020 1:34 pm

Re: Crashing while sleeping

Post by wjp »

Well, it was a rather serious bug :-)

(I'm actually quite surprised nobody noticed it before.)
artaxerxes
Site Admin
Posts: 1310
Joined: Thu May 14, 2020 1:34 pm

Re: Crashing while sleeping

Post by artaxerxes »

could you describe what was the pb ?

Artaxerxes
wjp
Site Admin
Posts: 1708
Joined: Thu May 14, 2020 1:34 pm

Re: Crashing while sleeping

Post by wjp »

I didn't restore the Usecode Machine state properly after running usecode from an intrinsic. (In this case the 'nap_time' intrinsic.)
`daniel

Re: Crashing while sleeping

Post by `daniel »

built exult two days ago from latest CVS and I get that very same crashing bug whilst in sleep. I have yet to build the latest so I'll see whether that works.
Locked