cebix / macemu

Basilisk II and SheepShaver Macintosh emulators
1.4k stars 293 forks source link

Segfault in VOSF #262

Open DMJC opened 2 years ago

DMJC commented 2 years ago

Compiled on Linux Debian 11 with GCC 12. Options were ./configure' '--enable-sdl-video' '--enable-sdl-audio' '--disable-vosf' '--with-x also tried with --enable-vosf. Both compile but crash on run.

rickyzhang82 commented 2 years ago

Follow this guide: https://github.com/cebix/macemu/wiki/Basilisk-II-Compilation-Guide#64bit-fedora-linux-on-intel

Use SDL2. It always works great in Mac and Linux.

DMJC commented 2 years ago

I rebuilt following your instructions, sadly getting the same results.

GDB Output: Thread 1 "BasiliskII" received signal SIGSEGV, Segmentation fault. 0x00000000780db813 in video_vosf_profitable (duration_p=0x0, n_page_faults_p=0x0) at ./../CrossPlatform/video_vosf.h:251 251 addr[0] = 0; // Trigger Screen_fault_handler() (gdb)

DMJC commented 2 years ago

I ended up grabbing the sourcecode from another repository and was able to build it.