Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Current Lua test failures on the buildbot

From: Peter Wu <peter@xxxxxxxxxxxxx>
Date: Mon, 8 Aug 2016 15:39:52 +0200
On Sat, Aug 06, 2016 at 08:34:10PM -0700, Guy Harris wrote:
> 
> > On Aug 6, 2016, at 8:22 PM, Guy Harris <guy@xxxxxxxxxxxx> wrote:
> > 
> > On Aug 6, 2016, at 7:47 PM, Guy Harris <guy@xxxxxxxxxxxx> wrote:
> > 
> >> It also fails on an Ubuntu 14.10 system; the TShark build information is:
> >> 
> >> 	TShark (Wireshark) 2.3.0 (v2.3.0rc0-230-ge32890a from master)
> >> 
> >> 	Copyright 1998-2016 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
> >> 	License GPLv2+: GNU GPL version 2 or later <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
> >> 	This is free software; see the source for copying conditions. There is NO
> >> 	warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> >> 
> >> 	Compiled (64-bit) with libpcap, without POSIX capabilities, with libnl 3, with
> >> 	GLib 2.42.1, with zlib 1.2.8, without SMI, without c-ares, with Lua 5.2, without
> >> 	GnuTLS, without Gcrypt, without Kerberos, without GeoIP.
> >> 
> >> 	Running on Linux 3.16.0-44-generic, with locale en_US.UTF-8, with libpcap
> >> 	version 1.6.2, with zlib 1.2.8.
> >> 	Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz (with SSE4.2)
> >> 
> >> 	Built using gcc 4.9.1.
> > 
> > Succeeds on Ubuntu 12.10; the TShark build information is:
> > 
> > 	TShark (Wireshark) 2.3.0 (v2.3.0rc0-231-g66711eb from master)
> > 
> > 	Copyright 1998-2016 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
> > 	License GPLv2+: GNU GPL version 2 or later <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
> > 	This is free software; see the source for copying conditions. There is NO
> > 	warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> > 
> > 	Compiled (64-bit) with libpcap, without POSIX capabilities, with libnl 2, with
> > 	GLib 2.32.4, with zlib 1.2.3.4, without SMI, without c-ares, with Lua 5.1, without
> > 	GnuTLS, without Gcrypt, without Kerberos, without GeoIP.
> > 
> > 	Running on Linux 3.2.0-101-generic, with locale en_US.UTF-8, with libpcap
> > 	version 1.1.1, with zlib 1.2.3.4.
> > 	Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz (with SSE4.2)
> > 
> > 	Built using gcc 4.6.3.
> > 
> > Older GLib *and* older Lua; I'll see if I can try it with Lua 5.2.
> 
> Succeeds with Lua 5.2 as well; the TShark build information is:
> 
> 	TShark (Wireshark) 2.3.0 (v2.3.0rc0-231-g66711eb from master)
> 
> 	Copyright 1998-2016 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
> 	License GPLv2+: GNU GPL version 2 or later <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
> 	This is free software; see the source for copying conditions. There is NO
> 	warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> 	Compiled (64-bit) with libpcap, without POSIX capabilities, with libnl 2, with
> 	GLib 2.32.4, with zlib 1.2.3.4, without SMI, without c-ares, with Lua 5.2,
> 	without GnuTLS, without Gcrypt, without Kerberos, without GeoIP.
> 
> 	Running on Linux 3.2.0-101-generic, with locale en_US.UTF-8, with libpcap
> 	version 1.1.1, with zlib 1.2.3.4.
> 	Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz (with SSE4.2)
> 
> 	Built using gcc 4.6.3.
> 
> So it looks as if something changed between GLib 2.32.4 and GLib 2.42.1.

Could be a bug/missing feature introduced with PCRE 8.34, see
https://bugzilla.gnome.org/show_bug.cgi?id=725072

Related WIP patch (that depends on glib work):
https://code.wireshark.org/review/10741
-- 
Kind regards,
Peter Wu
https://lekensteyn.nl