I then compiled both packages with the additional compiler flags "-ggdb -O0". (First, I used "-g -O0". But the BasiliskII configure script will delete "-g" for reasons I don't understand.) Also, this version of BasiliskII runs fine as a standalone application, e.g.
Code: Select all
BasiliskII.exe --config <path to config file> --rom <path to ROM file>
Code: Select all
$ gdb --args BasiliskII.exe --config <path to config file> --rom <path to ROM file>
GNU gdb (GDB) 7.6.1
Copyright (C) 2013 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 "mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from <path to BasiliskII.exe>...done.
(gdb) run
Starting program: <path to BasiliskII.exe> --config <path to config file> --rom <path to ROM file>
[New Thread 4824.0x35e4]
[New Thread 4824.0x1380]
[New Thread 4824.0x3120]
[New Thread 4824.0x40d8]
warning: onecore\com\combase\objact\objact.cxx(836)\combase.dll!766CAE4C: (caller: 766C9E1B) ReturnHr(1) tid(35e4) 800401F0 CoInitialize wurde nicht aufgerufen.
warning: onecore\com\combase\objact\objact.cxx(836)\combase.dll!766CAE4C: (caller: 766C9E1B) ReturnHr(2) tid(35e4) 800401F0 CoInitialize wurde nicht aufgerufen.
warning: onecore\com\combase\objact\objact.cxx(836)\combase.dll!766CAE4C: (caller: 766C9E1B) ReturnHr(3) tid(35e4) 800401F0 CoInitialize wurde nicht aufgerufen.
[New Thread 4824.0x3394]
[New Thread 4824.0x15ec]
[New Thread 4824.0x46d4]
[New Thread 4824.0x183c]
[New Thread 4824.0x1a5c]
[New Thread 4824.0x3d94]
[New Thread 4824.0x439c]
[New Thread 4824.0x4478]
[New Thread 4824.0x2cf4]
Program received signal SIGSEGV, Segmentation fault.
0x004df54e in op_eaf8_0_nf (opcode=277151744) at cpuemu.cpp:33055
33055 int width = (((extra & 0x20 ? m68k_dreg(regs, extra & 7) : extra) -1) & 0x1f) +1;
(gdb) bt
#0 0x004df54e in op_eaf8_0_nf (opcode=277086208) at cpuemu.cpp:33055
#1 0x004e1404 in op_ecf9_0_nf (opcode=0) at cpuemu.cpp:33445
#2 0x004e1bc0 in op_edf0_0_nf (opcode=5118912) at cpuemu.cpp:33551
#3 0x004e23fd in op_eec0_0_nf (opcode=25164120) at cpuemu.cpp:33654
#4 0x004c173f in op_44e0_0_nf (opcode=1048576) at cpuemu.cpp:13141
#5 0x004c2206 in op_4690_0_nf (opcode=10736092) at cpuemu.cpp:13510
#6 0x0069b56c in BlitNtoNPixelAlpha (info=0x17ffd18) at src/video/SDL_blit_A.c:1249
#7 0x0069b5cb in BlitNtoNPixelAlpha (info=0x4c0000 <op_33f0_3_nf(unsigned int)+44>) at src/video/SDL_blit_A.c:1249
#8 0x007c82e4 in __EH_FRAME_BEGIN__ ()
#9 0x004c0000 in op_33f0_3_nf (opcode=4294967295) at cpuemu.cpp:37791
#10 0x004c1236 in op_4478_0_nf (opcode=28846576) at cpuemu.cpp:12956
#11 0x004c1305 in op_4490_0_nf (opcode=0) at cpuemu.cpp:12994
#12 0x774f7b74 in ?? ()
#13 0x774f7b44 in ?? ()
#14 0x00000000 in ?? ()