• Cocoon
    Cocoon
    Posts: 42 from 2024/7/11
    With the help of Zetec-s I could already have a lead on the crash.

    If the data from the stacktrace can be trusted (I sent Zetec-s my latest executable to ensure there was no last-minute change changing the indicated location of crash) then what crashed was the function gettimeofday.

    Basically this:

    static struct timeval tv;

    gettimeofday(&tv, NULL);

    caused the crash. The crash was illegal instruction (possibly 68k Emu issue with the linkerlib used ?)

    If this is a problem and still appears in the WarpOS version I could of course change this code into using GetSysTimePPC from powerpc.library on the WarpOS version (once this is running) to avoid the problem (I am just using it to get the amount of microseconds passed...).
  • »12.07.24 - 10:49
    Profile