Toggling tcp.reassemble_out_of_order leads to a crash
Summary
Wireshark crashes when I toggle profiles. This only happens when I am either capturing, or when I have a file open. It does not happen when there is no file open. applecrashreport.txt
Sample capture file
none
Steps to reproduce
Either open a pcap or start a new capture (I was actively capturing for the attached crash report). Then left click on the profile name in the status bar, and select a different profile.
What is the current bug behavior?
Wireshark crashes. I have found no pattern in the profile being switched to. For the attached crash report, I was attempting to switch to the Default profile.
What is the expected correct behavior?
The new profile should be applied, and Wireshark should not crash.
Build information
Version 4.0.5 (v4.0.5-0-ge556162d8da3).
Copyright 1998-2023 Gerald Combs <gerald@wireshark.org> and contributors.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Compiled (64-bit) using Clang 13.0.0 (clang-1300.0.29.30), with GLib 2.68.4, with PCRE2, with zlib 1.2.11, with Qt 6.2.4, with libpcap, without POSIX capabilities, with Lua 5.2.4, with GnuTLS 3.6.15 and PKCS #11 support, with Gcrypt 1.8.7, with Kerberos (MIT), with MaxMind, with nghttp2 1.46.0, with brotli, with LZ4, with Zstandard, with Snappy, with libxml2 2.9.9, with libsmi 0.4.8, with QtMultimedia, with automatic updates using Sparkle, with SpeexDSP (using system library), with Minizip, with binary plugins.
Running on macOS 13.3.1, build 22E261 (Darwin 22.4.0), with Apple M1, with 16384 MB of physical memory, with GLib 2.68.4, with PCRE2 10.39 2021-10-29, with zlib 1.2.11, with Qt 6.2.4, with libpcap 1.10.1, with c-ares 1.15.0, with GnuTLS 3.6.15, with Gcrypt 1.8.7, with nghttp2 1.46.0, with brotli 1.0.9, with LZ4 1.9.2, with Zstandard 1.4.2, with libsmi 0.4.8, with light display mode, without HiDPI, with LC_TYPE=C, binary plugins supported.