I have been using ultrasurf a proxy server through wine.And yesterday ultrsurf was easting too much memory so I killed it via console. Then I restarted again and it wouldn't start saying some error. I deleted it and the files it created in the same directory(it's a portable version) and re-downloaded and tried to execute but it shows the same error.So I tried to use it by running wine u1204.exe as root(I know its not recommended) wine created .wine directory for root and it started working fine!so what I could understand from this is when I killed ultrasurf it messed up with some files or temp files of wine and it won't start now! So If I can remove those temp files I can run ultrasurf again from normal user. Thaks for the help.
how to delete wine temp files for an application
wine
Delete or rename your wine profile directory. The default wine profile directory is located in your home: ~/.wine. Delete or rename that directory and wine will create a new profile directory. The effect is similar to reinstalling windows. Note that all your settings and other customization in wine will be gone too.You can set up a per application wine profile like this:WINEPREFIX=~/wine/someapp/profile wine ~/wine/someapp/someapp.exe