Project

General

Profile

Actions

Bug #4932

closed

crash on debian buster/testing after first rest api call

Added by lynxis about 3 years ago. Updated almost 2 years ago.

Status:
Resolved
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().

Actions #1

Updated by laforge about 3 years 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 :(

Actions #2

Updated by laforge almost 2 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)