Skip to content

LINUX BUG: minimum kernel crashes when k is bounded #26

Description

@liamholland

for some reason, when running with the minimum kernel with a bounded colour, the program will crash if maxColour is insufficient to colour the graph. this includes when the max is set by the benchmark. the strange part about this problem is that the program crashes when it attempts to free the various graph memory at the end of the program, after it has completed the colouring successfully. however, the colour bound has nothing to do with the graphs' memory, so why this is happening is beyond me.

the final oddity is the fact that all of this works flawlessly on windows.

normal successful output (unbounded colours):
Image

crash when benchmark max is deficient:
Image
note how the number of colours exceeded the benchmark

runs fine when the upper bound is sufficient
Image

crashes when the upper bound is deficient
Image
note how the number of colours is not sufficient

in every case, the program failed after printing the results, meaning it failed when attempting to free the memory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions