Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exit 132: SIGIL upon boot #37

Open
nullishamy opened this issue May 13, 2023 · 3 comments
Open

exit 132: SIGIL upon boot #37

nullishamy opened this issue May 13, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@nullishamy
Copy link

What happened? What is expected?

snips exits with 132 (SIGIL, illegal instruction) upon boot on my NAS:

amy@lilnas:~/docker_config/snips$ docker run ghcr.io/robherley/snips.sh -usage
amy@lilnas:~/docker_config/snips$ echo $?
132

It does work locally, so I suspect there's something wrong with the image // binary in the image.

lscpu:

amy@lilnas:~/docker_config/snips$ lscpu
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):                 2
  On-line CPU(s) list:  0,1
Vendor ID:              GenuineIntel
  Model name:           Intel(R) Atom(TM) CPU D425   @ 1.80GHz
    CPU family:         6
    Model:              28
    Thread(s) per core: 2
    Core(s) per socket: 1
    Socket(s):          1
    Stepping:           10
    BogoMIPS:           3591.10
    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 arch_perfmon pebs bts nopl cpuid aper
                        fmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dtherm
Caches (sum of all):
  L1d:                  24 KiB (1 instance)
  L1i:                  32 KiB (1 instance)
  L2:                   512 KiB (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:             Not affected
  Mmio stale data:      Not affected
  Retbleed:             Not affected
  Spec store bypass:    Not affected
  Spectre v1:           Not affected
  Spectre v2:           Not affected
  Srbds:                Not affected
  Tsx async abort:      Not affected

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

@nullishamy nullishamy added the bug Something isn't working label May 13, 2023
@danieldemarco
Copy link

danieldemarco commented May 13, 2023

This seems very similar to the issue your having. I think your NAS has similar hardware.

strapi/strapi#13677

@nullishamy
Copy link
Author

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..

@tswestendorp
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants