[0.7.1 linux x64] SIGILL on launch

This subforum contains all the issues which we already resolved.
wrtlprnft
Fast Inserter
Fast Inserter
Posts: 155
Joined: Thu Feb 21, 2013 8:49 pm
Contact:

[0.7.1 linux x64] SIGILL on launch

Post by wrtlprnft »

Hi,

the 64-bit version of 0.7.1 doesn't launch. x64_0.7.0 was working fine, as is i386_0.7.1.

This is what I get at startup (the factorio window appears very briefly, however without any content):

Code: Select all

$ /opt/data/factorio/bin/x64/factorio
libpng warning: iCCP: known incorrect sRGB profile
Illegal instruction
I can also provide you with this very unhelpful stack trace:

Code: Select all

Program received signal SIGILL, Illegal instruction.
0x00000000009357b0 in ?? ()
(gdb) bt
#0  0x00000000009357b0 in ?? ()
#1  0x0000000000820ec4 in ?? ()
#2  0x0000000000821116 in ?? ()
#3  0x00000000008211df in ?? ()
#4  0x00000000005c0513 in ?? ()
#5  0x00000000005c0b2f in ?? ()
#6  0x00000000005f7877 in ?? ()
#7  0x00000000006263f2 in ?? ()
#8  0x00000000004174e3 in ?? ()
#9  0x00007ffff60d76c5 in __libc_start_main () from /lib64/libc.so.6
#10 0x00000000004181b5 in ?? ()
#11 0x00007fffffffd4f8 in ?? ()
#12 0x0000000000000000 in ?? ()
(gdb) info registers 
rax            0x800    2048
rbx            0x0      0
rcx            0x17     23
rdx            0x7fffffffbabc   140737488337596
rsi            0xfead30 16690480
rdi            0xfea7d0 16689104
rbp            0xfead30 0xfead30
rsp            0x7fffffffba38   0x7fffffffba38
r8             0x6      6
r9             0x0      0
r10            0x0      0
r11            0x6      6
r12            0x2d0    720
r13            0xe0ccd0 14732496
r14            0xfea7d0 16689104
r15            0x0      0
rip            0x9357b0 0x9357b0
eflags         0x10206  [ PF IF RF ]
cs             0x33     51
ss             0x2b     43
ds             0x0      0
es             0x0      0
fs             0x0      0
gs             0x0      0
(gdb) 
If it helps, this is the relevant part of /proc/cpuinfo:

Code: Select all

model name      : ntel(R) Core(TM) i7 CPU       M 620  @ 2.67GHz
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 rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt aes lahf_lm ida arat dtherm tpr_shadow vnmi flexpriority ept vpid
I'll happily provide any further information if you need it.
User avatar
cube
Former Staff
Former Staff
Posts: 1111
Joined: Tue Mar 05, 2013 8:14 pm
Contact:

Re: [0.7.1 linux x64] SIGILL on launch

Post by cube »

Thanks for the report!
This error was caused by the recent transition from dynamically linked libpng and libjpeg to statically linked ones. The problem was, that I was using my OS's libraries to link with factorio and these are built with "-march=native" ... so the factorio binary contained some AVX instructions which crashed the game for you.
In 0.7.2 we will use specially built generic versions of the libraries also for 64 bit.
I have no idea what I'm talking about.
Post Reply

Return to “Resolved Problems and Bugs”