mame crashes with illegal instruction

Bug #1063993 reported by Frank Haverkamp
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mame (Ubuntu)
Fix Released
High
Cesare Falco
Precise
Fix Released
High
Unassigned
Quantal
Won't Fix
High
Unassigned

Bug Description

[Impact]
A strict optimization causes the executable to crash on particular i386 and amd64 CPUs.

[Test Case]
Unfortunately, there's no way to reproduce the bug unless your box is running on such a CPU. If it does, then the bug is obvious to see. :)

[Regression Potential]
I see none. Nothing depends on Mame and the new build just fixes the optimization building flags.

(Original bug description follows)

haver@gamemaster:~$ mame
Illegal instruction (core dumped)
haver@gamemaster:~$

haver@gamemaster:~$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Pentium(R) 4 CPU 3.40GHz
stepping : 3
microcode : 0x5
cpu MHz : 3391.141
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc pebs bts nopl pni dtes64 monitor ds_cpl est cid cx16 xtpr
bogomips : 6782.28
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Pentium(R) 4 CPU 3.40GHz
stepping : 3
microcode : 0x5
cpu MHz : 3391.141
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc pebs bts nopl pni dtes64 monitor ds_cpl est cid cx16 xtpr
bogomips : 6783.40
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 48 bits virtual
power management:

haver@gamemaster:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise

