e-UAE bug (?) - Crash log
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Cool_amigaN
    Posts: 745 from 2011/11/30
    While trying to assemble the 1st Real Amiga SWOS Pack Update, got a strange crash on a custom new career season which is verified to be working under winuae and a real amiga 1200 030/25 128MB wb 3.1.

    The log under MorphOS, is the following:

    Code:

    E-UAE 1.0.0
    Build date: Feb 4 2018 12:28:16
    Opening cfgfile '.uaerc'...failed
    Opening cfgfile 'progdir:conf/swos9697.conf'...okay.
    obsolete config entry 'sound_bits'
    You can't use fastmem and more than 2MB chip at the same time!
    Please use "uae -h" to get usage information.
    Timebase frequency: 24.907667 MHz
    Resetting frame rate hack
    Building CPU table for configuration: 68020/881
    1866 CPU functions
    Building CPU function table, 45954 opcodes (3 0 0).
    JIT: Building compiler function table.
    JIT: Allocation of translation cache...
    JIT: Translation cache size in prefs: 8192
    JIT: Allocated 8192 KB translation cache.
    JIT: allocated 1760 KB macroblock buffer.
    Resetting frame rate hack
    AMIGFX: Using a 16-bit true-colour display.
    Sound driver found and configured for stereo at 11025 Hz, buffer is 4410 bytes.
    Driveclick init...
    reset at 0
    JIT: Compiling reset
    PAL mode, 50Hz (h=227 v=312)
    chipmem cleared
    SERIAL: period=372, baud=9600, hsyncs=16 PC=f8018a
    JIT: Change cache emulation: enabled
    Fastmem (32bit): mapped @$10000000: 64 MB Zorro III fast memory
    Card 1 (ZorroIII) done.
    Filesystem: mapped memory @$e90000.
    Card 2 (ZorroII) done.
    Mounting uaehf.device 0 (0):
    FS: mounted virtual unit DH0 (data/test)
    FS: PROGDIR starting..
    PAL mode, 54Hz (h=227 v=286)
    PAL mode, 50Hz (h=227 v=312)
    JIT: Change cache emulation: disabled
    PAL mode, 52Hz (h=227 v=299)
    PAL mode, 50Hz (h=227 v=312)
    cia_wget: unknown CIA address a0316e PC=1c690e
    cia_wget: unknown CIA address a0341a PC=1c690e
    cia_wget: unknown CIA address a036c6 PC=1c690e
    cia_wget: unknown CIA address a03972 PC=1c690e
    cia_wget: unknown CIA address a03c1e PC=1c690e
    cia_wget: unknown CIA address a03eca PC=1c690e
    cia_wget: unknown CIA address a0718e PC=1c690e
    cia_wget: unknown CIA address a0743a PC=1c690e
    cia_wget: unknown CIA address a076e6 PC=1c690e
    cia_wget: unknown CIA address a07992 PC=1c690e
    65FA written to DSKDAT. Not good. PC=001C690E
    SERIAL: period=26106, baud=300, hsyncs=1150 PC=1c690e
    warning: weird fill mode (further messages suppressed) PC=1c690e
    warning: ECS BLTCON1 DOFF-bit set
    1D84 written to DSKDAT. Not good. PC=001C690E
    SERIAL: program uses 9bit mode PC=1c690e
    SERIAL: period=30260, baud=300, hsyncs=1333 PC=1c690e
    weird hblitsize in linemode: 1530 vsize=1024 PC%=1c690e
    weird hblitsize in linemode: 1530 vsize=947 PC%=1c690e
    weird hblitsize in linemode: 294 vsize=934 PC%=1c690e
    ADE5 written to DSKDAT. Not good. PC=001C690E
    SERIAL: period=4354, baud=1200, hsyncs=191 PC=1c690e
    weird hblitsize in linemode: 1385 vsize=934 PC%=1c690e
    PAL mode, 300Hz (h=227 v=29)
    PAL mode, 50Hz (h=227 v=312)
    JIT: Deallocated translation cache.
    JIT: Deallocated macroblock buffer


    Can anybody understand what's going on and whether it can be fixed/needs fixing?
    Amiga gaming Tribute: Watch, rate, comment :)
  • »07.12.21 - 12:28
    Profile Visit Website
  • MorphOS Developer
    Piru
    Posts: 575 from 2003/2/24
    From: finland, the l...
    That log has no crash, so it helps little in trying to understand what is going wrong.
  • »07.12.21 - 22:45
    Profile
  • jPV
  • Yokemate of Keyboards
    Yokemate of Keyboards
    jPV
    Posts: 2021 from 2003/2/24
    From: po-RNO
    Had couple quick tries myself now too. E-UAE itself doesn't crash, but the emulated Amiga seems to crash. Sometimes you get corrupted graphics on screen, or audible glitch, and a reboot of the emulated machine or stall in the black screen.

    When the Amiga crashes, I also can get those cia_wget lines, but also alternatively something like these in the E-UAE output:
    Code:
    B-Trap f8f8 at 001839b8 (0x2d23cbb0)
    reset at f80dc8
    JIT: Compiling reset
    PAL mode, 50Hz (h=227 v=312)
    reset at f800d0
    JIT: Compiling reset


    Code:
    Your Amiga program just did something terribly stupid 0x4040405 PC=0x186bae
    D0: 00008000 D1: 00000011 D2: a0a80000 D3: 00000013
    D4: 0000ffff D5: 00000000 D6: 3ce84932 D7: 0000000e
    A0: 0000ca78 A1: 0000c92e A2: 0000c930 A3: 0001f77c
    A4: 0002003a A5: 0004cc70 A6: 0004e3ee A7: 0000c92a
    USP=0021cd40 ISP=0000c92a MSP=00000000 VBR=00000000
    T=00 S=1 M=0 X=0 N=0 Z=1 V=0 C=0 IMASK=0
    FP0: 0 FP1: 0 FP2: 0 FP3: 0
    FP4: 0 FP5: 0 FP6: 0 FP7: 0
    N=0 Z=0 I=0 NAN=0
    00186bae 4e75 RTS.L
    040403E5 0000 0000 0000 0000 0000 0000 0000 0000
    040403F5 0000 0000 0000 0000 0000 0000 0000 0000
    04040405 0000 0000 0000 0000 0000 0000 0000 0000
    04040415 0000 0000 0000 0000 0000 0000 0000 0000
    04040425 0000 0000 0000 0000 0000 0000 0000 0000
    00186B8E EB6E 5346 3146 003E D480 51CC FFC0 E288
    00186B9E 5201 0C01 0011 66AE 4CDF 00E0 4FEF 0010
    00186BAE 4E75 48E7 E0E0 41E8 0012 7480 D402 1418
    00186BBE D502 D402 6000 00BA 1418 D502 6030 1418
    00186BCE D502 6044 1418 D502 6044 1418 D502 6046
    reset at f80dc8
    JIT: Compiling reset
    PAL mode, 50Hz (h=227 v=312)
    reset at f800d0
    JIT: Compiling reset


    And after playing with the E-UAE conf, it seems to be about JIT options... namely the "cachesize" option. We had set that to 16384 according to some instructions, but commenting that line out fixes the issue in this case. I wonder what it is by default and does it affect that much in practise... should look if there are docs.. :)
  • »08.12.21 - 13:33
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Cool_amigaN
    Posts: 745 from 2011/11/30
    Oh, it was that damn cache size again? jPV to the rescue once again :) Btw, I 've gotten into several problems (including graphical glitches you mention) with other (new) games/ports, such as the Tiny Bubble under our e-uae. Anyway, I will now test the 2nd season I have assembled too w/o cache size and check if it works correctly and what's the impact on the performance if we turn off cache completely..
    Amiga gaming Tribute: Watch, rate, comment :)
  • »08.12.21 - 15:01
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12058 from 2003/5/22
    From: Germany
    > I will now test […] what's the impact on the performance
    > if we turn off cache completely.

    Turning off the cache will also turn off the JIT compiler because that requires the emulated CPU to have a cache.
  • »08.12.21 - 18:11
    Profile