#978 ucsim crashes on Mac OS X

closed-fixed
Borut Ražem
Simulator (19)
5
2013-05-25
2005-08-28
Borut Ražem
No

Ucsim executables s51, sz80 and shc08 crashes with a
Bus error on Mac OS X in file error.cc, line 104,
function cl_error_class().

The report from gdb:

Program received signal EXC_BAD_ACCESS, Could not
access memory.
0x00047510 in
cl_error_class::cl_error_class(error_type, char*,
cl_error_class*, error_on_off) (this=0xbac9c,
typ=err_error, aname=0x8762c "stack", parent=0xbb0dc,
be_on=ERROR_OFF) at error.cc:104
104 parent->add_child(this);

Discussion

  • Borut Ražem
    Borut Ražem
    2005-11-02

    • status: open --> closed
     
  • Borut Ražem
    Borut Ražem
    2005-11-02

    • milestone: --> fixed
    • assigned_to: nobody --> borutr
    • status: closed --> closed-fixed
     
  • Borut Ražem
    Borut Ražem
    2005-11-02

    Logged In: YES
    user_id=568035

    After fixing a warning message about uninitialized
    variables, this bug is fixed too. Thanks to GCC developers
    for the great compiler!

    Fixed in SDCC 2.5.4 #1172