Hello all, I'd like to report some issues occurred when I build Apache FOP-0.95 using HDK:
1. A crash occurs when building FOP from scratch. However, if you give it a second try, the crash won’t happen, everything goes smooth till the unit tests. The error message is as following: ========== compile-java: [mkdir] Created dir: C:\fop-0_95\build\classes [javac] C:\fop-0_95\build.xml:371: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 938 source files to C:\fop-0_95\build\classes Signal reported: GENERAL_PROTECTION_FAULT Registers: EAX: 0x00000000, EBX: 0x248e5728, ECX: 0x248da6ec, EDX: 0x0152ffa0 ESI: 0x004b8df8, EDI: 0x248da6ec, ESP: 0x2313f65c, EBP: 0x004b8df8 EIP: 0x0214f128 Command line: "c:\Harmony\target\hdk\jdk\jre\bin\java.exe" "-classpath" "C:\Program Files\WinAnt\lib\ant-launcher.jar" "-Dant.home=C:\Program Files\WinAnt" "org.apache.tools.ant.launch.Launcher" "-cp" ".;C:\Program Files\QuickTime\QTSystem\QTJava.zip" Working directory: C:\fop-0_95 Environment variables: <snip/> JAVA_HOME=c:\Harmony\target\hdk\jdk <snip/> NUMBER_OF_PROCESSORS=4 OS=Windows_NT PROCESSOR_ARCHITECTURE=x86 PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 10, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=170a <snip/> _JAVACMD=c:\Harmony\target\hdk\jdk\bin\java.exe _USE_CLASSPATH=yes Loaded modules: c:\harmony\target\hdk\jdk\jre\bin\java.exe: 0x00400000:0x0040e000 c:\windows\system32\ntdll.dll: 0x7c900000:0x7c9af000 c:\windows\system32\kernel32.dll: 0x7c800000:0x7c8f6000 c:\harmony\target\hdk\jdk\jre\bin\hyprt.dll: 0x01da0000:0x01db7000 c:\harmony\target\hdk\jdk\jre\bin\hythr.dll: 0x01dd0000:0x01e29000 c:\windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375\msvcr90.dll: 0x78520000:0x785c3000 c:\windows\system32\ws2_32.dll: 0x71ab0000:0x71ac7000 c:\windows\system32\advapi32.dll: 0x77dd0000:0x77e6b000 c:\windows\system32\rpcrt4.dll: 0x77e70000:0x77f02000 c:\windows\system32\secur32.dll: 0x77fe0000:0x77ff1000 c:\windows\system32\msvcrt.dll: 0x77c10000:0x77c68000 c:\windows\system32\ws2help.dll: 0x71aa0000:0x71aa8000 c:\harmony\target\hdk\jdk\jre\bin\default\harmonyvm.dll: 0x00880000:0x00c0c000 c:\harmony\target\hdk\jdk\jre\bin\default\icuuc34.dll: 0x01590000:0x01658000 c:\harmony\target\hdk\jdk\jre\bin\default\icudt34.dll: 0x00c70000:0x014e0000 c:\harmony\target\hdk\jdk\jre\bin\msvcr71.dll: 0x01fe0000:0x02036000 c:\harmony\target\hdk\jdk\jre\bin\default\ch.dll: 0x00560000:0x00801000 c:\windows\system32\user32.dll: 0x7e410000:0x7e4a1000 c:\windows\system32\gdi32.dll: 0x77f10000:0x77f59000 c:\windows\system32\dbghelp.dll: 0x59a60000:0x59b01000 c:\windows\system32\version.dll: 0x77c00000:0x77c08000 c:\harmony\target\hdk\jdk\jre\bin\hyzlib.dll: 0x01e30000:0x01e42000 c:\windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375\msvcp90.dll: 0x78480000:0x7850d000 c:\windows\system32\psapi.dll: 0x76bf0000:0x76bfb000 c:\windows\system32\userenv.dll: 0x769c0000:0x76a74000 c:\windows\system32\imm32.dll: 0x76390000:0x763ad000 c:\windows\system32\lpk.dll: 0x629c0000:0x629c9000 c:\windows\system32\usp10.dll: 0x74d90000:0x74dfb000 c:\harmony\target\hdk\jdk\jre\bin\default\em.dll: 0x01520000:0x0154b000 c:\harmony\target\hdk\jdk\jre\bin\default\jitrino.dll: 0x02040000:0x024b2000 c:\harmony\target\hdk\jdk\jre\bin\default\gc_gen_uncomp.dll: 0x01550000:0x0158f000 c:\harmony\target\hdk\jdk\jre\bin\hynio.dll: 0x00c60000:0x00c66000 c:\harmony\target\hdk\jdk\jre\bin\default\vmi.dll: 0x01d60000:0x01d67000 c:\harmony\target\hdk\jdk\jre\bin\hyluni.dll: 0x22860000:0x22884000 c:\windows\system32\mswsock.dll: 0x71a50000:0x71a8f000 c:\harmony\target\hdk\jdk\jre\bin\hyarchive.dll: 0x01d90000:0x01d9c000 c:\harmony\target\hdk\jdk\jre\bin\hyniochar.dll: 0x22ed0000:0x2305b000 c:\windows\system32\apphelp.dll: 0x77b40000:0x77b62000 c:\harmony\target\hdk\jdk\jre\bin\hysecurity.dll: 0x24050000:0x24056000 Stack trace: 0: 0x0214f128 Jitrino::Jet::rt_profile_notification_callback (c:\harmony\drlvm\vm\jitrino\src\jet\rt.cpp:630) 1: 0x020b0b94 JIT_profile_notification_callback (c:\harmony\drlvm\vm\jitrino\src\vm\jitinterface.cpp:148) 2: 0x015372de DrlEMImpl::methodProfileIsReady (c:\harmony\drlvm\vm\em\src\drlemimpl.cpp:803) 3: 0x785838bb free (:-1) 4: 0x785838da free (:-1) 5: 0x0152408b std::vector<EBMethodProfile *,std::allocator<EBMethodProfile *> >::_Umove<EBMethodProfile * *> (c:\program files\microsoft visual studio 9.0\vc\include\vector:1153) 6: 0x0152554f std::vector<EBMethodProfile *,std::allocator<EBMethodProfile *> >::resize (c:\program files\microsoft visual studio 9.0 \vc\include\vector:721) 7: 0x015260f7 EBProfileCollector::onTimeout (c:\harmony\drlvm\vm\em\src\ebprofilecollector.cpp:192) 8: 0x01535f57 DrlEMImpl::tbsTimeout (c:\harmony\drlvm\vm\em\src\drlemimpl.cpp:865) 9: 0x0152fc15 ProfilerThreadTimeout (c:\harmony\drlvm\vm\em\src\em_intf.cpp:70) 10: 0x008b5860 Java_java_lang_EMThreadSupport_onTimeout (c:\harmony\drlvm\vm\vmcore\src\kernel_classes\native\java_lang_emthreadsupport.cpp:49) 11: 0x227f3530 stub::unknown 12: 0x227f3388 java/lang/EMThreadSupport::run (()V): EMThreadSupport.java:67 13: 0x227f3317 java/lang/EMThreadSupport$1::run (()V): EMThreadSupport.java:43 14: 0x227f3294 java/lang/Thread::run (()V): Thread.java:669 15: 0x227f2dce java/lang/Thread::runImpl (()V): Thread.java:680 16: 0x00c10257 stub::invoke_int_managed_func 17: 0x008b2848 JIT_execute_method_default (c:\harmony\drlvm\vm\vmcore\src\util\ia32\base\ini_ia32.cpp:301) 18: 0x008b2602 JIT_execute_method_default (c:\harmony\drlvm\vm\vmcore\src\util\ia32\base\ini_ia32.cpp:231) 19: 0x008862a8 class_lookup_method_recursive (c:\harmony\drlvm\vm\vmcore\src\class_support\class.cpp:538) 20: 0x008c4e85 object_lookup_method (c:\harmony\drlvm\vm\vmcore\src\jni\jni_method.cpp:140) 21: 0x015302f6 DrlEMImpl::executeMethod (c:\harmony\drlvm\vm\em\src\drlemimpl.cpp:522) 22: 0x0152fb6d ExecuteMethod (c:\harmony\drlvm\vm\em\src\em_intf.cpp:40) 23: 0x008b1301 vm_execute_java_method_array (c:\harmony\drlvm\vm\vmcore\src\jit\ini.cpp:56) 24: 0x008c4fef call_method_no_ref_result (c:\harmony\drlvm\vm\vmcore\src\jni\jni_method.cpp:189) 25: 0x008c504e CallVoidMethodA (c:\harmony\drlvm\vm\vmcore\src\jni\jni_method.cpp:229) 26: 0x008ffb6a jthread_wrapper_start_proc (c:\harmony\drlvm\vm\vmcore\src\thread\thread_java_basic.cpp:167) 27: 0x01dd5ccc thread_start_func (c:\harmony\drlvm\vm\port\src\thread\win\thread_os.c:59) 28: 0x78543433 endthreadex (:-1) 29: 0x785434c7 endthreadex (:-1) 30: 0x7c80b729 GetModuleFileNameA (:-1) <end of stack trace> Crashed module: c:\harmony\target\hdk\jdk\jre\bin\default\jitrino.dll (VM native code) VM attached threads: [00000814] 'Compiler Source File Reader' [0000080C] 'Compiler Source File Reader' [00000300] 'Compiler Source File Reader' [000002E4] 'Compiler Source File Reader' [000002F8] 'Compiler Source File Reader' [00000478] 'ref handler' [00000480] 'finalizer' [00000488] 'finalizer' [00000490] 'finalizer' [00000494] 'finalizer' --->[000004A4] 'profiler thread' [000007B8] 'main' ========== The mini-dump can be found at [0]. I have tested it on Windows Xp SP3 and Ubuntu 10.04 2. The junit-transcoder test suite cannot be completed. The test suite only takes few seconds to be completed on RI. I have tested several times on HDK, and let it ran for at least 10 minutes on HDK everytime, but it just never stop. A mini-dump can be found at [1] 3. For the rest of 967 unit tests, there are 5 failures and 26 errors. The success rate for HDK is 96.97%, for RI is 100%. I have updated the http://wiki.apache.org/harmony/Apache_FOP page with the test results. Any thoughts on these? Thanks, Lang [0] http://wiki.apache.org/harmony/Apache_FOP?action=AttachFile&do=get&target=build-crash.dmp [1] http://wiki.apache.org/harmony/Apache_FOP?action=AttachFile&do=get&target=junit-transcoder.dmp