FS#28368 - [snes9x-gtk] segfault when loading rom
Attached to Project:
Community Packages
Opened by Rémy (ogredebarbarie) - Saturday, 11 February 2012, 22:41 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 24 May 2014, 21:02 GMT
Opened by Rémy (ogredebarbarie) - Saturday, 11 February 2012, 22:41 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 24 May 2014, 21:02 GMT
|
Details
Description:
Segmentation fault when a Rom is loaded. Additional info: package version : 1.53-3 system information : Linux 3.2.5-1-ARCH #1 SMP PREEMPT x86_64 Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz GenuineIntel GNU/Linux Sound buffer size: 4096 (1024 samples) ALSA sound driver initializing... --> (Device: default)...OK --> (16-bit, Stereo, 32000hz, 32 ms)...OK Segmentation fault Steps to reproduce: Install snes9x-gtk Launch it Click File->Open and load a ROM. Now the program should crash |
This task depends upon
Closed by Eric Belanger (Snowman)
Saturday, 24 May 2014, 21:02 GMT
Reason for closing: Fixed
Additional comments about closing: snes9x-gtk-1.53-8
Saturday, 24 May 2014, 21:02 GMT
Reason for closing: Fixed
Additional comments about closing: snes9x-gtk-1.53-8
So this bug seems to appear only when you load the rom with File->Open...
Perhaps you could make someone else (on IRC?) test with one of the roms that doesn't work, if you don't wish to disclose the names of any roms here? Thanks.
Thanks for your help.
$ df -h
Sys. fich. Taille Util. Dispo Uti% Monté sur
rootfs 47G 8,2G 36G 19% /
/dev 1,9G 0 1,9G 0% /dev
/run 1,9G 280K 1,9G 1% /run
/dev/sda6 47G 8,2G 36G 19% /
shm 1,9G 80K 1,9G 1% /dev/shm
tmpfs 1,9G 52K 1,9G 1% /tmp
/dev/sda7 86G 4,9G 77G 6% /home
$ free -t -m
total used free shared buffers cached
Mem: 3750 3296 453 0 33 2374
-/+ buffers/cache: 888 2862
Swap: 681 1 679
Total: 4431 3298 1133
However, I had some problems with temperature.. My laptop is bad, it has a ATI Radeon card and an Intel card, but i disabled my ATI card (in BIOS) because it overheated a lot in idle! (Something like 90°C). But without this card, temperatures seem to be correct :
$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +55.0°C (crit = +100.0°C)
temp2: +40.0°C (crit = +100.0°C)
temp3: +57.0°C (crit = +100.0°C)
I will check my memory with MemTest to see if the problem comes from it, but arch is very stable.. :/
I'm able to reproduce the problem if I go to File - Open ROM Image... then select the ROM from "Recently Used".
However, if I go to File - Open ROM Image... "diego", then I load my ROM from my home dir or any other dir, snes9x-gtk doesn't crash.
Opening a ROM from "Open Recent" also doesn't result in crashing. It would only crash if I open a ROM from "Recently Used".
https://code.google.com/p/snes9x-gtk/issues/detail?id=66
Unless this issue refers to another issue with crashing.
https://code.google.com/p/snes9x-gtk/issues/detail?id=66
Here's the fix:
https://github.com/snes9xgit/snes9x/commit/6d74746342a73cf65db215f4fdecdfb0cae66792
Thanks.