Wireshark-dev: Re: [Wireshark-dev] wireshark crash with segmentation fault

From: Hardik Patel <hardik.party@xxxxxxxxx>
Date: Mon, 5 Aug 2013 09:34:51 +0200
Hi Jeff,


Sorry for silly question as details is already there on website.

i have attached error which i get on console and backtrace report with this email.

Regards,
Hardik Patel


On Mon, Aug 5, 2013 at 9:04 AM, Hardik Patel <hardik.party@xxxxxxxxx> wrote:


Hi Jeff,

I did not know how to take backtrace ?? can you please help me in how to take it??


Regards,
Hardik Patel


On Fri, Aug 2, 2013 at 4:39 PM, Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> wrote:
On 08/02/13 08:54, Hardik Patel wrote:
Hi,

I come accross a problem in which some time wireshark crash and i can
see "segmentation fault" on console.

i have created dissector in which i guess problem with tree struct and
ett variables, i think i have not properly define.

I read that *The expansion of this node is controlled by the |ett_foo|
variable.*


for example i click on packet frame which have long tree and than i move
directly to packet frame which has smaller tree. so i guess wireshark
remember that last time i have open 5th element of tree but this time
packet frame do not have 5 element so it crash.

What's the backtrace when it crashes?  It seems quite unlikely that this element expansion issue is the real cause.

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



** (wireshark:4245): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
/usr/lib64/libwireshark.so.2: undefined symbol: py_create_dissector_handle
Segmentation fault
GNU gdb (GDB) SUSE (7.5.1-2.1.1)
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/wireshark...Missing separate debuginfo for /usr/bin/wireshark
Try: zypper install -C "debuginfo(build-id)=e84d77464679d8c85393af3d81ba97d7e5b2026f"
(no debugging symbols found)...done.
/home/fs-fra/h.patel/workspace/wireshark-src/Cmake_wireshark_built/core: No such file or directory.
(gdb) backtrace
No stack.
(gdb) quit