DescentDevelopers / Descent3

Descent 3 by Outrage Entertainment
GNU General Public License v3.0
2.74k stars 231 forks source link

[Runtime Issue]: Startup crash #330

Closed JeodC closed 2 months ago

JeodC commented 2 months ago

Build Version

43b11574fda64739b6c33e2c00ae54308997fea8

Operating System Environment

CPU Environment

Game Modes Affected

Game Environment

No response

Description

Get a startup crash, access violation. Sometimes no error shows.

Regression Status

Last working: 1f94e623b24ef7bb5a1e4bc797842b2d806e70e3

The .png commit was tested separately before refactor 2 was merged.

Steps to Reproduce

No response

Arcnor commented 2 months ago

Can't reproduce

JeodC commented 2 months ago

gdb.txt

Attached gdb. Tried with and without movies.

Lgt2x commented 2 months ago

gdb.txt

Attached gdb. Tried with and without movies.

Too bad we don't have a full backtrace. The crash seems to happen during movie playback, last log being in SubtInitSubtitles function called by PlayMovie. The next log line is supposed to be issued by mve_PlayMovie function in PlayMovie, so the culprit is likely the mve_PlayMovie function. I likely not related to #323 changes

JeodC commented 2 months ago

gdb.txt Attached gdb. Tried with and without movies.

Too bad we don't have a full backtrace. The crash seems to happen during movie playback, last log being in SubtInitSubtitles function called by PlayMovie. The next log line is supposed to be issued by mve_PlayMovie function in PlayMovie, so the culprit is likely the mve_PlayMovie function. I likely not related to #323 changes

But that function hasn't changed at all between the two commits.

JeodC commented 2 months ago

image

I could be wrong, but I think it might be failing to draw the loading screen bitmap. It would do this in the background as the movies play.

JeodC commented 2 months ago

Resolved with #331, need to wait for rebase and removed debugging symbols to merge.