Code: $ wineclean ; ./wine64 winecfg wine: created the configuration directory '/home/test/.wine' wine client error:0: version mismatch 432/431. Your wine binary was not upgraded correctly, or you have an older one somewhere in your PATH. Or maybe the wrong wineserver is still running? wine: configuration in '/home/test/.wine' has been updated. where Code: $ cat ~/bin/wineclean #!/bin/sh wineserver -k ; pkill -u test wine- ; pkill -u test .exe ; pkill -u test Apple ; # Apple iTunes rm --one-file-system $(xdg-user-dir DESKTOP)/*.desktop 2> /dev/null rm --one-file-system $(xdg-user-dir DESKTOP)/*.lnk 2> /dev/null rm ~/.local/share/mime/interface/x-winamp* 2> /dev/null rm ~/.local/share/applications/wine-*.desktop 2> /dev/null rm -rf ~/.local/share/applications/wine/* 2> /dev/null rm ~/.local/share/desktop-directories/* 2> /dev/null rm ~/.local/share/applications/mimeinfo.cache 2> /dev/null # AFAICT only used by Wine rm ~/.config/menus/applications-merged/wine*.menu 2> /dev/null rm -rf ~/.local/share/wineprefixes 2> /dev/null # Winetricks rm -rf ~/My\ Library 2> /dev/null # MS Reader rm -rf ~/TomTom 2> /dev/null # TomTom HOME rm -rf ~/Dreamboat 2> /dev/null # Skeedreceiver rm -rf ~/MaxIm\ DL\ 5 2> /dev/null #MaxIm DL 5 rm -rf ~/.wine # If "all" is added then all wineprefixes in ~ should be cleaned if [ "$1" = "all" ] then echo "Cleaning ALL wineprefixes" rm -rf ~/.wine.* echo "Done." echo fi # Set up a WINEPREFIX in /tmp (handy) rm -rf /tmp/wine 2> /dev/null mkdir /tmp/wine and without cleaning ~/.wine Code: $ err:seh:call_stack_handlers invalid frame 2410f0 (0x142000-0x240000) err:seh:raise_exception Exception frame is not in stack limits => unable to dispatch exception. wine client error:13: write: Bad file descriptor err:seh:call_stack_handlers invalid frame 2410f0 (0x142000-0x240000) err:seh:raise_exception Exception frame is not in stack limits => unable to dispatch exception. wine client error:13: write: Bad file descriptor err:seh:call_stack_handlers invalid frame 2410f0 (0x142000-0x240000) err:seh:raise_exception Exception frame is not in stack limits => unable to dispatch exception. wine client error:1b: write: Bad file descriptor err:seh:call_stack_handlers invalid frame 2410f0 (0x142000-0x240000) err:seh:raise_exception Exception frame is not in stack limits => unable to dispatch exception. wine client error:1b: write: Bad file descriptor There are no compile errors so... shrug