Wireshark hangs when loading this PCAPNG and decrypting
## Summary
Wireshark crashes when loading/decrypting this PCAPNG file with large HTTP/2 sessions.
## Sample capture file
https://drive.google.com/file/d/1lhM4awLSb15rQoGkslqslUI6fFPTAqdu/view?usp=drivesdk
Was too large to attach to gitlab
## Steps to reproduce
(How one can reproduce the issue - this is very important)
Simply open this file in wireshark and it will hang after loading ~10000 packets.
## What is the current bug behavior?
(What actually happens. Include detailed information like logs and screenshots if possible)
Hangs after loading ~10000 packets. With no error messages in log or terminal.
## What is the expected correct behavior?
(What you should see instead)
The file should be loaded and decrypted successfully.
## Build information
```
(In Wireshark, select Help->About Wireshark from the main menu and use the button "Copy To Clipboard".
Please paste the complete output here. Or from the command line, run `tshark -v` or `wireshark -v`)
Wireshark 4.6.2.
Copyright 1998-2025 Gerald Combs <gerald@wireshark.org> and contributors.
Licensed under the terms of the GNU General Public License (version 2 or later).
This is free software; see the file named COPYING in the distribution. There is
NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compile-time info:
Bit width: 64-bit
Compiler: GCC 11.4.0
GLib: 2.72.4
With:
+brotli +Minizip 1.2.8
+Gcrypt 1.9.4 +nghttp2 1.43.0
+GnuTLS 3.7.3 and PKCS#11 +nghttp3 0.1.1
+Kerberos (MIT) +PCRE2 10.39 2021-10-29
+libnl 3 +POSIX capabilities (Linux)
+libpcap +Qt 5.15.3
+libsmi 0.4.8 +QtDBus
+libxml2 2.9.13 +QtMultimedia
+Lua 5.4.4 +Snappy 1.1.8
+LZ4 1.9.3 +zlib 1.2.11
+MaxMind 1.5.2 +Zstandard 1.4.8
Without:
-automatic updates -xxhash -zlib-ng
Runtime info:
OS: Linux 6.1.145-gc1de4747ac59-ab14219743
CPU:
Memory: 7464 MB of physical memory
GLib: 2.72.4
Locale: LC_TYPE=C.UTF-8
Plugins: supported, 0 loaded
With:
+brotli 1.0.9 +nghttp2 1.43.0
+c-ares 1.18.1 +nghttp3 0.1.1
+Gcrypt 1.9.4 +PCRE2 10.39 2021-10-29
+GnuTLS 3.7.3 +Qt 5.15.3
+libpcap 1.10.1 (with TPACKET_V3) +zlib 1.2.11
+libsmi 0.4.8 +Zstandard 1.4.8
+LZ4 1.9.3
```
issue