Project

General

Profile

Actions

Emulator Issues #5817

closed

Dolphin 3.0-9xx crashes in Ubuntu-x86

Added by shadowflash almost 12 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

Revisions 3.0-903 and up (maybe earlier too) crash in Kubuntu 12.04-x86
when you try to run any game:

Starting program: /mnt/Files/Develop/dolphin-git/master/dolphin-emu/Binaries/dolphin-emu
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[New Thread 0xb2514b40 (LWP 17956)]
[New Thread 0xb1bffb40 (LWP 17957)]
[Thread 0xb2514b40 (LWP 17956) exited]
[New Thread 0xb2514b40 (LWP 17963)]

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0xb2514b40 (LWP 17963)]
UpdateProjectionHack (iPhackvalue=0xc74f550, sPhackvalue=0xc74f560)
at /mnt/Files/Develop/dolphin-git/master/dolphin-emu/Source/Core/VideoCommon/Src/VertexShaderManager.cpp:118
118 float fhackvalue1 = 0, fhackvalue2 = 0;
(gdb) bt
#0 UpdateProjectionHack (iPhackvalue=0xc74f550, sPhackvalue=0xc74f560)
at /mnt/Files/Develop/dolphin-git/master/dolphin-emu/Source/Core/VideoCommon/Src/VertexShaderManager.cpp:118
#1 0x086e9057 in VideoConfig::UpdateProjectionHack (this=0xc74f500) at /mnt/Files/Develop/dolphin-git/master/dolphin-emu/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp:83
#2 0x086e5bb0 in OGL::VideoBackend::Initialize (this=0xc851360, window_handle=@0x899718c: 0x4a01861)
at /mnt/Files/Develop/dolphin-git/master/dolphin-emu/Source/Plugins/Plugin_VideoOGL/Src/main.cpp:164
#3 0x0819d99d in Core::EmuThread () at /mnt/Files/Develop/dolphin-git/master/dolphin-emu/Source/Core/Core/Src/Core.cpp:390
#4 0xb59fa007 in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#5 0xb77b2d4c in start_thread (arg=0xb2514b40) at pthread_create.c:308
#6 0xb5889d3e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
(gdb)

It didn't happen in 3.0-86x.

>What version of dolphin are you using (32bit/64bit along with the
>version as it appears in the title bar, etc)? Do not say 'latest version'
>this changes multiple times a day.

3.0-917 x86

>On what operating system, drivers, and hardware? Be sure to list OS,
>graphics driver information, and video card model if you are having
>graphics problems, for example.

Kubuntu 12.04.1 x86. nVidia drivers 310.14

Actions #1

Updated by NeoBrainX almost 12 years ago

How are you compiling Dolphin? Are you using a Debug build and did you disable optimizations?

Actions #2

Updated by delroth almost 12 years ago

Any way you could bisect this crash to find the first crashing revision? Can't reproduce that issue here.

Actions #3

Updated by shadowflash almost 12 years ago

I was compiling just with cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo && make but i can make a full debug too.
And yeah i will try to find which revision introduced that crash.

Actions #4

Updated by delroth almost 12 years ago

Thanks! We would really appreciate if you could do that quickly - we were planning to release a new version of Dolphin today, and it would be a shame to have a crashing bug like that in a stable release :P

Actions #5

Updated by shadowflash almost 12 years ago

Well 3.0-890 is fine so that leaves about 20 revisions to check and i'll skip anything with changes that can't affect video in any way to make it faster.

Actions #6

Updated by shadowflash almost 12 years ago

After i've found that backtrace is always different i started to think that crash isn't related to OGL backend in any way

http://code.google.com/p/dolphin-emu/source/diff?spec=svn7839676c871415cba89de266b2db2879fb9233b1&r=7839676c871415cba89de266b2db2879fb9233b1&format=side&path=/Source/Core/Core/Src/PowerPC/PowerPC.cpp

It's here, changed unsigned short _mode = 0; to unsigned short _mode; and no crash, everything boots fine. Got latest revision, changed that line - everything is fine.

Still have to find which revision broke Phalanx WiiWare though.

Actions #7

Updated by delroth almost 12 years ago

  • Status changed from New to Work started

Could you try the latest master version and confirm that this is now fixed?

Actions #8

Updated by delroth almost 12 years ago

  • Status changed from Work started to Fixed

According to what you said in comment 5, this should be fixed.

Actions

Also available in: Atom PDF