As krouziciorel and with gcc and gcc-ada all at 12.1.0-2 version, I have this traceback with plenty unhandled exceptions raising:
Unhandled Exception raised
raised STORAGE_ERROR : s-intman.adb:136 explicit raise
[/usr/lib/libgnarl-12.so]
0x7f3ea61f8b04
[/usr/lib/libc.so.6]
0x7f3ea5b628de
[/usr/lib/libpython2.7.so.1.0]
0x7f3ea78f9e0e new_threadstate.lto_priv.0 at pystate.c:201
0x7f3ea786178d PyGILState_Ensure.cold at pystate.c:604
[/usr/lib/libgnatcoll_python.so.0]
0x7f3eac0cfe5c
0x7f3eac0ec3f2
0x561d56f1695f
0x561d56852115
0x561d56f1528d
[/usr/lib/libc.so.6]
0x7f3ea5b4d28e
0x7f3ea5b4d348
0x561d56f15303
0xfffffffffffffffe
Unhandled Exception raised
raised PROGRAM_ERROR : finalize/adjust raised exception
[/usr/lib/libgnarl-12.so]
0x7f3ea6202f26
[/usr/lib/libgnat-12.so]
0x7f3ea5eca1e5
0x7f3ea5ecbacd
0x7f3ea5ecb84a
0x7f3ea60df04b
[/usr/lib/libgcc_s.so.1]
0x7f3ea5d479ba _Unwind_ForcedUnwind_Phase2 at unwind.inc:171
0x7f3ea5d4828b _Unwind_Resume at unwind.inc:244
0x561d568521f8
0x561d56f1528d
[/usr/lib/libc.so.6]
0x7f3ea5b4d28e
0x7f3ea5b4d348
0x561d56f15303
0xfffffffffffffffe
Unhandled Exception raised
raised PROGRAM_ERROR : finalize/adjust raised exception
[/lib64/ld-linux-x86-64.so.2]
0x7f3eae4d9cfc
[/usr/lib/libc.so.6]
0x7f3ea5b64ef3
0x7f3ea5b6506e
[/usr/lib/libgnat-12.so]
0x7f3ea60db93c
0x7f3ea5eca313
0x7f3ea5ecbacd
0x7f3ea5ecb84a
0x7f3ea60df04b
[/usr/lib/libgcc_s.so.1]
0x7f3ea5d479ba _Unwind_ForcedUnwind_Phase2 at unwind.inc:171
0x7f3ea5d4800e _Unwind_ForcedUnwind at unwind.inc:218
[/usr/lib/libgnat-12.so]
0x7f3ea5ecb7f6
0x7f3ea5ecb80b
[/usr/lib/libgnarl-12.so]
0x7f3ea6202f26
[/usr/lib/libgnat-12.so]
0x7f3ea5eca1e5
0x7f3ea5ecbacd
0x7f3ea5ecb84a
0x7f3ea60df04b
[/usr/lib/libgcc_s.so.1]
0x7f3ea5d479ba _Unwind_ForcedUnwind_Phase2 at unwind.inc:171
0x7f3ea5d4828b _Unwind_Resume at unwind.inc:244
0x561d568521f8
0x561d56f1528d
[/usr/lib/libc.so.6]
0x7f3ea5b4d28e
0x7f3ea5b4d348
0x561d56f15303
0xfffffffffffffffe
even after a total rebuild with sudo pacman -Rsc gcc-ada
and then pacaur -S gnat-gps
...
Pinned Comments
charlie5 commented on 2020-09-27 04:25 (UTC) (edited on 2020-12-22 10:48 (UTC) by charlie5)
Workaround for bad line numbering => Disable 'code folding' in preferences.
To enable 'Find All References' => Append 'GPS.LSP.ADA_SUPPORT=no' to ~/.gnatstudio/traces.cfg.
To enable ptrace in gdb => $ echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope.
A version of gcc-ada with Ada runtime exception symbols included is pending. Please visit https://bugs.archlinux.org/index.php?do=details&action=details.addvote&task_id=49895 and vote for a fix.