TableHeaderComponent header; // this is the root of the segfault when i traced the call stack header->addColumn("column1", 1, 20, 30, 50, TableHeaderComponent::ColumnPropertyFlags::defaultFlags, 0);
i get the segfault too when i call other function like
when i look at those function definition they all call
column.size() which the segfault appears:
Exception thrown: read access violation. this was 0xFFFFFFFFFFFFFFEF.
is there anything i should do before using
TableHeaderComponent or calling those function?
this is a mess. my
TableHeaderComponent was actually a unallocated pointer. (should i delete this thread?)