Skip to content

Instantly share code, notes, and snippets.

@danginsburg
Created March 13, 2017 16:04
Show Gist options
  • Save danginsburg/ac8f0a1b8c7c9ea3f1956a20b04ad3af to your computer and use it in GitHub Desktop.
Save danginsburg/ac8f0a1b8c7c9ea3f1956a20b04ad3af to your computer and use it in GitHub Desktop.
gameoverlayrenderer.so seg fault
dang@fx8350-amd:~/.steam/steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64$ gdb ./dota2
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 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:
<http://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 ./dota2...(no debugging symbols found)...done.
(gdb) set environment LD_PRELOAD /data/data/source2_main/Steam/client/ubuntu12_64/gameoverlayrenderer.so
(gdb) r
Starting program: /home/dang/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/dota2
During startup program terminated with signal SIGSEGV, Segmentation fault.
(gdb) set startup-with-shell off
(gdb) r
Starting program: /home/dang/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/dota2
warning: the debug information found in "/data/data/source2_main/Steam/client/ubuntu12_64/gameoverlayrenderer.so.dbg" does not match "/data/data/source2_main/Steam/client/ubuntu12_64/gameoverlayrenderer.so" (CRC mismatch).
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
_dl_lookup_symbol_x (undef_name=0x0,
undef_map=0x7ffff7ffd948 <_rtld_global+2312>, ref=0x7fffffffda68,
symbol_scope=0x7ffff7ffdcd0 <_rtld_global+3216>, version=0x0,
type_class=0, flags=2, skip_map=0x0) at dl-lookup.c:807
807 dl-lookup.c: No such file or directory.
(gdb) bt
#0 _dl_lookup_symbol_x (undef_name=0x0,
undef_map=0x7ffff7ffd948 <_rtld_global+2312>, ref=0x7fffffffda68,
symbol_scope=0x7ffff7ffdcd0 <_rtld_global+3216>, version=0x0,
type_class=0, flags=2, skip_map=0x0) at dl-lookup.c:807
#1 0x00007ffff737ecc3 in do_sym (handle=0x7ffff7ffd948 <_rtld_global+2312>,
name=0x0, who=<optimized out>, vers=vers@entry=0x0, flags=flags@entry=2)
at dl-sym.c:168
#2 0x00007ffff737f16d in _dl_sym (handle=<optimized out>,
name=<optimized out>, who=<optimized out>) at dl-sym.c:273
#3 0x00007ffff7988034 in dlsym_doit (a=a@entry=0x7fffffffdc70) at dlsym.c:50
#4 0x00007ffff7de7394 in _dl_catch_error (objname=0x5555557e5010,
errstring=0x5555557e5018, mallocedp=0x5555557e5008,
operate=0x7ffff7988020 <dlsym_doit>, args=0x7fffffffdc70) at dl-error.c:187
#5 0x00007ffff7988571 in _dlerror_run (
operate=operate@entry=0x7ffff7988020 <dlsym_doit>,
args=args@entry=0x7fffffffdc70) at dlerror.c:163
#6 0x00007ffff7988088 in __dlsym (handle=<optimized out>,
name=<optimized out>) at dlsym.c:70
#7 0x00007ffff7fe20f1 in ?? ()
from /data/data/source2_main/Steam/client/ubuntu12_64/gameoverlayrenderer.so
#8 0x00007ffff7fdfce8 in dlsym ()
from /data/data/source2_main/Steam/client/ubuntu12_64/gameoverlayrenderer.so
#9 0x1000800400080000 in ?? ()
#10 0x00007ffff61cf054 in ?? ()
from /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0
#11 0x0000000000000000 in ?? ()
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment