Giter Club home page Giter Club logo

Comments (3)

cat7 avatar cat7 commented on June 27, 2024

I tried to debug a SheepShaver built with the updated sheepthreads.c Quitting SheepShaver and stepping into it results in:

Single stepping until exit from function usleep,
which has no line number information.
fastlock_acquire (lock=0x1011e330) at Linux/sheepthreads.c:211
211 while (test_and_set(&lock->spinlock, 1))
(gdb) step
212 usleep(0);

It seems to be stuck in this loop.

Commenting out this in sheepthreads.c:
static void fastlock_acquire(struct fastlock *lock)
{
MEMORY_BARRIER();
//while (test_and_set(&lock->spinlock, 1))
// usleep(0);
}

makes the GUI appear.

Next error is: Cannot map usable RAM area. Try to decrease the MacOS RAM size.

from macemu.

ppcluddite avatar ppcluddite commented on June 27, 2024

Hi,

I commented out those two lines like you said and got the GUI to appear, too. When I clicked Browse to navigate to the rom file, though, it quit. The error message was this:

**
GLib-GIO:ERROR:/build/glib2.0-OdhN7C/glib2.0-2.36.4/./gio/gdbusconnection.c:1627:g_dbus_connection_send_message_unlocked: CONNECTION_ENSURE_LOCK: GDBusConnection object lock is not locked
Aborted

So then I went back and hand-typed in the path to the rom and clicked Start, and I got the disk with the question mark window. I believe here is where a .sheepshaver_prefs file is created. Anyway, I killed the process and restarted, and since I got the above crash when trying to create a disk image, I copied one created in SheepShaver on OS X and added its path manually to .sheepshaver_prefs (disk /home/dan/MyDisk.dsk). Started SheepShaver again. Now I get to the welcome screen, but it freezes most of the time when the extensions are loading. A couple of times I disabled extensions and got to a desktop, but it froze whenever I clicked on a menu.

Here are some error messages I got when it froze during extensions loading:

SheepShaver: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
SIGSEGV
pc 0ef6eaec lr 0ef6ea44 ctr 0ef6eb30 msr 0000d032
xer 20000000 cr 22008422
r0 1001ccf4 r1 1079c120 r2 48057db0 r3 00112ffc
r4 4cd7c000 r5 00000040 r6 4cd7c020 r7 00000000
r8 0063639c r9 fff3ea6c r10 0063639c r11 0ef6e940
r12 0ef6ea44 r13 10078240 r14 00000001 r15 10070000
r16 1073cc7c r17 000f0000 r18 00000040 r19 00000000
r20 00000001 r21 00000a00 r22 00000a00 r23 000001c0
r24 00000100 r25 10078694 r26 4cc4e008 r27 00000100
r28 00113000 r29 00113000 r30 0f061ff4 r31 4cd7c000

and:

ERROR: Your Mac program made an illegal halfword read access to address 0x61ba61c2.
(pc 0x485143f0, 68k pc 0x44, sp 0x4fd7f460)
Illegal instruction

and:

WARNING: RmvTime(485b4390): Descriptor not found

So close yet so far. I never did see your error, "Cannot map usable RAM area. Try to decrease the MacOS RAM size."

from macemu.

tlosm avatar tlosm commented on June 27, 2024

Hi Christian wonderful is use your program because make me remember the wonderful Amiga time Shapeshifter rulez.
So: On PowerPc 5020 im facing issue with Shapeshever
Cannot map usable RAM area. Try to decrease the MacOS RAM size.
i been try many configure and nothing change.
I think this issue is becasue the ram mapping, i can test with direct but i dont find any info how to configure it.

Thanks!

from macemu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.