Dolphin, the GameCube and Wii emulator - Forums

Full Version: Fedora + Dolphin = Segfault ??
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I get dolphin to compile fine in Fedora. I get no errors, only a bunch of warning about possibly unused variables.

When I run the game, the GUI tool works fine, no issues. When I launch a game (doesn't matter which) dolphin segfaults.

Code:
40:20:233 Source/Core/Common/Src/FileUtil.cpp:92 W[COMMON]: IsDirectory: stat failed on ./user/Wii/title/00000001/00000002/content/:
40:22:833 Source/Core/Core/Src/HW/EXI_DeviceMemoryCard.cpp:102 W[EXI]: No memory card found. Will create new.
40:22:874 Source/Core/Core/Src/HW/EXI_DeviceMemoryCard.cpp:102 W[EXI]: No memory card found. Will create new.
40:23:118 Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp:595 N[Video]: Got Doublebuffered Visual!
40:23:118 Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp:599 N[Video]: glX-Version 1.4
40:23:125 Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp:637 N[Video]: XRRExtension-Version 1.3
40:23:125 Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp:654 N[Video]: Fullscreen Resolution 640x480
hci_get_route: No such device
hci_get_route: No such device
40:23:133 Source/Core/Core/Src/Boot/Boot.cpp:166 N[BOOT]: Booting /home/kai/stuff/roms/The_Legend_of_Zelda_Twilight_Princess-scrubbed.iso
40:23:142 Source/Core/Core/Src/HLE/HLE_OS.cpp:52 N[OSREPORT]: 812003d8->81300000|
Apploader Initialized.
40:23:142 Source/Core/Core/Src/HLE/HLE_OS.cpp:52 N[OSREPORT]: 812003f4->81300000| This Apploader built Oct  7 2006 00:46:32 for RVL
40:23:459 Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp:688 N[Video]: GLWin Depth 24
40:23:459 Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp:690 N[Video]: detected direct rendering
40:23:482 Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_SystemRegisters.cpp:344 N[PowerPC]: Flush Instruction Cache! ICE=0

Is this a common problem that can be fixed? Or do I get to run the debugger and figure out what is happening? I'm ok with C++, but not good enough to make it easier to debug than to ask for help Smile
Which revision of dolphin are you running?
I don't see a segfault in your log?
Maybe run it from within gdb, and post a backtrace if you cant find out anything on your own.
(04-07-2010, 02:27 AM)Jack Frost Wrote: [ -> ]I don't see a segfault in your log?
Maybe run it from within gdb, and post a backtrace if you cant find out anything on your own.

It's a known problem with Fedora + the JIT JITIL Merge with r4894. r4890 doesn't have the problem, and i believe a workaround was compiled into r4993.

http://code.google.com/p/dolphin-emu/sou...ail?r=4993
I've been operating out of the HEAD revision (Just tested 5286). I'll go try some of the revisions you've mentioned.

Segfault doesn't show up in the logs, just from the terminal output.

I admit based on my search results that I wasn't going to find much support, but I'm pleased to see some very quick and helpful responses Smile Thanks so much! I'll report back if/when I get it working or get stuck again (hopefully with a backtrace in the case of the latter).
Ok, revision 5286 does not segfault until it throws an error (in a pop up window no less) on Linux-i686.

I have two AMD systems. My laptop is running Fedora 12 32bit, and my Desktop is running Fedora 12 64bit. I have my laptop during the day, so I've been poking around different revisions during school to get a feel for things. Though I have not been able to get passed launching the game before I get a segfault, this commit fails nearly gracefully before a segfault.

I also wanted to ask how to build from the stable source tree? I saw comments on the stable branch, and I wonder if I'll have more luck there.

Code:
20:09:810 Source/Core/Common/Src/FileUtil.cpp:92 W[COMMON]: IsDirectory: stat failed on ./user/Wii/title/00000001/00000002/content/:
20:15:901 Source/Core/Core/Src/ConfigManager.cpp:58 N[BOOT]: Saving Settings to ./user/Config/Dolphin.ini
20:17:590 Source/Core/Core/Src/HW/EXI_DeviceMemoryCard.cpp:102 W[EXI]: No memory card found. Will create new.
20:17:631 Source/Core/Core/Src/HW/EXI_DeviceMemoryCard.cpp:102 W[EXI]: No memory card found. Will create new.
20:18:021 Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp:591 E[Video]: Only Singlebuffered Visual!
20:18:021 Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp:599 N[Video]: glX-Version 1.4
20:18:037 Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp:637 N[Video]: XRRExtension-Version 1.3
20:18:066 Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp:654 N[Video]: Fullscreen Resolution 640x480
wiiuse v0.12 loaded.
  By: Michael Laforest <thepara[at]gmail{dot}com>
  http://wiiuse.net  http://wiiuse.sf.net
hci_get_route: No such device
hci_get_route: No such device
20:18:106 Source/Core/Core/Src/Boot/Boot.cpp:166 N[BOOT]: Booting /home/kai/roms/The_Legend_of_Zelda_Twilight_Princess-scrubbed.iso
20:18:258 Source/Core/Core/Src/HLE/HLE_OS.cpp:52 N[OSREPORT]: 812003d8->81300000|
Apploader Initialized.
20:18:258 Source/Core/Core/Src/HLE/HLE_OS.cpp:52 N[OSREPORT]: 812003f4->81300000| This Apploader built Oct  7 2006 00:46:32 for RVL
20:18:926 Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp:688 N[Video]: GLWin Depth 24
20:18:927 Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp:690 N[Video]: detected direct rendering
20:19:105 Source/Plugins/Plugin_VideoOGL/Src/Render.cpp:309 W[Video]: ARB_texture_non_power_of_two not supported.
Allocating 1024 x 1024 radeon RBO (pitch 1024)
20:19:254 Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_SystemRegisters.cpp:344 N[PowerPC]: Flush Instruction Cache! ICE=0
20:19:273 Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_SystemRegisters.cpp:335 N[PowerPC]: Instruction Cache Enable (HID0.ICE) = 1
20:23:086 Source/Core/Common/Src/FileUtil.cpp:92 W[COMMON]: IsDirectory: stat failed on ./user/Wii/title/:
20:23:086 Source/Core/Common/Src/FileUtil.cpp:92 W[COMMON]: IsDirectory: stat failed on ./user/Wii/title/00010000/:
20:23:086 Source/Core/Common/Src/FileUtil.cpp:92 W[COMMON]: IsDirectory: stat failed on ./user/Wii/title/00010000/525a4445/:
20:23:086 Source/Core/Common/Src/FileUtil.cpp:92 W[COMMON]: IsDirectory: stat failed on ./user/Wii/title/00010000/525a4445/data/:
20:23:086 Source/Core/Common/Src/FileUtil.cpp:92 W[COMMON]: IsDirectory: stat failed on ./user/Wii/title/00010000/525a4445/data/nocopy/:
20:23:098 Source/Core/Common/Src/FileUtil.cpp:92 W[COMMON]: IsDirectory: stat failed on :
20:23:108 Source/Core/Common/Src/FileUtil.cpp:92 W[COMMON]: IsDirectory: stat failed on ./user/Wii//title/00000001/00000002/data:
20:23:108 Source/Core/Common/Src/FileUtil.cpp:92 W[COMMON]: IsDirectory: stat failed on ./user/Wii//title/00000001/:
20:23:109 Source/Core/Common/Src/FileUtil.cpp:92 W[COMMON]: IsDirectory: stat failed on ./user/Wii//title/00000001/00000002/:
20:23:110 Source/Core/Common/Src/FileUtil.cpp:92 W[COMMON]: IsDirectory: stat failed on ./user/Wii//title/00000001/00000002/data/:
20:23:606 Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp:115 W[WII_IPC_FILEIO]: FileIO: Open failed - File doesn't exist ./user/Wii/title/00000001/00000002/data/play_rec.dat
20:24:512 Source/Core/DiscIO/Src/FileMonitor.cpp:113 W[FileMon]:       0 kB str/Rfinal/Release/COPYDATE
20:24:585 Source/Core/AudioCommon/Src/AlsaSoundStream.cpp:179 N[Audio]: ALSA successfully initialized.

20:24:973 Source/Core/DiscIO/Src/FileMonitor.cpp:113 W[FileMon]:     872 kB RELS.arc
20:24:989 Source/Core/DiscIO/Src/FileMonitor.cpp:113 W[FileMon]:      45 kB str/Rfinal/Release/RframeworkF.str
20:25:585 Source/Core/Common/Src/MsgHandler.cpp:53 E[*]: Warning: iCacheJIT: Reading Opcode from 525a4440. Please report.
20:29:292 Source/Core/Common/Src/MsgHandler.cpp:53 E[*]: Warning: iCacheJIT: Reading Opcode from 525a4444. Please report.
Segmentation fault

tiekookeit

maybe coulor depth, on debian when I try a depth different from 24bits I got this error.

[portugues] Talvez a profundidade de cores, quando eu tento profundidades diferentes de 24bits eu obtenho este erro. [Big Grin]
no i don't think it is coulor depths, but are you using the latest cg toolkit?



Srry for rusty portugues but: nenhum eu não penso que ele são as profundidades do coulor, mas você estão usando o conjunto de ferramentas o mais