Apache OpenOffice (AOO) Bugzilla – Issue 24426
Failed to build using .net 2002 Javadep.exe error 0xc0000022 using Win Xp sp1
Last modified: 2007-09-19 15:10:24 UTC
Hello, I already try to build all. Some module already pass. but it failed in module officecfg. the error message is Javadep.exe Application error. The application failed to initialize properly (0xc0000022), Click on OK to terminate the application 3 times and stop. Before that, there is some warning which simmiliar: c:\progra~1\micros~2.net\vc7\bin\cl.exe @c:\DOCUME~1\utomo\LOCALS~1\Temp\mk13 getopt1.c c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\stdio.h(298) : warning C4028: formal parameter 1 different from declaration c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\stdio.h(382) : warning C4028: formal parameter 1 different from declaration I will attach the 4NT output. Please help. Thanks Note: VS .net 2002 Entreprise, JDK 1.4.1_05, Cygwin 1.5.5.1, 4 NT 4.01. Win XP pro. OOo 1.1.1a from tar download.
Created attachment 12493 [details] 4NT output where javadep.exe problem occur and stop the build at officecfg module
Created attachment 12500 [details] Build.log and config_office, where the javadep.exe error
The last attachements contain build.log and config_office. I already update some folder via cvs: config_office, officecfg, and soltools directory using Tortoise cvs and success. But the result is same as before updating/same error message. Please help. Thanks
- try if a standalone call of just "javadep.exe" gives the same error - try "javadep.exe -H" - change to the "class" directory in the output tree of a module containing java files and try "javadep com\sun\star\..." to check if there is any functionality. - try a "dmake" in "officecfg\org\openoffice\configuration" maybe one of these checks gives some insight...
utomo > hjs: sorry I just have time to test it. number 1 & 2: javadep.exe -H and javadep.exe in 4NT and cygwin both result: [c:\4nt]javadep.exe 4NT: Unknown command "javadep.exe" I also try inside the source dir, and same. number 3 I did not clear about this. number 4. also failed. tommorrow I will bring the output. Any idea ? what I need to uninstall and install again (suspected damaged application) ? Thanks.
please check if you have a valid PATH variable. "javadep" should be reachable in "solver\...\bin" which must be part of your PATH.
I use the source tarbal OOo 1.1.1a and 1.1.1b. both are same. for configuration I use $ ./configure --with-cl-home=/cygdrive/c/progra~1/micros~2.net/vc7 --with-asm- home=/cygdrive/c/progra~1/micros~2.net/vc7 --with-jdk- home=/cygdrive/c/j2sdk1.4.1_05 --with-unzip-home=/cygdrive/c/unzip How do I check if you have a valid PATH variable. "javadep" should be reachable in "solver\...\bin" which must be part of your PATH. Tonight I will look. I am not in front of my computer wher I try to build (at home/no internet), now at office :( Thanks.
Created attachment 13064 [details] solver\ ..\bin content
javadep.exe is on the "solver\...\bin". I attach the bin content. so, can you find what is the problem ? Thanks
Oops I forget to tell that My comment ------- Additional comments from utomo99 Tue Feb 10 00:19:53 -0800 2004 ------- about unknown javadep is wrong. it is not after the dmake command and javadep error. when I test javadep.exe and javadep.exe -H. after Dmake (after I got attached javadep error) I got same error when calling javadep.exe or javadep.exe -H Please help. thanks
first of all, it's not of any use to simply attach dumped directories to an issue. it unnecessarily bloats up the issue database. please reduce attachments to a reasonable size or find other ways to supply the files. the "javadep.exe" itself has no problems here and produces usefull output (tested the first three steps). this brings me back to the point that the root cause might be located in your environment. your platform SDK should contain a tool named "depends.exe". try "depends javadep.exe" to see if there are any problems in loading required libraries.
first sorry for the big attachements. thats because I didnt know that the javadep.exe is the one which needed to test. I already try the depends. it look like is working, but I run it in oo_1.1.1b_src so it cannot find the javadep.exe. (look attached) do I need to run inside the solver/ .../bin directory ? I download the full platform SDK update and install it. Now I try to download it again, and try to reinstalling it again if necessary.
Created attachment 13095 [details] depends javadep screenshot
you may have to read some documentation about the conceptual difference between commands and parameters...
Created attachment 13128 [details] javadep dependency image
I already uninstall the platform SDK update, and install the new now (new Full download), I install the MDAC SDK, Core SDK and Internet development SDK and the result is same. [c:\oo_1.1.1b_src]depends javadep.exe c:\oo_1.1.1b_src\javadep.exe was not found. ( I attach the screenshot) But when I go inside the solver\....\bin [c:\oo_1.1.1b_src\solver\645\wntmsci8.pro\bin]depends javadep.exe I got the output. (I attach the dependency walker image & Screenshot) I use the fresh source tarball again too.
Please help, what else I need to check to solve this problems ? I try to build single module officecfg, and I got same error. Thanks.
Now I have chance again to test using everything new. I format my harddisk, install everything new, using new source OOo 1.1.1rc3, cygwin 1.5.9-1, download platform sdk and installing again. and the result is same problems. (attached the build log and config_office). I already follow the build guides carefully and using fresh source (unmodified) so, I guess it is source problems or build guides problems. Please help. Thanks
Created attachment 14096 [details] still same javadep problems, all using new ones
when I try to search google for 0xc0000022 I found many people having this 0xc0000022 error. Example http://support.microsoft.com/support/kb/articles/Q307/0/12.ASP Code 0xC0000022 indicates "access denied." http://support.microsoft.com/default.aspx?scid=kb;en-us;830582 This issue may occur if files in the Windows\Temp folder were encrypted by using Microsoft Encrypting File System (EFS). Do you think Windows\Temp folder were encrypted by using Microsoft Encrypting File System (EFS) is the problems ? . I use Win Xp. I still have no idea how to solve this. as I try step by step in the last URl, I cannot find the step Advanced, click to clear the Encrypt contents to secure data check box, and then click OK two times Please help. Thanks
next two tries: - try to set the environment variables "TMP" and "TEMP" to an unencrypted directory and build "officecfg" - change "STARDEP" in "solenv/inc/wnt.mk" to just "echo" and build "officecfg" just two ideas to track down the cause.
Thanks Hans. Just additional Info, I try to build using win 2000 pro sp4, with other parts is same: same computer (I use other harddisk), same platform sdk, same cygwin, same source, same jdk, same 4nt, same visual studio .net 2002 and others. and I did NOT got the javadep error when build on win 2000. Unfortunatelly when I build, in the middle of the process my electricity goes off, so I did not finish my build. (OO_1.1.1_src dir size about 1.8Gb), so I guess it is almost half of the build process) Now I try to build again, but I will be able to try your suggestions tommorow. at home (where I try to build OOo), I can see the temp folder is unencrypted. (but I cannot see encrypted options in my win xp at office yesterday) Thanks
This is what I got [c:\oo_1.1.1_src\officecfg]build build -- version: 1.86.18.1 /cygdrive/c/oo_1.1.1_src/officecfg/org/openoffice/configuration mkout -- version: 1.3 Making dpj... 4NT: Unknown command "javadep" ECHO is OFF C:\DOCUME~1\utomo\LOCALS~1\Temp\mk12 -> C:\oo_1.1.1_src\solver\645 \wntmsci8.pro\ inc\comp_ver.mk 1 file renamed ------------------------------ Making:..\..\..\wntmsci8.pro\misc\cfgimport.dpc dmake subdmake=true -f makefile.mk depend=t ALLDPC ------------------------------ NoDependencies javac -classpath .;..\..\..\wntmsci8.pro\class;c:\j2sdk1.4.2_02 \jre\lib\rt.jar;. ;c:\oo_1.1.1_src\external\common\jaxp.jar;c:\oo_1.1.1_src\external\common\parse r .jar;c:\oo_1.1.1_src\external\common\xt.jar -d ..\..\..\wntmsci8.pro\class XM LDefaultGenerator.java Generator.java Trim.java Decoder.java FileHelp er.java Inspector.java Note: Inspector.java uses or overrides a deprecated API. Note: Recompile with -deprecation for details. Making dpj... 4NT: Unknown command "javadep" dmake.exe: Error code 130, while making 'Shell escape' ERROR: Error 65280 occurred while making /cygdrive/c/oo_1.1.1_src/officecfg/org/ openoffice/configuration [c:\oo_1.1.1_src\officecfg]
Created attachment 14302 [details] config and wnt.mk file
hmm... the date ist 02.04.... to echo out the command line it would be more usefull to change the variable definition in "wnt.mk" to STARDEP=+$(WRAPCMD) echo and in "settings.mk" to STARDEP=+echo which line is used depends on your shell.
after playing for a while with win 2000 for build, I have a look at the temporary of the win xp build. DepCheckData.txt Idont know if this related with the issue or not. Before I have a guess that it maybe related to the Microsoft Java VM, because it is removed in Win Xp Sp1, but I already download Microsoft java VM and update it, but still same problems. [04/06/04,08:55:44] [04/06/04,08:55:44] =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= [04/06/04,08:55:44] Begin DepCheck Data session [04/06/04,08:55:44] =========================== [04/06/04,08:55:44] [04/06/04,08:55:44] Entering VSCompsToInstall() [04/06/04,08:55:44] [04/06/04,08:55:44] DataFile Summary [04/06/04,08:55:44] ================= [04/06/04,08:55:44] Component Data File: E:\Setup\baseline.dat [04/06/04,08:55:44] Dependency File: E:\Setup\vs_setup.pdi [04/06/04,08:55:44] Product to install: Visual Studio .NET Enterprise Architect - English [04/06/04,08:55:44] [04/06/04,08:55:44] [04/06/04,08:55:44] Component Version Summary [04/06/04,08:55:44] ========================= [04/06/04,08:55:44] Windows NT 4.0 Service Pack 6a [04/06/04,08:55:44] This component uses the ServicePackCheck version check method. It will validate the existence of a service pack installed on your machine. [04/06/04,08:55:44] Version on user's machine: 1. [04/06/04,08:55:44] Version to be installed: 6. [04/06/04,08:55:44] Windows 2000 Service Pack 2 [04/06/04,08:55:44] This component uses the ServicePackCheck version check method. It will validate the existence of a service pack installed on your machine. [04/06/04,08:55:44] Version on user's machine: 1. [04/06/04,08:55:44] Version to be installed: 2. [04/06/04,08:55:44] Microsoft FrontPage 2000 Server Extensions Service Release 1.2 [04/06/04,08:55:44] This component uses the MsiVersionCheck version check method. It will validate a Windows Installer app on your machine. [04/06/04,08:55:44] MSI Update Code: {77470B30-4927-11D2-B5FE- 006097C998E7}. [04/06/04,08:55:44] Checking for a major version of 9 and a minor version of 0. [04/06/04,08:55:44] Microsoft Windows Installer 2.0 [NT] [04/06/04,08:55:44] This component uses the FileVersionCheck version check method. It will compare a given version against the version of a file on your machine. [04/06/04,08:55:44] The file to be verified is C:\WINDOWS\System32\msi.dll. [04/06/04,08:55:44] Version on user's machine: 2.0.2600.1106 [04/06/04,08:55:44] Version to be installed: 2.0.2600.0 [04/06/04,08:55:44] Microsoft Windows Management Instrumentation [04/06/04,08:55:44] This component uses the FileRegVerCheck version check method. It will compare a given version against the version of a regkey on your machine. [04/06/04,08:55:44] Registry key being interrogated: HKLM,SOFTWARE\Microsoft\WBEM; Value: Build; Version: 1085.0005. [04/06/04,08:55:44] Version on user's machine: 2600.0000 [04/06/04,08:55:44] Version to be installed: 1085.0005 [04/06/04,08:55:44] Microsoft FrontPage 2000 Web Extensions Client [04/06/04,08:55:45] This component uses the MsiVersionCheck version check method. It will validate a Windows Installer app on your machine. [04/06/04,08:55:45] MSI Update Code: {0712D42B-19A7-4d8a-899C- B9CDACDE39D3}. [04/06/04,08:55:45] Checking for a major version of 7 and a minor version of 0. [04/06/04,08:55:45] Setup Runtime Files [04/06/04,08:55:45] This component uses the MsiVersionCheck version check method. It will validate a Windows Installer app on your machine. [04/06/04,08:55:45] MSI Update Code: {5A9BDE19-71A2-11D5-A54F- 0090278A1BB8}. [04/06/04,08:55:45] Checking for a major version of 7 and a minor version of 0. [04/06/04,08:55:45] Microsoft Internet Explorer 6 [04/06/04,08:55:45] This component uses the FileRegVerCheck version check method. It will compare a given version against the version of a regkey on your machine. [04/06/04,08:55:45] Registry key being interrogated: HKLM,SOFTWARE\Microsoft\Internet Explorer; Value: Version; Version: 6.0.2600.0. [04/06/04,08:55:45] Version on user's machine: 6.0.2800.1106 [04/06/04,08:55:45] Version to be installed: 6.0.2600.0 [04/06/04,08:55:45] Microsoft Data Access Components 2.7 [04/06/04,08:55:45] This component uses the FileRegVerCheck version check method. It will compare a given version against the version of a regkey on your machine. [04/06/04,08:55:45] Registry key being interrogated: HKLM,SOFTWARE\Microsoft\DataAccess; Value: FullInstallVer; Version: 2.70.7713.4. [04/06/04,08:55:45] Version on user's machine: 2.71.9030.0 [04/06/04,08:55:45] Version to be installed: 2.70.7713.4 [04/06/04,08:55:45] This component uses the MDAC version check method. It will compare a given version against the version of a regkey on your machine. [04/06/04,08:55:45] Microsoft Jet 4.0 Service Pack 3 [04/06/04,08:55:45] This component uses the FileVersionCheck version check method. It will compare a given version against the version of a file on your machine. [04/06/04,08:55:45] The file to be verified is C:\WINDOWS\System32 \msjet40.dll. [04/06/04,08:55:45] Version on user's machine: 4.0.6218.0 [04/06/04,08:55:45] Version to be installed: 4.0.2927.4 [04/06/04,08:55:45] Microsoft .NET Framework [04/06/04,08:55:45] This component uses the RegDwordCheck version check method. It will compare a DWORD against registry data on your machine. [04/06/04,08:55:45] Registry key being interrogated: HKLM,SOFTWARE\Microsoft\NET Framework Setup\Full\v1.0.3705\1033\Microsoft .NET Framework Full v1.0.3705 (1033); Value: Install; Version: 1. [04/06/04,08:55:45] Version on user's machine: 1. [04/06/04,08:55:45] Version to be installed: 1. [04/06/04,08:55:45] [04/06/04,08:55:45] [04/06/04,08:55:45] Installation Summary [04/06/04,08:55:45] ==================== [04/06/04,08:55:45] TailorListForSetup() [04/06/04,08:55:45] Windows NT 4.0 Service Pack 6a Component to be removed from installation list because it is marked "not to be installed". [04/06/04,08:55:45] Windows 2000 Service Pack 2 Component to be removed from installation list because it is marked "not to be installed". [04/06/04,08:55:45] Microsoft FrontPage 2000 Server Extensions Service Release 1.2 Component to be removed from installation list because it is marked "not to be installed". [04/06/04,08:55:45] Microsoft Windows Installer 2.0 [NT] Component to be removed from installation list because it is marked "not to be installed". [04/06/04,08:55:45] Microsoft Windows Management Instrumentation Component to be removed from installation list because it is marked "not to be installed". [04/06/04,08:55:45] Microsoft FrontPage 2000 Web Extensions Client Component to be removed from installation list because a later version is on the machine. [04/06/04,08:55:45] Setup Runtime Files Component to be removed from installation list because a later version is on the machine. [04/06/04,08:55:45] Microsoft Internet Explorer 6 Component to be removed from installation list because it is marked "not to be installed". [04/06/04,08:55:45] Microsoft Data Access Components 2.7 Component to be removed from installation list because it is marked "not to be installed". [04/06/04,08:55:45] Microsoft Jet 4.0 Service Pack 3 Component to be removed from installation list because it is marked "not to be installed". [04/06/04,08:55:46] Microsoft .NET Framework Component to be removed from installation list because same version already installed. [04/06/04,08:55:46] [04/06/04,08:55:46] Components to be installed: [04/06/04,08:55:46] [04/06/04,08:55:46] =========================== [04/06/04,08:55:46] End DepCheck Data session [04/06/04,08:55:46] =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
see ------- Additional comments from pjanik Sun Apr 11 09:29:44 -0700 2004 ------- in #i27657#.
Hi Utomo, what ause means is: >--- Additional comments from pjanik Sun Apr 11 09:29:44 -0700 2004 ------- > Hmm, thix c0000022 bug is because msvcp70.dll and msvcr70.dll are delivered as > non-executable to the solver even though they are marked as executable in the > source directory and even in external/msvc*70. Check if the dll's are executable with: $ cd external/msvcp70 $ ls -l If they are not executable use chmod to fix this. (Hint: chmod a+x yourfile.dll)
Thanks Volker, I already format my Win Xp :) But now I use win 2000, tcsh and I did not get this problems anymore. sorry cannot track in short time ( I dont know when I will try using win xp again)
utomo, I propose to resolve this issue as WORKFORME, as long as we don't have a system available with this problem.
Utomo > MH How about set this as duplicate to other issue, such as Issue 27657 Pavel have same error on win 2003. screenshot at http://tmp.janik.cz/OpenOffice.org/27657/makedepend.png I think it is related. decission is up to you
By doing an strace (for NT) on javadep.exe, I found out this 0x00000022 error really has to do with permissions : 70 2952 3256 NtOpenFile (0x100020, {24, 0, 0x40, 0, 0, "\??\c:\develop\projectos \oo_1.1.2_src\solver\645\wntmsci8.pro\bin\MSVCR70.dll"}, 5, 96, ... 71* 2952 3256 NtContinue (-297453652, 0, ... 70 2952 3256 NtOpenFile ... ) == STATUS_ACCESS_DENIED All I did was change NTFS file permissions for msvcr70.dll to allow "Read & Execute" for the appropriate user :-) Hmmmm... maybe we should add this to the build instructions...
The 1.9.x branch already does check if the msvc?70.dll files are executable. So it is fixed there and IMHO noone is going to fix it on the 1.1.x branch. Just make sure that all dlls are executable. I close this issue as WONTFIX, but actually it is fixed for the new version.
I have tried downloading the OpenOffice via the website, each time the download terminated on its own. No error message.
> I have tried downloading the OpenOffice via the website, each time the download > terminated on its own. No error message. And how is this related to this issue?