Project

General

Profile

Actions

Emulator Issues #6564

closed

VideoSoftware: Segfault on exit when using Single Core JIT with nvidia's linux drivers

Added by phire over 10 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

What steps will reproduce the problem?

  1. Change the settings to Single Core JIT and Video Software backend
  2. Start any game
  3. Press Stop and confirm you actually want to stop
  4. Segfault!

Which versions of Dolphin did you test on?
Latest Master, but it's been around for at least a few weeks.
It possibly crashes on other drivers and operating systems as well, but I've confirmed it crashes on linux/nvidia

The problem is caused by various Deconstructiors in RasterFont, which get called from the wrong thread (only when using Single Core Jit) and frees various OpenGL resources without a valid context.

Sonicadvance1 was saying on IRC that font rendering doesn't really need OpenGL and VideoSoftware shouldn't depend on OpenGL for anything other than rendering the final image to screen anyway. (The RasterFont stuff currently doesn't work on non-GLES3 phones) So prehaps we should remove the extra dependency while we are at it.

Actions #1

Updated by glennricster over 10 years ago

This should be fixed as of revision 913853d4415a. Please test.

Actions #2

Updated by parlane over 10 years ago

  • Status changed from New to New
Actions #3

Updated by JMC4789 over 9 years ago

  • Status changed from New to Fixed

Tested and working on my NVIDIA in Linux.

Actions

Also available in: Atom PDF