Where (or what CD?) can I find dbx in order to debug an app or core file? Right now I can only use gdb.. not sure if that works well with MIPSpro compiled code?
Your compiled version has working sound for me:
In the cfg file:
AudioDriver = sdlaudio
I did try with it set to none, but nothing changed as far as the seg faults.
Thanks to your latest diffs.. I can compile gemrb with MIPSPro without all the crazyness I was getting before.
My compiled version does not have sound though. But it still crashes in the same spots.
Regarding my compiling.. I am not sure how you are able to compile yours without the last diff I added to this thread?
In particular in the very begining:
[octane]:/storage/packaging-PENDING/gemrb-mipspro/gemrb-dexter/git-head/gemrb/build $ gmake
Scanning dependencies of target gemrb_core
[ 0%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/ActorMgr.cpp.o
[ 1%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Ambient.cpp.o
cc-1293 CC: ERROR File = /storage/packaging-PENDING/gemrb-mipspro/gemrb-dexter/git-head/gemrb/gemrb/includes/Predicates.h, Line = 51
Pure specifier ("= 0") is allowed only on virtual functions.
bool operator()(PT param) const=0;
I have to add 'variable' before bool and it compiles.. however almost every compile item gives a WARNING:
function "GemRB::VoidCallback::operator()()" is hidden by
"GemRB::Callback<T>::operator()" -- virtual function override
intended?
virtual bool operator()(T target)=0;
So not sure on the impact of that...
I compiled with debugging enabled "-g" and also enabled DEBUG in gemrb:
Only output from gemrb when i click on the guard right in front of the inn.. my character moves over to him and then.. bam.. seg fault:
[GameScript]: Displaying string on: none
[ResourceManager]: Found 'watch.dlg' in 'chitin.key'.
[ResourceManager]: Found 'spell.ids' in 'chitin.key'.
Segmentation fault
Same with the guy in the house on top/north of the map. Guy comes over to me then bam.. seg fault:
[GameScript]: Displaying string on: none
[ResourceManager]: Found 'shank.dlg' in 'chitin.key'.
Segmentation fault
####
gdb on the core file (gemrb compiled with debug -g )
I am not sure if gdb can work properly with mipspro compiled code??
Code:
Select all
ls from /usr/local/lib/gemrb/plugins/MOSImporter.so...done.
Loaded symbols for /usr/local/lib/gemrb/plugins/MOSImporter.so
Reading symbols from /usr/local/lib/gemrb/plugins/MUSImporter.so...done.
Loaded symbols for /usr/local/lib/gemrb/plugins/MUSImporter.so
Reading symbols from /usr/local/lib/gemrb/plugins/MVEPlayer.so...done.
Loaded symbols for /usr/local/lib/gemrb/plugins/MVEPlayer.so
Reading symbols from /usr/local/lib/gemrb/plugins/NullSound.so...done.
Loaded symbols for /usr/local/lib/gemrb/plugins/NullSound.so
Reading symbols from /usr/local/lib/gemrb/plugins/NullSource.so...done.
Loaded symbols for /usr/local/lib/gemrb/plugins/NullSource.so
Reading symbols from /usr/local/lib/gemrb/plugins/OGGReader.so...done.
Loaded symbols for /usr/local/lib/gemrb/plugins/OGGReader.so
Reading symbols from /usr/nekoware/lib/libvorbisfile.so.4...done.
Loaded symbols for /usr/nekoware/lib/libvorbisfile.so.4
Reading symbols from /usr/nekoware/lib/libvorbis.so.1...done.
Loaded symbols for /usr/nekoware/lib/libvorbis.so.1
Reading symbols from /usr/nekoware/lib/libogg.so.1...done.
Loaded symbols for /usr/nekoware/lib/libogg.so.1
Reading symbols from /usr/local/lib/gemrb/plugins/OpenALAudio.so...done.
Loaded symbols for /usr/local/lib/gemrb/plugins/OpenALAudio.so
Reading symbols from /usr/nekoware/lib/libopenal.so.0...done.
Loaded symbols for /usr/nekoware/lib/libopenal.so.0
Reading symbols from /usr/nekoware/lib/libSDL-1.2.so.1...done.
Loaded symbols for /usr/nekoware/lib/libSDL-1.2.so.1
Reading symbols from /usr/lib32/libdl.so...done.
Loaded symbols for /usr/lib32/libdl.so
Reading symbols from /usr/lib32/libaudio.so...done.
Loaded symbols for /usr/lib32/libaudio.so
Reading symbols from /usr/nekoware/lib/libiconv.so.3...done.
Loaded symbols for /usr/nekoware/lib/libiconv.so.3
Reading symbols from /usr/lib32/libX11.so.1...done.
Loaded symbols for /usr/lib32/libX11.so.1
Reading symbols from /usr/lib32/libXext.so...done.
Loaded symbols for /usr/lib32/libXext.so
Reading symbols from /usr/local/lib/gemrb/plugins/PLTImporter.so...done.
Loaded symbols for /usr/local/lib/gemrb/plugins/PLTImporter.so
Reading symbols from /usr/local/lib/gemrb/plugins/PNGImporter.so...done.
Loaded symbols for /usr/local/lib/gemrb/plugins/PNGImporter.so
Reading symbols from /usr/nekoware/lib/libpng.so.3...done.
Loaded symbols for /usr/nekoware/lib/libpng.so.3
Reading symbols from /usr/nekoware/lib/libz.so.1...done.
Loaded symbols for /usr/nekoware/lib/libz.so.1
Reading symbols from /usr/nekoware/lib/libz.so...done.
Loaded symbols for /usr/nekoware/lib/libz.so
Reading symbols from /usr/local/lib/gemrb/plugins/PROImporter.so...done.
Loaded symbols for /usr/local/lib/gemrb/plugins/PROImporter.so
Reading symbols from /usr/local/lib/gemrb/plugins/PSTOpcodes.so...done.
Loaded symbols for /usr/local/lib/gemrb/plugins/PSTOpcodes.so
Reading symbols from /usr/local/lib/gemrb/plugins/SAVImporter.so...done.
Loaded symbols for /usr/local/lib/gemrb/plugins/SAVImporter.so
Reading symbols from /usr/local/lib/gemrb/plugins/SDLVideo.so...done.
Loaded symbols for /usr/local/lib/gemrb/plugins/SDLVideo.so
Reading symbols from /usr/local/lib/gemrb/plugins/SPLImporter.so...done.
Loaded symbols for /usr/local/lib/gemrb/plugins/SPLImporter.so
Reading symbols from /usr/local/lib/gemrb/plugins/STOImporter.so...done.
Loaded symbols for /usr/local/lib/gemrb/plugins/STOImporter.so
Reading symbols from /usr/local/lib/gemrb/plugins/TISImporter.so...done.
Loaded symbols for /usr/local/lib/gemrb/plugins/TISImporter.so
Reading symbols from /usr/local/lib/gemrb/plugins/TLKImporter.so...done.
Loaded symbols for /usr/local/lib/gemrb/plugins/TLKImporter.so
Reading symbols from /usr/local/lib/gemrb/plugins/TTFImporter.so...done.
Loaded symbols for /usr/local/lib/gemrb/plugins/TTFImporter.so
Reading symbols from /usr/nekoware/lib/libfreetype.so.7...done.
Loaded symbols for /usr/nekoware/lib/libfreetype.so.7
Reading symbols from /usr/local/lib/gemrb/plugins/WAVReader.so...done.
Loaded symbols for /usr/local/lib/gemrb/plugins/WAVReader.so
Reading symbols from /usr/local/lib/gemrb/plugins/WEDImporter.so...done.
Loaded symbols for /usr/local/lib/gemrb/plugins/WEDImporter.so
Reading symbols from /usr/local/lib/gemrb/plugins/WMPImporter.so...done.
Loaded symbols for /usr/local/lib/gemrb/plugins/WMPImporter.so
Reading symbols from /usr/local/lib/gemrb/plugins/ZLibManager.so...done.
Loaded symbols for /usr/local/lib/gemrb/plugins/ZLibManager.so
warning: wrong size gregset struct in core file
#0 0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x00000000 in ?? ()
Previous frame identical to this frame (corrupt stack?)
(gdb) frame 0
#0 0x00000000 in ?? ()
(gdb) list
76 // about shrinking the heap.
77 #ifdef HAVE_UNISTD_H
78 int pagesize = sysconf(_SC_PAGESIZE);
79 #else
80 int pagesize = 4*1024;
81 #endif
82 mallopt(M_TRIM_THRESHOLD, 5*pagesize);
83 #endif
84
85 Interface::SanityCheck(VERSION_GEMRB);
(gdb)
thats about all I know about GDB
I am not able to run gdb to execute gemrb.. give an unknown signal error early on loading a few plugins.
any help, or direction/hints to give?
Thanks