...RITE, 3, 0x28000) = 0x7f6621386000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libXrender.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\31\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=39336, ...}) = 0
mmap(NULL, 2134632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6620f54000
mprotect(0x7f6620f5d000, 2093056, PROT_NONE) = 0
mmap(0x7f662115c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7f662115c000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libXi.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\37\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=59704, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f66269a0000
mmap(NULL, 2155136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6620d45000
mprotect(0x7f6620d53000, 2093056, PROT_NONE) = 0
mmap(0x7f6620f52000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd000) = 0x7f6620f52000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libXrandr.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\26\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=34920, ...}) = 0
mmap(NULL, 2130280, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6620b3c000
mprotect(0x7f6620b44000, 2093056, PROT_NONE) = 0
mmap(0x7f6620d43000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f6620d43000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libXcursor.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\"\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=39184, ...}) = 0
mmap(NULL, 2134464, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6620932000
mprotect(0x7f662093b000, 2093056, PROT_NONE) = 0
mmap(0x7f6620b3a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7f6620b3a000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libXcomposite.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\v\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=10192, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f662699f000
mmap(NULL, 2105464, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f662072f000
mprotect(0x7f6620731000, 2093056, PROT_NONE) = 0
mmap(0x7f6620930000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f6620930000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libXdamage.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\n\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=10208, ...}) = 0
mmap(NULL, 2105496, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f662052c000
mprotect(0x7f662052e000, 2093056, PROT_NONE) = 0
mmap(0x7f662072d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f662072d000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\20\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14528, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f662699e000
mmap(NULL, 2109816, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6620328000
mprotect(0x7f662032b000, 2093056, PROT_NONE) = 0
mmap(0x7f662052a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f662052a000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libffi.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\25\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=30896, ...}) = 0
mmap(NULL, 2127264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6620120000
mprotect(0x7f6620127000, 2093056, PROT_NONE) = 0
mmap(0x7f6620326000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f6620326000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libpcre.so.3", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\25\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=247896, ...}) = 0
mmap(NULL, 2343080, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f661fee3000
mprotect(0x7f661ff1f000, 2093056, PROT_NONE) = 0
mmap(0x7f662011e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3b000) = 0x7f662011e000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340!\0\0\0\0\0\0"..., 832) = 832
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f662699d000
fstat(3, {st_mode=S_IFREG|0644, st_size=31752, ...}) = 0
mmap(NULL, 2128984, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f661fcdb000
mprotect(0x7f661fce2000, 2093056, PROT_NONE) = 0
mmap(0x7f661fee1000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f661fee1000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libdbus-glib-1.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \235\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=160384, ...}) = 0
mmap(NULL, 2255888, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f661fab4000
mprotect(0x7f661fad9000, 2097152, PROT_NONE) = 0
mmap(0x7f661fcd9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7f661fcd9000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libdbus-1.so.3", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340h\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=276392, ...}) = 0
mmap(NULL, 2372512, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f661f870000
mprotect(0x7f661f8b2000, 2097152, PROT_NONE) = 0
mmap(0x7f661fab2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x42000) = 0x7f661fab2000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f662699c000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libpulsecommon-1.1.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\357\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=385240, ...}) = 0
mmap(NULL, 2480968, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f661f612000
mprotect(0x7f661f66e000, 2097152, PROT_NONE) = 0
mmap(0x7f661f86e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5c000) = 0x7f661f86e000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libjson.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\34\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=30952, ...}) = 0
mmap(NULL, 2126216, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f661f40a000
mprotect(0x7f661f411000, 2093056, PROT_NONE) = 0
mmap(0x7f661f610000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f661f610000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libslang.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0R\4\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1102400, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f662699b000
mmap(NULL, 3606840, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f661f099000
mprotect(0x7f661f18a000, 2097152, PROT_NONE) = 0
mmap(0x7f661f38a000, 114688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf1000) = 0x7f661f38a000
mmap(0x7f661f3a6000, 407864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f661f3a6000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libncursesw.so.5", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0n\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=183072, ...}) = 0
mmap(NULL, 2278800, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f661ee6c000
mprotect(0x7f661ee98000, 2093056, PROT_NONE) = 0
mmap(0x7f661f097000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2b000) = 0x7f661f097000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\301\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=159200, ...}) = 0
mmap(NULL, 2255936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f661ec45000
mprotect(0x7f661ec67000, 2097152, PROT_NONE) = 0
mmap(0x7f661ee67000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f661ee67000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libXau.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\r\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=10328, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f662699a000
mmap(NULL, 2105600, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f661ea42000
mprotect(0x7f661ea44000, 2093056, PROT_NONE) = 0
mmap(0x7f661ec43000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f661ec43000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\20\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=22504, ...}) = 0
mmap(NULL, 2117760, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f661e83c000
mprotect(0x7f661e841000, 2093056, PROT_NONE) = 0
mmap(0x7f661ea40000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7f661ea40000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libpixman-1.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\203\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=551176, ...}) = 0
mmap(NULL, 2646464, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f661e5b5000
mprotect(0x7f661e636000, 2093056, PROT_NONE) = 0
mmap(0x7f661e835000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x80000) = 0x7f661e835000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libpng12.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0pI\0\0\0\0\0\0"..., 832) = 832
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6626999000
fstat(3, {st_mode=S_IFREG|0644, st_size=162776, ...}) = 0
mmap(NULL, 2257952, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f661e38d000
mprotect(0x7f661e3b3000, 2097152, PROT_NONE) = 0
mmap(0x7f661e5b3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x26000) = 0x7f661e5b3000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libxcb-shm.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \n\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=10272, ...}) = 0
mmap(NULL, 2105424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f661e18a000
mprotect(0x7f661e18c000, 2093056, PROT_NONE) = 0
mmap(0x7f661e38b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f661e38b000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libxcb-render.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\00003\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=38960, ...}) = 0
mmap(NULL, 2134112, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f661df80000
mprotect(0x7f661df88000, 2097152, PROT_NONE) = 0
mmap(0x7f661e188000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7f661e188000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libselinux.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20T\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=121936, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6626998000
mmap(NULL, 2221680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f661dd61000
mprotect(0x7f661dd7e000, 2093056, PROT_NONE) = 0
mmap(0x7f661df7d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c000) = 0x7f661df7d000
mmap(0x7f661df7f000, 1648, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f661df7f000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libresolv.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\2209\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=105288, ...}) = 0
mmap(NULL, 2210424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f661db45000
mprotect(0x7f661db5d000, 2097152, PROT_NONE) = 0
mmap(0x7f661dd5d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18000) = 0x7f661dd5d000
mmap(0x7f661dd5f000, 6776, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f661dd5f000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libwrap.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20,\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=36432, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6626997000
mmap(NULL, 2133888, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f661d93c000
mprotect(0x7f661d944000, 2093056, PROT_NONE) = 0
mmap(0x7f661db43000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f661db43000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libsndfile.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0a\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=405560, ...}) = 0
mmap(NULL, 2518480, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f661d6d5000
mprotect(0x7f661d735000, 2097152, PROT_NONE) = 0
mmap(0x7f661d935000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x60000) = 0x7f661d935000
mmap(0x7f661d938000, 15824, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f661d938000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libasyncns.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\21\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=22664, ...}) = 0
mmap(NULL, 2117920, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f661d4cf000
mprotect(0x7f661d4d4000, 2093056, PROT_NONE) = 0
mmap(0x7f661d6d3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7f661d6d3000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6626996000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libnsl.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`@\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=97248, ...}) = 0
mmap(NULL, 2202328, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f661d2b5000
mprotect(0x7f661d2cc000, 2093056, PROT_NONE) = 0
mmap(0x7f661d4cb000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7f661d4cb000
mmap(0x7f661d4cd000, 6872, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f661d4cd000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libFLAC.so.8", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\244\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=302584, ...}) = 0
mmap(NULL, 2397768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f661d06b000
mprotect(0x7f661d0b3000, 2097152, PROT_NONE) = 0
mmap(0x7f661d2b3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x48000) = 0x7f661d2b3000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libvorbisenc.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@9\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=2943056, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6626995000
mmap(NULL, 5038208, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f661cb9c000
mprotect(0x7f661ce4f000, 2093056, PROT_NONE) = 0
mmap(0x7f661d04e000, 118784, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2b2000) = 0x7f661d04e000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libvorbis.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P-\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=178448, ...}) = 0
mmap(NULL, 2273600, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f661c970000
mprotect(0x7f661c99b000, 2093056, PROT_NONE) = 0
mmap(0x7f661cb9a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2a000) = 0x7f661cb9a000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libogg.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\31\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=26776, ...}) = 0
mmap(NULL, 2122032, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f661c769000
mprotect(0x7f661c76f000, 2093056, PROT_NONE) = 0
mmap(0x7f661c96e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7f661c96e000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6626994000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6626993000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6626992000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6626991000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6626990000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f662698e000
arch_prctl(ARCH_SET_FS, 0x7f662698e940) = 0
mprotect(0x7f662364b000, 16384, PROT_READ) = 0
mprotect(0x7f661c96e000, 4096, PROT_READ) = 0
mprotect(0x7f6623b66000, 4096, PROT_READ) = 0
mprotect(0x7f661cb9a000, 4096, PROT_READ) = 0
mprotect(0x7f661d04e000, 114688, PROT_READ) = 0
mprotect(0x7f661d2b3000, 4096, PROT_READ) = 0
mprotect(0x7f661d4cb000, 4096, PROT_READ) = 0
mprotect(0x7f6623291000, 4096, PROT_READ) = 0
mprotect(0x7f661dd5d000, 4096, PROT_READ) = 0
mprotect(0x7f661d6d3000, 4096, PROT_READ) = 0
mprotect(0x7f661d935000, 8192, PROT_READ) = 0
mprotect(0x7f661db43000, 4096, PROT_READ) = 0
mprotect(0x7f6622d8b000, 4096, PROT_READ) = 0
mprotect(0x7f661df7d000, 4096, PROT_READ) = 0
mprotect(0x7f661ec43000, 4096, PROT_READ) = 0
mprotect(0x7f661ea40000, 4096, PROT_READ) = 0
mprotect(0x7f6621fc3000, 4096, PROT_READ) = 0
mprotect(0x7f661e188000, 4096, PROT_READ) = 0
mprotect(0x7f661e38b000, 4096, PROT_READ) = 0
mprotect(0x7f6626575000, 4096, PROT_READ) = 0
mprotect(0x7f661e5b3000, 4096, PROT_READ) = 0
mprotect(0x7f661e835000, 24576, PROT_READ) = 0
mprotect(0x7f661ee67000, 16384, PROT_READ) = 0
mprotect(0x7f661f097000, 4096, PROT_READ) = 0
mprotect(0x7f661f38a000, 16384, PROT_READ) = 0
mprotect(0x7f661f610000, 4096, PROT_READ) = 0
mprotect(0x7f661fee1000, 4096, PROT_READ) = 0
mprotect(0x7f661fab2000, 4096, PROT_READ) = 0
mprotect(0x7f661f86e000, 4096, PROT_READ) = 0
mprotect(0x7f662011e000, 4096, PROT_READ) = 0
mprotect(0x7f6624388000, 4096, PROT_READ) = 0
mprotect(0x7f6620326000, 4096, PROT_READ) = 0
mprotect(0x7f66245d8000, 4096, PROT_READ) = 0
mprotect(0x7f662052a000, 4096, PROT_READ) = 0
mprotect(0x7f66216cf000, 16384, PROT_READ) = 0
mprotect(0x7f661fcd9000, 4096, PROT_READ) = 0
mprotect(0x7f6625a83000, 4096, PROT_READ) = 0
mprotect(0x7f662072d000, 4096, PROT_READ) = 0
mprotect(0x7f6620930000, 4096, PROT_READ) = 0
mprotect(0x7f6621b99000, 4096, PROT_READ) = 0
mprotect(0x7f662115c000, 4096, PROT_READ) = 0
mprotect(0x7f6620b3a000, 4096, PROT_READ) = 0
mprotect(0x7f662273b000, 4096, PROT_READ) = 0
mprotect(0x7f6620d43000, 4096, PROT_READ) = 0
mprotect(0x7f6620f52000, 4096, PROT_READ) = 0
mprotect(0x7f662679e000, 8192, PROT_READ) = 0
mprotect(0x7f662225a000, 24576, PROT_READ) = 0
mprotect(0x7f66260c5000, 4096, PROT_READ) = 0
mprotect(0x7f6624820000, 8192, PROT_READ) = 0
mprotect(0x7f6621386000, 4096, PROT_READ) = 0
mprotect(0x7f662198f000, 8192, PROT_READ) = 0
mprotect(0x7f6621da5000, 4096, PROT_READ) = 0
mprotect(0x7f6622483000, 4096, PROT_READ) = 0
mprotect(0x7f6622983000, 4096, PROT_READ) = 0
mprotect(0x7f6622b87000, 4096, PROT_READ) = 0
mprotect(0x7f6623073000, 24576, PROT_READ) = 0
mprotect(0x7f662386a000, 4096, PROT_READ) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f662698d000
mprotect(0x7f6623e49000, 32768, PROT_READ) = 0
mprotect(0x7f6624094000, 4096, PROT_READ) = 0
mprotect(0x7f6624a41000, 4096, PROT_READ) = 0
mprotect(0x7f6624c62000, 8192, PROT_READ) = 0
mprotect(0x7f6625752000, 4096, PROT_READ) = 0
mprotect(0x7f6624f11000, 16384, PROT_READ) = 0
mprotect(0x7f6625544000, 28672, PROT_READ) = 0
mprotect(0x7f6625c89000, 4096, PROT_READ) = 0
mprotect(0x7f6626330000, 4096, PROT_READ) = 0
mprotect(0x7f6625e8f000, 4096, PROT_READ) = 0
mprotect(0x457c000, 4096, PROT_READ) = 0
mprotect(0x7f66269c3000, 4096, PROT_READ) = 0
munmap(0x7f66269ac000, 85521) = 0
set_tid_address(0x7f662698ec10) = 4154
set_robust_list(0x7f662698ec20, 0x18) = 0
futex(0x7fff70447f9c, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7f662698e940) = -1 EAGAIN (Resource temporarily unavailable)
rt_sigaction(SIGRTMIN, {0x7f6623080750, [], SA_RESTORER|SA_SIGINFO, 0x7f6623089cb0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7f66230807e0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f6623089cb0}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
statfs("/selinux", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=37945897, f_bfree=36352586, f_bavail=34425034, f_files=9641984, f_ffree=9444023, f_fsid={616984742, 363449205}, f_namelen=255, f_frsize=4096}) = 0
brk(0) = 0xc57b000
brk(0xc59c000) = 0xc59c000
open("/proc/filesystems", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f66269c0000
read(3, "nodev\tsysfs\nnodev\trootfs\nnodev\tb"..., 1024) = 304
read(3, "", 1024) = 0
close(3) = 0
munmap(0x7f66269c0000, 4096) = 0
brk(0xc5bd000) = 0xc5bd000
--- SIGILL (Illegal instruction) @ 0 (0) ---
+++ killed by SIGILL (core dumped) +++
Illegal instruction (core dumped)
haver@gamemaster:~$

I downloaded mame147 and recompiled it manually. That works fine. Is there a problem with the P4? I have similar problems with mupad64plus where I reported a similar bug. I hope you can figure out what it is and fix the problem. Thanks.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: mame 0.145-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-32.51-generic 3.2.30
Uname: Linux 3.2.0-32-generic x86_64
ApportVersion: 2.0.1-0ubuntu14
Architecture: amd64
Date: Mon Oct 8 20:28:55 2012
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1)
SourcePackage: mame
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Frank Haverkamp (f-haverkamp) wrote :
Revision history for this message
Frank Haverkamp (f-haverkamp) wrote :

From dmesg:

Oct 9 20:14:20 gamemaster kernel: [ 2208.617308] mame[2842] trap invalid opcode ip:22ce868 sp:7fffd7863fb0 error:0 in mame[400000+3f7d000]

haver@gamemaster:~$ find /usr/lib -name "*dricore*"
/usr/lib/i386-linux-gnu/dri/libdricore.so
/usr/lib/x86_64-linux-gnu/dri/libdricore.so
haver@gamemaster:~$

This is the same library causing invalid opcodes like in the bug I reported about mupen64plus crashing.

Revision history for this message
Cesare Falco (c.falco) wrote :

Thanks for your time to report the issue.

Is this game-specific or Mame crashes with every game you try?

Did you build and install 0.147 from original source or did you made a .deb file and installed it with dpkg?

Revision history for this message
Frank Haverkamp (f-haverkamp) wrote :

This seems not to be game specific. I recompiled make manually and that worked than ok for me (I did not create a deb, I just downloaded the sources, installed a bunch of development packets and recompiled it). I also tried mupen64plus to try out some N64 games and got similar failures in libdricore. I filed a separate bug for that before I saw in dmesg that it is pointing to the same libary. So other applications using the library see same/similar issues with it.

Revision history for this message
Frank Haverkamp (f-haverkamp) wrote :

Now I have a case where the illegal instruction is found at a different location:

[ 1130.204654] do_trap: 36 callbacks suppressed
[ 1130.204661] mame[4027] trap invalid opcode ip:22ce868 sp:7fffb9305110 error:0 in mame[400000+3f7d000]
[ 1325.496316] mame[5778] trap invalid opcode ip:22ce868 sp:7fff661e2d30 error:0 in mame[400000+3f7d000]
[ 1329.518420] mame[5830] trap invalid opcode ip:22ce868 sp:7fff4f82c5c0 error:0 in mame[400000+3f7d000]
[ 1345.799972] mame[6020] trap invalid opcode ip:22ce868 sp:7fff0f802fc0 error:0 in mame[400000+3f7d000]
haver@gamemaster:~$ objdump -Sawx /usr/games/mame | less

haver@gamemaster:~$ grep 22ce868 mame.dis
 22ce868: 0f 0d 0c 85 40 4a b5 0a prefetchw 0xab54a40(,%rax,4)
haver@gamemaster:~$

What can this be? Stackproblems? Inconsistent builds? Processor specifics which do not work for my P4?

Revision history for this message
Cesare Falco (c.falco) wrote :

My guess is bad processor optimization.

Could you please try the new build from my PPA?
https://launchpad.net/~c.falco/+archive/ppa/+packages

Cesare Falco (c.falco)
Changed in mame (Ubuntu):
importance: Undecided → High
importance: High → Undecided
Revision history for this message
Frank Haverkamp (f-haverkamp) wrote :

Hi Cesare,

this looks better. I tried one game so far and it worked ok for the first 5min. No failures seen so far.
Thanks for working out a fix.

Regards,

Frank

Revision history for this message
Cesare Falco (c.falco) wrote :

Uploaded fix to precise-proposed.

Changed in mame (Ubuntu):
status: New → In Progress
assignee: nobody → Cesare Falco (c.falco)
importance: Undecided → High
tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mame - 0.146-5

---------------
mame (0.146-5) unstable; urgency=low

  [ Cesare Falco ]
  * Replace -march with -mtune=generic gcc flag for compatibility issues
    with older CPUs (LP: #1063993)

  [ Emmanuel Kasper ]
  * Add support for parallel building using DEB_BUILD_OPTIONS
  * Reorganize default paths:
       $HOME/.mame for ini file and output files
       $HOME/mame for data search paths

 -- Emmanuel Kasper <email address hidden> Tue, 13 Nov 2012 17:39:32 +0100

Changed in mame (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote :

This bug report is missing Stable Release Update information as required according to the SRU process. For further details see http://wiki.ubuntu.com/StableReleaseUpdates.

Changed in mame (Ubuntu Precise):
status: New → Triaged
importance: Undecided → High
Cesare Falco (c.falco)
description: updated
Revision history for this message
Cesare Falco (c.falco) wrote :

Thanks Brian. I added the info and synced 0.146-5 from Debian unstable to quantal-proposed.

Cesare Falco (c.falco)
description: updated
Revision history for this message
Steve Langasek (vorlon) wrote :

FWIW, -mtune=generic should be a complete no-op here; unnecessary, but shouldn't hurt anything.

Changed in mame (Ubuntu Precise):
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Frank, or anyone else affected,

Accepted mame into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/mame/0.145-0ubuntu2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Steve Langasek (vorlon) wrote :

> Thanks Brian. I added the info and synced 0.146-5 from Debian unstable to quantal-proposed.

There is no mame package in the quantal-proposed queue.

Changed in mame (Ubuntu Quantal):
importance: Undecided → High
Revision history for this message
Cesare Falco (c.falco) wrote :

> There is no mame package in the quantal-proposed queue.

I apologize, I didn't realize it had been rejected.

I've uploaded it again, I see it in the unapproved packages list now.

Cesare Falco (c.falco)
Changed in mame (Ubuntu Quantal):
status: New → Fix Committed
Revision history for this message
Colin Watson (cjwatson) wrote :

Cesare: I'm sorry (especially for the delayed response), but you can't sync into quantal-proposed like that. -5 has already been built in raring, and a sync will cause it to be rebuilt independently in quantal, which will produce conflicting binaries in the same archive.

I've rejected your sync; please do a normal upload instead with a different, and probably lower, version. https://wiki.ubuntu.com/StableReleaseUpdates has advice on versioning.

Revision history for this message
Cesare Falco (c.falco) wrote :

Colin: I see. The right version number is awkward matter either.

I can't use 0.146-5ubuntu1 because it would be greater than raring version to dpkg.
I can't use 0.146-4.99ubuntu1 because it's not true.

Do you reckon 0.146-5~ubuntu12.10 could be a good choice?

Revision history for this message
Bartosz Kosiorek (gang65) wrote :

After install from proposed it is working perfectly for me.
Thanks

tags: added: verification-done
removed: verification-needed
Revision history for this message
Brian Murray (brian-murray) wrote :

@Bartosz - on what release did you install the proposed package?

Revision history for this message
Brian Murray (brian-murray) wrote :

Oh, I guess there is no qunatal proposed version. Sorry!

Changed in mame (Ubuntu Quantal):
status: Fix Committed → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mame - 0.145-0ubuntu2

---------------
mame (0.145-0ubuntu2) precise-proposed; urgency=low

  * Replace -march with -mtune=generic gcc flag for compatibility issues
    with older CPUs (LP: #1063993)
 -- Cesare Falco <email address hidden> Thu, 25 Oct 2012 22:41:37 +0200

Changed in mame (Ubuntu Precise):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for mame has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

quantal has seen the end of its life and is no longer receiving any updates. Marking the quantal task for this ticket as "Won't Fix".

Changed in mame (Ubuntu Quantal):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.