Posts that need to be approved depend when either myself or the developer notice pending moderation in a separate tab by visiting each section of the VeraCrypt forum.
There is no set timeframe since I volunteer to help moderate the forum and the developer keeps his focus on the software.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@marmel99: Thank you for this report, and I apologize for the delay in moderation.
The core dump indicates that the crash occurs within the system's wxWidgets library (libwx_gtk3u_core-3.2.so -> wxSystemSettingsModule -> UpdatePreferDark -> free => crash). This is an issue affecting the wxWidgets library, over which we have no control.
A new version of the wxWidgets library, 3.2.3, was released on October 10, 2023, which seems to have resolved some Wayland-related crashes. Could you please confirm which version is installed on your system? You can find this information by typing wx-config --version in the terminal.
Have you installed the latest updates for your Linux distribution?
Could you also please provide instructions on how to set up a pure Wayland environment like yours so that I can attempt to reproduce the issue?
Thank you for your assistance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yeah, I was excited to see the latest wxWidgets mention those Wayland fixes recently, and running Arch Linux here, so yes wxwidgets-gtk3 3.2.3 installed.
For a pure Wayland, at least as far as running in current Gnome 45, it's as simple as overriding the shell init with a systemd user service to start the shell thusly:
Another interesting thing I noted in the original description, is this same crash signature occurs when using veracrypt -t or veracrypt -h in a terminal or even TTY.
Makes no sense why the CLI codepath would invoke anything to do with the GUI library.
Last edit: Mar Mel 2023-10-22
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@marmel99: Unfortunately, I haven't made progress on this issue as I've had to prioritize other more important tasks. Please feel free to file a bug report. It is indeed strange that this issue doesn't affect other applications, given that there is nothing special in VeraCrypt's usage of wxWidgets.
Concerning your question about why the crash occurs even in VeraCrypt's text mode ("veracrypt -t"), it seems to indicate that wxWidgets tries to access Wayland resources even if the calling application doesn't make use of any UI classes or calls.
Anyway, the best we can do is share a detailed core dump stack trace so that wxWidgets developers can locate the cause of the issue, unless it is something easy to fix.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@marmel99, could you open an issue for this on the VeraCrypt Github repo? Regular Linux contributors to VeraCrypt on Github, who might help investigate this issue, don't usually check the SourceForge forums.
Alternatively, if you prefer, I can create an issue on your behalf.
P.S.: There's an existing issue on GitHub regarding Wayland native compatibility (#184), but this particular crash seems to be a new one.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I recently switched my display protocol to pure Wayland (no X11, no Xwayland).
To my chagrin, Veracrypt is currently the only piece of software I have installed that fails to launch.
It crashes immediately whether launching the GUI or from CLI.
Strangely, I can't find a topic or a ticket for this, but figure it must exist, so trying the forums first.
Hopefully there's an easy workaround.
Last edit: Mar Mel 2023-11-24
I posted about this crasher issue 2 days ago and it's still "awaiting moderation".
Is this normal? Looks like this forum is active daily here.
Posts that need to be approved depend when either myself or the developer notice pending moderation in a separate tab by visiting each section of the VeraCrypt forum.
There is no set timeframe since I volunteer to help moderate the forum and the developer keeps his focus on the software.
No worries, understood. Thanks for getting my post... posted!
Also, I have a workaround, as
cryptsetup
allows for opening Veracrypt volumes these days.Last edit: Mar Mel 2023-10-22
@marmel99: Thank you for this report, and I apologize for the delay in moderation.
The core dump indicates that the crash occurs within the system's wxWidgets library (libwx_gtk3u_core-3.2.so -> wxSystemSettingsModule -> UpdatePreferDark -> free => crash). This is an issue affecting the wxWidgets library, over which we have no control.
A new version of the wxWidgets library, 3.2.3, was released on October 10, 2023, which seems to have resolved some Wayland-related crashes. Could you please confirm which version is installed on your system? You can find this information by typing
wx-config --version
in the terminal.Have you installed the latest updates for your Linux distribution?
Could you also please provide instructions on how to set up a pure Wayland environment like yours so that I can attempt to reproduce the issue?
Thank you for your assistance.
Thanks for getting back to me.
Yeah, I was excited to see the latest wxWidgets mention those Wayland fixes recently, and running Arch Linux here, so yes
wxwidgets-gtk3 3.2.3
installed.For a pure Wayland, at least as far as running in current Gnome 45, it's as simple as overriding the shell init with a systemd user service to start the shell thusly:
Log out/in and X11/Xwayland will no longer be available to the shell/apps.
EDIT:
To revert back to standard shell with Xwayland available, just remove the file:
Last edit: Mar Mel 2023-10-22
Another interesting thing I noted in the original description, is this same crash signature occurs when using
veracrypt -t
orveracrypt -h
in a terminal or even TTY.Makes no sense why the CLI codepath would invoke anything to do with the GUI library.
Last edit: Mar Mel 2023-10-22
Hi @idrassi, did you manage to get anywhere with this?
Should I file a bug report? I search for 'wayland' in the tickets with zero results. Odd.
@marmel99: Unfortunately, I haven't made progress on this issue as I've had to prioritize other more important tasks. Please feel free to file a bug report. It is indeed strange that this issue doesn't affect other applications, given that there is nothing special in VeraCrypt's usage of wxWidgets.
Concerning your question about why the crash occurs even in VeraCrypt's text mode ("veracrypt -t"), it seems to indicate that wxWidgets tries to access Wayland resources even if the calling application doesn't make use of any UI classes or calls.
Anyway, the best we can do is share a detailed core dump stack trace so that wxWidgets developers can locate the cause of the issue, unless it is something easy to fix.
This is not strange on my system, as it's the only installed application with a wxWidgets dependency.
@marmel99, could you open an issue for this on the VeraCrypt Github repo? Regular Linux contributors to VeraCrypt on Github, who might help investigate this issue, don't usually check the SourceForge forums.
Alternatively, if you prefer, I can create an issue on your behalf.
P.S.: There's an existing issue on GitHub regarding Wayland native compatibility (#184), but this particular crash seems to be a new one.
Thanks for your quick reply and pointing to the bug report.
As it's currently open there's no point filing a duplicate.
I've updated the report with the same details as found here.
Last edit: Mar Mel 2023-11-11
Upstream Wxwidgets report:
https://github.com/wxWidgets/wxWidgets/issues/24081
Downstream Arch report:
https://bugs.archlinux.org/task/80184
Wxwidgets 3.2.4+8ea22b5e solved the crash and enables console mode.
Still no GUI under Wayland, but progress.
Last edit: Mar Mel 2023-11-24
This issue has been resolved with the following PR:
https://github.com/veracrypt/VeraCrypt/pull/1264
I built 1.26.7+#1264 and can confirm this also allows full GUI functionality under pure Wayland!
Last edit: Mar Mel 2023-11-26