[haiku-bugs] Re: [Haiku] #12580: Heretic crash at start up and closing

  • From: "diver" <trac@xxxxxxxxxxxx>
  • Date: Fri, 07 Apr 2017 16:50:56 -0000

#12580: Heretic crash at start up and closing
----------------------------------+----------------------------
   Reporter:  lelldorin           |      Owner:  nobody
       Type:  bug                 |     Status:  closed
   Priority:  normal              |  Milestone:  Unscheduled
  Component:  - General           |    Version:  R1/Development
 Resolution:  no change required  |   Keywords:  Heretic
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  x86
----------------------------------+----------------------------
Changes (by diver):

 * status:  new => closed
 * resolution:   => no change required


Old description:

Heretic crash at start up and closing

Haiku Version: hrev49600

V_Init: allocate screens.
M_LoadDefaults: Load system defaults.
Z_Init: Init zone memory allocation daemon.
W_Init: Init WADfiles.
MN_Init: Init menu system.
R_Init: Init Heretic refresh daemon.Loading graphics
R_InitData
R_InitTextures R_InitFlats
R_InitSpriteLumps R_InitPointToAngle
R_InitTables R_InitPlanes
R_InitLightTables R_InitSkyMap
P_Init: Init Playloop state.Init game engine.
I_Init: Setting up machine state.
I_StartupDPMII_StartupMouse Mouse: not present S_Init... QueryPort:
write_port failed, msgcode 0x111, port 0: Bad port ID
fluidsynth: error: Invalid filename
error in fluid_synth_sfload
D_CheckNetGame: Checking network game status.
Checking network game status.
SB_Init: Loading patches.
Create 320 x 240 x 8
[midi] UNIMPLEMENTED status_t BPrivate::BSoftSynth::LoadInstrument(short
int)
[midi] UNIMPLEMENTED status_t BPrivate::BSoftSynth::LoadInstrument(short
int)
[midi] UNIMPLEMENTED status_t BPrivate::BSoftSynth::LoadInstrument(short
int)
[midi] UNIMPLEMENTED status_t BPrivate::BSoftSynth::LoadInstrument(short
int)
[midi] UNIMPLEMENTED status_t BPrivate::BSoftSynth::LoadInstrument(short
int)

New description:

 Heretic crash at start up and closing

 Haiku Version: hrev49600


 {{{
 V_Init: allocate screens.
 M_LoadDefaults: Load system defaults.
 Z_Init: Init zone memory allocation daemon.
 W_Init: Init WADfiles.
 MN_Init: Init menu system.
 R_Init: Init Heretic refresh daemon.Loading graphics
 R_InitData
 R_InitTextures R_InitFlats
 R_InitSpriteLumps R_InitPointToAngle
 R_InitTables R_InitPlanes
 R_InitLightTables R_InitSkyMap
 P_Init: Init Playloop state.Init game engine.
 I_Init: Setting up machine state.
 I_StartupDPMII_StartupMouse Mouse: not present S_Init... QueryPort:
 write_port failed, msgcode 0x111, port 0: Bad port ID
 fluidsynth: error: Invalid filename
 error in fluid_synth_sfload
 D_CheckNetGame: Checking network game status.
 Checking network game status.
 SB_Init: Loading patches.
 Create 320 x 240 x 8
 [midi] UNIMPLEMENTED status_t BPrivate::BSoftSynth::LoadInstrument(short
 int)
 [midi] UNIMPLEMENTED status_t BPrivate::BSoftSynth::LoadInstrument(short
 int)
 [midi] UNIMPLEMENTED status_t BPrivate::BSoftSynth::LoadInstrument(short
 int)
 [midi] UNIMPLEMENTED status_t BPrivate::BSoftSynth::LoadInstrument(short
 int)
 [midi] UNIMPLEMENTED status_t BPrivate::BSoftSynth::LoadInstrument(short
 int)
 }}}

--

Comment:

 It looks like a double free in Hexen which happen to not crash in BeOS.
 It'll probably be better to port a newer version of Hexen for SDL than to
 workaround bugs in this binary

 You could try to start it like this and attach new debug report to confirm
 this theory.
 {{{LD_PRELOAD=/system/lib/x86/libroot_debug.so /system/non-
 packaged/apps/heretic/Heretic}}}

--
Ticket URL: <https://dev.haiku-os.org/ticket/12580#comment:1>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: