It builds now but it crashes just after showing "starting up".
./dfhack -g
GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
Copyright (C) 2011 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 "i686-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /home/arclance/0_Build/dfhack/angavrilov/dfhack_2012-12-26/build/0_Output/df_linux/libs/Dwarf_Fortress...(no debugging symbols found)...done.
(gdb) run
Starting program: /home/arclance/0_Build/dfhack/angavrilov/dfhack_2012-12-26/build/0_Output/df_linux/libs/Dwarf_Fortress
[Thread debugging using libthread_db enabled]
[New Thread 0xb5e2cb70 (LWP 1938)]
[New Thread 0xb562bb70 (LWP 1939)]
Loading bindings from data/init/interface.txt
New window size: 640x300
Font size: 8x12
Resizing grid to 80x25
Resizing font to 8x12
Resetting textures
[New Thread 0xb4937b70 (LWP 1940)]
[New Thread 0xb2ccab70 (LWP 1941)]
[New Thread 0xb24c9b70 (LWP 1942)]
[New Thread 0xb1cc8b70 (LWP 1943)]
DFHack is ready. Have a nice day!
Type in '?' or 'help' for general help, 'ls' to see all commands.
[DFHack]# stonesense
[New Thread 0x95affb70 (LWP 1948)]
[New Thread 0x952feb70 (LWP 1949)]
Stonesense launched
Using allegro version 5.0.8 r1
[DFHack]# [New Thread 0xb1470b70 (LWP 1951)]
[Thread 0xb1470b70 (LWP 1951) exited]
[New Thread 0x9427db70 (LWP 1952)]
New image: stonesense/objects.png
New image: stonesense/creatures.png
New image: stonesense/ramps.png
New image: stonesense/SSStatusIcons.png
New image: stonesense/SSProfIcons.png
New image: stonesense/gibs.png
New image: stonesense/engravings_floor.png
New image: stonesense/engravings_left.png
New image: stonesense/engravings_right.png
New image: stonesense/Sir_Henry's_32x32.png
[DFHack]# [New Thread 0x8d15fb70 (LWP 1953)]
flushing images...
New image: stonesense/objects.png
New image: stonesense/creatures.png
New image: stonesense/ramps.png
New image: stonesense/SSStatusIcons.png
New image: stonesense/SSProfIcons.png
New image: stonesense/gibs.png
New image: stonesense/engravings_floor.png
New image: stonesense/engravings_left.png
New image: stonesense/engravings_right.png
New image: stonesense/Sir_Henry's_32x32.png
Reading index at stonesense/index.txt...
Reading index stonesense/grasses/index.txt...
Reading index at stonesense/grasses/index.txt...
Reading xml stonesense/grasses/grasses.xml...
New image: stonesense/grasses/grasses.png
New image: stonesense/grasses/grasses_gray.png
Reading index stonesense/terrain/index.txt...
Reading index at stonesense/terrain/index.txt...
Reading xml stonesense/terrain/NuGlass.xml...
New image: stonesense/terrain/Nuglass.png
Reading xml stonesense/terrain/NuGlass_Walls.xml...
New image: stonesense/terrain/Nuglass_walls.png
Reading xml stonesense/terrain/block_walls.xml...
New image: stonesense/terrain/block_walls.png
New image: stonesense/terrain/block_floors.png
Reading xml stonesense/terrain/grass.xml...
New image: stonesense/terrain/grass.png
Reading xml stonesense/terrain/MaterialFloors.xml...
New image: stonesense/terrain/floors.png
Reading xml stonesense/terrain/MaterialWalls.xml...
New image: stonesense/terrain/blocks.png
New image: stonesense/terrain/ramps.png
Reading xml stonesense/terrain/Walls.xml...
Reading xml stonesense/terrain/Floors.xml...
Reading xml stonesense/terrain/DefaultWalls.xml...
Reading xml stonesense/terrain/DefaultFloors.xml...
Reading index stonesense/creatures/index.txt...
Reading index at stonesense/creatures/index.txt...
Reading index stonesense/creatures/large_128/index.txt...
Reading index at stonesense/creatures/large_128/index.txt...
Reading xml stonesense/creatures/large_128/jabber.xml...
New image: stonesense/creatures/large_128/jabber.png
Reading xml stonesense/creatures/large_128/crundle.xml...
New image: stonesense/creatures/large_128/crundle.png
Reading xml stonesense/creatures/large_128/wild.xml...
New image: stonesense/creatures/large_128/wild.png
Reading xml stonesense/creatures/large_128/domestic.xml...
New image: stonesense/creatures/large_128/domestic.png
Reading xml stonesense/creatures/large_128/dwarf.xml...
New image: stonesense/creatures/large_128/dwarfm.png
New image: stonesense/creatures/large_128/dwarff.png
Reading xml stonesense/creatures/caravan_animals.xml...
New image: stonesense/creatures/caravan_animals.png
Reading xml stonesense/creatures/beefmo_large_ocean.xml...
New image: stonesense/creatures/beefmo_large_ocean.png
Reading xml stonesense/creatures/beefmo_subterranean.xml...
New image: stonesense/creatures/beefmo_subterranean.png
Reading xml stonesense/creatures/humans.xml...
New image: stonesense/creatures/humans.png
Reading xml stonesense/creatures/elfs.xml...
New image: stonesense/creatures/elfs.png
New image: stonesense/creatures/elves.png
New image: stonesense/creatures/elves_hair.png
New image: stonesense/creatures/elves_skin.png
Reading xml stonesense/creatures/wild_animals.xml...
New image: stonesense/creatures/wild_animals.png
Reading xml stonesense/creatures/gobbos.xml...
New image: stonesense/creatures/gobbos.png
Reading xml stonesense/creatures/beefmo_domestics.xml...
New image: stonesense/creatures/beefmo_dog.png
New image: stonesense/creatures/beefmo_cat.png
New image: stonesense/creatures/beefmo_domestics.png
Reading xml stonesense/creatures/Wildlife.xml...
Reading xml stonesense/creatures/color_Dwarves.xml...
New image: stonesense/creatures/color_dwarves.png
Reading index stonesense/buildings/index.txt...
Reading index at stonesense/buildings/index.txt...
Reading xml stonesense/buildings/Press.xml...
New image: stonesense/buildings/workshop.png
Reading xml stonesense/buildings/caravan_1.xml...
New image: stonesense/buildings/caravan_1.png
Reading xml stonesense/buildings/Soapmakers.xml...
New image: stonesense/buildings/include/../workshop.png
Reading xml stonesense/buildings/Road.xml...
New image: stonesense/buildings/bgibs.png
Reading xml stonesense/buildings/Restraint.xml...
Reading xml stonesense/buildings/Statue.xml...
Reading xml stonesense/buildings/Table.xml...
Reading xml stonesense/buildings/Cabinet.xml...
Reading xml stonesense/buildings/Chair.xml...
Reading xml stonesense/buildings/Chest.xml...
Reading xml stonesense/buildings/Bed.xml...
Reading xml stonesense/buildings/WeaponRack.xml...
Reading xml stonesense/buildings/ArmorStand.xml...
Reading xml stonesense/buildings/Quern.xml...
Reading xml stonesense/buildings/Millstone.xml...
Reading xml stonesense/buildings/Cage.xml...
Reading xml stonesense/buildings/Coffin.xml...
Reading xml stonesense/buildings/Hatch.xml...
New image: stonesense/buildings/DoorsAndFloodgates.png
Reading xml stonesense/buildings/Target.xml...
Reading xml stonesense/buildings/Wagon.xml...
Reading xml stonesense/buildings/FloorGrate.xml...
Reading xml stonesense/buildings/FloorBars.xml...
Reading xml stonesense/buildings/Well.xml...
Reading xml stonesense/buildings/Stockpile.xml...
Reading xml stonesense/buildings/Zone.xml...
Reading xml stonesense/buildings/AnimalTrap.xml...
Reading xml stonesense/buildings/WeaponTrap.xml...
Reading xml stonesense/buildings/StonefallTrap.xml...
Reading xml stonesense/buildings/CageTrap.xml...
Reading xml stonesense/buildings/PressurePlate.xml...
Reading xml stonesense/buildings/Spikes.xml...
Reading xml stonesense/buildings/Door.xml...
Reading xml stonesense/buildings/VerticalBars.xml...
New image: stonesense/buildings/VerticalBars.png
Reading xml stonesense/buildings/WallGrate.xml...
Reading xml stonesense/buildings/Floodgate.xml...
Reading xml stonesense/buildings/WindowGlass.xml...
New image: stonesense/buildings/Windows.png
Reading xml stonesense/buildings/WindowGem.xml...
Reading xml stonesense/buildings/Kitchen.xml...
Reading xml stonesense/buildings/Carpenter.xml...
Reading xml stonesense/buildings/Smelter.xml...
Reading xml stonesense/buildings/MagmaSmelter.xml...
Reading xml stonesense/buildings/WoodFurnace.xml...
Reading xml stonesense/buildings/Forge.xml...
Reading xml stonesense/buildings/MagmaForge.xml...
Reading xml stonesense/buildings/Masons.xml...
Reading xml stonesense/buildings/Craftsdwarfs.xml...
Reading xml stonesense/buildings/Mechanics.xml...
Reading xml stonesense/buildings/Butchers.xml...
Reading xml stonesense/buildings/Loom.xml...
Reading xml stonesense/buildings/Clothiers.xml...
Reading xml stonesense/buildings/Tannery.xml...
Reading xml stonesense/buildings/Still.xml...
Reading xml stonesense/buildings/Leatherworks.xml...
Reading xml stonesense/buildings/MagmaGlassFurnace.xml...
Reading xml stonesense/buildings/GlassFurnace.xml...
Reading xml stonesense/buildings/Kiln.xml...
Reading xml stonesense/buildings/MagmaKiln.xml...
Reading xml stonesense/buildings/Ashery.xml...
Reading xml stonesense/buildings/FarmersWorkshop.xml...
Reading xml stonesense/buildings/Jewelers.xml...
Reading xml stonesense/buildings/Fishery.xml...
Reading xml stonesense/buildings/Bowyers.xml...
Reading xml stonesense/buildings/Dyers.xml...
Reading xml stonesense/buildings/TradeDepot.xml...
Reading xml stonesense/buildings/SiegeWorkshop.xml...
Reading xml stonesense/buildings/Kennels.xml...
Reading xml stonesense/buildings/Shop.xml...
stonesense/buildings/Shop.xml: <building> Is generic - game_subtype missing.: building (Line 5)
Reading xml stonesense/buildings/Pump.xml...
New image: stonesense/buildings/mechanics.png
Reading xml stonesense/buildings/Support.xml...
Reading xml stonesense/buildings/Blueprint.xml...
stonesense/buildings/Blueprint.xml: <building> Is generic - game_subtype missing.: building (Line 5)
Reading xml stonesense/buildings/Lever.xml...
Reading xml stonesense/buildings/Farm.xml...
Reading xml stonesense/buildings/HorizontalAxle.xml...
Reading xml stonesense/buildings/Gear.xml...
Reading xml stonesense/buildings/VerticalAxle.xml...
Reading xml stonesense/buildings/Waterwheel.xml...
Reading xml stonesense/buildings/Windmill.xml...
Reading xml stonesense/buildings/Bridge.xml...
Reading index stonesense/vegetation/index.txt...
Reading index at stonesense/vegetation/index.txt...
Reading xml stonesense/vegetation/DT_trees/dt_trees.xml...
New image: stonesense/vegetation/DT_trees/trees.png
Reading xml stonesense/vegetation/shrubs.xml...
New image: stonesense/vegetation/shrubs.png
Reading index stonesense/colors/index.txt...
Reading index at stonesense/colors/index.txt...
Reading xml stonesense/colors/Colors_Wood.xml...
Reading xml stonesense/colors/Colors_Grass.xml...
Reading xml stonesense/colors/Colors_Stone_Layer.xml...
Reading xml stonesense/colors/Colors_Stone_Mineral.xml...
Reading xml stonesense/colors/Colors_Stone_Gem.xml...
Reading xml stonesense/colors/Colors_Metal.xml...
Reading xml stonesense/colors/Colors_Stone_Soil.xml...
Reading xml stonesense/Colors.xml...
Reading index stonesense/Fluids/index.txt...
Reading index at stonesense/Fluids/index.txt...
Reading xml stonesense/Fluids/Fluids.xml...
Reading index stonesense/items/index.txt...
Reading index at stonesense/items/index.txt...
Reading xml stonesense/items/greiger items/Grei_items.xml...
New image: stonesense/items/greiger items/Grei_items.png
Reading xml stonesense/items/items.xml...
New image: stonesense/items/items.png
[DFHack]# [New Thread 0x8c95eb70 (LWP 1954)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x8c95eb70 (LWP 1954)]
__GI___libc_free (mem=0xd2d2d2d2) at malloc.c:3709
3709 malloc.c: No such file or directory.
in malloc.c
(gdb) bt full
#0 __GI___libc_free (mem=0xd2d2d2d2) at malloc.c:3709
ar_ptr = <optimized out>
p = <optimized out>
hook = 0
#1 0xb73ce061 in operator delete (ptr=0xd2d2d2d2)
at ../../../../gcc-4.5.1/libstdc++-v3/libsupc++/del_op.cc:44
No locals.
#2 0xb2fedd21 in __gnu_cxx::new_allocator<c_sprite>::deallocate (this=0x8c065b60,
__p=0xd2d2d2d2) at /usr/include/c++/4.5/ext/new_allocator.h:95
No locals.
#3 0xb2fedb41 in std::_Vector_base<c_sprite, std::allocator<c_sprite> >::_M_deallocate (
this=0x8c065b60, __p=0xd2d2d2d2, __n=0) at /usr/include/c++/4.5/bits/stl_vector.h:146
No locals.
#4 0xb2ff47ea in std::vector<c_sprite, std::allocator<c_sprite> >::_M_insert_aux<c_sprite const&>(__gnu_cxx::__normal_iterator<c_sprite*, std::vector<c_sprite, std::allocator<c_sprite> > >, c_sprite const&&&) (this=0x8c065b60, __position=..., __args#0=...)
at /usr/include/c++/4.5/bits/vector.tcc:361
__len = 1
__elems_before = 0
__new_start = 0xc9ea4a0
__new_finish = 0xc9ea5bc
#5 0xb2ff3c90 in std::vector<c_sprite, std::allocator<c_sprite> >::push_back (
this=0x8c065b60, __x=...) at /usr/include/c++/4.5/bits/stl_vector.h:749
No locals.
#6 0xb2ff0e6c in insert_sprite (w=0xb3e0fd58, x=71, y=13, z=87, parent=0x8bf6d9b0, sprite=...)
at /home/arclance/0_Build/dfhack/angavrilov/dfhack_2012-12-26/plugins/stonesense/TileTree.cpp:23
b_orig = 0x8c065ab0
#7 0xb2ff0fa3 in c_tile_tree_twig::insert_sprites (this=0xc9d2ef0, w=0xb3e0fd58, x=71, y=13,
z=87, parent=0x8bf6d9b0)
at /home/arclance/0_Build/dfhack/angavrilov/dfhack_2012-12-26/plugins/stonesense/TileTree.cpp:36
No locals.
#8 0xb2ff203b in c_tile_tree_branch::insert_sprites (this=0xc9d2ef0, w=0xb3e0fd58, x=71,
---Type <return> to continue, or q <return> to quit---
y=13, z=87, parent=0x8bf6d9b0)
at /home/arclance/0_Build/dfhack/angavrilov/dfhack_2012-12-26/plugins/stonesense/TileTree.cpp:164
No locals.
#9 0xb2ff2b80 in c_tile_tree::insert_sprites (this=0xc9cfba8, w=0xb3e0fd58, x=71, y=13, z=86,
parent=0x8bf6d9b0)
at /home/arclance/0_Build/dfhack/angavrilov/dfhack_2012-12-26/plugins/stonesense/TileTree.cpp:277
b = 0x8c065ab0
i = 0
#10 0xb3038ea9 in addSegmentExtras (segment=0xb3e0fd58)
at /home/arclance/0_Build/dfhack/angavrilov/dfhack_2012-12-26/plugins/stonesense/SegmentProcessing.cpp:639
Tree = 0xc9cfba8
b = 0x8bf6d9b0
i = 10378
numtiles = 20736
#11 0xb303911c in beautifySegment (segment=0xb3e0fd58)
at /home/arclance/0_Build/dfhack/angavrilov/dfhack_2012-12-26/plugins/stonesense/SegmentProcessing.cpp:724
starttime = 20670000
#12 0xb3034257 in read_segment (arg=0x0)
at /home/arclance/0_Build/dfhack/angavrilov/dfhack_2012-12-26/plugins/stonesense/MapLoading.cpp:704
firstLoad = false
segment = 0xb3e0fd58
#13 0xb30342f8 in threadedSegment (read_thread=0xc9d8ad8, arg=0x0)
at /home/arclance/0_Build/dfhack/angavrilov/dfhack_2012-12-26/plugins/stonesense/MapLoading.cpp:722
No locals.
#14 0xb2f19b3d in thread_func_trampoline (inner=0xc9d8ad8, _outer=0xc9d8ad8)
at /home/arclance/0_Build/allegro/allegro-5.0.8/src/threads.c:80
outer = 0xc9d8ad8
system = 0xbeadb88
---Type <return> to continue, or q <return> to quit---
#15 0xb2f50a36 in thread_proc_trampoline (data=0xc9d8ad8)
at /home/arclance/0_Build/allegro/allegro-5.0.8/src/unix/uxthread.c:36
thread = 0xc9d8ad8
#16 0xb714bd31 in start_thread (arg=0x8c95eb70) at pthread_create.c:304
__res = <optimized out>
pd = 0x8c95eb70
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1223307276, 0, 4001536, -1936334088,
2024438782, 2048153993}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0,
0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
robust = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#17 0xb723787e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130