"Illegal instruction" when running hushd #310

Closed
opened 11 months ago by jahway603 · 4 comments
Collaborator

Describe the issue

After installing the latest hushd 3.9.4 debian package, running hushd produces the error message of Illegal instruction and it does not start.

Can you reliably reproduce the issue?

If so, please list the steps to reproduce below:

  1. Install hushd 3.9.4 with sudo dpkg -i hush-3.9.4-amd64.deb.
  2. Run hushd.
  3. Only see Illegal instruction as output.

Expected behaviour

hushd will start running hushd

Actual behaviour + errors

Explained above

The version of Hush you were using:

Run hushd --version to find out

  • it's 3.9.4, but --version also produces Illegal instruction and does not work.

Machine specs:

  • OS name + version: Ubuntu 20.04
  • CPU: Intel(R) Xeon(R) E5-2680 v2 (3) @ 2.799998 GHz
  • RAM: 4.31 GB
  • Disk size: 94 GB
  • Disk Type (HD/SDD): Unsure
  • Linux kernel version (uname -a): Linux HOSTNAME 5.4.0-153-generic #170-Ubuntu SMP Fri Jun 16 13:43:31 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
  • Compiler version (gcc --version): gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0

Any extra information that might be useful in the debugging process.

For the broken 3.9.4 hushd, I find the following

$ file /usr/bin/hushd
/usr/bin/hushd: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=0a885319ec58f8bb4c78d7180a0806ce25a91b68, for GNU/Linux 3.2.0, stripped

Then I compare this to the working 3.9.3 hushd and find the following:

$ file /usr/bin/hushd
/usr/bin/hushd: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=7290b99ac4a3aeb0786a35e88b6b961a785b5d9a, stripped
### Describe the issue After installing the latest hushd 3.9.4 debian package, running `hushd` produces the error message of `Illegal instruction` and it does not start. ### Can you reliably reproduce the issue? #### If so, please list the steps to reproduce below: 1. Install hushd 3.9.4 with `sudo dpkg -i hush-3.9.4-amd64.deb`. 1. Run `hushd`. 1. Only see `Illegal instruction` as output. ### Expected behaviour `hushd` will start running hushd ### Actual behaviour + errors Explained above ### The version of Hush you were using: Run `hushd --version` to find out - it's 3.9.4, but `--version` also produces `Illegal instruction` and does not work. ### Machine specs: - OS name + version: Ubuntu 20.04 - CPU: Intel(R) Xeon(R) E5-2680 v2 (3) @ 2.799998 GHz - RAM: 4.31 GB - Disk size: 94 GB - Disk Type (HD/SDD): Unsure - Linux kernel version (uname -a): Linux HOSTNAME 5.4.0-153-generic #170-Ubuntu SMP Fri Jun 16 13:43:31 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux - Compiler version (gcc --version): gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 ### Any extra information that might be useful in the debugging process. For the broken 3.9.4 hushd, I find the following ``` $ file /usr/bin/hushd /usr/bin/hushd: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=0a885319ec58f8bb4c78d7180a0806ce25a91b68, for GNU/Linux 3.2.0, stripped ``` Then I compare this to the working 3.9.3 hushd and find the following: ``` $ file /usr/bin/hushd /usr/bin/hushd: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=7290b99ac4a3aeb0786a35e88b6b961a785b5d9a, stripped ```
jahway603 added the
high priority
label 11 months ago
Owner

Yes, I am seeing this too. I tested the binaries since the Debian package uses those. strace hushd --version ends with

--- SIGILL {si_signo=SIGILL, si_code=ILL_ILLOPN, si_addr=0x55facaa89198} ---
+++ killed by SIGILL (core dumped) +++
Illegal instruction (core dumped)
Yes, I am seeing this too. I tested the binaries since the Debian package uses those. `strace hushd --version` ends with ``` --- SIGILL {si_signo=SIGILL, si_code=ILL_ILLOPN, si_addr=0x55facaa89198} --- +++ killed by SIGILL (core dumped) +++ Illegal instruction (core dumped) ```
Poster
Collaborator

I have tested the hushd 3.9.4 debian package on the following:

OS CPU Type Result Model name in /proc/cpuinfo
Ubuntu 20.04 AMD Illegal instruction (core dumped) Common KVM processor, but "AMD Ryzen 5 PRO 2400GE w/ Radeon Vega Graphics" on the bare metal
Ubuntu 20.04 Intel Illegal instruction, which is documented in original issue Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz
Debian 11 AMD Illegal instruction Common KVM processor, but "AMD Ryzen 5 PRO 2400GE w/ Radeon Vega Graphics" on the bare metal
Arch AMD Illegal instruction (core dumped) AMD Ryzen 7 2700 Eight-Core Processor
I have tested the hushd 3.9.4 debian package on the following: | OS | CPU Type | Result | Model name in /proc/cpuinfo | |:---|:---------|:-------|-----------------------------| | Ubuntu 20.04 | AMD | Illegal instruction (core dumped) | Common KVM processor, but "AMD Ryzen 5 PRO 2400GE w/ Radeon Vega Graphics" on the bare metal | | Ubuntu 20.04 | Intel | Illegal instruction, which is documented in original issue | Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz | | Debian 11 | AMD | Illegal instruction | Common KVM processor, but "AMD Ryzen 5 PRO 2400GE w/ Radeon Vega Graphics" on the bare metal | | Arch | AMD | Illegal instruction (core dumped) | AMD Ryzen 7 2700 Eight-Core Processor |
Owner

@jahway603 can we close this issue? I think we have working bins now

@jahway603 can we close this issue? I think we have working bins now
Poster
Collaborator

Yes, this issue has been resolved & can be closed.

Yes, this issue has been resolved & can be closed.
jahway603 closed this issue 7 months ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.