Found it.
In fact, it was not only Wine, but a lot of programs (LeafPad, LxAppearance, and some other stuff) that did cause a segmentation fault and crash.
So I used strace
to investigate the error and I found that these applications, upon crashing, did try to load cursor icon files that did not exist.
And while I did install some cursor themes something like a week ago (Breeze theme, to replace Adwaita Theme), it did not work back in the days and I just stopped caring about it (as I'm using i3 as a window manager and changing the general graphic behavior of i3 is a bit complicated).
Obviously, the cursor change was taken in account only after the next login after the switch. And once the "glitched" cursor theme loaded, instead of falling back into the default X11 cursor theme (or Adwaita) when a specified icon could not be found, it was creating some "out of memory bounds" shit.
Problem fixed by uninstalling then installing again, properly, the Breeze theme (and I also installed a lot of them). Installing themes on this is system is done this way :
- Copying all themes in separate folders, in ~/.icons/
- Removing all the symbolic links in theses themes folders using
find -type l -delete
among them
- Create a symbolic link for each of your themes folders so they also appear in /usr/share/icons the same way they do in ~/.icons
- Switching theme with lxappearance (if you didn't delete the symbolic links previously, by here you'll get the segmentation fault stuff in almost every program). At this point, it will be all glitched out cursors because links are missing.
- Restore all the symbolic links you've deleted in step 2, by extracting them again from the theme archive for exemple.
Then reboot. Once the theme is successfully loaded and understood by LxAppearance, the segmentation fault errors never occur again.
Also you may notice that some themes (AdWaita for example) support to be switched on with LXA despite the fact that they've got symbolic links inside them, while some others (like Breeze and its variants) do not and need you to repeat theses operations every time.
Ah, Linux and the graphical interfaces. Love to get general system failures caused by a missing cursor icon file.
apt update
'ingwine
did the trick. I was using 2.0.2 instead of 3.0.1.