I'm having trouble with DF crashing whenever I try to connect to it with DT-DFHack.
OS: 64-bit Ubuntu 9.10 (Yeah... "There's yer problem; 64-bit!")
DF: 40d18_linux (tried with and without 40d18-head applied.)
DT: 0.1.1_linux
DF runs like a charm by itself. I've gotten Dwarf Therapist to start if DF isn't running, though I've noticed that
it's trying to load the 64-bit versions of the gio modules instead of the 32-bit, even after I made sure I actually had the 32-bit libs and even tried putting links to the 32-bit versions in '~/dwarftherapist/.
Dwarf Fortress terminal output (before connecting):
brian@trinity:~/df_linux$ ./dfhacked
./dwarfort.exe: /usr/lib32/libjpeg.so.62: no version information available (required by /home/brian/df_linux/libs/libtiff.so.4)
mkdir: cannot create directory `unused_libs': File exists
mv: cannot stat `libs/libSDL*': No such file or directory
./dwarfort.exe: /usr/lib32/libjpeg.so.62: no version information available (required by /home/brian/df_linux/libs/libtiff.so.4)
Sound devices available:
ALSA Software
OSS Software
PulseAudio Software
Wave File Writer
Picking ALSA Software. If your desired device was missing, make sure you have the appropriate 32-bit libraries installed. If you wanted a different device, configure ~/.openalrc appropriately.
Perfect OpenAL context attributes GET
dfhack: hooking successful
Loading bindings from data/init/interface.txt
Dimensions uninitialized, resetting
Using OpenGL output path with client-side arrays
Dwarf Therapist terminal output (before connecting):
brian@trinity:~/dwarftherapist$ ./start_dwarftherapist
[14:16:17.483] [INFO] Dwarf Therapist
0.4.2
starting normally.
[14:16:17.483] [INFO] MINIMUM LOG LEVEL SET TO: DEBUG
/usr/lib/gio/modules/libgiogconf.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgiogconf.so
/usr/lib/gio/modules/libgioremote-volume-monitor.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgioremote-volume-monitor.so
/usr/lib/gio/modules/libgvfsdbus.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so
[14:16:17.613] [INFO] Loaded
4
views from disk
[14:16:17.669] [DEBUG] src/viewmanager.cpp (ln 161 ): "redrew views in 55ms"
qdebug
[14:16:17.673] [Warning] QLayout: Attempting to add QLayout "" to SkillLegendDock "dock_skill_legend", which already has a layout
qwarning
[14:16:17.677] [Warning] QLayout: Attempting to add QLayout "" to DwarfDetailsDock "", which already has a layout
qwarning
[14:16:17.680] [DEBUG] src/mainwindow.cpp (ln 115 ): setting up connections for MainWindow
qdebug
[14:16:17.696] [DEBUG] src/models/dwarfmodel.cpp (ln 413 ): group_by now set to 0
qdebug
[14:16:17.702] [DEBUG] src/dwarftherapist.cpp (ln 113 ): beginning to read settings
qdebug
[14:16:17.702] [DEBUG] src/dwarftherapist.cpp (ln 159 ): finished reading settings
qdebug
[14:16:17.703] [DEBUG] src/mainwindow.cpp (ln 224 ): attempting connection to running DF game
qdebug
Once I try to connect (or if DF is running when I start DT, so DT automatically tries to connect), Dwarf Fortress crashes with a "Segmentation fault". Dwarf Therapist prints out a few more lines to the terminal about Dwarf Fortress disappearing.
14:47:20.752] [DEBUG] src/mainwindow.cpp (ln 224 ): attempting connection to running DF game
qdebug
[14:47:20.752] [DEBUG] src/mainwindow.cpp (ln 226 ): already connected, disconnecting
qdebug
terminate called after throwing an instance of 'DFHack::Error::SHMServerDisappeared'
what(): The server process has disappeared
Aborted
I'm thinking the problem is with the gio modules. How do I get the correct ones to load? ...or is there some other problem?