Wireshark-dev: [Wireshark-dev] Wireshark 3.4.3 on macOS crash
From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Sat, 30 Jan 2021 15:37:33 +0100
Just downloaded the update of current stable. Launching it however is not so fine. Probably something left over in the settings which causes it to crash.

Process:               Wireshark [46889]
Path:                  /Applications/Wireshark.app/Contents/MacOS/Wireshark
Identifier:            org.wireshark.Wireshark
Version:               3.4.3 (3.4.3)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Wireshark [46889]
User ID:               502

Date/Time:             2021-01-30 15:33:21.025 +0100
OS Version:            Mac OS X 10.15.7 (19H114)
Report Version:        12
Anonymous UUID:        8C235D6C-D2DD-D6D8-A1F8-31F508F8FB4B

Sleep/Wake UUID:       C2BCA0DC-9C1C-4C40-B9A8-2DA421D8FCDD

Time Awake Since Boot: 890000 seconds
Time Since Wake:       4000 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_ARITHMETIC (SIGFPE)
Exception Codes:       EXC_I386_DIV (divide by zero)
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Floating point exception: 8
Termination Reason:    Namespace SIGNAL, Code 0x8
Terminating Process:   exc handler [46889]

Application Specific Information:
Wireshark 3.4.3 (v3.4.3-0-g6ae6cd335aa9)
 
Compiled (64-bit) with Qt 5.12.6, with libpcap, without POSIX capabilities, with
GLib 2.58.3, with zlib 1.2.11, with SMI 0.4.8, with c-ares 1.15.0, with Lua
5.2.4, with GnuTLS 3.6.15 and PKCS #11 support, with Gcrypt 1.8.7, with MIT
Kerberos, with MaxMind DB resolver, with nghttp2 1.39.2, with brotli, with LZ4,
with Zstandard, with Snappy, with libxml2 2.9.9, with QtMultimedia, with
automatic updates using Sparkle, with SpeexDSP (using system library), with
Minizip.
 
Running on Mac OS X 10.15.7, build 19H114 (Darwin 19.6.0), with Intel(R)
Core(TM) i7-3720QM CPU @ 2.60GHz (with SSE4.2), with 8192 MB of physical memory,
with locale C, with libpcap version 1.9.1, with GnuTLS 3.6.15, with Gcrypt
1.8.7, with brotli 1.0.9, with zlib 1.2.11, binary plugins supported (0 loaded).
 
Built using clang 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.16).
 

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libgmp.10.dylib               	0x00000001110ed9e7 __gmpn_tdiv_qr + 1543 (tdiv_qr.c:263)
1   libgmp.10.dylib               	0x00000001110bb3f8 __gmpz_tdiv_r + 376 (tdiv_r.c:91)
2   libgmp.10.dylib               	0x00000001110af9c8 __gmpz_fdiv_r + 136 (fdiv_r.c:55)
3   libgnutls.30.dylib            	0x000000010fbe2b19 wrap_nettle_mpi_addm + 41 (mpi.c:248)
4   libgnutls.30.dylib            	0x000000010fb5d575 _gnutls_pkcs12_string_to_key + 1765 (pkcs12_encr.c:202)
5   libgnutls.30.dylib            	0x000000010fb656e9 _gnutls_pkcs_raw_decrypt_data + 697 (pkcs7-crypt.c:1197)
6   libgnutls.30.dylib            	0x000000010fb6ecc8 pkcs8_key_decode + 664 (privkey_pkcs8.c:959)
7   libgnutls.30.dylib            	0x000000010fb6d59c gnutls_x509_privkey_import_pkcs8 + 236 (privkey_pkcs8.c:1589)
8   libwsutil.12.dylib            	0x000000010f22c8f1 rsa_load_pkcs12 + 1057 (rsa.c:307)
9   libwireshark.14.dylib         	0x00000001084d4d19 ssldecrypt_uat_fld_password_chk_cb + 73 (packet-tls-utils.c:6188)
10  libwireshark.14.dylib         	0x0000000108b723be uat_load_lex + 3278
11  libwireshark.14.dylib         	0x0000000108b73651 uat_load + 225 (uat_load.l:419)
12  libwireshark.14.dylib         	0x0000000108b61ef7 uat_load_all + 87 (uat.c:532)
13  libwireshark.14.dylib         	0x0000000108b1cc5a read_prefs + 26 (prefs.c:4343)
14  libwireshark.14.dylib         	0x0000000108b00fb0 epan_load_settings + 16 (epan.c:318)
15  org.wireshark.Wireshark       	0x00000001070a8759 main + 2105
16  libdyld.dylib                 	0x00007fff684fecc9 start + 1


Going down the rabbit hole...