SourceForge has been redesigned. Learn more.
Close

#10 Assert in import_file when using --minimal-security

Alpha_29.4
closed-fixed
Storage (16)
9
2009-04-05
2008-09-13
No

When importing files using the --minimal-security option it asserts:

creating file: marconi/sedwards/src/db/musicbox/zzz import_file: disk_io.c:1538: chunk_index_to_info_index: Assertion `chunk_index < nwos_used_private_chunks' failed.

Discussion

  • J. Scott Edwards

    It does not always fail in the same place. When I reran the same command this time it went past the file it failed on before:

    creating file: marconi/sedwards/src/db/musicbox/titles.mbx import_file: disk_io.c:1538: chunk_index_to_info_index: Assertion `chunk_index < nwos_used_private_chunks' failed.

     
  • J. Scott Edwards

    The problem appears to be because nwos_check_blocks_available does not account for density. In this case there are only 259 blocks left (65504 - 65245) with the needed density and with the chunk would need 416 blocks (370 / 7 * 8).

    Total chunks: 15 blocks: 982560
    Used chunks: 1 blocks: 57990
    estimated_blocks: 370 block_estimate: 370 density: 57316 allocated_blocks: 65504
    find_first_low_density_in_chunk: 65245
    creating file: marconi/sedwards/src/db/musicbox/titles.mbx import_file: disk_io.c:1538: chunk_index_to_info_index: Assertion `chunk_index < nwos_used_private_chunks' failed.
    Aborted (core dumped)

     
  • J. Scott Edwards

    • milestone: --> 892707
     
  • J. Scott Edwards

    • milestone: 892707 -->
     
  • J. Scott Edwards

    • milestone: --> Alpha_29.4
    • status: open --> open-accepted
     
  • J. Scott Edwards

    Fixed in Alpha_29.9 release.

     
  • J. Scott Edwards

    • status: open-accepted --> closed-fixed
     

Log in to post a comment.