Wireshark-dev: Re: [Wireshark-dev] Wireshark 2.01 packages in Ubuntu ppa
From: Peter Wu <[email protected]>
Date: Wed, 13 Jan 2016 15:19:06 +0100
Hi Balint,

On Wed, Jan 13, 2016 at 01:44:00AM +0100, Bálint Réczey wrote:
> Hi Peter,
> 
> 2016-01-13 1:11 GMT+01:00 Peter Wu <[email protected]>:
> > On Sun, Jan 10, 2016 at 11:52:39AM +0100, Bálint Réczey wrote:
> >> Hi,
> >>
> >> 2016-01-09 16:40 GMT+01:00 Peter Wu <[email protected]>:
[..]
> >> I have reproduced the issue in a clean Wily VM.
> >> And did short triaging:
> >>
> >> #4  0x00005653770ef3e3 in main_widgets_rearrange () at
> >> /home/vagrant/wireshark-2.0.1+g59ea380/ui/gtk/main.c:3491
> >> 3491            g_assert_not_reached();
> >> (gdb) p prefs.gui_layout_type
> >> $1 = layout_unused
> >>
> >> Recompilation does not help and the preferences file is not created.
> >>
> >> The Qt version and tshark start fine.
> >
> > Can you try this fix (for master, but should be backported too):
> > https://code.wireshark.org/review/13154
> >
> > It also means that somehow the gui.layout_type field was set to 0... But
> > the default on master-2.0 is:
> >
> >     epan/prefs.c:3032:    prefs.gui_layout_type = layout_type_5;
> >
> > Does Ubuntu include a default prefs file having gui.layout_type:0?
> Sorry for not posting here earlier, but the crash is fixed or at least
> shadowed by this commit:
> https://code.wireshark.org/review/#/c/13178/

Odd, seems like a different library is also defining the "prefs" symbol?
That could explain the issue original issue.

> You may want to revert it before testing other possible fixes.

Should not be needed, you can reproduce the same assertion error with

    wireshark -o gui.layout_type:-1
-- 
Kind regards,
Peter Wu
https://lekensteyn.nl