crash with linux amd64 binary
gophone -h Illegal instruction (core dumped)
file gophone gophone: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, no section header
uname -r 6.5.12-100.fc37.x86_64
I have working locally. Higher kernel version. Maybe share coredump. Check latest version as well, sometimes I have wrong build
(gdb) run answer -l 0.0.0.0:5060
Starting program: /home/vtolstov/bin/gophone answer -l 0.0.0.0:5060
This GDB supports auto-downloading debuginfo from the following URLs:
<https://debuginfod.fedoraproject.org/>
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
Program received signal SIGILL, Illegal instruction.
0x000000000040c1f4 in ?? ()
(gdb)
i'm update my fedora to latest stable release, but nothing changed
I am sending you build. Using fedora as well. https://github.com/emiago/gophone/releases/download/v1.7.0/gophone
This one is clean go build, no compression.
If this still breaks,
send me ldd gophone output.
We can take a build without C deps and see does it work from there.
ldd gophone
linux-vdso.so.1 (0x00007f7641d0c000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f7641ce5000)
libm.so.6 => /lib64/libm.so.6 (0x00007f7641bff000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f7641800000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f7641bd0000)
libc.so.6 => /lib64/libc.so.6 (0x00007f764160d000)
/lib64/ld-linux-x86-64.so.2 (0x00007f7641d0e000)
gophone answer -l 0.0.0.0:5060
Illegal instruction (core dumped)
Hi @vtolstov . I believe there could be some CPU requirement here. Maybe from whisper.
You have now docker build emiago/gophone.
This one is stripped, and I believe you should be able to run this.
You can send me lshw -c cpu To check your capabilities.