Open nullishamy opened 1 year ago
This seems very similar to the issue your having. I think your NAS has similar hardware.
Yeah, the hardware seems to line up, and they said there that the issue lay in SQLite, which would line up with snips.sh. Surprisingly though, I've not experienced issues with other containers using SQLite..
I'm experiencing the same issue on two different machines, but also it does work on my macOS
Machine 1
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 39 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Vendor ID: GenuineIntel
Model name: Intel(R) Celeron(R) J4005 CPU @ 2.00GHz
CPU family: 6
Model: 122
Thread(s) per core: 1
Core(s) per socket: 2
Socket(s): 1
Stepping: 1
CPU max MHz: 2700.0000
CPU min MHz: 800.0000
BogoMIPS: 3993.60
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 pdpe1gb rdtscp lm constant_tsc art arch_perfmo
n pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg cx16 xtpr pdcm sse4_1 sse4_2 x2apic mov
be popcnt tsc_deadline_timer aes xsave rdrand lahf_lm 3dnowprefetch cpuid_fault cat_l2 pti cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad
fsgsbase tsc_adjust sgx smep erms mpx rdt_a rdseed smap clflushopt intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts umip rdpid sgx_lc md_clear arch_capabi
lities
Virtualization features:
Virtualization: VT-x
Caches (sum of all):
L1d: 48 KiB (2 instances)
L1i: 64 KiB (2 instances)
L2: 4 MiB (1 instance)
NUMA:
NUMA node(s): 1
NUMA node0 CPU(s): 0,1
Vulnerabilities:
Itlb multihit: Not affected
L1tf: Not affected
Mds: Not affected
Meltdown: Mitigation; PTI
Mmio stale data: Not affected
Retbleed: Not affected
Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Spectre v2: Mitigation; Enhanced IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS Not affected
Srbds: Not affected
Tsx async abort: Not affected
Machine 2
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 36 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Vendor ID: GenuineIntel
Model name: Intel(R) Atom(TM) CPU C2538 @ 2.40GHz
CPU family: 6
Model: 77
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Stepping: 8
Frequency boost: disabled
CPU(s) scaling MHz: 100%
CPU max MHz: 2400.0000
CPU min MHz: 1200.0000
BogoMIPS: 4788.00
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 r
ep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes rdrand lahf_
lm 3dnowprefetch arat epb invpcid_single tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms
Virtualization features:
Virtualization: VT-x
Caches (sum of all):
L1d: 96 KiB (4 instances)
L1i: 128 KiB (4 instances)
L2: 2 MiB (2 instances)
Vulnerabilities:
Meltdown: Vulnerable
Spectre v1: Mitigation; Load fences
Spectre v2: Vulnerable
What happened? What is expected?
snips exits with 132 (SIGIL, illegal instruction) upon boot on my NAS:
It does work locally, so I suspect there's something wrong with the image // binary in the image.
lscpu:
How can we reproduce it?
I ran
docker run ghcr.io/robherley/snips.sh -usage
, however this is likely platform specific.Anything else we need to know?
No response