Project

General

Profile

Actions

Emulator Issues #7850

closed

segmentation fault upon exit

Added by jc.lache about 10 years ago.

Status:
Duplicate
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

Game Name?
not applicable

Game ID?
not applicable

What's the problem? Describe what went wrong in a few words.
Dolphin creates a segmentation fault upon exit.

What did you expect to happen instead?
not applicable

What steps will reproduce the problem?

  1. compile latest github upstream with these options: http://slexy.org/view/s2lSeKb8W9
  2. run dolphin-emu and open at least one game. It doesn't matter which game, but w/o opening a game it will not create the segmentation fault.
  3. exit dolphin

Dolphin 3.5 and 3.5-367 are old versions of Dolphin that have
known issues and bugs, so don't report issues about them and test the
latest Dolphin version first.
Which versions of Dolphin did you test on?
Github master

Does using an older version of Dolphin solve your issue? If yes, which
versions of Dolphin used to work?
4.0.0

What are your PC specifications? (including, but not limited to: Operating
System, CPU and GPU)
Ubuntu 14.01, core i7 4770, Nvidia GTX 770

Is there any other relevant information? (e.g. logs, screenshots,
configuration files)
The source code and all compile options can be found at

https://launchpad.net/~beauman/+archive/ubuntu/retrorig/+packages

with version

dolphin-emu - 3:4.0.2.20141109.0


Related issues 1 (0 open1 closed)

Is duplicate of Emulator - Emulator Issues #7917: Dolphin crashes in WII_SSL during shutdownFixedphire

Actions
Actions #1

Updated by pauldacheez about 10 years ago

Can you provide a stacktrace?

And, this is irrelevant to the issue, but doesn't explicitly disabling function inlining defeat the purpose of using LTO entirely? >_>

Actions #2

Updated by jc.lache about 10 years ago

Hello! Thanks for the fast reply!

I tried running it in gdb, but it this will make it crash already at loading the game
http://slexy.org/view/s20kGgwtZq

Please advise me how to generate the back trace please! Thanks!

About the compile options, I used the settings I found in the AUR from Arch Linux:
https://aur.archlinux.org/packages/do/dolphin-emu-git/PKGBUILD

Actions #3

Updated by JMC4789 about 10 years ago

You need to turn off fastmem in the ini for gdb to function properly.

Actions #4

Updated by jc.lache about 10 years ago

If I set "Fastmem = False" in Dolphin.ini, it will terminate with "Aborted" instead of "Segmentation Fault", see

http://slexy.org/view/s20IlqOMQU

Actions #5

Updated by jc.lache about 10 years ago

Hah!

This is the core dump opened with* debugging symbols and a backtrace:
http://slexy.org/raw/s20yxv5Vy2

and here are the files involved files, just for reference:
http://en.file-upload.net/download-9833980/dolphin-emu.tgz.html

Actions #6

Updated by glennricster almost 10 years ago

I can confirm that this bug. It happens with my ppa packages. It occurs in both Ubuntu 14.04 and 14.10. Although, it seems to be worse in 14.10. In 14.04 dolphin did not segmentation fault until dolphin was closed after a game was run, but in 14.10 it segmentation faults immediately when a game is stopped.

Actions #7

Updated by phire almost 10 years ago

  • Status changed from New to Duplicate

Fixed in PR

Actions #8

Updated by jc.lache almost 10 years ago

Say again? Fixed where?

Actions #9

Updated by booto almost 10 years ago

See the issue this one was merged into (7917)

This is the PR: https://github.com/dolphin-emu/dolphin/pull/1704

x64 windows build available here: https://dl.dolphin-emu.org/prs/pr-1704-dolphin-latest-x64.7z

Please comment in 7917 whether this fixes the issue or not.

Actions #10

Updated by jc.lache almost 10 years ago

Will do! Thanks.

Actions

Also available in: Atom PDF