eventstat can segfault when reaping stale timer stats
Bug #1496900 reported by
Colin Ian King
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Eventstat |
Fix Released
|
High
|
Colin Ian King |
Bug Description
user has seen the following segfault:
eventstat[10865]: segfault at af7 ip 00007f9d821ff872 sp 00007ffdb479a870 error 4 in libc-2.
stale timer stats are periodically reaped to keep memory footprint low, however, there are two issues with this:
1. The hash stat removal was double referencing the timer stat linked list next pointer instead of the hash linked list next pointer
2. More than one timer info can reference a timerstat, so we should only remove the stale timer state when no more timer infos reference it (e.g. we need to add reference counting).
Related branches
Changed in eventstat: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed http:// kernel. ubuntu. com/git/ cking/eventstat .git/commit/ ?id=c8123994e51 33d8f54ec2f8cf6 dc0d97c5e657d5