Bug #4932
closed
crash on debian buster/testing after first rest api call
Added by lynxis over 3 years ago.
Updated about 2 years ago.
Description
osmo-cbc crashs after the first rest api call.
it crashes when in my_o_free().
- Status changed from New to Feedback
- Assignee set to lynxis
This is likely a bug in the upstream ulfius or even microhttpd libraries.
You can pass in custom allocator call-backs, but then somehow the libraries still do some allocations directly via malloc+free, rendering that feature useless. It used to be broken, got fixed but maybe is a regression to https://github.com/babelouest/ulfius/issues/63
Before the 0.1.0 release tag I have removed the use of my_o_{malloc,realloc,free}() to work around this problem. The "cost" is that we don't track all allocations via talloc :(
- Status changed from Feedback to Resolved
Also available in: Atom
PDF