Unimplemented Import silent crash on clicking Play - Linux #1984
Labels
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
testing wanted
wontfix
No milestone
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Hookshot#1984
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
Thanks for the log. The
unimplemented import _ZN2nn3aoc17CountAddOnContentEvline 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?
Right after it closes, please also post the last kernel messages:
(or
journalctl -k -n 30if dmesg needs root). Those show whether the GPU driver or the kernel ended the process.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!
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/dmesguser 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_UNBOUNDJust 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.And got it from reviewing the logs. I noticed the
vi: GetNativeWindowlooks 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/hookshotGame window has launched and shaders were created at this point
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/hookshotoverride. 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.
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! (: