View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008997 | Kali Linux | General Bug | public | 2024-11-11 23:01 | 2024-12-02 02:51 |
Reporter | birefringence | Assigned To | arnaudr | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Summary | 0008997: Wireshark crashes when opening file dialog (open / save) on Raspberry 400 (64-bit) | ||||
Description | With the latest packages (wireshark 4.4.0-1, libqt6gui6:arm64 6.7.2+dfsg-4kali1), trying to open or save segfaults wireshark. This seems to be related to the Qt file dialog. Downgrading to wireshark 4.2.5-1 does not fix it, so I believe this is a Qt problem. With wireshark 4.2.5-1 and the Qt libraries contained in the latest Raspberry 400 64-bit image available for download it works fine. Steps to reproduce: Backtrace:
| ||||
Hello. I can't reproduce, I tried running wireshark, I can capture packets, I can save to file, I can then load this file. No problem. I tried wireshark as root and non-root. I ran my test on a up-to-date Kali Rolling VM, and I can confirm that I have the same versions as you ( Can you please make sure that your system is up-to-date ( Note that I could only test on a amd64 VM, I don't have a arm64 machine around to test... It could be that you're hitting a arch-specific bug. |
|
There are indeed arm64 qt6 bugs reported on the Debian bugtracker, similar to your bug:
Assuming you run Wayland, you could try to switch to X11 instead (the exact procedure to do that depends on whether you run GNOME, KDE, XFCE) |
|
I tried both X11 session or Wayland session with GNOME, amd64 VM, and I still can't reproduce, so it really seems to be specific to arm64 |
|
Yes, I'm quite sure it is arm64 specific. The system is up to date and I have also rebooted. Also, to cross check, I've reinstalled from a fresh image. This works fine. Then, I upgraded only wireshark and Qt and I got the same crash as on the fully up-to-date system. The Debian bug reports look very much like the same problem. I'm using XFCE, which only supports X11, I believe. |
|
You are correct. If you're motivated, you could try another install with GNOME, check that you can reproduce the issue. If so, then enable Wayland (by default Kali's GNOME runs X11), and check that the bug can still be reproduced. That would help to know if it's a bug that is specific to X11 or Wayland, and maybe it would help us to find if a patch is available already. Or at least, it would help to refine the existing bug report. To make sure you run wayland or x11, you can run:
To enable Wayland on Kali's GNOME, check the file
The thing is, we can't roll back this change, now latest Qt6 is in kali-rolling, and it will be released in Kali 2024.4 in around 2 weeks or so. |
|
OK, I tried the instructions, but I couldn't get a Wayland session to run. GDM still only offered to start X11 sessions. Again, the arm64 build for Raspberry may be a bit of a special case here ... |
|
I know that the instructions work for amd64, I just tried it myself when I wrote the message, but that was for a amd64 VM, indeed, I didn't test arm64. However I don't think arm64 should be special in that regard... Do you use an image downloaded from https://www.kali.org/get-kali/#kali-arm?
After enabling Wayland, I just log in without touching any setting, I didn't even notice that GDM offers to start X11. By default it should log you in Wayland. |
|
OK, I was missing the "dtoverlay=vc4-kms-v3d" line in /boot/config.txt Now, I also tested with Wayland: Exactly the same crash happens there as well. |
|
I checked the Qt6 bug tracker, I just can't find this issue reported. I also checked the Git tree, couldn't really find any commit that seems related. There is a commit in the 6.8 branch that "prevent crash" in various Q*Dialog widgets. Despite the promising name, it doesn't look related at all to our issue: no mention of ARM, and seemingly fixing an issue reported more than 10 years ago... Cf.
So we only know that this bug was reported twice on the Debian bugtracker (cf. https://bugs.kali.org/view.php?id=8997#c20040), however the Debian maintainers didn't respond. We can hope that the next Qt6 version in Debian will magically fix it. Or, reach out on the Qt6 upstream bugtracker to report the issue -- feel free to do so @birefringence if you have the time :) |
|
OK, I tried to report it here: https://bugreports.qt.io/browse/QTBUG-131747 |
|
Hey, I think it should be fixed in kali-rolling, please |
|
Yes, it's fixed! So that means I can close the Qt bug report again? |
|
Nice to hear. We just rebuilt the qt6 package. So it means something changed in the build dependencies, there was something bogus with the earlier build (both in Kali and Debian). I will compare the build logs on Monday, out of curiosity.
Yep, sorry for wasting your time. If I find something interesting in the build logs, I'll mention it in the Qt bug report. |
|
No problem, thanks for fixing this! |
|
Could worth to add this info to the Debian bugs? |
|
I checked the build logs, but it's hard to really see anything. The last 2 builds of qt6-base in Kali were on the 5th (producing package with the crash) and 29th (producing good package) of November. Of course there was quite some changes in the build-deps in between, so there's nothing obvious to see in the build logs. I added some info to the Debian bugs, to mention that it should be fixed with a binNMU. Closing the bug here. Thanks @birefringence for following up until the end! |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2024-11-11 23:01 | birefringence | New Issue | |
2024-11-14 02:40 | arnaudr | Description Updated | |
2024-11-14 02:46 | arnaudr | Note Added: 0020039 | |
2024-11-14 02:54 | arnaudr | Note Added: 0020040 | |
2024-11-14 02:55 | arnaudr | Note Edited: 0020040 | |
2024-11-14 03:28 | arnaudr | Note Added: 0020041 | |
2024-11-14 19:33 | birefringence | Note Added: 0020043 | |
2024-11-15 03:52 | arnaudr | Note Added: 0020046 | |
2024-11-15 21:05 | birefringence | Note Added: 0020049 | |
2024-11-18 02:55 | arnaudr | Note Added: 0020054 | |
2024-11-20 11:58 | birefringence | Note Added: 0020064 | |
2024-11-29 03:41 | arnaudr | Note Added: 0020090 | |
2024-11-29 22:21 | birefringence | Note Added: 0020092 | |
2024-11-30 00:51 | arnaudr | Note Added: 0020093 | |
2024-11-30 09:26 | birefringence | Note Added: 0020099 | |
2024-11-30 14:31 | arnaudr | Note Added: 0020102 | |
2024-12-01 09:29 | birefringence | Note Added: 0020103 | |
2024-12-01 10:19 | kali-bugreport | Note Added: 0020104 | |
2024-12-02 02:51 | arnaudr | Note Added: 0020109 | |
2024-12-02 02:51 | arnaudr | Assigned To | => arnaudr |
2024-12-02 02:51 | arnaudr | Status | new => closed |
2024-12-02 02:51 | arnaudr | Resolution | open => fixed |