Project

General

Profile

Actions

Emulator Issues #3262

closed

Segmentation fault on Fedora

Added by yogacypher over 13 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
JIT
% 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. co latest version
  2. scons flavor=debug
  3. Launch dolphin-emu
  4. Attempt to start any game (several iso backups locally)

What is the expected output? What do you see instead?

I believe the expected output is a separate game window. Such a window appears. Then disappears shortly after. Resulting in the initial terminal used to launch dolphin reporting the Segmentation Fault (core dumped)

Dolphin version with the problem? Other Dolphin version without the
problem?

Revision 6226. I have thus far been unable to get any version to progress beyond this.

32-bit or 64-bit and any other build parameters?

64 bit. Scons flavor=debug / flavor=release (have tried both. debug is what i'm on now)

OS version and versions of tools/libraries used?

Os Fedora 13 64.
tools;
subversion-1.6.9-2.fc13.x86_64
scons-2.0.1-1.fc13.noarch
gcc-c++-4.4.4-10.fc13.x86_64
wxBase-2.8.11-1.fc13.x86_64
wxGTK-2.8.11-1.fc13.x86_64
wxGTK-gl-2.8.11-1.fc13.x86_64
wxGTK-devel-2.8.11-1.fc13.x86_64
SDL-devel-1.2.14-8.fc13.x86_64
Cg-2.2.0017-1.fc13.x86_64
libCg-2.2.0017-1.fc13.x86_64
libXxf86vm-devel-1.1.0-1.fc13.x86_64
libXext-devel-1.1.2-2.fc13.x86_64
glew-devel-1.5.4-1.fc13.x86_64
cairo-devel-1.8.10-1.fc13.x86_64
libao-0.8.8-10.fc13.x86_64
libao-devel-0.8.8-10.fc13.x86_64
bluez-libs-devel-4.64-1.fc13.x86_64

Please provide any additional information below.

I saw in issue 2790 skidau asked a question about NX/DEP. In /proc/cpuinfo NX is listed as one of the CPU flags.

Also I really understand how to use gdb but here is the backtrace since I saw that this is requested often.

(gdb) backtrace
#0 0x0000000040a00693 in ?? ()
#1 0x0000000041a0004e in ?? ()
#2 0x0000000000000003 in ?? ()
#3 0x0000000000000003 in ?? ()
#4 0x0000000000000000 in ?? ()

Im not sure why I get less than everyone else :-s.

Thanks in advance for any help.


Related issues 1 (0 open1 closed)

Is duplicate of Emulator - Emulator Issues #2097: Linux segfault with LoadStorePaired enabledFixed

Actions
Actions #1

Updated by BhaaL over 13 years ago

  • Category set to jit
  • Operating system N/A added

This looks like Jit problem to me, maybe caused by NX.
skid, any ideas?

Actions #2

Updated by yogacypher over 13 years ago

Hi

I thought that might be the case. So i tried to disable NX.
First I used "sysctl -w kernel.exec-shield=0". This did not affect the outcome.
Next I tried appending "exec-shield=0" to the kernel line of grub.conf. Still no change.

Thanks for looking into it so quickly.

Actions #3

Updated by skidau over 13 years ago

What are your hardware specs (cpu, video, mobo chipset, audio)?

Actions #4

Updated by yogacypher over 13 years ago

From what I can gather;

CPU: core i7-820QM processor (1.73GHz)
Video: GeForce GT 330M GPU (1GB VRAM)
Audio: not sure how to find this
Mobo chipset: not sure about this either but "sudo dmidecode | more" gives lots of info so I attached it.

Actions #5

Updated by yogacypher over 13 years ago

Also here is the result of lspci

Actions #6

Updated by skidau over 13 years ago

If the problem is not caused by NX, it is probably something to do with alignment or ABI on Fedora. I do not have a Fedora machine handy.

Actions #7

Updated by yogacypher over 13 years ago

Do you happen to have any pointers on how to investigate this myself? I am unfamiliar with either of those terms.

Thanks again.

Actions #8

Updated by bztdlinux over 13 years ago

  • Status changed from New to Accepted

This is a problem caused by LoadStorePaired, the same problem that affects OS X. Disabling LoadStorePaired will let dolphin run just fine.
See bug http://code.google.com/p/dolphin-emu/issues/detail?id=2097

Actions #9

Updated by yogacypher over 13 years ago

bztdlinux,

Thank you so much!! This worked.

So its confirmed working here on Fedora 13 (64 bit) dolphin revision 6226.

YOU dear sir, are a genius!!! :-D

Actions #10

Updated by skidau over 13 years ago

  • Status changed from Accepted to Duplicate
Actions #11

Updated by skidau over 13 years ago

oops.. typo.

Actions

Also available in: Atom PDF