Skip to content

Instantly share code, notes, and snippets.

@ToadKing
Created June 18, 2012 19:54
Show Gist options
  • Save ToadKing/2950358 to your computer and use it in GitHub Desktop.
Save ToadKing/2950358 to your computer and use it in GitHub Desktop.
$ gdb -args /d/RetroArch/retroarch -c /d/RetroArch/retroarch.cfg -L /d/libretro
-prboom/retro.dll /d/doom19s/DOOMS/DOOM1.WAD
GNU gdb (GDB) 7.4.50.20120311-cvs
Copyright (C) 2012 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-w64-mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from d:\RetroArch\retroarch.exe...(no debugging symbols found)..
.done.
(gdb) r
Starting program: d:\RetroArch\retroarch.exe -c d:/RetroArch/retroarch.cfg -L d:
/libretro-prboom/retro.dll d:/doom19s/DOOMS/DOOM1.WAD
[New Thread 6320.0x1c88]
M_LoadDefaults: Load system defaults.
default file: d:/doom19s/DOOMS/prboom.cfg
IdentifyVersion: basesavegame: d:/doom19s/DOOMS
i: 1
myargv[0]: prboom
myargv[1]: -iwad
myargv[2]: DOOM1.WAD
myargv[3]: (null)
myargv[4]: (null)
myargv[5]: (null)
myargv[6]: (null)
myargv[7]: (null)
myargv[8]: (null)
myargv[9]: (null)
myargv[10]: (null)
myargv[11]: (null)
myargv[12]: (null)
myargv[13]: (null)
myargv[14]: (null)
myargv[15]: (null)
myargv[16]: (null)
myargv[17]: (null)
myargv[18]: (null)
myargv[19]: (null)
myargv[20]: (null)
myargv[21]: (null)
myargv[22]: (null)
myargv[23]: (null)
myargv[24]: (null)
myargv[25]: (null)
myargv[26]: (null)
myargv[27]: (null)
myargv[28]: (null)
myargv[29]: (null)
myargv[30]: (null)
myargv[31]: (null)
wfname: DOOM1.WAD
g_wad_dir: d:/doom19s/DOOMS
d:/doom19s/DOOMS/DOOM1.WAD
p: d:/doom19s/DOOMS/DOOM1.WAD
found d:/doom19s/DOOMS/DOOM1.WAD
iwad: d:/doom19s/DOOMS/DOOM1.WAD
IWAD found: d:/doom19s/DOOMS/DOOM1.WAD
wfname: prboom.wad
g_wad_dir: d:/doom19s/DOOMS
d:/doom19s/DOOMS/prboom.wad
p: d:/doom19s/DOOMS/prboom.wad
found d:/doom19s/DOOMS/prboom.wad
PrBoom (built Jun 1 2012), playing: DOOM Shareware
PrBoom is released under the GNU General Public license v2.0.
You are welcome to redistribute it under certain conditions.
It comes with ABSOLUTELY NO WARRANTY. See the file COPYING for details.
V_Init: allocate screens.
D_InitNetGame: Checking for network game.
W_Init: Init WADfiles.
adding d:/doom19s/DOOMS/DOOM1.WAD
adding d:/doom19s/DOOMS/prboom.wad
W_InitCache
M_Init: Init miscellaneous info.
R_Init: Init DOOM refresh daemon -
R_LoadTrigTables: Endianness...ok.
R_InitData: Textures Flats Sprites
R_Init: R_InitPlanes R_InitLightTables R_InitSkyMap R_InitTranslationsTables R_I
nitPatches
P_Init: Init Playloop state.
Program received signal SIGSEGV, Segmentation fault.
0x0000000068d0490a in P_InitPicAnims () at src/p_spec.c:150
150 for (i=0 ; animdefs[i].istexture != -1 ; i++)
(gdb) bt
#0 0x0000000068d0490a in P_InitPicAnims () at src/p_spec.c:150
#1 0x0000000068d03737 in P_Init () at src/p_setup.c:1871
#2 0x0000000068ccc78f in D_DoomMainSetup () at src/d_main.c:1377
#3 0x0000000068d3fd86 in retro_load_game (info=0x22fbe0)
at src/libretro.c:268
#4 0x0000000000407179 in ?? ()
#5 0x000000000022fbe0 in ?? ()
#6 0x0000000000000001 in ?? ()
#7 0x000000000022fbe0 in ?? ()
#8 0x0000000068d3fddb in retro_get_memory_data (id=2292952)
at src/libretro.c:309
#9 0x0000000000000339 in ?? ()
#10 0x000000000022fcd8 in ?? ()
#11 0x000000000022fbc0 in ?? ()
#12 0x0000000068cc0080 in ?? ()
#13 0x000000000022fb01 in ?? ()
#14 0x000000000040fd01 in ?? ()
#15 0x0000000000000000 in ?? ()
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment