Skip to content

Instantly share code, notes, and snippets.

@rubenwardy
Created February 17, 2017 18:04
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 rubenwardy/5ebfc6e6a15976118d487a1a51f9601e to your computer and use it in GitHub Desktop.
Save rubenwardy/5ebfc6e6a15976118d487a1a51f9601e to your computer and use it in GitHub Desktop.
ruben@rubenPC:~/dev/minetest/minetest$ gdb bin/minetest
GNU gdb (Ubuntu 7.11.90.20161005-0ubuntu1) 7.11.90.20161005-git
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 bin/minetest...done.
(gdb) run
Starting program: /home/ruben/dev/minetest/minetest/bin/minetest
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
2017-02-17 18:03:28: WARNING[Main]: Couldn't find a locale directory!
2017-02-17 18:03:28: ERROR[Main]: FontEngine: failed to load freetype font: fonts/liberationsans.ttf
2017-02-17 18:03:28: ERROR[Main]: FontEngine: Default font file:
2017-02-17 18:03:28: ERROR[Main]: "fonts/liberationsans.ttf"
2017-02-17 18:03:28: ERROR[Main]: required for current screen configuration was not found or was invalid file format.
2017-02-17 18:03:28: ERROR[Main]: Using irrlicht default font.
[New Thread 0x7ffff7f59700 (LWP 4990)]
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
AL lib: (WW) ALCjackBackendFactory_init: jack_client_open() failed, 0x11
AL lib: (WW) alc_initconfig: Failed to initialize backend "jack"
[Thread 0x7ffff7f59700 (LWP 4990) exited]
[New Thread 0x7fffe3fff700 (LWP 4991)]
[Thread 0x7fffe3fff700 (LWP 4991) exited]
[New Thread 0x7fffe3fff700 (LWP 4992)]
[New Thread 0x7fffe8265700 (LWP 4993)]
2017-02-17 18:03:28: ERROR[Main]: FontEngine: failed to load freetype font: fonts/liberationsans.ttf
2017-02-17 18:03:28: ERROR[Main]: FontEngine: failed to load freetype font: fonts/liberationsans.ttf
[New Thread 0x7fffdafe5700 (LWP 4994)]
[New Thread 0x7fffda7e4700 (LWP 4995)]
[New Thread 0x7fffd9fe3700 (LWP 4996)]
[New Thread 0x7fffd97e2700 (LWP 4997)]
2017-02-17 18:03:28: ERROR[Main]: FontEngine: failed to load freetype font: fonts/liberationsans.ttf
2017-02-17 18:03:28: ERROR[Main]: FontEngine: failed to load freetype font: fonts/liberationsans.ttf
2017-02-17 18:03:28: ERROR[Main]: FontEngine: failed to load freetype font: fonts/liberationsans.ttf
2017-02-17 18:03:28: ERROR[Main]: FontEngine: failed to load freetype font: fonts/liberationsans.ttf
Loaded texture: /home/ruben/dev/minetest/minetest/games/minetest_game/menu/header.png
2017-02-17 18:03:28: ERROR[Main]: FontEngine: failed to load freetype font: fonts/liberationsans.ttf
2017-02-17 18:03:28: ERROR[Main]: FontEngine: failed to load freetype font: fonts/liberationsans.ttf
2017-02-17 18:03:28: ERROR[Main]: FontEngine: failed to load freetype font: fonts/liberationsans.ttf
2017-02-17 18:03:28: ERROR[Main]: FontEngine: failed to load freetype font: fonts/liberationsans.ttf
2017-02-17 18:03:28: ERROR[Main]: FontEngine: failed to load freetype font: fonts/liberationsans.ttf
Thread 1 "minetest" received signal SIGSEGV, Segmentation fault.
0x0000555555d7bf35 in font_line_height (font=0x0) at /home/ruben/dev/minetest/minetest/src/guiFormSpecMenu.cpp:78
78 return font->getDimension(L"Ay").Height + font->getKerningHeight();
(gdb) bt full
#0 0x0000555555d7bf35 in font_line_height (font=0x0) at /home/ruben/dev/minetest/minetest/src/guiFormSpecMenu.cpp:78
No locals.
#1 0x0000555555d8dc5b in GUIFormSpecMenu::regenerateGui (this=0x555556ab58f0, screensize=...) at /home/ruben/dev/minetest/minetest/src/guiFormSpecMenu.cpp:2079
mydata = {explicit_size = false, invsize = {X = 0, Y = 0}, size = {X = 100, Y = 100}, rect = {UpperLeftCorner = {X = 0, Y = 0}, LowerRightCorner = {X = 0, Y = 0}}, basepos = {X = 0, Y = 0}, screensize = {X = 800, Y = 600}, focused_fieldname = "",
table_options = std::vector of length 0, capacity 0, table_columns = std::vector of length 0, capacity 0, table_dyndata = std::unordered_map with 0 elements}
focused_element = 0x555556ab58f0
__PRETTY_FUNCTION__ = "virtual void GUIFormSpecMenu::regenerateGui(v2u32)"
elements = std::vector of length 1, capacity 1 = {""}
i = 0
skin = 0x0
old_font = 0x0
#2 0x0000555555d7bded in GUIModalMenu::draw (this=0x555556ab58f0) at /home/ruben/dev/minetest/minetest/src/modalMenu.h:87
driver = 0x555556812610
screensize = {X = 800, Y = 600}
#3 0x00007ffff78b5ce2 in irr::gui::CGUIStaticText::draw() () from /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8
No symbol table info available.
#4 0x00007ffff786a72a in irr::gui::CGUIEnvironment::drawAll() () from /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8
No symbol table info available.
#5 0x0000555555d786e7 in GUIEngine::run (this=0x7fffffffce00) at /home/ruben/dev/minetest/minetest/src/guiEngine.cpp:286
driver = 0x555556812610
text_height = 10
#6 0x0000555555d77f63 in GUIEngine::GUIEngine (this=0x7fffffffce00, dev=0x55555651ce30, joystick=0x555556a6c148, parent=0x555556a64dd0, menumgr=0x555556475ae0 <g_menumgr>, smgr=0x555556a6a8a0, data=0x7fffffffd2f0, kill=@0x5555564a3c00: false)
at /home/ruben/dev/minetest/minetest/src/guiEngine.cpp:220
soundfetcher = {<OnDemandSoundFetcher> = {_vptr.OnDemandSoundFetcher = 0x5555564440e8 <vtable for MenuMusicFetcher+16>}, m_fetched = std::set with 1 elements = {[0] = "main_menu"}}
rect = {UpperLeftCorner = {X = 4, Y = 0}, LowerRightCorner = {X = 4, Y = 10}}
#7 0x0000555555adfa59 in ClientLauncher::main_menu (this=0x7fffffffdb90, menudata=0x7fffffffd2f0) at /home/ruben/dev/minetest/minetest/src/client/clientlauncher.cpp:511
kill = 0x5555564a3c00 <porting::g_killed>
driver = 0x555556812610
mymenu = {_vptr.GUIEngine = 0x5555564440c8 <vtable for GUIEngine+16>, m_device = 0x55555651ce30, m_parent = 0x555556a64dd0, m_menumanager = 0x555556475ae0 <g_menumgr>, m_smgr = 0x555556a6a8a0, m_data = 0x7fffffffd2f0, m_texture_source = 0x555556a64a00,
m_sound_manager = 0x555556a64770, m_formspecgui = 0x555556a19d10, m_buttonhandler = 0x555556a653b0, m_menu = 0x555556ab58f0, m_kill = @0x5555564a3c00, m_startgame = false, m_script = 0x555556ab6080,
m_scriptdir = "/home/ruben/dev/minetest/minetest/bin/../builtin/mainmenu", m_textures = {{texture = 0x0, tile = 15, minsize = 32767}, {texture = 0x0, tile = false, minsize = 32767}, {texture = 0x555556bbd400, tile = false, minsize = 16}, {texture = 0x0,
tile = 8, minsize = 32767}}, m_irr_toplefttext = 0x555556ab5720, m_toplefttext = {m_string = L"Minetest Game", m_colors = std::vector of length 13, capacity 16 = {{color = 4294967295}, {color = 4294967295}, {color = 4294967295}, {
color = 4294967295}, {color = 4294967295}, {color = 4294967295}, {color = 4294967295}, {color = 4294967295}, {color = 4294967295}, {color = 4294967295}, {color = 4294967295}, {color = 4294967295}, {color = 4294967295}}, m_has_background = false,
m_background = {color = 0}}, m_clouds_enabled = true, m_cloud = {dtime = 0.136999995, lasttime = 223, clouds = 0x555556fdd9f0, camera = 0x555556fddc00}}
#8 0x0000555555adeb58 in ClientLauncher::launch_game (this=0x7fffffffdb90, error_message="", reconnect_requested=false, game_params=..., cmd_args=...) at /home/ruben/dev/minetest/minetest/src/client/clientlauncher.cpp:375
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment