Project

General

Profile

Actions

Emulator Issues #1240

closed

Segmenation fault running game on Linux-x86_64

Added by auntieNeo over 15 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. run ./Dolphin
  2. double click on Super Smash Brothers Melee iso

What is the expected output? What do you see instead?
Expect to see SSBM, instead a window is spawned and then Dolphin segfaults.

What version of the product are you using? On what operating system?
I'm using revision 3936 on a very recently updated Gentoo install, running
amd64. I also tried it on revision 3404 (not the unofficial builds, but my
own builds), but I got the same results.

Please provide any additional information below.
gdb gives me a rather vague backtrace:
(gdb) run
Starting program:
/home/auntieneo/software/emulation/gcn/emulators/dolphin-emu/Binary/Linux-x86_64-debug/Dolphin
[Thread debugging using libthread_db enabled]
17:24:288 N[BOOT]: Loading Settings from ./User/Config/Dolphin.ini
[New Thread 0x7ffff7fbd760 (LWP 27571)]
17:24:312 N[BOOT]: Starting application
17:24:312 N[BOOT]: Loading Settings from ./User/Config/Dolphin.ini
17:25:004 W[COMMON]: IsDirectory: stat failed on
./USER/WII/TITLE/00000001/00000002/CONTENT:
[New Thread 0x7fffe5de9950 (LWP 27578)]
[New Thread 0x7fffe1418950 (LWP 27579)]
17:27:063 N[Video]: Got Doublebuffered Visual!
17:27:063 N[Video]: glX-Version 1.3
[New Thread 0x7fffde2bd950 (LWP 27580)]
17:27:077 N[BOOT]: Booting
/home/auntieneo/software/emulation/gcn/roms/Super Smash Bros Melee.iso
17:27:136 N[OSREPORT]: (PC=81200304) OSReport: Apploader Initialized.
$Revision: 26 $.
17:27:136 N[OSREPORT]: (PC=81200320) OSReport: This Apploader built Sep 8
2001 02:11:26
17:27:353 N[Video]: GLWin Depth 24
17:27:353 N[Video]: detected direct rendering

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe5de9950 (LWP 27578)]
0x0000000040203e53 in ?? ()
(gdb) back
#0 0x0000000040203e53 in ?? ()
#1 0x00007fffe5dea000 in ?? ()
#2 0x00007fffe5dea000 in ?? ()
#3 0x0000000000000007 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

I tried choosing between dual core and not dual core, but it made no
difference. I tried changing audio and input plugins, but that didn't help.

I don't think this is related to issue 423 because I don't get the Cg error.

That's not a very helpful backtrace. I can set breakpoints if that would help.


Related issues 1 (0 open1 closed)

Has duplicate Emulator - Emulator Issues #1599: Segfault when running a gameDuplicate

Actions
Actions #1

Updated by marcus over 15 years ago

Is anyone else having this problem?

Actions #2

Updated by auntieNeo over 15 years ago

Okay, I started testing it on the homebrew mahjongg game for Wii, and it seems to be
doing the same segfault, except sometimes an alert message gets triggered inside of
Source/Core/Core/Src/HW/MemmapFunctions.cpp and the threads get locked up waiting for
each other. One time the alert message got called at
Source/Core/Core/Src/HW/MemmapFunctions.cpp:179 and another time it got called at a
different line with a backtrace like this:

#26 .....
#27 0x000000000052a435 in MsgAlert (caption=0x5950f2 "Warning", yes_no=false, Style=2,
format=0x5951d0 "%s invalid memory region (0x%08x)\n\nThere is no way to recover
from this error,so Dolphin will now exit. Sorry!")
at Source/Core/Common/Src/MsgHandler.cpp:57
#28 0x000000000049685c in Memory::CheckDTLB (_Address=2139119723,
_Flag=Memory::FLAG_READ) at Source/Core/Core/Src/HW/MemmapFunctions.cpp:626
#29 0x0000000000498451 in Memory::ReadFromHardware
(_var=@0x7f41881b0df4, em_address=2139119723, effective_address=2139119723,
flag=Memory::FLAG_READ)
at Source/Core/Core/Src/HW/MemmapFunctions.cpp:192
#30 0x0000000000496e22 in Memory::Read_U32 (_Address=2139119723) at
Source/Core/Core/Src/HW/MemmapFunctions.cpp:342
#31 0x0000000041d1a188 in ?? ()
#32 0x0000000000000000 in ?? ()

Again, I can give more info if that would help.

Actions #3

Updated by marcus about 15 years ago

  • Status changed from New to Accepted

(sorry I didn't get back to you for a while)

I'm not one of the linux guys here (sadly), so I can't really help debug this.
But I'll mark it accepted as it seems like a real problem AFAICT.

Actions #4

Updated by hrydgard about 15 years ago

Does this still happen?

Actions #5

Updated by alvaradoangel57 about 15 years ago

A mi me pasa todavia.

Actions #6

Updated by marcus about 15 years ago

english?

Actions #7

Updated by auntieNeo about 15 years ago

Translation, according to google translate:
Still happens to me.

Actions #8

Updated by marcus about 15 years ago

ah, thank you.

Actions #9

Updated by windypower about 15 years ago

Duplicate of http://code.google.com/p/dolphin-emu/issues/detail?id=423 I think.
Can someone please work on this? It's been there for 9 months...

Actions #10

Updated by Anonymous about 15 years ago

Issue 1599 has been merged into this issue.

Actions #11

Updated by arthur.blot78 about 15 years ago

I don't know if I have the same problem than in this bug (I created issue 1599), but
for me, it works when unchecking option "Use Real XFB".

Actions #12

Updated by Anonymous over 14 years ago

  • Status changed from Accepted to Questionable

what's the statusssss

Actions #13

Updated by nakeee over 14 years ago

  • Status changed from Questionable to Fixed

I marking as fixed
If anyone still got this issue feel free to reopen

Actions

Also available in: Atom PDF