Current directory is /usr/home/jes/gnubg/ GNU gdb 6.6 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1". +++++++++++++++++++++++++++++ start gnubg with a valid sgf file to load +++++++++++++++++++++++++++++ (gdb) r /tmp/benham.sgf Starting program: /usr/home/jes/gnubg/gnubg /tmp/benham.sgf [Thread debugging using libthread_db enabled] [New Thread 47462576884560 (LWP 25495)] /usr/local/share/gnubg/gnubg.gtkrc:48: error: invalid identifier `font_size', expected valid identifier GNU Backgammon 0.16-develCopyright 1999, 2000, 2001, 2002, 2003, 2004 by Gary Wong. GNU Backgammon is free software, covered by the GNU General Public License version 2, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GNU Backgammon. Type "show warranty" for details. [New Thread 1082460496 (LWP 25498)] [Thread 1082460496 (LWP 25498) exited] [New Thread 1091180880 (LWP 25499)] [New Thread 1082460496 (LWP 25500)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 47462576884560 (LWP 25495)] 0x00000000004a68c5 in RenderBoard (prd=0x45c98c0, puch=0x54667b0 "ðÂù\217½*+", nStride=-324) at render.c:1621 (gdb) bt #0 0x00000000004a68c5 in RenderBoard (prd=0x45c98c0, puch=0x54667b0 "ðÂù\217½*+", nStride=-324) at render.c:1621 #1 0x00000000004a7070 in RenderImages (prd=0x45c98c0, pri=0x46b1658) at render.c:2801 #2 0x00000000004bab7f in board_create_pixmaps (board=, bd=0x46b1380) at gtkboard.c:3258 #3 0x00000000004bedb1 in board_set (board=, board_text=0x7ffff00e55a6 "", resigned=, cube_use=1) at gtkboard.c:2861 #4 0x00000000004bf3ff in game_set (board=0x46a9330, points=0x762b20, roll=1, name=0x764a88 "benham", opp_name=0x764260 "jim_segrave", match=21, score=15, opp_score=7, die0=0, die1=0, computer_turn=1, nchequers=15) at gtkboard.c:3186 #5 0x000000000043d7e3 in ShowBoard () at gnubg.c:3241 #6 0x000000000043e514 in UpdateSettings () at gnubg.c:2573 #7 0x000000000047dbef in CommandLoadMatch ( sz=0x7ffff00e6780 "/tmp/benham.sgf") at sgf.c:1633 #8 0x00000000004437e0 in main (argc=2, argv=0x7ffff00e93e8) at gnubg.c:7453 (gdb) p *prd $1 = {wt = WOOD_REDWOOD, aarColour = {{0.25882354378700256, 0.25882354378700256, 0.84705883264541626, 1}, {0.86274510622024536, 0.87843137979507446, 0.30588236451148987, 1}}, aarDiceColour = {{ 0.015686275437474251, 0.015686275437474251, 0.89803922176361084, 0.90000000000000002}, {0.96470588445663452, 0.99215686321258545, 0.26274511218070984, 0.5}}, afDieColour = {0, 0}, aarDiceDotColour = {{ 0.99215686321258545, 0.99215686321258545, 0.99215686321258545, 1}, {0, 0, 0, 1}}, arCubeColour = {0.88235294818878174, 0.88235294818878174, 0.88235294818878174, 1}, aanBoardColour = {"\000{\000ÿ", "\000?\000ÿ", "\n\003\003ÿ", "ÿÿÿÿ"}, aSpeckle = {0, 25, 0, 0}, arRefraction = { 1.70000005, 1.5}, arCoefficient = {1, 0.200000003}, arExponent = { 73.1999969, 86.5999985}, arDiceCoefficient = {1, 0.300000012}, arDiceExponent = {100, 1}, arLight = {-0.556669295, 0.321393371, 0.766045451}, rRound = 0.600000024, nSize = 4294967295, fHinges = 1, fLabels = 0, fClockwise = 1, fShowIDs = 1, fDiceArea = 0, fShowGameInfo = 1, fDynamicLabels = 1, showMoveIndicator = 1} (gdb) print /x prd->nSize $2 = 0xffffffff (gdb) ++++++++++++++++++++++++++++ nSize is (unsigned int) -1. it appears to be declared as unsigned in render.h, but treated as int in other places ++++++++++++++++++++++++++++