Wireshark-dev: Re: [Wireshark-dev] core dump when parsed VoIP call with text media
Date Prev · Date Next · Thread Prev · Thread Next
From: Moshe Kaplan <mosheekaplan@xxxxxxxxx>
Date: Fri, 31 May 2019 16:05:50 -0400
Please a file on the Wireshark bugzilla:
https://bugs.wireshark.org/bugzilla/enter_bug.cgi?product=Wireshark  

You can include the PCAP, exact version, stack traces, and any other information that may be relevant for debugging.

Moshe

On Fri, May 31, 2019 at 2:52 PM Sergey Safarov <s.safarov@xxxxxxxxx> 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
Could you have a look.


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