segfault in detail listener
8 Apr
2011
8 Apr
'11
6:03 a.m.
All, We're seeing very occasional segfaults in the detail listener. I've managed to catch one under gdb, and the backtrace shows it dying at detail.c:601: if (feof(data->fp)) goto cleanup; ...because data->fp == NULL I can't follow the control flow to see why this might happen, but I did gather a backtrace etc.
8 Apr
8 Apr
7:12 a.m.
Phil Mayers wrote:
We're seeing very occasional segfaults in the detail listener. I've managed to catch one under gdb, and the backtrace shows it dying at detail.c:601:
if (feof(data->fp)) goto cleanup;
...because data->fp == NULL
I can't follow the control flow to see why this might happen, but I did gather a backtrace etc.
<shrug> The fix is easy. Check if it's NULL. Pushed to git. Alan DeKok.
5570
Age (days ago)
5570
Last active (days ago)
1 comments
2 participants
participants (2)
-
Alan DeKok -
Phil Mayers