flathub / flathub/io.gitlab.android_translation_layer.BaseApp

Binutils/addr2line missing

Open
#15 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
14
Forks
4
Avg merge
9h 26m
Merged PRs (30d)
2

Description

The GNU Binutils package (or at least the /usr/bin/addr2line binary) seem to be missing from the Flatpak and some apps running with ATL seem to require it. This is part of the terminal output of Angry Birds 3.2.0, which should be supported according to the ATL documentation on GitLab:

```
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) fault addr 0x7f764cfff990
OS: Linux 6.12.12-amd64 (x86_64)
Cmdline:
Thread: 391 "main"
Registers:
rax: 0x0000000000000000 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000
rdi: 0x00007f764cfff6c0 rsi: 0x00007ffd12e1e7e0 rbp: 0x00007ffd12e1e7d0 rsp: 0x00007ffd12e1e760
r8 : 0x0000000000000001 r9 : 0x000055bf1ee3ea70 r10: 0x0000000000000000 r11: 0x0000000000000202
r12: 0x000055bf1ee3ea10 r13: 0x0000000000000020 r14: 0x0000000000000000 r15: 0x000055bf1ee3ea20
rip: 0x00007f76adc9aa94 eflags: 0x00010246 [ PF ZF IF ]
cs: 0x00000033 gs: 0x00000000 fs: 0x00000000

Backtrace:
sh: line 1: /usr/bin/addr2line: No such file or directory
#00 pc 0000000000099a94 /usr/lib/x86_64-linux-gnu/libc.so.6 (offset 28000) (???)
#01 pc 000000000015d775 /usr/lib/x86_64-linux-gnu/GL/default/lib/libvulkan_intel_hasvk.so (offset 45000) (???)
#02 pc 0000000000147116 /usr/lib/x86_64-linux-gnu/GL/default/lib/libvulkan_intel_hasvk.so (offset 45000) (???)
#03 pc 00000000001471ab /usr/lib/x86_64-linux-gnu/GL/default/lib/libvulkan_intel_hasvk.so (offset 45000) (???)
#04 pc 00000000000437e0 /usr/lib/x86_64-linux-gnu/libc.so.6 (offset 28000) (???)
#05 pc 00000000000438ad /usr/lib/x86_64-linux-gnu/libc.so.6 (offset 28000) (exit+29)
#06 pc 00000000004b83a7 /app/lib/art/libart.so (offset 124000) (_ZN3art15DumpNativeStackERSoiP12BacktraceMapPKcPNS_9ArtMethodEPvb+3911)
#07 pc 00000000005bbcd2 /app/lib/art/libart.so (offset 124000) (_ZNK3art6Thread9DumpStackERSobP12BacktraceMapb+322)
#08 pc 00000000005d941f /app/lib/art/libart.so (offset 124000) (_ZN3art14DumpCheckpoint3RunEPNS_6ThreadE+1247)
#09 pc 00000000005d6a79 /app/lib/art/libart.so (offset 124000) (_ZN3art10ThreadList13RunCheckpointEPNS_7ClosureES2_+1737)
#10 pc 00000000005d7ac5 /app/lib/art/libart.so (offset 124000) (_ZN3art10ThreadList4DumpERSob+325)
#11 pc 000000000057c92e /app/lib/art/libart.so (offset 124000) (_ZN3art7Runtime5AbortEPKc+1614)
#12 pc 0000000000008ab4 /app/lib/art/libbase.so (offset 4000) (_ZN7android4base10LogMessageD2Ev+1044)
#13 pc 00000000004072b8 /app/lib/art/libart.so (offset 124000) (_ZN3art9JavaVMExt8JniAbortEPKcS2_+2152)
#14 pc 00000000004073af /app/lib/art/libart.so (offset 124000) (_ZN3art9JavaVMExt9JniAbortVEPKcS2_P13__va_list_tag+79)
#15 pc 00000000003db970 /app/lib/art/libart.so (offset 124000) (???)
#16 pc 00000000003e0cde /app/lib/art/libart.so (offset 124000) (???)
#17 pc 00000000003e1756 /app/lib/art/libart.so (offset 124000) (???)
#18 pc 00000000003fb8d8 /app/lib/art/libart.so (offset 124000) (???)
#19 pc 0000000000031eb1 /app/lib/java/dex/android_translation_layer/natives/libtranslation_layer_main.so (offset 1e000) (activity_start+97)
#20 pc 0000000000005e0e /app/bin/android-translation-layer (offset 3000) (???)
#21 pc 0000000000018919 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.8200.4 (offset 10000) (g_closure_invoke+329)
#22 pc 000000000002d5c2 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.8200.4 (offset 10000) (???)
#23 pc 000000000002f070 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.8200.4 (offset 10000) (???)
#24 pc 0000000000034e00 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.8200.4 (offset 10000) (g_signal_emit_valist+64)
#25 pc 0000000000034ec2 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.8200.4 (offset 10000) (g_signal_emit+146)
#26 pc 00000000000fb0b1 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.8200.4 (offset 44000) (???)
#27 pc 00000000000fb2d6 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.8200.4 (offset 44000) (g_application_run+278)
#28 pc 0000000000003eac /app/bin/android-translation-layer (offset 3000) (main+236)
#29 pc 000000000002a187 /usr/lib/x86_64-linux-gnu/libc.so.6 (offset 28000) (???)
#30 pc 000000000002a24a /usr/lib/x86_64-linux-gnu/libc.so.6 (offset 28000) (__libc_start_main+138)
#31 pc 0000000000003ef4 /app/bin/android-translation-layer (offset 3000) (_start+36)
#32 pc 0000000000000000 ???

Fault message: JNI DETECTED ERROR IN APPLICATION: JNI IsSameObject called with pending exception java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/app/lib/art/../java/dex/android_translation_layer/api-impl.jar", zip file "/home/lenni/Documents/atl apps/com.rovio.angrybirds_3.2.0-3200_minAPI9(armeabi,armeabi-v7a,x86)(nodpi)_apkmirror.com.apk", zip file "/app/lib/art/../java/dex/android_translation_layer/framework-res.apk"],nativeLibraryDirectories=[/app/lib/art/../java/dex/android_translation_layer/natives, /home/lenni/.var/app/io.gitlab.android_translation_layer.BaseApp/data/android_translation_layer/com.rovio.angrybirds_3.2.0-3200_minAPI9(armeabi,armeabi-v7a,x86)(nodpi)_apkmirror.com.apk_/lib, /app/lib/art/../java/dex/android_translation_layer/natives, /home/lenni/.var/app/io.gitlab.android_translation_layer.BaseApp/data/android_translation_layer/com.rovio.angrybirds_3.2.0-3200_minAPI9(armeabi,armeabi-v7a,x86)(nodpi)_apkmirror.com.apk_/lib]]] couldn't find "libAngryBirdsClassic.so"
(Throwable with no stack trace)

in call to IsSameObject

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting the Flatpak runtime contents for /usr/bin/addr2line and reviewing the ATL documentation referenced in the report. Reproduce the Angry Birds 3.2.0 launch and verify whether the missing addr2line message is resolved; also determine whether the separate missing libAngryBirdsClassic.so error is part of this issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, linux
Domain
desktop, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.