Project

General

Profile

Bug #4932

crash on debian buster/testing after first rest api call

Added by lynxis 26 days ago. Updated 14 days ago.

Status:
Feedback
Priority:
Normal
Assignee:
Target version:
-
Start date:
01/01/2021
Due date:
% Done:

0%

Spec Reference:

Description

osmo-cbc crashs after the first rest api call.
it crashes when in my_o_free().

History

#1 Updated by laforge 14 days ago

  • 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 :(

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)