Skip to content

Instantly share code, notes, and snippets.

@Jayman2000
Created May 3, 2024 16:44
Show Gist options
  • Save Jayman2000/5c5532ed243e7dbbfa11b689b6ccef4b to your computer and use it in GitHub Desktop.
Save Jayman2000/5c5532ed243e7dbbfa11b689b6ccef4b to your computer and use it in GitHub Desktop.
A log that will help me report a bug with Descent 3: <https://github.com/DescentDevelopers/Descent3/issues/278>
GNU gdb (GDB) 13.2
Copyright (C) 2023 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-unknown-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 ./Descent3...
(gdb) run
Starting program: /home/jayman/Documents/Home/Games/Descent 3/DescentDevelopers version/Descent3
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/nix/store/anlf335xlh41yjhm114swi87406mq5pw-glibc-2.38-44/lib/libthread_db.so.1".
12:32:26 [info] :: Logger initialized
GatherArgs: Arg (0) is [/home/jayman/Documents/Home/Games/Descent 3/DescentDevelopers version/Descent3].
12:32:26 [info] lnxmain.cpp:main:578
Descent 3 Linux Client v1.5.0 0e55dee
Copyright (C) 1999 Outrage Entertainment, Inc.
FindArg: Did not find [-windowed] on command line.
FindArg: Did not find [-fullscreen] on command line.
FindArg: Did not find [-game_checksum] on command line.
FindArg: Did not find [-dedicated] on command line.
FindArg: Did not find [-windowed] on command line.
FindArg: Did not find [-nomousegrab] on command line.
FindArg: Did not find [-nomousegrab] on command line.
FindArg: Did not find [-sharedmemory] on command line.
FindArg: Did not find [-nodgamouse] on command line.
FindArg: Did not find [-cdrom] on command line.
REGISTRY: Importing /home/jayman/.loki/descent3/.Descent3Registry
FindArg: Did not find [-dedicated] on command line.
FindArg: Did not find [-debug] on command line.
FindArg: Did not find [-logfile] on command line.
FindArg: Did not find [-monotcp] on command line.
Linux system.
FindArg: Did not find [-lowmem] on command line.
FindArg: Did not find [-superlowmem] on command line.
FindArg: Did not find [-dedicated] on command line.
FindArg: Did not find [-himem] on command line.
FindArg: Did not find [-nomultibmp] on command line.
FindArg: Did not find [-limitframe] on command line.
FindArg: Did not find [-dedicated] on command line.
FindArg: Did not find [-framecap] on command line.
Using default framecap of 60
FindArg: Did not find [-mlooksens] on command line.
FindArg: Did not find [-mousesens] on command line.
REGISTRY: Importing /home/jayman/.loki/descent3/.Descent3Registry
FindArg: Did not find [+host] on command line.
FindArg: Did not find [-useport] on command line.
FindArg: Did not find [-pxoport] on command line.
FindArg: Did not find [-setdir] on command line.
FindArg: Did not find [-useexedir] on command line.
FindArg: Did not find [-windowed] on command line.
FindArg: Did not find [-lorestimer] on command line.
FindArg: Did not find [-alternatejoy] on command line.
FindArg: Did not find [-directinput] on command line.
DDIO system initializing...
DDIO: ddio_InternalInit() called.
FindArg: Did not find [-joystick] on command line.
Joystick: Found 1 joysticks.
JOYSTICK: Initialized stick named [Wooting Wooting Two HE (ARM)].
JOYSTICK: (9) axes, (1) hats, and (12) buttons.
FindArg: Did not find [-rocknride] on command line.
FindArg: Did not find [-timetest] on command line.
FindArg: Did not find [-vsync] on command line.
FindArg: Did not find [-Width] on command line.
FindArg: Did not find [-Height] on command line.
FindArg: Did not find [-nomotionblur] on command line.
FindArg: Did not find [-nosparkles] on command line.
Setting up temp directory
FindArg: Did not find [-tempdir] on command line.
Temp Directory Set To: "/home/jayman/Documents/Home/Games/Descent 3/DescentDevelopers version/custom/cache"
LockFile: Checking [/home/jayman/Documents/Home/Games/Descent 3/DescentDevelopers version/custom/cache/.lock]...
Lock file created in temp dir (deleted dead lock)
Removing any temp files left over from last execution
FindArg: Did not find [-filter] on command line.
FindArg: Did not find [-oldmethod] on command line.
Network is down...
table filename = Table.gam
FindArg: Did not find [-mission] on command line.
OSIRIS: Initializing module manager
OSIRIS: Extracting Scripts From Hog
Search started
Done Extracting
OSIRIS: Extracting Scripts From Hog
Search started
Found: AIGame.so...
Extracting...
Done
Found: aigame2.so...
Extracting...
Done
Found: AIGame3.so...
Extracting...
Done
Found: aigame4.so...
Extracting...
Done
Found: BatteriesIncluded.so...
Extracting...
Done
Found: CanyonsCTF.so...
Extracting...
Done
Found: CellTestLevel.so...
Extracting...
Done
Found: ChrisTest.so...
Extracting...
Done
Found: clutter.so...
Extracting...
Done
Found: GameGauge.so...
Extracting...
Done
Found: generic.so...
Extracting...
Done
Found: Geodomes.so...
Extracting...
Done
Found: HalfPipe.so...
Extracting...
Done
Found: InfernalBolt.so...
Extracting...
Done
Found: Inversion.so...
Extracting...
Done
Found: level1.so...
Extracting...
Done
Found: level10.so...
Extracting...
Done
Found: level11.so...
Extracting...
Done
Found: Level12.so...
Extracting...
Done
Found: level13.so...
Extracting...
Done
Found: level14.so...
Extracting...
Done
Found: LEVEL15.so...
Extracting...
Done
Found: level2.so...
Extracting...
Done
Found: level3.so...
Extracting...
Done
Found: level4.so...
Extracting...
Done
Found: level5.so...
Extracting...
Done
Found: Level6.so...
Extracting...
Done
Found: level7.so...
Extracting...
Done
Found: level8.so...
Extracting...
Done
Found: Level9.so...
Extracting...
Done
Found: LevelS1.so...
Extracting...
Done
Found: levelS2.so...
Extracting...
Done
Found: Merc02.so...
Extracting...
Done
Found: Merc1.so...
Extracting...
Done
Found: Merc3.so...
Extracting...
Done
Found: Merc4.so...
Extracting...
Done
Found: merc5.so...
Extracting...
Done
Found: Merc6.so...
Extracting...
Done
Found: Merc7.so...
Extracting...
Done
Found: Mysterious_Isle.so...
Extracting...
Done
Found: orbital.so...
Extracting...
Done
Found: Paranoia.so...
Extracting...
Done
Found: Quadsomniac.so...
Extracting...
Done
Found: RudeAwakening.so...
Extracting...
Done
Found: SewerRat.so...
Extracting...
Done
Found: TrainingMission.so...
Extracting...
Done
Found: Y2K.so...
Extracting...
Done
Done Extracting
OSIRIS: Extracting Scripts From Hog
Search started
Done Extracting
895 strings loaded from the string tables
FindArg: Did not find [-dedicated] on command line.
Initializing texture system.
Font <briefing.fnt> height = 10
Font <bbriefing.fnt> height = 18
Font <newmenu.fnt> height = 19
Font <smallui.fnt> height = 11
Font <largeui.fnt> height = 18
Font <lohud.fnt> height = 10
Initting dynamic lighting.
Building specular tables.
In InitMission()
FindArg: Did not find [-nonetwork] on command line.
FindArg: Did not find [-netdebug] on command line.
FindArg: Did not find [-useip] on command line.
FindArg: Did not find [+ip] on command line.
Network initted successfully!
Receive buffer set to 212992
TCP Initialized
FindArg: Did not find [-tcplog] on command line.
FindArg: Did not find [-timeout] on command line.
FindArg: Did not find [-nosound] on command line.
FindArg: Did not find [-sdlSndSize] on command line.
[New Thread 0x7ffff24006c0 (LWP 5803)]
[Thread 0x7ffff24006c0 (LWP 5803) exited]
Sound: Hardware configured. Kicking off stream thread...
FindArg: Did not find [-httpproxy] on command line.
[New Thread 0x7ffff24006c0 (LWP 5804)]
RendererType is set to 2.
Renderer init is set to 1
Setting up opengl mode!
FindArg: Did not find [-fullscreen] on command line.
FindArg: Did not find [-windowed] on command line.
FindArg: Did not find [-gllibrary] on command line.
OpenGL: Attempting to use "libGL.so" for OpenGL
Loading OpenGL dll...
Looking up GL function [glAlphaFunc]...
Found at (0x7ffff1afd1a0).
Looking up GL function [glBegin]...
Found at (0x7ffff1afd3e0).
Looking up GL function [glBindTexture]...
Found at (0x7ffff1afdb20).
Looking up GL function [glBlendFunc]...
Found at (0x7ffff1afe180).
Looking up GL function [glClear]...
Found at (0x7ffff1afe720).
Looking up GL function [glClearColor]...
Found at (0x7ffff1afe840).
Looking up GL function [glClearDepth]...
Found at (0x7ffff1afe8e0).
Looking up GL function [glColor3ub]...
Found at (0x7ffff1afef60).
Looking up GL function [glColor4ub]...
Found at (0x7ffff1aff240).
Looking up GL function [glColor4f]...
Found at (0x7ffff1aff100).
Looking up GL function [glColorPointer]...
Found at (0x7ffff1aff5a0).
Looking up GL function [glNormalPointer]...
Found at (0x7ffff1b0bce0).
Looking up GL function [glDeleteTextures]...
Found at (0x7ffff1b00f60).
Looking up GL function [glDepthFunc]...
Found at (0x7ffff1b010c0).
Looking up GL function [glDepthMask]...
Found at (0x7ffff1b010e0).
Looking up GL function [glDepthRange]...
Found at (0x7ffff1b01100).
Looking up GL function [glDisable]...
Found at (0x7ffff1b01360).
Looking up GL function [glDisableClientState]...
Found at (0x7ffff1b01380).
Looking up GL function [glDrawArrays]...
Found at (0x7ffff1b01600).
Looking up GL function [glDrawElements]...
Found at (0x7ffff1b018e0).
Looking up GL function [glDrawPixels]...
Found at (0x7ffff1b01b80).
Looking up GL function [glEnable]...
Found at (0x7ffff1b02020).
Looking up GL function [glEnableClientState]...
Found at (0x7ffff1b02040).
Looking up GL function [glEnd]...
Found at (0x7ffff1b02240).
Looking up GL function [glFlush]...
Found at (0x7ffff1b02a40).
Looking up GL function [glFogf]...
Found at (0x7ffff1b02d80).
Looking up GL function [glFogfv]...
Found at (0x7ffff1b02da0).
Looking up GL function [glFogi]...
Found at (0x7ffff1b02dc0).
Looking up GL function [glGetError]...
Found at (0x7ffff1b045a0).
Looking up GL function [glGetString]...
Found at (0x7ffff1b066c0).
Looking up GL function [glHint]...
Found at (0x7ffff1b07e60).
Looking up GL function [glLoadIdentity]...
Found at (0x7ffff1b08fc0).
Looking up GL function [glLoadMatrixf]...
Found at (0x7ffff1b09020).
Looking up GL function [glMatrixMode]...
Found at (0x7ffff1b099e0).
Looking up GL function [glOrtho]...
Found at (0x7ffff1b0bfa0).
Looking up GL function [glPixelStorei]...
Found at (0x7ffff1b0c580).
Looking up GL function [glPixelTransferi]...
Found at (0x7ffff1b0c680).
Looking up GL function [glPolygonOffset]...
Found at (0x7ffff1b0caa0).
Looking up GL function [glReadPixels]...
Found at (0x7ffff1b0ebc0).
Looking up GL function [glScissor]...
Found at (0x7ffff1b0f7a0).
Looking up GL function [glShadeModel]...
Found at (0x7ffff1b0ffa0).
Looking up GL function [glTexCoordPointer]...
Found at (0x7ffff1b11380).
Looking up GL function [glTexEnvf]...
Found at (0x7ffff1b11400).
Looking up GL function [glTexImage2D]...
Found at (0x7ffff1b11700).
Looking up GL function [glTexParameteri]...
Found at (0x7ffff1b119a0).
Looking up GL function [glTexSubImage2D]...
Found at (0x7ffff1b11ce0).
Looking up GL function [glVertex2i]...
Found at (0x7ffff1b13cc0).
Looking up GL function [glVertex3f]...
Found at (0x7ffff1b13e00).
Looking up GL function [glVertexPointer]...
Found at (0x7ffff1b16260).
Looking up GL function [glViewport]...
Found at (0x7ffff1b16800).
Looking up GL function [glColor4fv]...
Found at (0x7ffff1aff160).
Looking up GL function [glVertex3fv]...
Found at (0x7ffff1b13e20).
Looking up GL function [glTexCoord4fv]...
Found at (0x7ffff1b11140).
OpenGL dll loading successful.
[New Thread 0x7ffff16006c0 (LWP 5805)]
[New Thread 0x7ffff0c006c0 (LWP 5806)]
[New Thread 0x7fffd56006c0 (LWP 5807)]
[New Thread 0x7fffd4c006c0 (LWP 5808)]
[New Thread 0x7fffcfe006c0 (LWP 5809)]
[New Thread 0x7fffcf4006c0 (LWP 5810)]
Thread 1 "Descent3" received signal SIGINT, Interrupt.
0x00007ffff7a40e0f in poll () from /nix/store/anlf335xlh41yjhm114swi87406mq5pw-glibc-2.38-44/lib/libc.so.6
(gdb) backtrace
#0 0x00007ffff7a40e0f in poll () from /nix/store/anlf335xlh41yjhm114swi87406mq5pw-glibc-2.38-44/lib/libc.so.6
#1 0x00007ffff77a8d52 in _xcb_conn_wait () from /nix/store/n8873igpp72wzjwps5gy4409h9i1y4qj-libxcb-1.16/lib/libxcb.so.1
#2 0x00007ffff77aadcf in wait_for_reply () from /nix/store/n8873igpp72wzjwps5gy4409h9i1y4qj-libxcb-1.16/lib/libxcb.so.1
#3 0x00007ffff77aaf40 in xcb_wait_for_reply64 () from /nix/store/n8873igpp72wzjwps5gy4409h9i1y4qj-libxcb-1.16/lib/libxcb.so.1
#4 0x00007ffff7842a1c in _XReply () from /nix/store/iq22vxmgz7w4j9y083f28y68v7d951j1-libX11-1.8.7/lib/libX11.so.6
#5 0x00007ffff7e9af8b in SDL_XF86VidModeQueryVersion () from /nix/store/2bd112gz51z6gvfg0n6njxn6ka1vfwmw-SDL-1.2.15/lib/libSDL-1.2.so.0
#6 0x00007ffff7e9b306 in SDL_XF86VidModeGetModeLine () from /nix/store/2bd112gz51z6gvfg0n6njxn6ka1vfwmw-SDL-1.2.15/lib/libSDL-1.2.so.0
#7 0x00007ffff7e8fff9 in get_real_resolution () from /nix/store/2bd112gz51z6gvfg0n6njxn6ka1vfwmw-SDL-1.2.15/lib/libSDL-1.2.so.0
#8 0x00007ffff7e912a6 in X11_ResizeFullScreen () from /nix/store/2bd112gz51z6gvfg0n6njxn6ka1vfwmw-SDL-1.2.15/lib/libSDL-1.2.so.0
#9 0x00007ffff7e91ae2 in X11_EnterFullScreen () from /nix/store/2bd112gz51z6gvfg0n6njxn6ka1vfwmw-SDL-1.2.15/lib/libSDL-1.2.so.0
#10 0x00007ffff7e94930 in X11_CreateWindow () from /nix/store/2bd112gz51z6gvfg0n6njxn6ka1vfwmw-SDL-1.2.15/lib/libSDL-1.2.so.0
#11 0x00007ffff7e949e6 in X11_SetVideoMode () from /nix/store/2bd112gz51z6gvfg0n6njxn6ka1vfwmw-SDL-1.2.15/lib/libSDL-1.2.so.0
#12 0x00007ffff7e85efa in SDL_SetVideoMode () from /nix/store/2bd112gz51z6gvfg0n6njxn6ka1vfwmw-SDL-1.2.15/lib/libSDL-1.2.so.0
#13 0x00000000005f70bf in opengl_Setup (app=app@entry=0x7fffffffb8e0, width=width@entry=0x7fffffffb470, height=height@entry=0x7fffffffb474)
at /home/jayman/Documents/Home/VC/Git/Partially mine/Descent3/repo/renderer/HardwareOpenGL.cpp:700
#14 0x00000000005f74a5 in opengl_Init (app=0x7fffffffb8e0, pref_state=0x738450 <Render_preferred_state>) at /home/jayman/Documents/Home/VC/Git/Partially mine/Descent3/repo/renderer/HardwareOpenGL.cpp:863
#15 0x0000000000466e9a in SetScreenMode (sm=<optimized out>, sm@entry=3, force_res_change=force_res_change@entry=false) at /home/jayman/Documents/Home/VC/Git/Partially mine/Descent3/repo/Descent3/game.cpp:976
#16 0x000000000045c8dc in Descent3 () at /home/jayman/Documents/Home/VC/Git/Partially mine/Descent3/repo/Descent3/descent.cpp:486
#17 0x000000000040b1d4 in oeD3LnxApp::run (this=0x7fffffffb8e0) at /home/jayman/Documents/Home/VC/Git/Partially mine/Descent3/repo/Descent3/lnxmain.cpp:258
#18 main (argc=<optimized out>, argv=<optimized out>) at /home/jayman/Documents/Home/VC/Git/Partially mine/Descent3/repo/Descent3/lnxmain.cpp:774
(gdb) quit
A debugging session is active.
Inferior 1 [process 5800] will be killed.
Quit anyway? (y or n) y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment