-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rateup crashes when kMG is set #3
Comments
this error is unfortunately not very distinctive ... what is especially odd, is that the kill happens within pthread whereas mrtg does not use threads ... |
There's always (at least) one thread. The important part is that it's abort()'ing in free() and saying "pointer being freed was not allocated". Since it stopped crashing when I comment out a config like that said "kMG[foo]: ,k,M,G" , I suspect rateup.c line 1136. |
I'm certain it's line 1136. It frees I'm working on a PR to address this right now. |
Commenting out lines 1135 - 1138 prevents `image()` from stomping on a shallow copy of kMG. The stomping leads to a crash under OS X, as reported in upstream oetiker#3, and causes the units on weekly/monthly/yearly graphs to be wrong under more forgiving operating systems.
With 2.17.4, I can reproduce a crash (SIGABRT from 'pointer being freed was not allocated') on Mac OS X 10.12.
The text was updated successfully, but these errors were encountered: