custom wireshark build crashing because of Faulting module name: Qt5Widgets.dll

asked 2018-09-11 06:34:50 +0000

aravind gravatar image

updated 2018-09-11 14:18:07 +0000

grahamb gravatar image

In some of the machines we could install the wireshark exe and able to open the pcap file. But in some of the machines application is crashing because of Qt5Widgets.dll. Please find the attached file for more details. t is capture from Event viewer. General information about the crash is as below:

Faulting application name: Wireshark.exe, version: 2.9.0.0, time stamp: 0x5b96475f
Faulting module name: Qt5Widgets.dll, version: 5.11.1.0, time stamp: 0x5b2360be
Exception code: 0xc0000005
Fault offset: 0x0003aff8
Faulting process id: 0x2af4
Faulting application start time: 0x01d44909a196e7fc
Faulting application path: C:\Program Files (x86)\Wireshark\Wireshark.exe
Faulting module path: C:\Program Files (x86)\Wireshark\Qt5Widgets.dll
Report Id: 3a4187b2-e55b-491e-abae-0c3a3c19c62d
Faulting package full name: 
Faulting package-relative application ID:

Note: I could not able to attach png file it says below info: ask.wireshark.org says

60 points required to upload files...

edit retag flag offensive close merge delete

Comments

Some questions:

  • OS?
  • Is this a Wireshark.org produced build or a custom build?
  • Do you have any custom plugins or scripts or is this "stock" Wireshark?
  • Does the issue occur when starting Wireshark, or opening an existing capture file, or performing a capture?
grahamb gravatar imagegrahamb ( 2018-09-11 09:25:48 +0000 )edit

please check inline answers:

OS?

Windows 10

Is this a Wireshark.org produced build or a custom build?

wireshark.org produced build

Do you have any custom plugins or scripts or is this "stock" Wireshark?

no

Does the issue occur when starting Wireshark, or opening an existing capture file, or performing a capture?

while opening wireshark.exe itself happening...

aravind gravatar imagearavind ( 2018-09-11 09:35:50 +0000 )edit

Still doubtful it's our build, the build bot is using C:\Qt\5.9.5. I think some one else reported problems with Qt 5.11 but I don't quite remember.

Anders gravatar imageAnders ( 2018-09-11 10:19:59 +0000 )edit

Can you post the contents (Ctrl +C to copy) of the Wireshark Help -> About Wireshark dialog from a machine that is working? I'm looking for the exact version info.

grahamb gravatar imagegrahamb ( 2018-09-11 10:33:15 +0000 )edit

Just i noticed it is custom build one . Please note the information which you asked

Copyright 1998-2018 Gerald Combs <[email protected]> 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 (32-bit) with Qt 5.11.1, with WinPcap (4_1_3), with GLib 2.52.2, with zlib 1.2.11, with SMI 0.4.8, with c-ares 1.14.0, with Lua 5.2.4, with GnuTLS 3.4.11, with Gcrypt 1.7.6, with MIT Kerberos, with MaxMind DB resolver, with nghttp2 1.14.0, with LZ4, with Snappy, with libxml2 2.9.4, with QtMultimedia, with AirPcap, with SBC, with SpanDSP, with bcg729.

Running on 64-bit Windows 10 (1803), build 17134, with ...
(more)
aravind gravatar imagearavind ( 2018-09-11 11:24:38 +0000 )edit

You missed off the version info that is just above the Copyright string.

grahamb gravatar imagegrahamb ( 2018-09-11 11:57:35 +0000 )edit

I compiled Wireshark with Qt 5.11.1 and it starts up fine on my computer. Here's my relevant information for comparison:

Version 2.9.0 (v2.9.0rc0-1778-g54e89565)

Compiled (32-bit) with Qt 5.11.1, with WinPcap (4_1_3), with GLib 2.52.2, with zlib 1.2.11, with SMI 0.4.8, with c-ares 1.14.0, with Lua 5.2.4, with GnuTLS 3.4.11, with Gcrypt 1.8.3, with MIT Kerberos, with MaxMind DB resolver, with nghttp2 1.14.0, with LZ4, with Snappy, with libxml2 2.9.4, with QtMultimedia, with AirPcap, with SBC, with SpanDSP, with bcg729.

Running on 64-bit Windows 10 (1803), build 17134, with Intel(R) Xeon(R) CPU E3-1505M v5 @ 2.80GHz (with SSE4.2), with 16225 MB of physical memory, with locale English_United States.1252, with WinPcap version 4.1.3 (packet.dll version 4.1.0 ...
(more)
cmaynard gravatar imagecmaynard ( 2018-09-11 13:58:29 +0000 )edit

As do I, and it also works fine for me. For the OP some machines work but others don't. As it's a custom build it would be difficult to debug due to a lack of symbols unless those can be made available.

grahamb gravatar imagegrahamb ( 2018-09-11 14:12:59 +0000 )edit

The build seems to be with msvc 14, perhaps that's a problem.

Anders gravatar imageAnders ( 2018-09-11 16:14:32 +0000 )edit

But so are the others (Chris's and Graham's), so that should be fine.

Jaap gravatar imageJaap ( 2018-09-11 16:22:59 +0000 )edit

@grahamb

You missed off the version info that is just above the Copyright string.

I've seen that happen before. Should we emphasize the version string in the dialog, to make it more obvious that it's part of the text to copy?

Jaap gravatar imageJaap ( 2018-09-11 16:24:36 +0000 )edit

@Jaap, maybe a "Copy" button to automate it all?

For info, my build today using the latest VS 2017 version 15.8.3:

Version 2.9.0-GMB (v2.9.0rc0-1778-g54e89565)

Copyright 1998-2018 Gerald Combs <[email protected]> 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 Qt 5.11.1, with WinPcap (4_1_3), with GLib 2.52.2, with zlib 1.2.11, with SMI 0.4.8, with c-ares 1.14.0, with Lua 5.2.4, with GnuTLS 3.4.11, with Gcrypt 1.8.3, with MIT Kerberos, with MaxMind DB resolver, with nghttp2 1.14.0, with LZ4, with Snappy, with libxml2 2.9.4, with QtMultimedia, with AirPcap ...
(more)
grahamb gravatar imagegrahamb ( 2018-09-11 16:54:48 +0000 )edit

The one build difference that sticks out to me is that both @grahamb and I have Gcrypt 1.8.3 while @aravind has Gcrypt 1.7.6. I'm not sure if this is relevant, but it might be worth updating to see if it makes any difference.

cmaynard gravatar imagecmaynard ( 2018-09-11 17:36:21 +0000 )edit

Since it is a custom build , i uninstalled qt511.1 and installed qt 5.9.5 I set the QT5_BASE_DIR environment variable to E:\Tools\qt\5.9.5\msvc2015_64. During debug build on microsoft visual studio , build is failing with below error.

116>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: The command "setlocal
116>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: set PATH=E:/Tools/qt/5.9.5/msvc2015/bin;%PATH%
116>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
116>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: E:\Tools\qt\5.11.1\msvc2015\bin\windeployqt.exe --debug  --no-compiler-runtime --verbose 10 E:/wireshark-dev/wsbuild32/run/Debug ...
(more)
aravind gravatar imagearavind ( 2018-09-12 11:25:34 +0000 )edit