Dolphin, the GameCube and Wii emulator - Forums
Segfault with F-Zero GX and JIT - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support)
+--- Forum: Development Discussion (https://forums.dolphin-emu.org/Forum-development-discussion)
+--- Thread: Segfault with F-Zero GX and JIT (/Thread-segfault-with-f-zero-gx-and-jit)



Segfault with F-Zero GX and JIT - benpicco - 03-01-2010

There were news that this game is playable since revision 4865, so I wanted to try it. Unfortunately dolphin segfaults every time after setting the refresh rate (50/60Hz) and reading from the memory card.
Last thing it does is
Code:
02:38:330 Source/Core/DiscIO/Src/FileMonitor.cpp:113 W[FileMon]:     483 kB snd/normal_se/PACK0.bin
02:38:331 Source/Core/DiscIO/Src/FileMonitor.cpp:113 W[FileMon]:      10 kB snd/normal_se/PACK0.tbl
Segmentation fault

I've tried both r4865 as a recent build (r5149), it crashes in JIT and JitIL, but seems to work in Pure Interpreter - very slow of cause.
(Ubuntu 9.10 x86_64, HLE enabled)

last bits of strace, hope that helps
Code:
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=8, events=POLLIN}], 4, 0) = 0 (Timeout)
poll([{fd=6, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=6, revents=POLLOUT}])
writev(6, [{"5\30\4\0\330\5 \5N\1 \5\34\3\25\0\230\4\5\0\331\5 \5\330\5 \5\7\1\0\0"..., 1124}, {NULL, 0}, {"", 0}], 3) = 1124
poll([{fd=6, events=POLLIN}], 1, -1)    = 1 ([{fd=6, revents=POLLIN}])
read(6, "\1\1\331-\0\0\0\0\3\0@\5\0\0\0\0\320U\232\2\0\0\0\0\0\0\0\0\0\0\0\0", 4096) = 32
read(6, 0x2aec244, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
read(6, 0x2aec244, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=8, events=POLLIN}], 4, 0) = 0 (Timeout)
read(6, 0x2aec244, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
read(6, 0x2aec244, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=8, events=POLLIN}], 4, 97) = 0 (Timeout)
read(6, 0x2aec244, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=8, events=POLLIN}], 4, 0) = 0 (Timeout)
read(6, 0x2aec244, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=8, events=POLLIN}], 4, 0) = 0 (Timeout)
read(6, 0x2aec244, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=8, events=POLLIN}], 4, 0) = 0 (Timeout)
read(6, 0x2aec244, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=8, events=POLLIN}], 4, 99) = 0 (Timeout)
read(6, 0x2aec244, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=8, events=POLLIN}], 4, 0) = 0 (Timeout)
read(6, 0x2aec244, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=8, events=POLLIN}], 4, 0) = 0 (Timeout)
read(6, 0x2aec244, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=8, events=POLLIN}], 4, 100) = 0 (Timeout)
read(6, 0x2aec244, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=8, events=POLLIN}], 4, 0) = 0 (Timeout)
read(6, 0x2aec244, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=8, events=POLLIN}], 4, 0) = 0 (Timeout)
read(6, 0x2aec244, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=8, events=POLLIN}], 4, 99) = 0 (Timeout)
read(6, 0x2aec244, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=8, events=POLLIN}], 4, 0) = 0 (Timeout)
read(6, 0x2aec244, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=8, events=POLLIN}], 4, 0) = 0 (Timeout)
read(6, 0x2aec244, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=8, events=POLLIN}], 4, 9955:59:200 Source/Core/DiscIO/Src/FileMonitor.cpp:113 W[FileMon]:     483 kB snd/normal_se/PACK0.bin
55:59:205 Source/Core/DiscIO/Src/FileMonitor.cpp:113 W[FileMon]:      10 kB snd/normal_se/PACK0.tbl
<unfinished ...>
+++ killed by SIGSEGV +++



RE: Segfault with F-Zero GX and JIT - James333 - 03-03-2010

(03-03-2010, 07:54 AM)cmccmc Wrote: try to disable use panic handlers
won't work


RE: Segfault with F-Zero GX and JIT - skid - 03-03-2010

Maybe try deleting your memory card files or testing the game with a new install of dolphin (in a new directory).


RE: Segfault with F-Zero GX and JIT - cmccmc - 03-03-2010

(03-03-2010, 07:59 AM)James333 Wrote:
(03-03-2010, 07:54 AM)cmccmc Wrote: try to disable use panic handlers
won't work
i swore i deleted that post before you were able to quote it


RE: Segfault with F-Zero GX and JIT - benpicco - 03-03-2010

(03-03-2010, 08:29 AM)skid Wrote: Maybe try deleting your memory card files or testing the game with a new install of dolphin (in a new directory).

It asks me for a name and crashes after saving it.