http://bugs.winehq.org/show_bug.cgi?id=18564
--- Comment #1 from Jeff Zaroyko jeffz@jeffz.name 2009-05-22 03:17:23 --- (In reply to comment #0)
I would attach a trace, except that trying to trace to a file still spews useful output to the terminal for some reason here. Without being able to properly place that information in context in the log, both the trace and the terminal output are somewhat useless.
It's usually because you're not redirecting stderr to the file, try: wine foo.exe 2> foo.txt