[uae] Re: Crash report

  • From: Richard Drummond <evilrich@xxxxxxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Mon, 4 Oct 2004 19:15:11 -0500

Hi Derek

On Friday 10 September 2004 02:11 pm, Derek Piper wrote:
>  In testing (uhuh.. playing games more like) E-UAE 0.8.27, I had this
> happen; and wondered if it was worth mentioning.
>  I was installing Syndicate from CAPS images (all going well), it
> completed and told me to reboot. I hit 'Ctrl+PageUp+PageDown' for
> Ctrl-Amiga-Amiga and it crashed with a segfault. I installed to a
> virtual filesystem this time as when I had tried this before on UAE
> 0.8.25 I had ended up with a corrupted hard disk file. In this config
> it's an A1200 with co-pro and 16MB fastram (like I had before I went to
> PCs :)) I have one hardfile (with Workbench for DH0:) and the others are
> virtual.
>  Is this Syndicate's fault? The crash actually does happen again if you
> reset while the game is loaded. What are your thoughts?

Attached is a patch which should fix the segfault you were experiencing here. 
Better late than never? ;-)

Cheers,
Rich
--- e-uae-0.8.27-CVS/src/newcpu.c       2004-09-09 21:29:06.000000000 -0500
+++ uae/src/newcpu.c    2004-10-04 19:13:37.000000000 -0500
@@ -2388,6 +2388,11 @@
 {
     int i;
 
+#ifndef WIN32
+    if (!f)
+       f = stderr;
+#endif
+
     for (i = 0; i < 8; i++){
        f_out (f, "D%d: %08lx ", i, m68k_dreg(regs, i));
        if ((i & 3) == 3) f_out (f, "\n");

Other related posts: