I should probably mention that i'm writing this in PyQt5 and therefor tried not to mention the code too much. Since the first thing you mention is the code, does that mean that you think architecturally it should work fine with a standardItemModel? I can always code my way around the crash, but i'm more interested in good architecture for this problem. Do you need more information about the data?
Thanks for the reply :)