http://bugs.winehq.org/show_bug.cgi?id=9970
Summary: OPA uses the process id/thread id to generate "random" temp filenames Product: Wine Version: 0.9.46. Platform: Other OS/Version: other Status: NEW Severity: minor Priority: P2 Component: wine-misc AssignedTo: wine-bugs@winehq.org ReportedBy: mikolaj.zalewski@gmail.com
But if there is no Wine program running in the background then we start a clean server each time and these number are always the same. OPAS handles very badly if there is a lot of temporary files from the same "namespace" already and after killing the program five times (so that it cannot clean the files on exit) it will refuse to start.
A workaround is to clean the C:\Windows\Temp or to keep a program running in the background so that the pids are each time different. I'm also not sure if the problem is in OPAS or in the Visual FoxPro runtime - the error 1410 that appears is a MS defined error code ( http://msdn2.microsoft.com/en-us/library/aa976055(VS.71).aspx )
http://bugs.winehq.org/show_bug.cgi?id=9970
Mikolaj Zalewski mikolaj.zalewski@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|OPA uses the process |OPAS uses the process |id/thread id to generate |id/thread id to generate |"random" temp filenames |"random" temp filenames
--- Comment #1 from Mikolaj Zalewski mikolaj.zalewski@gmail.com 2007-10-09 17:37:32 --- If OPAS generates a name but such a file already exists it converts the mtime to a DOS date - it looks like it wants to check it. But even setting the mtime to 1990 doesn't make it overwrite the old file.
http://bugs.winehq.org/show_bug.cgi?id=9970
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #2 from Dan Kegel dank@kegel.com 2007-10-09 18:37:04 --- So let's make the process and/or thread id randomness act more like the one in Windows...?
http://bugs.winehq.org/show_bug.cgi?id=9970
--- Comment #3 from Mikolaj Zalewski mikolaj.zalewski@gmail.com 2007-10-11 13:22:01 --- I thought this is only because the Windows boot process is non-deterministic. But it seems that PIDs and TIDs on Windows are random (e.g. there is no main thread id == process id + 1).
http://bugs.winehq.org/show_bug.cgi?id=9970
--- Comment #4 from Dan Kegel dank@kegel.com 2008-04-06 15:31:43 --- Still true today.
http://bugs.winehq.org/show_bug.cgi?id=9970
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=9970
--- Comment #5 from Austin English austinenglish@gmail.com 2009-04-26 20:38:31 --- Is this still an issue in current (1.1.20 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=9970
--- Comment #6 from Austin English austinenglish@gmail.com 2009-10-29 15:25:14 --- Is this still an issue in current (1.1.32 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=9970
--- Comment #7 from Damjan Jovanovic damjan.jov@gmail.com 2010-03-22 03:12:48 --- Created an attachment (id=26966) --> (http://bugs.winehq.org/attachment.cgi?id=26966) randomize the PID offset
Hello
Does this patch help?
http://bugs.winehq.org/show_bug.cgi?id=9970
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |damjan.jov@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=9970
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch CC|austinenglish@gmail.com |
http://bugs.winehq.org/show_bug.cgi?id=9970
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |ABANDONED
--- Comment #8 from Austin English austinenglish@gmail.com 2012-03-19 14:56:26 CDT --- No response in 650 days => abandoned. If this still an issue in current (1.4 or newer) Wine, and you can provide the needed information, feel free to reopen.
http://bugs.winehq.org/show_bug.cgi?id=9970
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Frédéric Delanoy frederic.delanoy@gmail.com 2012-03-20 05:01:04 CDT --- Closing ABANDONED bugs