Skip to content

Instantly share code, notes, and snippets.

@larsfu
Created July 27, 2010 16:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larsfu/492418 to your computer and use it in GitHub Desktop.
Save larsfu/492418 to your computer and use it in GitHub Desktop.
$ gdb ./teeworlds_d
GNU gdb (GDB) Fedora (7.1-30.fc13)
Copyright (C) 2010 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 "i686-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/lars/Software/Teeworlds/Sworddragon-teeworlds-2f1985b/teeworlds_d...done.
(gdb) run
Starting program: /home/lars/Software/Teeworlds/Sworddragon-teeworlds-2f1985b/teeworlds_d
[Thread debugging using libthread_db enabled]
[4c4f0387][engine]: running on unix-linux-ia32
[4c4f0387][engine]: arch is little endian
[New Thread 0x17c1b70 (LWP 22220)]
[4c4f0387][binds]: bound f1 (282) = toggle_local_console
[4c4f0387][binds]: bound f2 (283) = toggle_remote_console
[4c4f0387][binds]: bound tab (9) = +scoreboard
[4c4f0387][binds]: bound u (117) = +show_chat
[4c4f0387][binds]: bound f10 (291) = screenshot
[4c4f0387][binds]: bound a (97) = +left
[4c4f0387][binds]: bound d (100) = +right
[4c4f0387][binds]: bound space (32) = +jump
[4c4f0387][binds]: bound mouse1 (323) = +fire
[4c4f0387][binds]: bound mouse2 (324) = +hook
[4c4f0387][binds]: bound lshift (304) = +emote
[4c4f0387][binds]: bound 1 (49) = +weapon1
[4c4f0387][binds]: bound 2 (50) = +weapon2
[4c4f0387][binds]: bound 3 (51) = +weapon3
[4c4f0387][binds]: bound 4 (52) = +weapon4
[4c4f0387][binds]: bound 5 (53) = +weapon5
[4c4f0387][binds]: bound mousewheelup (331) = +prevweapon
[4c4f0387][binds]: bound mousewheeldown (332) = +nextweapon
[4c4f0387][binds]: bound t (116) = chat all
[4c4f0387][binds]: bound y (121) = chat team
[4c4f0387][binds]: bound f3 (284) = vote yes
[4c4f0387][binds]: bound f4 (285) = vote no
[4c4f0387][console]: failed to open 'autoexec.cfg'
[4c4f0387][console]: executing 'settings.cfg'
[4c4f0387][binds]: bound tab (9) = +scoreboard
[4c4f0387][binds]: bound 1 (49) = +weapon1
[4c4f0387][binds]: bound 2 (50) = +weapon2
[4c4f0387][binds]: bound 3 (51) = +weapon3
[4c4f0387][binds]: bound 4 (52) = +weapon4
[4c4f0387][binds]: bound 5 (53) = +weapon5
[4c4f0387][binds]: bound a (97) = +left
[4c4f0387][binds]: bound d (100) = +right
[4c4f0387][binds]: bound g (103) = say gg
[4c4f0387][binds]: bound l (108) = connect localhost
[4c4f0387][binds]: bound q (113) = screenshot
[4c4f0387][binds]: bound r (114) = rcon reload
[4c4f0387][binds]: bound t (116) = chat all
[4c4f0387][binds]: bound u (117) = +show_chat
[4c4f0387][binds]: bound v (118) = kill
[4c4f0387][binds]: bound w (119) = +jump
[4c4f0387][binds]: bound x (120) = dynamiccamera
[4c4f0387][binds]: bound y (121) = gfc
[4c4f0387][binds]: bound f1 (282) = toggle_local_console
[4c4f0387][binds]: bound f2 (283) = toggle_remote_console
[4c4f0387][binds]: bound f3 (284) = vote yes
[4c4f0387][binds]: bound f4 (285) = vote no
[4c4f0387][binds]: bound lshift (304) = +emote
[4c4f0387][binds]: bound mouse1 (323) = +fire
[4c4f0387][binds]: bound mouse2 (324) = +hook
[4c4f0387][binds]: bound mousewheelup (331) = +prevweapon
[4c4f0387][binds]: bound mousewheeldown (332) = +nextweapon
[New Thread 0x21c2b70 (LWP 22221)]
[Thread 0x21c2b70 (LWP 22221) exited]
[4c4f0387][]: invalid texture id: 0 1
[4c4f0387][engine/mastersrv]: refreshing master server addresses
[New Thread 0x21c2b70 (LWP 22222)]
[4c4f0387][client/sound]: sound init successful
[4c4f0387][localization]: loaded 'data/languages/german.txt'
[4c4f0387][textrender]: loaded pFont from 'data/fonts/vera.ttf'
[4c4f0387][textrender]: default pFont set 0xb6abc01c
[4c4f0387][]: pFont memory usage: 524288
[4c4f0388][game]: load skin coala
[4c4f0388][game]: load skin twinbop
[4c4f0388][game]: load skin saddo
[4c4f0388][game]: load skin redbopp
[4c4f0388][game]: load skin limekitty
[4c4f0388][game]: load skin cammostripes
[4c4f0388][game]: load skin cammo
[4c4f0388][game]: load skin redstripe
[4c4f0388][game]: load skin default
[4c4f0388][game]: load skin toptri
[4c4f0388][game]: load skin twintri
[4c4f0388][game]: load skin bluekitty
[4c4f0388][game]: load skin pinky
[4c4f0388][game]: load skin warpaint
[4c4f0388][game]: load skin brownbear
[4c4f0388][game]: load skin bluestripe
[4c4f0388][game]: load skin x_ninja
[4c4f0388][]: 1183.300992.2ms
[4c4f0388][client]: version 0.5 b67d1f1a1eea234e
[4c4f0388][engine/mastersrv]: saving addresses
[4c4f0389][]: pFont memory usage: 655360
[4c4f0389][]: pFont memory usage: 786432
[4c4f038d][netclient]: disconnected. reason="(null)"
[4c4f038f][client]: loading map, map=ctf5 wanted crc=607e6d7e
[4c4f038f][datafile]: loading. filename='maps/ctf5.map'
[4c4f038f][datafile]: allocsize=1416
[4c4f038f][datafile]: readsize=1276
[4c4f038f][datafile]: swaplen=1236
[4c4f038f][datafile]: item_size=1008
[4c4f038f][datafile]: loading done. datafile='maps/ctf5.map'
[4c4f038f][client]: loaded map 'maps/ctf5.map'
[4c4f038f][datafile]: loading data index=11 size=2267 uncompressed=129600
[4c4f038f][datafile]: loading data index=9 size=797 uncompressed=119600
[4c4f038f][datafile]: loading data index=10 size=1316 uncompressed=129600
[4c4f038f][datafile]: loading data index=12 size=272 uncompressed=129600
[4c4f038f][datafile]: loading data index=13 size=2715 uncompressed=129600
[4c4f038f][datafile]: loading data index=14 size=2652 uncompressed=129600
[4c4f038f][datafile]: loading data index=0 size=19 uncompressed=11
[4c4f038f][datafile]: loading data index=1 size=27 uncompressed=19
[4c4f038f][datafile]: loading data index=2 size=22 uncompressed=14
[4c4f0390][datafile]: loading data index=3 size=18 uncompressed=10
[4c4f0390][datafile]: loading data index=4 size=18 uncompressed=10
[4c4f0390][datafile]: loading data index=5 size=18 uncompressed=10
Program received signal SIGSEGV, Segmentation fault.
__strcmp_ssse3 () at ../sysdeps/i386/i686/multiarch/strcmp-ssse3.S:77
77 cmpb %cl, (%edx)
(gdb) bt
#0 __strcmp_ssse3 () at ../sysdeps/i386/i686/multiarch/strcmp-ssse3.S:77
#1 0x080907b4 in str_comp (a=0x0, b=0x80ceb7b "error loading demo")
at src/base/system.c:1139
#2 0x08060dfe in CMenus::RenderDemoList (this=0x81d2800, MainView=...)
at src/game/client/components/menus_demo.cpp:493
#3 0x08075524 in CMenus::Render (this=0x81d2800)
at src/game/client/components/menus.cpp:797
#4 0x08076b59 in CMenus::OnRender (this=0x81d2800)
at src/game/client/components/menus.cpp:1145
#5 0x08051eea in CGameClient::OnRender (this=0x80e09a0)
at src/game/client/gameclient.cpp:453
#6 0x0809554c in CClient::Render (this=0x821f920)
at src/engine/client/client.cpp:741
#7 0x08098450 in CClient::Run (this=0x821f920)
at src/engine/client/client.cpp:1710
#8 0x0809980a in main (argc=1, argv=0xbffff3d4)
at src/engine/client/client.cpp:2034
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment