Wireshark mailing list archives

Re: core dump when parsed VoIP call with text media


From: Jaap Keuter <jaap.keuter () xs4all nl>
Date: Sat, 1 Jun 2019 11:21:07 +0200

Tried it with current HEAD of master, still same event happens. Packet number seems to be 1, but packet scope assert 
fails. 
This will need a deeper look, so please file a bug report with relevant files attached so someone with time available 
can take a crack at it.

Thanks,
Jaap

On 31 May 2019, at 20:51, Sergey Safarov <s.safarov () gmail com> wrote:

I compiled wireshark with disabled optimization and then created core file.
Then I read core using command
gdb /usr/local/wireshark/bin/wireshark core.20221 -ex "set pagination off" -ex bt -ex "bt full" -ex quit

Output published here http://217.12.247.220/tmp/wireshark-gdb.html <http://217.12.247.220/tmp/wireshark-gdb.html>
Could you have a look.


On Fri, May 31, 2019 at 8:33 PM Dario Lombardo <lomato () gmail com <mailto:lomato () gmail com>> wrote:
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 () gmail com <mailto:s.safarov () gmail com>> 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 () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: