Unimplemented Import silent crash on clicking Play - Linux #1984

Closed
opened 2026-11-10 22:42:03 +00:00 by AthairGhrian · 7 comments
AthairGhrian commented 2026-11-10 22:42:03 +00:00 (Migrated from github.com)

Hookshot version

2.0.14

What kind of problem

Crash, freeze or black screen

What happened

After recomp and clicking play it produces a log with an error

[a64] unimplemented import _ZN2nn3aoc17CountAddOnContentEv (lr 0x83392a38)

Where in the game

At launch

How often

Every time

Graphics card and driver version

RTX 3060 12gb

CPU, RAM and operating system

Ryzen 5 4500 16gb

Changes from the defaults

None - game doesn't launch

Other software hooked into the game

No, nothing hooked in

hookshot_log.txt

`

hookshot_log.txt

Screenshots or video

No response

Before you send it

  • I'm on the newest release, or the problem is still there on it.
  • I searched the open issues for this problem.
  • I'm not attaching game files, keys, hookshot.exe, the .bin caches or saves.
### Hookshot version 2.0.14 ### What kind of problem Crash, freeze or black screen ### What happened After recomp and clicking play it produces a log with an error `[a64] unimplemented import _ZN2nn3aoc17CountAddOnContentEv (lr 0x83392a38)` ### Where in the game At launch ### How often Every time ### Graphics card and driver version RTX 3060 12gb ### CPU, RAM and operating system Ryzen 5 4500 16gb ### Changes from the defaults None - game doesn't launch ### Other software hooked into the game No, nothing hooked in ### hookshot_log.txt ` [hookshot_log.txt](https://github.com/user-attachments/files/34654679/hookshot_log.txt) ### Screenshots or video _No response_ ### Before you send it - [x] I'm on the newest release, or the problem is still there on it. - [x] I searched the open issues for this problem. - [x] I'm not attaching game files, keys, hookshot.exe, the .bin caches or saves.
NotRexed commented 2026-11-10 23:11:30 +00:00 (Migrated from github.com)

Thanks for the log. The unimplemented import _ZN2nn3aoc17CountAddOnContentEv line isn't the cause: unimplemented imports return 0, and for that one 0 means "no add-on content", which is fine. It's just the last line the log got before the process died, and the log has no crash line, so the reason isn't in it.

Could you start the game from a terminal and post what it prints?

cd <your game folder>
./hookshot

Right after it closes, please also post the last kernel messages:

dmesg | tail -30

(or journalctl -k -n 30 if dmesg needs root). Those show whether the GPU driver or the kernel ended the process.

Thanks for the log. The `unimplemented import _ZN2nn3aoc17CountAddOnContentEv` line isn't the cause: unimplemented imports return 0, and for that one 0 means "no add-on content", which is fine. It's just the last line the log got before the process died, and the log has no crash line, so the reason isn't in it. Could you start the game from a terminal and post what it prints? ``` cd <your game folder> ./hookshot ``` Right after it closes, please also post the last kernel messages: ``` dmesg | tail -30 ``` (or `journalctl -k -n 30` if dmesg needs root). Those show whether the GPU driver or the kernel ended the process.
AthairGhrian commented 2026-11-10 23:38:03 +00:00 (Migrated from github.com)

Absolutely can, I already cleaned it up thinking a fresh install would assist so once it finishes recompiling I'll get it launched through terminal and share what it prints!

Absolutely can, I already cleaned it up thinking a fresh install would assist so once it finishes recompiling I'll get it launched through terminal and share what it prints!
AthairGhrian commented 2026-11-11 00:14:48 +00:00 (Migrated from github.com)

Looking at my journalctl for the last 30 printed lines, isn't showing the crash either so I pulled a direct request looking at hookshot.

~/Games/Hookshot$ journalctl -b 0 | grep -i hookshot Nov 10 16:00:55 pond-os xdg-desktop-portal-cosmic[2624]: failed to calculate directory size of /home/USER/Games/Hookshot: Cancelled Nov 10 16:00:55 pond-os xdg-desktop-portal-cosmic[2624]: 2026-11-10T22:00:55.295023Z WARN cosmic_files::tab: failed to calculate directory size of /home/USER/Games/Hookshot: Cancelled Nov 10 16:02:24 pond-os steam[14598]: chdir "/home/USER/Games/Hookshot/" Nov 10 16:02:32 pond-os steam[14598]: Window title set to Hookshot Builder setup Nov 10 18:02:19 pond-os sudo[218304]: USER : TTY=pts/0 ; PWD=/home/USER/Games/Hookshot ; USER=root ; COMMAND=/usr/bin/dmesg Nov 10 18:02:46 pond-os sudo[218354]: USER : TTY=pts/0 ; PWD=/home/USER/Games/Hookshot ; USER=root ; COMMAND=/usr/bin/dmesg

user name replaced for privacy with USER in the file pathing.

Updated journalctl end file after attempting terminal launch an 8th time

Nov 10 18:13:37 pond-os kernel: workqueue: mmput_async_fn hogged CPU for >10000us 4 times, consider switching to WQ_UNBOUND

Looking at my journalctl for the last 30 printed lines, isn't showing the crash either so I pulled a direct request looking at hookshot. `~/Games/Hookshot$ journalctl -b 0 | grep -i hookshot Nov 10 16:00:55 pond-os xdg-desktop-portal-cosmic[2624]: failed to calculate directory size of /home/USER/Games/Hookshot: Cancelled Nov 10 16:00:55 pond-os xdg-desktop-portal-cosmic[2624]: 2026-11-10T22:00:55.295023Z WARN cosmic_files::tab: failed to calculate directory size of /home/USER/Games/Hookshot: Cancelled Nov 10 16:02:24 pond-os steam[14598]: chdir "/home/USER/Games/Hookshot/" Nov 10 16:02:32 pond-os steam[14598]: Window title set to Hookshot Builder setup Nov 10 18:02:19 pond-os sudo[218304]: USER : TTY=pts/0 ; PWD=/home/USER/Games/Hookshot ; USER=root ; COMMAND=/usr/bin/dmesg Nov 10 18:02:46 pond-os sudo[218354]: USER : TTY=pts/0 ; PWD=/home/USER/Games/Hookshot ; USER=root ; COMMAND=/usr/bin/dmesg` user name replaced for privacy with USER in the file pathing. Updated journalctl end file after attempting terminal launch an 8th time `Nov 10 18:13:37 pond-os kernel: workqueue: mmput_async_fn hogged CPU for >10000us 4 times, consider switching to WQ_UNBOUND`
AthairGhrian commented 2026-11-11 00:37:23 +00:00 (Migrated from github.com)

Just checked kill logs with journalctl -b 0 | grep -i -E "oom|kill|exit" and no mention of hookshot being killed/crashing there either. It looks like it's a clean exit from the application.

Just checked kill logs with `journalctl -b 0 | grep -i -E "oom|kill|exit"` and no mention of hookshot being killed/crashing there either. It looks like it's a clean exit from the application.
AthairGhrian commented 2026-11-11 00:47:42 +00:00 (Migrated from github.com)

And got it from reviewing the logs. I noticed the vi: GetNativeWindow looks like it's an issue with how Linux/Wayland handles drawing the window. It failed to load the window correctly so starting it with forced X11 resolved the issue on my end.

Used:
SDL_VIDEODRIVER=x11 ./bin/hookshot

Game window has launched and shaders were created at this point

Screenshot_2026-11-10_18-46-55
And got it from reviewing the logs. I noticed the `vi: GetNativeWindow` looks like it's an issue with how Linux/Wayland handles drawing the window. It failed to load the window correctly so starting it with forced X11 resolved the issue on my end. Used: `SDL_VIDEODRIVER=x11 ./bin/hookshot` Game window has launched and shaders were created at this point <img width="1879" height="1080" alt="Screenshot_2026-11-10_18-46-55" src="https://github.com/user-attachments/assets/93501b03-aad0-4053-bce0-9c2eece93ab2" />
AthairGhrian commented 2026-11-11 02:29:20 +00:00 (Migrated from github.com)

Hi, just wanting to update on this. For wayland (most likely PopOS specifically) it's 100% necessary to start the app with the SDL_VIDEODRIVER=x11 ./bin/hookshot override. I was able to recompile and convert to an appimage that launches Hookshot without the app launcher/updater showing and that seems to work well currently. No major issues unreported for me at this point, and was able to add the new appimage to system tray for launching.

Since it's set to my Hookshot /bin/usr directory. Updating manually shouldn't cause a large issue on my part with newer iterations, but can update this post after the next update with confirmation of the solution I've gotten to.

Hi, just wanting to update on this. For wayland (most likely PopOS specifically) it's 100% necessary to start the app with the ` SDL_VIDEODRIVER=x11 ./bin/hookshot` override. I was able to recompile and convert to an appimage that launches Hookshot without the app launcher/updater showing and that seems to work well currently. No major issues unreported for me at this point, and was able to add the new appimage to system tray for launching. Since it's set to my Hookshot /bin/usr directory. Updating manually shouldn't cause a large issue on my part with newer iterations, but can update this post after the next update with confirmation of the solution I've gotten to.
AthairGhrian commented 2026-11-11 03:46:53 +00:00 (Migrated from github.com)

Final update:

App was just updated to the recent release, and the repacked appimage to launch on wayland still works in the system drawer.

Also attempted to launch via terminal without the SDL override and that now also functions without issue.

Great jobs devs, thanks for the assistance and responses! (:

Final update: App was just updated to the recent release, and the repacked appimage to launch on wayland still works in the system drawer. Also attempted to launch via terminal without the SDL override and that now also functions without issue. Great jobs devs, thanks for the assistance and responses! (:
Commenting is not possible because the repository is archived.
No milestone
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Hookshot#1984
No description provided.