Trying to read last event from data file causes segmentation fault
-
Christopher Stawarz
- State changed from new to resolved
- Assigned user set to Christopher Stawarz
Fixed in mw_datatools commit c47948122735119859c4f5dd2ae565fa77478423.
The problematic last event was a RESERVED_TERMINATION_CODE event generated by ScarabWriteConnection. The event has a code and time but no payload (i.e. it's a list of length 2, instead of the typical 3). The time looks funny because it's absolute, not relative to the base time like the other events.
EventWrapper::getPayload and getScarabEventPayload now return NULL for payload-free events.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
