Wireshark mailing list archives

Re: core dump when parsed VoIP call with text media


From: Sergey Safarov <s.safarov () gmail com>
Date: Fri, 31 May 2019 21:51:59 +0300

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
Could you have a look.


On Fri, May 31, 2019 at 8:33 PM Dario Lombardo <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> 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

___________________________________________________________________________
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
___________________________________________________________________________
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: