What's new

Nptl

Gaenya

New member
Im trying to use mupen on a new box, i compiled the system with nptl but mupen doesnt works, i get segfaults on all the games, on some roms as soon as i run the rom, on others roms after the Nintendo logo, i havent tried to debug them but could it be a nptl problem???

Thanks
 
OP
G

Gaenya

New member
THis is what i get with gdb
Code:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1138531248 (LWP 2891)]
0x40470376 in fwrite () from /lib/libc.so.6
(gdb) where
#0  0x40470376 in fwrite () from /lib/libc.so.6
#1  0x08076648 in EepromCommand (Command=0x0) at memory/pif.c:126
#2  0x08077535 in update_pif_write () at memory/pif.c:423
#3  0x0806b4eb in dma_si_write () at memory/dma.c:438
#4  0x0805c286 in SW () at r4300/r4300.c:900
#5  0x0805895a in go () at r4300/r4300.c:1582
#6  0x08097c09 in emulationThread (_arg=0x0) at main/gui_gtk/main_gtk.c:1429
#7  0x4040188c in start_thread () from /lib/libpthread.so.0
#8  0x404e883a in clone () from /lib/libc.so.6
 

Hacktarux

Emulator Developer
Moderator
Gaenya said:
THis is what i get with gdb
Code:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1138531248 (LWP 2891)]
0x40470376 in fwrite () from /lib/libc.so.6
(gdb) where
#0  0x40470376 in fwrite () from /lib/libc.so.6
#1  0x08076648 in EepromCommand (Command=0x0) at memory/pif.c:126
#2  0x08077535 in update_pif_write () at memory/pif.c:423
#3  0x0806b4eb in dma_si_write () at memory/dma.c:438
#4  0x0805c286 in SW () at r4300/r4300.c:900
#5  0x0805895a in go () at r4300/r4300.c:1582
#6  0x08097c09 in emulationThread (_arg=0x0) at main/gui_gtk/main_gtk.c:1429
#7  0x4040188c in start_thread () from /lib/libpthread.so.0
#8  0x404e883a in clone () from /lib/libc.so.6

There's a problem with your save/ folder. Check that it exists and that you have access permission on it.
 
OP
G

Gaenya

New member
blight said:
nptl? native posix threading library?
Yep...why???is thare a problem with it??? or does mupen works fine with it???

Going to check the folder because i think i dont have it and post what happen....
But why is different the point where the segfault occurs on Zelda and Mario64, because Zelda shows the N logo but mario doesnt
 

blight

New member
because they try to read/write from/to the eeprom at different times i guess... with nptl when you choose pause from the GUI everything is paused (also the gui) so you cannot resume i think....
 
OP
G

Gaenya

New member
Hacktarux: you were right, i missed the save dir.
Blight: youre right too, it apuses the gui too
 

Top