Skip to content

[BUG] SIGILL on program start with NixPkgs #384

@emmabastas

Description

@emmabastas

Description

Running oxicloud from NixPkgs causes exit with SIGILL (illegal instruction)

To Reproduce

Steps to reproduce the behavior:

  1. Install latest oxicloud (nix-shell -p oxicloud)
  2. Run oxicloud
  3. Observe Illegal instruction (core dumped) oxicloud

Expected Behavior

It doesn't crash

Screenshots

Details courtesy gdb oxicloud

Program received signal SIGILL, Illegal instruction.
0x000055555670c38f in std::rt::lang_start_internal ()

Oxicloud package /nix/store/6j216sgbdqmacmyrf6j380zlfi5hqa9y-oxicloud-0.5.6/bin/oxicloud

Binary ISA (courtesy objdump /nix/store/.../bin/oxicloud`):

 file format elf64-x86-64
architecture: i386:x86-64, flags 0x00000150:
HAS_SYMS, DYNAMIC, D_PAGED
start address 0x00000000000010d0

My CPU (courtesy lscpu)

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):                                  8
On-line CPU(s) list:                     0-7
Vendor ID:                               GenuineIntel
Model name:                              Intel(R) Core(TM) i5-8365U CPU @ 1.60GHz
CPU family:                              6
Model:                                   142
Thread(s) per core:                      2
Core(s) per socket:                      4
Socket(s):                               1
Stepping:                                12
Microcode version:                       0x100
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_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp vnmi md_clear flush_l1d arch_capabilities

Environment

  • OS: NixOS 26.05
  • Browser: N/A
  • OxiCloud Version: 0.5.6
  • Rust Version: N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions