[Disksim-users] assertion failed: in disk_buffer_sector_done() (disksim_diskctlr.c:4360): currdisk->fpcheck:

Tiratat Patana-anake tiratatp at cs.uchicago.edu
Wed Nov 20 00:12:31 EST 2013


Hi

Have anyone ran into this problem,
assertion failed: in disk_buffer_sector_done()
(disksim_diskctlr.c:4360): currdisk->fpcheck:

Apparently, these is this comment in the header (disksim_disk.h),
  // This is a forward progress check.  There have been a number of
  // bugs over the years that cause the controller to get into an
  // infinite loop, reading the same sector or track over and over.
  // Every time we do a reposition, this is reset (currently
  // statically, should be set to the track length) and
  // disk_buffer_sector_done() decrements it and asserts that it
  // hasn't gotten to 0.

2 questions,
1. any workaround of this bug?
2. does anyone know what is this bug?

Best regards
Knot

--
Tiratat (Knot) Patana-anake
ถิรธัช (น้อต) พัฒนะเอนก



More information about the Disksim-users mailing list