Wireshark-dev: Re: [Wireshark-dev] core dump when parsed VoIP call with text media

From: Dario Lombardo <lomato@xxxxxxxxx>
Date: Fri, 31 May 2019 19:32:32 +0200
This probably triggered an error hidden in the debug code of the VOIP dissector. Your define popped it up.

The error message says that a line of code tried to use a wmem scope when it's not active. Eg. It tries to allocate memory in the "file" scope when no files are open. You should use a debugger to see the previous line that triggered the error and see which scope the allocator is using and fix it.

On Fri, May 31, 2019, 17:20 Sergey Safarov <s.safarov@xxxxxxxxx> wrote:
I want debug VoIP conversation.
To this I added "add_definitions(-DDEBUG_CONVERSATION)" into CMakeLists.txt and opened attached pcap file.
After this created wireshark core.

with error
ERROR:epan/wmem/wmem_core.c:38:wmem_alloc: assertion failed: (allocator->in_scope)
Aborted (core dumped)

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe