Advertisement
Guest User

GDB Last

a guest
Jun 2nd, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
GDB 11.40 KB | None | 0 0
  1. $ gdb ./mupen64plus-debug
  2. GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
  3. Copyright (C) 2016 Free Software Foundation, Inc.
  4. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  5. This is free software: you are free to change and redistribute it.
  6. There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
  7. and "show warranty" for details.
  8. This GDB was configured as "x86_64-linux-gnu".
  9. Type "show configuration" for configuration details.
  10. For bug reporting instructions, please see:
  11. <http://www.gnu.org/software/gdb/bugs/>.
  12. Find the GDB manual and other documentation resources online at:
  13. <http://www.gnu.org/software/gdb/documentation/>.
  14. For help, type "help".
  15. Type "apropos word" to search for commands related to "word"...
  16. Reading symbols from ./mupen64plus-debug...done.
  17. (gdb) run --gfx '/home/x/.build/Emu/Mupen64Plus/mupen64plus-video-GLideN64.so' '/home/x/.build/Emu/Mupen64Plus/m64p_test_rom.v64'
  18. Starting program: /home/x/.build/Emu/Mupen64Plus/mupen64plus-debug --gfx '/home/x/.build/Emu/Mupen64Plus/mupen64plus-video-GLideN64.so' '/home/x/.build/Emu/Mupen64Plus/m64p_test_rom.v64'
  19. [Thread debugging using libthread_db enabled]
  20. Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  21.  __  __                         __   _  _   ____  _            
  22. |  \/  |_   _ _ __   ___ _ __  / /_ | || | |  _ \| |_   _ ___
  23. | |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __|  
  24. | |  | | |_| | |_) |  __/ | | | (_) |__   _|  __/| | |_| \__ \  
  25. |_|  |_|\__,_| .__/ \___|_| |_|\___/   |_| |_|   |_|\__,_|___/  
  26.              |_|         https://mupen64plus.org/              
  27. Mupen64Plus Console User-Interface Version 2.5.9
  28.  
  29. UI-Console: attached to core library 'Mupen64Plus Core' version 2.5.9
  30. UI-Console:             Includes support for Dynamic Recompiler.
  31. Core: Using full mem base
  32. [New Thread 0x7fffc846b700 (LWP 4734)]
  33. Core: Goodname: Mupen64Plus Demo by Marshallh (GPL)
  34. Core: Name: Mupen64Plus        
  35. Core: MD5: DBF04773EC2B8ADF8A94DB7E3E461138
  36. Core: CRC: DDBA4DE5 B107004A
  37. Core: Imagetype: .v64 (byteswapped)
  38. Core: Rom size: 1048576 bytes (or 1 Mb or 8 Megabits)
  39. Core: Version: 1444
  40. Core: Manufacturer: 0
  41. Core: Country: Demo
  42. UI-Console Status: Cheat codes disabled.
  43. UI-Console: using Video plugin: 'GLideN64' v2.0.0
  44. UI-Console: using Audio plugin: 'Mupen64Plus SDL Audio Plugin' v2.5.9
  45. UI-Console: using Input plugin: 'Mupen64Plus SDL Input Plugin' v2.5.9
  46. UI-Console: using RSP plugin: 'Hacktarux/Azimer High-Level Emulation RSP Plugin' v2.5.9
  47. Core: input plugin did not specify a render callback; there will be no on screen display by the input plugin.
  48. Input: 1 SDL joysticks were found.
  49. Input: N64 Controller #1: Using manual config for SDL joystick 0
  50. Input: 1 controller(s) found, 1 plugged in and usable in the emulator
  51. Input Warning: Couldn't open rumble support for joystick #1
  52. Input Warning: Couldn't open rumble support for joystick #2
  53. Input Warning: Couldn't open rumble support for joystick #3
  54. Input Warning: Couldn't open rumble support for joystick #4
  55. Input: Mupen64Plus SDL Input Plugin version 2.5.9 initialized.
  56. RSP: RSP Fallback disabled !
  57. Core: Using video capture backend: dummy
  58. Core: Game controller 0 (Standard controller) has a Memory pak plugged in
  59. Core: Game controller 1 (Standard controller) has nothing plugged in
  60. Core: Game controller 2 (Standard controller) has nothing plugged in
  61. Core: Game controller 3 (Standard controller) has nothing plugged in
  62. Core: Using CIC type X102
  63. (II) Setting video mode 320x240...
  64. Core: Setting video mode: 320x240
  65.  
  66. Thread 1 "mupen64plus-deb" received signal SIGSEGV, Segmentation fault.
  67. 0x0000000000000000 in ?? ()
  68. (gdb) bt
  69. #0  0x0000000000000000 in ?? ()
  70. #1  0x00007fffc73f3c8c in opengl::GlGetStringiCommand::commandToExecute (this=0xa3ed90)
  71.     at /home/x/.build/Source/Mupen64plus/GlideN64/GLideN64/src/Graphics/OpenGLContext/ThreadedOpenGl/opengl_WrappedFunctions.h:3690
  72. #2  0x00007fffc73d6913 in opengl::OpenGlCommand::performCommandSingleThreaded (this=0xa3ed90)
  73.     at /home/x/.build/Source/Mupen64plus/GlideN64/GLideN64/src/Graphics/OpenGLContext/ThreadedOpenGl/opengl_Command.cpp:13
  74. #3  0x00007fffc73d962a in opengl::FunctionWrapper::executePriorityCommand (_command=std::shared_ptr (count 2, weak 0) 0xa3ed90)
  75.     at /home/x/.build/Source/Mupen64plus/GlideN64/GLideN64/src/Graphics/OpenGLContext/ThreadedOpenGl/opengl_Wrapper.cpp:36
  76. #4  0x00007fffc73de5ee in opengl::FunctionWrapper::wrGetStringi (name=7939, index=0)
  77.     at /home/x/.build/Source/Mupen64plus/GlideN64/GLideN64/src/Graphics/OpenGLContext/ThreadedOpenGl/opengl_Wrapper.cpp:1039
  78. #5  0x00007fffc7473bda in opengl::Utils::isExtensionSupported (_glinfo=..., extension=0x7fffc7573b80 "GL_ARB_shader_image_load_store")
  79.     at /home/x/.build/Source/Mupen64plus/GlideN64/GLideN64/src/Graphics/OpenGLContext/opengl_Utils.cpp:16
  80. #6  0x00007fffc7446d30 in opengl::GLInfo::init (this=0xa3e900)
  81.     at /home/x/.build/Source/Mupen64plus/GlideN64/GLideN64/src/Graphics/OpenGLContext/opengl_GLInfo.cpp:60
  82. #7  0x00007fffc744114e in opengl::ContextImpl::init (this=0xa3e880)
  83.     at /home/x/.build/Source/Mupen64plus/GlideN64/GLideN64/src/Graphics/OpenGLContext/opengl_ContextImpl.cpp:39
  84. #8  0x00007fffc73d3b1e in graphics::Context::init (this=0x7fffc7c5e620 <gfxContext>)
  85.     at /home/x/.build/Source/Mupen64plus/GlideN64/GLideN64/src/Graphics/Context.cpp:29
  86. #9  0x00007fffc7384066 in DisplayWindow::start (this=0x7fffc7c60b20 <DisplayWindow::get()::video>)
  87.     at /home/x/.build/Source/Mupen64plus/GlideN64/GLideN64/src/DisplayWindow.cpp:17
  88. #10 0x00007fffc73d363a in PluginAPI::RomOpen (this=0x7fffc7c5e610 <PluginAPI::get()::api>)
  89.     at /home/x/.build/Source/Mupen64plus/GlideN64/GLideN64/src/common/CommonAPIImpl_common.cpp:210
  90. #11 0x00007fffc74ba6f6 in RomOpen () at /home/x/.build/Source/Mupen64plus/GlideN64/GLideN64/src/MupenPlusPluginAPI.cpp:15
  91. #12 0x00007fffec506845 in ?? () from /home/x/.build/Emu/Mupen64Plus/lib/libmupen64plus.so.2
  92. #13 0x00007fffec4d989b in CoreDoCommand () from /home/x/.build/Emu/Mupen64Plus/lib/libmupen64plus.so.2
  93. #14 0x0000000000403afb in main (argc=<optimized out>, argv=<optimized out>) at ../../src/main.c:1115
  94. (gdb) thread apply all bt full
  95.  
  96. Thread 2 (Thread 0x7fffc846b700 (LWP 4734)):
  97. #0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  98. No locals.
  99. #1  0x00007ffff73a2d2e in ?? () from /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0
  100. No symbol table info available.
  101. #2  0x00007fffec4faa67 in ?? () from /home/x/.build/Emu/Mupen64Plus/lib/libmupen64plus.so.2
  102. No symbol table info available.
  103. #3  0x00007ffff73540fc in ?? () from /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0
  104. No symbol table info available.
  105. #4  0x00007ffff73a2409 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0
  106. No symbol table info available.
  107. #5  0x00007ffff7bc16ba in start_thread (arg=0x7fffc846b700) at pthread_create.c:333
  108.         __res = <optimized out>
  109.         pd = 0x7fffc846b700
  110.         now = <optimized out>
  111.         unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736553465600, -4721450194487602191, 0, 140737488345631, 140736553466304, 0,
  112.                 4721349785198400497, 4721432019477992433}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {
  113.               prev = 0x0, cleanup = 0x0, canceltype = 0}}}
  114.         not_first_call = <optimized out>
  115.         pagesize_m1 = <optimized out>
  116.         sp = <optimized out>
  117.         freesize = <optimized out>
  118.         __PRETTY_FUNCTION__ = "start_thread"
  119. #6  0x00007ffff78f741d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
  120. ---Type <return> to continue, or q <return> to quit---
  121. No locals.
  122.  
  123. Thread 1 (Thread 0x7ffff7f3d880 (LWP 4730)):
  124. #0  0x0000000000000000 in ?? ()
  125. No symbol table info available.
  126. #1  0x00007fffc73f3c8c in opengl::GlGetStringiCommand::commandToExecute (this=0xa3ed90)
  127.     at /home/x/.build/Source/Mupen64plus/GlideN64/GLideN64/src/Graphics/OpenGLContext/ThreadedOpenGl/opengl_WrappedFunctions.h:3690
  128. No locals.
  129. #2  0x00007fffc73d6913 in opengl::OpenGlCommand::performCommandSingleThreaded (this=0xa3ed90)
  130.     at /home/x/.build/Source/Mupen64plus/GlideN64/GLideN64/src/Graphics/OpenGLContext/ThreadedOpenGl/opengl_Command.cpp:13
  131. No locals.
  132. #3  0x00007fffc73d962a in opengl::FunctionWrapper::executePriorityCommand (_command=std::shared_ptr (count 2, weak 0) 0xa3ed90)
  133.     at /home/x/.build/Source/Mupen64plus/GlideN64/GLideN64/src/Graphics/OpenGLContext/ThreadedOpenGl/opengl_Wrapper.cpp:36
  134. No locals.
  135. #4  0x00007fffc73de5ee in opengl::FunctionWrapper::wrGetStringi (name=7939, index=0)
  136.     at /home/x/.build/Source/Mupen64plus/GlideN64/GLideN64/src/Graphics/OpenGLContext/ThreadedOpenGl/opengl_Wrapper.cpp:1039
  137.         returnValue = 0x821d00000000 <error: Cannot access memory at address 0x821d00000000>
  138. #5  0x00007fffc7473bda in opengl::Utils::isExtensionSupported (_glinfo=..., extension=0x7fffc7573b80 "GL_ARB_shader_image_load_store")
  139.     at /home/x/.build/Source/Mupen64plus/GlideN64/GLideN64/src/Graphics/OpenGLContext/opengl_Utils.cpp:16
  140.         name = 0x1 <error: Cannot access memory at address 0x1>
  141.         i = 0
  142.         count = 237
  143.         __PRETTY_FUNCTION__ = "static bool opengl::Utils::isExtensionSupported(const opengl::GLInfo&, const char*)"
  144.         where = 0x7fffffffd420 "\200\324\377\377\377\177"
  145.         extensions = 0x1 <error: Cannot access memory at address 0x1>
  146. ---Type <return> to continue, or q <return> to quit---
  147.         start = 0x1 <error: Cannot access memory at address 0x1>
  148. #6  0x00007fffc7446d30 in opengl::GLInfo::init (this=0xa3e900)
  149.     at /home/x/.build/Source/Mupen64plus/GlideN64/GLideN64/src/Graphics/OpenGLContext/opengl_GLInfo.cpp:60
  150.         strVersion = 0x40000088 "3.3.0 NVIDIA 340.107"
  151.         strRenderer = 0x4004b0e4 "GeForce 9500 GT/PCIe/SSE2"
  152.         strDriverVersion = 0x40000088 "3.3.0 NVIDIA 340.107"
  153.         numericVersion = 33
  154.         hasBuggyFragmentShaderInterlock = 25
  155.         ext_draw_buffers_indexed = 244
  156. #7  0x00007fffc744114e in opengl::ContextImpl::init (this=0xa3e880)
  157.     at /home/x/.build/Source/Mupen64plus/GlideN64/GLideN64/src/Graphics/OpenGLContext/opengl_ContextImpl.cpp:39
  158. No locals.
  159. #8  0x00007fffc73d3b1e in graphics::Context::init (this=0x7fffc7c5e620 <gfxContext>)
  160.     at /home/x/.build/Source/Mupen64plus/GlideN64/GLideN64/src/Graphics/Context.cpp:29
  161. No locals.
  162. #9  0x00007fffc7384066 in DisplayWindow::start (this=0x7fffc7c60b20 <DisplayWindow::get()::video>)
  163.     at /home/x/.build/Source/Mupen64plus/GlideN64/GLideN64/src/DisplayWindow.cpp:17
  164. No locals.
  165. #10 0x00007fffc73d363a in PluginAPI::RomOpen (this=0x7fffc7c5e610 <PluginAPI::get()::api>)
  166.     at /home/x/.build/Source/Mupen64plus/GlideN64/GLideN64/src/common/CommonAPIImpl_common.cpp:210
  167. No locals.
  168. #11 0x00007fffc74ba6f6 in RomOpen () at /home/x/.build/Source/Mupen64plus/GlideN64/GLideN64/src/MupenPlusPluginAPI.cpp:15
  169. No locals.
  170. #12 0x00007fffec506845 in ?? () from /home/x/.build/Emu/Mupen64Plus/lib/libmupen64plus.so.2
  171. No symbol table info available.
  172. ---Type <return> to continue, or q <return> to quit---
  173. #13 0x00007fffec4d989b in CoreDoCommand () from /home/x/.build/Emu/Mupen64Plus/lib/libmupen64plus.so.2
  174. No symbol table info available.
  175. #14 0x0000000000403afb in main (argc=<optimized out>, argv=<optimized out>) at ../../src/main.c:1115
  176.         i = 4
  177.         rval = <optimized out>
  178.         fPtr = <optimized out>
  179.         romlength = <optimized out>
  180.         ROM_buffer = <optimized out>
  181. (gdb) quit
  182. A debugging session is active.
  183.  
  184.     Inferior 1 [process 4730] will be killed.
  185.  
  186. Quit anyway? (y or n) y
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement