On Monday 14 Jan 2008, Tom Walker wrote:
> > Does it crash when moving windows around?  That's what kills RPCemu
> > for me when using RISC OS 4.01 :(
> Disable StrongARM emulation (drop down to ARM610/ARM710). Or use the
> dynarec. RO4 doesn't like the interpreted StrongARM very much. Might
> not like the x86-64 dynarec much either, haven't tested that much. It
> works fine with the x86 dynarec for me.

Interestingly, I have almost the opposite behaviour :)

With dynarec on I get a segfault.  With dynarec off, RPMemu doesn't 
crash but RISC OS itself does (as you say, it doesn't seem to like the 
interpreted SA).  Sadly, I get the same behaviour with ARM710.  It 
does, however, take a *lot* more "throwing around" of the window to 
trigger the lockup.

I'm using an Athlon64 X2 (but I have everything installed 32bit - 
indeed, I get exactly the same results on my normal AthlonXP box).  The 
distro is Fedora 8 (but I had the same with FC6).  RPCemu is 118 from 
SVN.

FWIW, this is what I do to reproduce the problem:  Start RPCemu as 
normal, with the RISC OS 4.02 ROM image (extracted from my RiscPC - I 
previously said 4.01 in error).  Open the ResourceFS filer by clicking 
its icon.  Throw the Resources:$.Apps window around the screen (like a 
maniac, at your discretion ;)

Some observations:
The segfault seems to happen more quickly if the RO4 "banner" window is 
still showing when I move the Resources:$.Apps window.  Likewise, 
crossing the iconbar seems to greatly increase the likelihood of the 
segfault.  That makes it look like some (RISC OS) window redraw code is 
what's triggering the problem.

If I run rpcemu under gdb, I get this for the backtrace:
...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1209076032 (LWP 30074)]
0x087212d1 in rcodeblock ()
(gdb) bt
#0  0x087212d1 in rcodeblock ()
#1  0x086fc383 in rcodeblock ()
#2  0xe185533b in ?? ()
#3  0xbf9b8d98 in ?? ()
#4  0x0807738b in execarm (cycs=20000) at ArmDynarec.c:1281
#5  0x08066037 in execrpcemu () at rpcemu.c:127
#6  0x0808c3da in main () at rpc-linux.c:170

TTFN,
Adny

-- 
Erst wenn die Wolken schlafengehn        | Personal: [EMAIL PROTECTED]
kann man uns am Himmel sehn              | Techie: [EMAIL PROTECTED]
wir haben Angst und sind allein          | WWW: verelanthe.co.uk/musus/
Gott weiss ich will kein Engel sein!     | UT: [EMAIL PROTECTED]
-- Rammstein / Engel

_______________________________________________
Rpcemu mailing list
[email protected]
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

Reply via email to