#76 Interrupting autostart of a .tap with a reset causes crash (signal 11)

v2.4
closed-fixed
nobody
None
bugfix
2014-08-14
2013-06-22
derrick inksley
No

If reset is issued while an autostart is in progress (before AUTOSTART_DONE) while preparing to load or loading a .tap image, it will crash.
reason: in function autostart_reset(); it issues disk commands in the function disk_eof_callback();. This patch will make it so that disk_eof_callback(); isn't called during a tape autostart in autostart_reset();

1 Attachments

Discussion

  • gpz
    gpz
    2013-06-24

    • status: open --> closed-fixed
     
  • gpz
    gpz
    2013-06-24

    i have fixed it in r27462 in a slightly different way - the problem actually would occur at any time disk_eof_callback is called and no disk image was attached before, so fixing it there will then work for other cases where that might occur aswell ;)

     
  • gpz
    gpz
    2013-06-24

    • status: closed-fixed --> pending-fixed
     
  • The new code works perfect, Thanks! :)

     
    • status: pending-fixed --> closed-fixed