Opened 3 years ago

Last modified 2 years ago

#5978 new defect

OpenAL errors on macOS during replays

Reported by: Langbart Owned by:
Priority: Should Have Milestone: Backlog
Component: UI & Simulation Keywords: macOS
Cc: Patch:

Description (last modified by Langbart)

OpenAL errors no longer appear during the game (see #5265), but they sometimes show up in replays. There doesn't seem to be a hard and fast rule to reproduce it. I will update this ticket if it happens again and I see a pattern. I will attach 3 files:

  • 24781interestinglog.html
  • 24781mainlog.html
  • 24781system_info.txt

Typical error reported in #5265

ERROR: could not initialize ogg data at audio/interface/ui/ui_button_click.ogg
ERROR: Failed to create initial buffer. OpenAL error: Invalid Value

Typical error in replay #5978

ERROR: OpenAL error: Unknown Internal Error; called from IdleTask (line 59)

Attachments (7)

24781interestinglog.html (405 bytes ) - added by Langbart 3 years ago.
24781mainlog.html (75.8 KB ) - added by Langbart 3 years ago.
24781system_info.txt (3.8 KB ) - added by Langbart 3 years ago.
24852interestinglog.html (1.4 KB ) - added by Langbart 3 years ago.
24852mainlog.html (68.3 KB ) - added by Langbart 3 years ago.
24852system_info.txt (3.8 KB ) - added by Langbart 3 years ago.
2021-02-10_0002.zip (1.9 MB ) - added by Langbart 3 years ago.

Change History (11)

by Langbart, 3 years ago

Attachment: 24781interestinglog.html added

by Langbart, 3 years ago

Attachment: 24781mainlog.html added

by Langbart, 3 years ago

Attachment: 24781system_info.txt added

comment:1 by Langbart, 3 years ago

Description: modified (diff)

comment:2 by Langbart, 3 years ago

I am able to generate openAL errors with the following settings.\

  • SVN version: 24852
  • Settings: Default
  • MacOS: 10.15.7
  • Replay: 2021-02-10_0002.zip (see attachments, it has 80800 turns)
  • Replay speed: 20x fast forward
  • Start the replay, move the camera to the Civic Center of 'Dubnovellaunus' (other camera settings could also produce the error, but I didn't test that).
  • during the replay I had no other applications open and did not intervene or move the camera position

10 errors occurred:

  • Turn 4931 - ERROR: OpenAL error: Unknown Internal Error; called from IdleTask (line 59)
  • Turn 52102 - ERROR: OpenAL error: Unknown Internal Error; called from Run (line 151)
  • Turn 61450 - ERROR: OpenAL error: Unknown Internal Error; called from HandleFade (line 222)
  • Turn 63819 - ERROR: OpenAL error: Unknown Internal Error; called from IdleTask (line 81)
  • Turn 67235 - ERROR: OpenAL error: Unknown Internal Error; called from IdleTask (line 81)
  • Turn 67963 - ERROR: OpenAL error: Unknown Internal Error; called from IdleTask (line 81)
  • Turn 69409 - ERROR: OpenAL error: Unknown Internal Error; called from IdleTask (line 81)
  • Turn 69584 - ERROR: OpenAL error: Unknown Internal Error; called from IdleTask (line 66)
  • Turn 74438 - ERROR: OpenAL error: Unknown Internal Error; called from IdleTask (line 81)
  • Turn 75783 - ERROR: OpenAL error: Unknown Internal Error; called from IdleTask (line 81)

I will attach four files:

  • 24852interestinglog.html
  • 24852mainlog.html
  • 24852system_info.txt
  • 2021-02-10_0002.zip

by Langbart, 3 years ago

Attachment: 24852interestinglog.html added

by Langbart, 3 years ago

Attachment: 24852mainlog.html added

by Langbart, 3 years ago

Attachment: 24852system_info.txt added

by Langbart, 3 years ago

Attachment: 2021-02-10_0002.zip added

comment:3 by wraitii, 3 years ago

Milestone: Alpha 25Alpha 26

I think the issue remains in-flight buffers or something like that. Should be fixed by switching to the thread pool and GC-ing more often.

comment:4 by Freagarach, 2 years ago

Milestone: Alpha 26Backlog
Note: See TracTickets for help on using tickets.