Skip to content

Console seems a bit broken? #44

@mr-mop

Description

@mr-mop

The console, http://duda.io/api/console.html https://web.archive.org/web/20190807111954/http://duda.io/api/console.html, enabling messages, interface map and, jemalloc statistics seems to have a problem when not built by dudac with jemalloc enabled and jemalloc stats enabled.

It looks like the line at 215 in https://github.com/monkey/duda/blob/dst-1/src/duda.c
was commented out to avoid a duplicate call further down at line 224?
I assume because duda, via dudac as is encouraged for using the dst-1 stack, it will enable jemalloc
and so expect to run the code at line 224?
This works if Jemalloc and Jealloc stats are enabled, but not if only Jemalloc is enabled.
I added an #else to the #if JEMALLOC block at lines 218-225 to call mk_list_add() and everything started to work as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions