Alright, I tried to get dfterm3 working on a Ubuntu 10.3 server.
Two problems:
1) After starting
dfhack and
start-dterm3, the game never appears in the admin view
However, why I quit the DF instance with
die, I see this in the log:
[df-connection-48000] src/Dfterm3/Game/DwarfFortress.hs:232:9-68: Irrefutable pattern failed for pattern Data.Maybe.Just df_executable'
Does a DF savegame need to be loaded? Or is the main menu screen good enough?
2) When I manually register a DF game, dfterm3 doesn't correctly launch the process.
Is the DF executable supposed to be the
dfhack binary or the vanilla
df binary?
If the former, then I get a crash:
2013-11-07T11:40:45 : New connection WebSocket interface from [::ffff:80.78.68.139]:49531
2013-11-07T11:40:47 : Created a process using executable '/root/df/df_linux/dfhack', working directory '/root/df/df_linux/' to pid 27325
*** Error in `./libs/Dwarf_Fortress': double free or corruption (!prev): 0x098f6410 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x767c2)[0xf73757c2]
/lib/i386-linux-gnu/libc.so.6(+0x77510)[0xf7376510]
/usr/lib/i386-linux-gnu/libstdc++.so.6(_ZdlPv+0x1f)[0xf7559a3f]
/root/df/df_linux/libs/libgraphics.so(_ZN9enablerst10async_loopEv+0x264)[0xf7630464]
/root/df/df_linux/libs/libgraphics.so(_Z9call_loopPv+0x1d)[0xf763068d]
/usr/lib/i386-linux-gnu/libSDL-1.2.so.0(+0x10355)[0xf7a23355]
/usr/lib/i386-linux-gnu/libSDL-1.2.so.0(+0x54d6b)[0xf7a67d6b]
/lib/i386-linux-gnu/libpthread.so.0(+0x6d78)[0xf72e9d78]
/lib/i386-linux-gnu/libc.so.6(clone+0x5e)[0xf73f101e]
======= Memory map: ========
08048000-08eaf000 r-xp 00000000 fd:00 142048 /root/df/df_linux/libs/Dwarf_Fortress
08eaf000-08eb0000 rw-p 00e66000 fd:00 142048 /root/df/df_linux/libs/Dwarf_Fortress
08eb0000-09926000 rw-p 00000000 00:00 0 [heap]
f4700000-f4721000 rw-p 00000000 00:00 0
f4721000-f4800000 ---p 00000000 00:00 0
f486b000-f486c000 ---p 00000000 00:00 0
f486c000-f506c000 rw-p 00000000 00:00 0 [stack:27332]
f506c000-f506d000 ---p 00000000 00:00 0
f506d000-f586d000 rw-p 00000000 00:00 0 [stack:27331]
f586d000-f5a6d000 r--p 00000000 fd:00 263039 /usr/lib/locale/locale-archive
f5a6d000-f5a73000 rw-p 00000000 00:00 0
f5a73000-f5a79000 r-xp 00000000 fd:00 279291 /usr/lib/i386-linux-gnu/libdatrie.so.1.2.0
f5a79000-f5a7a000 r--p 00006000 fd:00 279291 /usr/lib/i386-linux-gnu/libdatrie.so.1.2.0
f5a7a000-f5a7b000 rw-p 00007000 fd:00 279291 /usr/lib/i386-linux-gnu/libdatrie.so.1.2.0
f5a7b000-f5a93000 r-xp 00000000 fd:00 279589 /usr/lib/i386-linux-gnu/libgraphite2.so.3.0.1
f5a93000-f5a94000 ---p 00018000 fd:00 279589 /usr/lib/i386-linux-gnu/libgraphite2.so.3.0.1
f5a94000-f5a95000 r--p 00018000 fd:00 279589 /usr/lib/i386-linux-gnu/libgraphite2.so.3.0.1
f5a95000-f5a96000 rw-p 00019000 fd:00 279589 /usr/lib/i386-linux-gnu/libgraphite2.so.3.0.1
f5a96000-f5a9d000 r-xp 00000000 fd:00 279313 /usr/lib/i386-linux-gnu/libogg.so.0.8.1
f5a9d000-f5a9e000 r--p 00006000 fd:00 279313 /usr/lib/i386-linux-gnu/libogg.so.0.8.1
f5a9e000-f5a9f000 rw-p 00007000 fd:00 279313 /usr/lib/i386-linux-gnu/libogg.so.0.8.1
f5a9f000-f5ac8000 r-xp 00000000 fd:00 279744 /usr/lib/i386-linux-gnu/libvorbis.so.0.4.5
f5ac8000-f5ac9000 ---p 00029000 fd:00 279744 /usr/lib/i386-linux-gnu/libvorbis.so.0.4.5
f5ac9000-f5aca000 r--p 00029000 fd:00 279744 /usr/lib/i386-linux-gnu/libvorbis.so.0.4.5
f5aca000-f5acb000 rw-p 0002a000 fd:00 279744 /usr/lib/i386-linux-gnu/libvorbis.so.0.4.5
f5acb000-f5acc000 rw-p 00000000 00:00 0
f5acc000-f5c32000 r-xp 00000000 fd:00 279746 /usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.8
f5c32000-f5c43000 r--p 00165000 fd:00 279746 /usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.8
f5c43000-f5c44000 rw-p 00176000 fd:00 279746 /usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.8
f5c44000-f5c76000 r-xp 00000000 fd:00 279315 /usr/lib/i386-linux-gnu/libFLAC.so.8.3.0
f5c76000-f5c77000 r--p 00031000 fd:00 279315 /usr/lib/i386-linux-gnu/libFLAC.so.8.3.0
f5c77000-f5c78000 rw-p 00032000 fd:00 279315 /usr/lib/i386-linux-gnu/libFLAC.so.8.3.0
f5c78000-f5c8d000 r-xp 00000000 fd:00 137320 /lib/i386-linux-gnu/libnsl-2.17.so
f5c8d000-f5c8e000 r--p 00014000 fd:00 137320 /lib/i386-linux-gnu/libnsl-2.17.so
f5c8e000-f5c8f000 rw-p 00015000 fd:00 137320 /lib/i386-linux-gnu/libnsl-2.17.so
f5c8f000-f5c91000 rw-p 00000000 00:00 0
f5c91000-f5c9c000 r-xp 00000000 fd:00 277993 /usr/lib/i386-linux-gnu/libdrm.so.2.4.0
f5c9c000-f5c9d000 r--p 0000a000 fd:00 277993 /usr/lib/i386-linux-gnu/libdrm.so.2.4.0
f5c9d000-f5c9e000 rw-p 0000b000 fd:00 277993 /usr/lib/i386-linux-gnu/libdrm.so.2.4.0
f5c9e000-f5ca2000 r-xp 00000000 fd:00 279432 /usr/lib/i386-linux-gnu/libXxf86vm.so.1.0.0
f5ca2000-f5ca3000 r--p 00004000 fd:00 279432 /usr/lib/i386-linux-gnu/libXxf86vm.so.1.0.0
f5ca3000-f5ca4000 rw-p 00005000 fd:00 279432 /usr/lib/i386-linux-gnu/libXxf86vm.so.1.0.0
f5ca4000-f5ca5000 rw-p 00000000 00:00 0
f5ca5000-f5ca9000 r-xp 00000000 fd:00 279424 /usr/lib/i386-linux-gnu/libxcb-dri2.so.0.0.0
f5ca9000-f5caa000 r--p 00003000 fd:00 279424 /usr/lib/i386-linux-gnu/libxcb-dri2.so.0.0.0
f5caa000-f5cab000 rw-p 00004000 fd:00 279424 /usr/lib/i386-linux-gnu/libxcb-dri2.so.0.0.0
f5cab000-f5cc1000 r-xp 00000000 fd:00 279426 /usr/lib/i386-linux-gnu/libxcb-glx.so.0.0.0
f5cc1000-f5cc2000 r--p 00016000 fd:00 279426 /usr/lib/i386-linux-gnu/libxcb-glx.so.0.0.0
f5cc2000-f5cc3000 rw-p 00017000 fd:00 279426 /usr/lib/i386-linux-gnu/libxcb-glx.so.0.0.0
f5cc3000-f5cc4000 r-xp 00000000 fd:00 279422 /usr/lib/i386-linux-gnu/libX11-xcb.so.1.0.0
f5cc4000-f5cc5000 r--p 00000000 fd:00 279422 /usr/lib/i386-linux-gnu/libX11-xcb.so.1.0.0
f5cc5000-f5cc6000 rw-p 00001000 fd:00 279422 /usr/lib/i386-linux-gnu/libX11-xcb.so.1.0.0
f5cc6000-f5cd5000 r-xp 00000000 fd:00 279396 /usr/lib/i386-linux-gnu/libglapi.so.0.0.0
f5cd5000-f5cd7000 r--p 0000f000 fd:00 279396 /usr/lib/i386-linux-gnu/libglapi.so.0.0.0
f5cd7000-f5cdc000 rwxp 00011000 fd:00 279396 /usr/lib/i386-linux-gnu/libglapi.so.0.0.0
f5cdc000-f5ce7000 r-xp 00000000 fd:00 279340 /usr/lib/i386-linux-gnu/libjbig.so.0.0.0
f5ce7000-f5ce8000 r--p 0000a000 fd:00 279340 /usr/lib/i386-linux-gnu/libjbig.so.0.0.0
f5ce8000-f5ceb000 rw-p 0000b000 fd:00 279340 /usr/lib/i386-linux-gnu/libjbig.so.0.0.0
f5ceb000-f5cec000 rw-p 00000000 00:00 0
f5cec000-f5d11000 r-xp 00000000 fd:00 137375 /lib/i386-linux-gnu/liblzma.so.5.0.0[df-connection-48000] src/Dfterm3/Game/DwarfFortress.hs:232:9-68: Irrefutable pattern failed for pattern Data.Maybe.Just df_executable'
2013-11-07T11:41:12 : Reaping process: 27325
2013-11-07T11:41:17 : Reaped process: 27325
If the latter, then the game doesn't launch and the log shows:
2013-11-07T11:44:44 : Created a process using executable '/root/df/df_linux/df', working directory '/root/df/df_linux' to pid 27364
2013-11-07T11:45:09 : Reaping process: 27364
2013-11-07T11:45:14 : Reaped process: 27364