Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[469b] General protection fault: FWaveModInfo::ReadWaveInfo #512

Closed
SeriousBuggie opened this issue Jul 30, 2021 · 6 comments
Closed

[469b] General protection fault: FWaveModInfo::ReadWaveInfo #512

SeriousBuggie opened this issue Jul 30, 2021 · 6 comments
Labels
audio This issue affects sound and/or music playback bug This is a confirmed bug
Milestone

Comments

@SeriousBuggie
Copy link
Collaborator

---------------------------
Critical Error
---------------------------
General protection fault!

History: FWaveModInfo::ReadWaveInfo <- FSoundData::GetPeriod <- FSoundData::Load <- 
UALAudioSubsystem::RegisterSound <- RegisterSounds <- UALAudioSubsystem::SetViewport <- 
ClientInit <- UGameEngine::LoadMap <- LocalMapURL <- UGameEngine::Browse <- ClientTravel <- 
UGameEngine::Tick <- UpdateWorld <- MainLoop
---------------------------
ОК   
---------------------------

This crash happen to me in UnrealEd and UT when I work on Wolf3D map

Possible somehow related to wolfsounds.uax

Used OpenAL driver.

@SeriousBuggie
Copy link
Collaborator Author

---------------------------
Critical Error
---------------------------
General protection fault!

History: FWaveModInfo::ReadWaveInfo <- FSoundData::GetPeriod <- FSoundData::Load <- 
TLazyArray<< <- USound::Serialize <- LoadObject <- 
(Sound DoomPawns.Imp.DSFIRXPL 245422==245422/9154665 245416 11770) <- 
ULinkerLoad::Preload <- PreLoadObjects <- UObject::EndLoad <- UObject::StaticLoadObject <- 
(Engine.Level None.MyLevel MH-Wolf3DBeta0_5.unr) <- LoadLevel <- UGameEngine::LoadMap <- 
LocalMapURL <- UGameEngine::Browse <- ClientTravel <- UGameEngine::Tick <- UpdateWorld <- MainLoop
---------------------------
ОК   
---------------------------

DoomPawns.zip
DSFIRXPL.zip
Audio: PCM 11025Hz mono 88kbps [A: pcm_u8, 11025 Hz, 1 channels, s8, 88 kb/s]

@SeriousBuggie
Copy link
Collaborator Author

Reproduce:

  1. Extract DoomPawns.zip into System
  2. Run in UnrealEd (once or twice)
    obj load file=DoomPawns.u package=MyLevel

Expected result: No crash.
Actual result: Crash.

Reproduced in v469c, c469b, v436.
Even with selected Cluster in v469c.

in v436 different text:

---------------------------
Critical Error
---------------------------
General protection fault!

History: UFireTexture::ConstantTimeTick <- UTexture::Tick <- (FireTexture UnrealShare.Effect18.FireEffect18) <- 
UTexture::Update <- URender::DrawLodMesh <- (LodMesh UnrealShare.8Ball3rd) <- DrawMesh <- 
URender::DrawActorSprite <- URender::DrawActor <- REN_MeshView <- UEditorEngine::Draw <- 
(Cam=MeshViewer,Flags=8832 <- UWindowsViewport::Repaint <- UEditorEngine::RedrawLevel <- 
UEditorEngine::SafeExec <- (LOAD file=DoomPawns.u package=MyLevel) <- UEditorEngine::SafeExec <- 
(obj load file=DoomPawns.u package=MyLevel) <- UEditorEngine::Exec <- 
(obj load file=DoomPawns.u package=MyLevel) <- DispatchMessage <- 
00380EDA 256 <- MessagePump <- MainLoop
---------------------------
ОК   
---------------------------

@SeriousBuggie
Copy link
Collaborator Author

Possible reason: this package build for Unreal, not for UT.
function PlayHit(float Damage, vector HitLocation, name damageType, float MomentumZ)
Last param must be vector.
Also import SpriteSmokePuff.PostBeginPlay which not exists,

@SeriousBuggie
Copy link
Collaborator Author

Finally, after recode wave and reimport all goes fine. So reason in wav file. UT not able handle such wav files. Somewhere exists bug.

@stijn-volckaert stijn-volckaert added audio This issue affects sound and/or music playback bug This is a confirmed bug fixed in the next patch labels Sep 22, 2021
@stijn-volckaert
Copy link
Contributor

Will be fixed in 469c. UnrealEd couldn't handle the fact that the wav files in this package don't have sample chunks.

@stijn-volckaert
Copy link
Contributor

Fixed in 469c-RC2

@stijn-volckaert stijn-volckaert added this to the 469c milestone May 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
audio This issue affects sound and/or music playback bug This is a confirmed bug
Projects
None yet
Development

No branches or pull requests

2 participants