Skip to content

Unable to use f3d 2.4.0 inside Ubuntu Docker container from macOS host #1425

@p4charu

Description

@p4charu

Unable to use f3d 2.4.0 inside Ubuntu Docker container. It fails to run saying "Illegal Instruction".
Here's the strace output.

newfstatat(AT_FDCWD, "/usr/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0 munmap(0x7f299ceaa000, 22583) = 0 openat(AT_FDCWD, "/f3d/f3d-2.4.0-linux/libtcm.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) readlink("/proc/self/exe", "/f3d"..., 4096) = 52 openat(AT_FDCWD, "/proc/cpuinfo", O_RDONLY) = 3 newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0 read(3, "processor\t: 0\nvendor_id\t: Genuin"..., 1024) = 1024 close(3) = 0 --- SIGILL {si_signo=SIGILL, si_code=ILL_ILLOPN, si_addr=0x7f299b7f6273} --- +++ killed by SIGILL +++ Illegal instruction

To Reproduce
Steps to reproduce the behavior:

  1. Create an Ubuntu:jammy Docker container.
  2. Install f3d 2.4.0. (Irrespective of how you install f3d viz .deb, .tar.gz, headless, etc the issue is persistant)
  3. Run the command ./f3d --help

Expected behavior
Should display help

System Information:

  • OS: Ubuntu jammy
  • GPU and GPU driver: None
    root@search:/f3d/f3d-2.4.0-linux# lshw -c video
    root@search:/f3d/f3d-2.4.0-linux#

F3D Information
Paste the content of f3d --version:
root@search:/f3d/f3d-2.4.0-linux# ./f3d --version Illegal instruction

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    Investigate

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions