You are not logged in.

Read the FAQ and Knowledge Base before posting.
We won't make a 3DS/2DS emulator.



#1 2009-11-28 19:45:04

fernandoc1
Member
Registered: 2009-04-26
Posts: 17

Segmentation Fault when running on Karmic Koala

I'm getting a segmentation Fault when running after building this in Karmic Koala.
Is there a tutorial explaining how to properly build Desmume on Karmic?

Offline

#2 2009-11-28 22:10:14

fernandoc1
Member
Registered: 2009-04-26
Posts: 17

Re: Segmentation Fault when running on Karmic Koala

I used gdb and this is the output

(gdb) run /media/SYSTEM_SAV/Jogos/Nintendo\ DS/Final\ Fantasy\ IV.nds
Starting program: /var/tmp/2/desmume-0.9.5/src/cli/desmume-cli /media/SYSTEM_SAV/Jogos/Nintendo\ DS/Final\ Fantasy\ IV.nds
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x005f9b07 in memset () from /lib/tls/i686/cmov/libc.so.6
(gdb) where
#0  0x005f9b07 in memset () from /lib/tls/i686/cmov/libc.so.6
#1  0x080aa752 in memset () at /usr/include/bits/string3.h:85
#2  MMU_Init () at MMU.cpp:842
#3  0x080b48c4 in NDS_Init () at NDSSystem.cpp:507
#4  0x0804d7bf in main (argc=2, argv=0xbffff454) at main.cpp:809

Offline

#3 2009-11-28 23:10:19

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 6,214

Re: Segmentation Fault when running on Karmic Koala

MMU_struct MMU;
memset(&MMU, 0, sizeof(MMU_struct)); //MMU.cpp:842

for anyone who feels like guessing why this system gags on this code

Offline

#4 2009-11-28 23:33:05

fernandoc1
Member
Registered: 2009-04-26
Posts: 17

Re: Segmentation Fault when running on Karmic Koala

Did someone tried building it on Karmic?
I need some help to build it. It seems that the new gcc is making a corrupted binary.
There is a post at Ubuntu forums that I made http://ubuntuforums.org/showthread.php? … ost8403440 but, there, no one seems to know what is going on.

I also posted in the brazilian ubuntu community here: http://ubuntuforum-br.org/index.php/topic,59857.0.html

Last edited by fernandoc1 (2009-11-29 20:53:52)

Offline

Board footer

Powered by FluxBB