mskala@opal:~/xcmap$ gdb /usr/local/src/xconq-latest/xconq/sdl/xconq GNU gdb 5.3 Copyright 2002 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 "i386-slackware-linux"... (gdb) run -g maptest.g Starting program: /usr/local/src/xconq-latest/xconq/sdl/xconq -g maptest.g [New Thread 16384 (LWP 28017)] Welcome to X11 Xconq version 7.5pre (November 2004) Xconq is free software and you are welcome to distribute copies of it under certain conditions; type "o copying" to see the conditions. There is absolutely no warranty for Xconq; type "o warranty" for details. Warning: maptest.g:230: Can't set unknown global named `bigicons'. Making countries; done. Growing countries; done. Assigning players to sides; done. Setting up AIs; done. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 28017)] 0x0815771f in blacken_masked_area(a_image_family*, a_image*, int, int, int) ( imf=0x825a9f0, img=0x846fb50, rd=65535, g=0, b=65535) at imf.c:1233 1233 img->rawpalette[4 * black + 0] = black; (gdb) bt #0 0x0815771f in blacken_masked_area(a_image_family*, a_image*, int, int, int) (imf=0x825a9f0, img=0x846fb50, rd=65535, g=0, b=65535) at imf.c:1233 #1 0x0805e3be in sdl_copy_color_image (imf=0x0, img=0x846fb50, surface=0x8473248) at sdlimf.cc:125 #2 0x0805e133 in sdl_interp_image_1 (imf=0x825a9f0, img=0x846fb50, subimg=0x846fb50, subi=0, force=0) at sdlimf.cc:107 #3 0x0805df77 in sdl_interp_image (imf=0x825a9f0, img=0x846fb50, force=0) at sdlimf.cc:58 #4 0x0805deac in sdl_interp_imf(a_image_family*, a_image*, int) ( imf=0x825a9f0, img=0x846fb50, force=0) at sdlimf.cc:40 #5 0x08156821 in add_shrunken_image (imf=0x825a9f0) at imf.c:863 #6 0x08157176 in best_image(a_image_family*, int, int) (imf=0x825a9f0, w=0, h=1) at imf.c:1037 #7 0x0804f616 in init_terrain_images () at sdlinit.cc:179 #8 0x0804f32d in init_display() () at sdlinit.cc:77 #9 0x0804e0c5 in init_all_displays () at sdlmain.cc:2296 #10 0x0804ef8c in launch_game() () at sdlmain.cc:2854 #11 0x08049fd7 in main (argc=136732824, argv=0x1) at sdlunix.cc:115 #12 0x40414bb4 in __libc_start_main () from /lib/libc.so.6 (gdb) list 115 launch_game(); 116 } 117 if (!option_popup_new_game_dialog) 118 print_instructions(); 119 /* At this point we know we can use popups instead of stdio for 120 warnings and messages and such. */ 121 use_stdio = FALSE; 122 /* Go into the main play loop. */ 123 ui_mainloop(); 124 (gdb) quit