[Bug 28915] New: eclipse complains "'Periodic workspace save.' has encountered a problem."
http://bugs.winehq.org/show_bug.cgi?id=28915 Bug #: 28915 Summary: eclipse complains "'Periodic workspace save.' has encountered a problem." Product: Wine Version: 1.3.31 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs(a)winehq.org ReportedBy: dank(a)kegel.com Classification: Unclassified Current CDT eclipse-cpp-indigo-SR1-incubation-win32.zip with current Oracle JDK jdk-7u1-windows-i586.exe starts up ok, and lets you create a hello, world c++ project, but then complains "'Periodic workspace save.' has encountered a problem.". Saving doesn't seem to work properly. To trace this, best to use taskset -c 1 to avoid thread logs stepping on each other. One sees 0055:Call KERNEL32.CreateFileW(02fec340 L"C:\\users\\dank\\workspace\\.metadata\\.log",40000000,00000003,00000000,00000004,00000080,00000000) ret=6d374fbe 0055:Ret KERNEL32.CreateFileW() retval=00000300 ret=6d374fbe ... 0055:Call KERNEL32.WriteFile(00000300,0032b8f0,0000024b,0032b8a0,0032b88c) ret=6d3752ac trace:ntdll:NtWriteFile (0x300,(nil),(nil),0x32b88c,0x32b88c,0x32b8f0,0x0000024b,0x32b7b0,(nil))! trace:ntdll:FILE_GetNtStatus errno = 22 trace:ntdll:NtWriteFile = 0xc000000d 0055:Ret KERNEL32.WriteFile() retval=00000000 ret=6d3752ac 0055:Call KERNEL32.GetLastError() ret=6daad6ba 0055:Ret KERNEL32.GetLastError() retval=00000057 ret=6daad6ba 0055:Call KERNEL32.FormatMessageA(00001200,00000000,00000057,00000000,0032b7b0,00000100,00000000) ret=6daad6d8 0055:Ret KERNEL32.FormatMessageA() retval=00000013 ret=6daad6d8 0055:Call ntdll.strlen(0032b7b0 "Invalid parameter") ret=6d375c62 ... An exception occurred while writing to the platform log Adding prints, I found that it's the pwrite in NtWriteFile that is returning an error. strace -f -o slog taskset -c 1 ~/wine-git/wine eclipse/eclipse.exe shows 17835 pwrite64(112, "!SESSION 2011-10-27 21:43:57.189"..., 587, 18446744073709551615) = -1 EINVAL (Invalid argument) 17835 pwrite64(113, "\r\n!ENTRY org.eclipse.core.resour"..., 3320, 18446744073709551615) = -1 EINVAL (Invalid argument) 18446744073709551615 is -1. So it seems that java/eclipse is doing a pwrite to a file at offset -1. kernel32/tests/file.c tests offset writes, but not with an offset of -1. Sounds like we need a test? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=28915 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=28915 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|kernel32 |-unknown -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=28915 --- Comment #1 from Dan Kegel <dank(a)kegel.com> 2011-10-28 01:23:54 CDT --- Created attachment 37166 --> http://bugs.winehq.org/attachment.cgi?id=37166 Patch to just barely support the missing feature The attached patch seems to make eclipse happier. It's probably not complete nor quite the way Alexandre wants it, but it illustrates what's going on. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=28915 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Component|-unknown |ntdll Summary|eclipse complains |eclipse complains |"'Periodic workspace save.' |"'Periodic workspace save.' |has encountered a problem." |has encountered a | |problem."; java expects | |NtWriteFile to support | |FILE_WRITE_TO_END_OF_FILE -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=28915 --- Comment #2 from Nikolay Sivov <bunglehead(a)gmail.com> 2013-09-25 01:14:29 CDT --- It could be fixed with some recent work in this area. Dan, do you mind to retest? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=28915 super_man(a)post.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |focht(a)gmx.net, | |super_man(a)post.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=28915 super_man(a)post.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian(a)fds-team.de -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=28915 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |3cae528eef25e284aab89c60a2b | |1755f11dd059f Status|NEW |RESOLVED URL| |http://mirror-fpt-telecom.f | |pt.net/eclipse/technology/e | |pp/downloads/release/indigo | |/SR1/eclipse-cpp-indigo-SR1 | |-incubation-win32.zip Resolution|--- |FIXED Summary|eclipse complains |Eclipse Indigo SR1 (3.7.1) |"'Periodic workspace save.' |C++ IDE complains |has encountered a |"'Periodic workspace save.' |problem."; java expects |has encountered a problem." |NtWriteFile to support |(java expects NtWriteFile |FILE_WRITE_TO_END_OF_FILE |to support | |FILE_WRITE_TO_END_OF_FILE) --- Comment #3 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, this was fixed some years ago by commit http://source.winehq.org/git/wine.git/commitdiff/3cae528eef25e284aab89c60a2b... Thanks Dmitry Downloads used: http://mirror-fpt-telecom.fpt.net/eclipse/technology/epp/downloads/release/i... http://filehippo.com/download_jre_32/tech/10815/ http://fs34.filehippo.com/8196/8c855b70500148b9a089dfdeedfbc453/jre-7u1-wind... $ sha1sum eclipse-cpp-indigo-SR1-incubation-win32.zip 72d0de9376cc7a84b4b8c07db3b58a10dd5c1d9e eclipse-cpp-indigo-SR1-incubation-win32.zip $ du -sh eclipse-cpp-indigo-SR1-incubation-win32.zip 108M eclipse-cpp-indigo-SR1-incubation-win32.zip $ sha1sum jre-7u1-windows-i586.exe 26ec209d66c3b21ef3c7b6c1f3b9fa52466420ed jre-7u1-windows-i586.exe $ du -sh jre-7u1-windows-i586.exe 20M jre-7u1-windows-i586.exe $ wine --version wine-1.8-rc4 Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=28915 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 1.9.0. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org