JDK-4908326 : PIT: test/awt/FontClass/CreateFont/DenyFromFile.sh failed.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2003-08-18
  • Updated: 2004-01-12
  • Resolved: 2003-08-19
Related Reports
Duplicate :  
Relates :  
Description
Build: /net/capra/export12/java2d/builds/2003-08-15.tiger.pit
Platform: Linux RedHat 9 (locale: ja)
Test: regression

To repoduce:
1. install the PIT build
2. run test/awt/FontClass/CreateFont/DenyFromFile.sh with JTREG.

----------System.err:(1/202)*----------
/root/dina_pit/test/java/awt/FontClass/CreateFont/DenyFromFile.sh: line 48: 15424 \u30a2\u30dc\u30fc\u30c8\u3057\u307e\u3057\u305f        ${TESTJAVA}${FS}bin${FS}java -Dtest.src=${TESTSRC} DenyFromFile
result: Failed. Execution failed: exit code 1

Comments
EVALUATION I don't believe this is a 2D bug. The test in question relies on the Java app returning a 0 exit code to an invoking shell script. But the VM when asked to exit instead abort's resulting in what looks to the executing script like a test failure which it passes on. This happens on RH 9 but not other systems. It seems to have started in b08 which is where we added new font code but that code is Java code and no relevant native code is executed. However b08 also introduces a new gcc used to build the VM and libs that is possibly where the problem lies. So this test isn't failing, its passing, but its impossible to communicate that because of this other problem. At least one trace suggests its right after writing out some hotspot performance data although that may be a normal step in exiting. ###@###.### 2003-08-18 ============================ Yep an engineer more acquainted tham I with the linux VM confirms that since we started compiling with GCC 3.2 we tickle a bug on RH 9 and you need to patch your O/S. Therefore this is not a 2D bug but I am closing it as a dup of 4885046. Workaround I am told is You can either set LD_ASSUME_KERNEL=2.4.1 or upgrade glibc. The former does the trick for me. ###@###.### 2003-08-19 ===========================
19-08-2003