Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Troubleshooting BECOME A GREAT ARTIST IN JUST 10 SECONDS
- First, since "my laptop" is a moving target due to regular updates, try out the hotfix version once more.
- Results unchanged.
- Next, move to the checkout.
- Working tree clean.
- Pull.
- Already up to date.
- cd project-src
- make clean
- make CFLAGS="-I.. -fPIC -g"
- cd ..
- ./artist_mac_debug
- This time, do not download debuginfo
- run
- bt
- Output:
- ↪ ./artist_mac_debug
- ~/great-artist-ufo ~/great-artist-ufo
- GNU gdb (Ubuntu 15.1-1ubuntu1~24.04.1) 15.1
- Copyright (C) 2024 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law.
- Type "show copying" and "show warranty" for details.
- This GDB was configured as "x86_64-linux-gnu".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- <https://www.gnu.org/software/gdb/bugs/>.
- Find the GDB manual and other documentation resources online at:
- <http://www.gnu.org/software/gdb/documentation/>.
- For help, type "help".
- Type "apropos word" to search for commands related to "word"...
- Reading symbols from ./bin/Linux/x64/luajit...
- This GDB supports auto-downloading debuginfo from the following URLs:
- <https://debuginfod.ubuntu.com>
- Enable debuginfod for this session? (y or [n]) n
- Debuginfod has been disabled.
- To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
- (No debugging symbols found in ./bin/Linux/x64/luajit)
- (gdb) run
- Starting program: /home/maxchase/great-artist-ufo/bin/Linux/x64/luajit project/main.lua
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
- Failed loading SDL3 library.
- Program received signal SIGABRT, Aborted.
- __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>)
- at ./nptl/pthread_kill.c:44
- warning: 44 ./nptl/pthread_kill.c: No such file or directory
- (gdb) bt
- #0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>)
- at ./nptl/pthread_kill.c:44
- #1 __pthread_kill_internal (signo=6, threadid=<optimized out>)
- at ./nptl/pthread_kill.c:78
- #2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6)
- at ./nptl/pthread_kill.c:89
- #3 0x00007ffff784527e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
- #4 0x00007ffff78288ff in __GI_abort () at ./stdlib/abort.c:79
- #5 0x00007ffff7bad2ef in ?? () from bin/Linux/x64/libSDL2-2.0.so.0
- #6 0x00007ffff7fca71f in call_init (l=<optimized out>, argc=argc@entry=2,
- argv=argv@entry=0x7fffffffd3b8, env=env@entry=0x7fffffffd3d0) at ./elf/dl-init.c:74
- #7 0x00007ffff7fca824 in call_init (env=<optimized out>, argv=<optimized out>,
- argc=<optimized out>, l=<optimized out>) at ./elf/dl-init.c:120
- #8 _dl_init (main_map=0x605540, argc=2, argv=0x7fffffffd3b8, env=0x7fffffffd3d0)
- at ./elf/dl-init.c:121
- #9 0x00007ffff7fc65b2 in __GI__dl_catch_exception (exception=exception@entry=0x0,
- operate=operate@entry=0x7ffff7fd1cc0 <call_dl_init>,
- args=args@entry=0x7fffffffca20) at ./elf/dl-catch.c:211
- #10 0x00007ffff7fd1d7c in dl_open_worker (a=0x7fffffffcbd0) at ./elf/dl-open.c:829
- #11 dl_open_worker (a=a@entry=0x7fffffffcbd0) at ./elf/dl-open.c:792
- #12 0x00007ffff7fc651c in __GI__dl_catch_exception (
- exception=exception@entry=0x7fffffffcbb0,
- operate=operate@entry=0x7ffff7fd1ce0 <dl_open_worker>,
- args=args@entry=0x7fffffffcbd0) at ./elf/dl-catch.c:237
- #13 0x00007ffff7fd2164 in _dl_open (file=0x4000a0e8 "bin/Linux/x64/libSDL2-2.0.so.0",
- mode=<optimized out>, caller_dlopen=0x7ffff7c2df0a, nsid=<optimized out>, argc=2,
- argv=0x7fffffffd3b8, env=0x7fffffffd3d0) at ./elf/dl-open.c:905
- #14 0x00007ffff78981a4 in dlopen_doit (a=a@entry=0x7fffffffce80) at ./dlfcn/dlopen.c:56
- #15 0x00007ffff7fc651c in __GI__dl_catch_exception (
- exception=exception@entry=0x7fffffffcdc0, operate=0x7ffff7898140 <dlopen_doit>,
- args=0x7fffffffce80) at ./elf/dl-catch.c:237
- #16 0x00007ffff7fc6669 in _dl_catch_error (objname=0x7fffffffce28,
- errstring=0x7fffffffce30, mallocedp=0x7fffffffce27, operate=<optimized out>,
- args=<optimized out>) at ./elf/dl-catch.c:256
- #17 0x00007ffff7897c83 in _dlerror_run (
- operate=operate@entry=0x7ffff7898140 <dlopen_doit>, args=args@entry=0x7fffffffce80)
- at ./dlfcn/dlerror.c:138
- #18 0x00007ffff789825f in dlopen_implementation (dl_caller=<optimized out>,
- mode=<optimized out>, file=<optimized out>) at ./dlfcn/dlopen.c:71
- #19 ___dlopen (file=<optimized out>, mode=<optimized out>) at ./dlfcn/dlopen.c:81
- #20 0x00007ffff7c2df0a in ?? ()
- from /home/maxchase/great-artist-ufo/bin/Linux/x64/libluajit.so
- #21 0x00007ffff7c09093 in ?? ()
- from /home/maxchase/great-artist-ufo/bin/Linux/x64/libluajit.so
- #22 0x00007ffff7c481ec in ?? ()
- from /home/maxchase/great-artist-ufo/bin/Linux/x64/libluajit.so
- #23 0x00007ffff7c09093 in ?? ()
- from /home/maxchase/great-artist-ufo/bin/Linux/x64/libluajit.so
- #24 0x00007ffff7c481ec in ?? ()
- from /home/maxchase/great-artist-ufo/bin/Linux/x64/libluajit.so
- #25 0x00007ffff7c09093 in ?? ()
- from /home/maxchase/great-artist-ufo/bin/Linux/x64/libluajit.so
- #26 0x00007ffff7c48ae0 in lua_pcall ()
- from /home/maxchase/great-artist-ufo/bin/Linux/x64/libluajit.so
- #27 0x0000000000401c66 in _start ()
Advertisement