harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-4983) [drlvm][kernel] DRLVM fails to find linuxfont.so when running DaCapo chart
Date Wed, 24 Oct 2007 19:00:50 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-4983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12537388
] 

Mark Hindess commented on HARMONY-4983:
---------------------------------------

Egor,  you might be able to see what file (dependency) is not being found using strace.  That
is:

  strace -f -e file -o strace.log [...]/trunk/working_vm/build/lnx_ia32_gcc_release/deploy/jdk/jre/bin/java
-showversion -jar dacapo-2006-10-MR2.jar chart 

Look at the resulting strace.log output for the thread that tries to open liblinuxfont.so
and then look for other .so open calls.  Typically, you will see lots of open (or stat/fstat)
calls that fail - as the path is searched -followed by a successful open.  if Gregory and
I are correct about it being a missing dependency, then you should see a sequence of open
failures that don't end in a successful open.


> [drlvm][kernel] DRLVM fails to find linuxfont.so when running DaCapo chart
> --------------------------------------------------------------------------
>
>                 Key: HARMONY-4983
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4983
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Ubuntu 6.06.1 LTS, ia32 (client, jet and opt configuration produce
the same result)
>            Reporter: Egor Pasko
>
> shell> [...]/trunk/working_vm/build/lnx_ia32_gcc_release/deploy/jdk/jre/bin/java -showversion
-jar dacapo-2006-10-MR2.jar chart
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or
its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r586906, (Oct 21 2007), Linux/ia32/gcc 4.0.3, release build
> http://harmony.apache.org
> ===== DaCapo chart starting =====
> Uncaught exception in main:
> java.lang.reflect.InvocationTargetException
>         at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
>         at java.lang.reflect.Method.invoke(Method.java:317)
>         at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)
> Caused by: java.lang.UnsatisfiedLinkError: Can not find the library: liblinuxfont.so
>         at java.lang.Runtime.loadLibrary0(Runtime.java:807)
>         at java.lang.System.loadLibrary(System.java:223)
>         at org.apache.harmony.awt.gl.font.LinuxNativeFont$1.run(LinuxNativeFont.java:716)
>         at java.security.AccessController.doPrivilegedImpl(AccessController.java:171)
>         at java.security.AccessController.doPrivileged(AccessController.java:53)
>         at org.apache.harmony.awt.gl.font.LinuxNativeFont.loadLibrary(LinuxNativeFont.java:714)
>         at org.apache.harmony.awt.gl.font.LinuxNativeFont.<clinit>(LinuxNativeFont.java:726)
>         at org.apache.harmony.awt.gl.font.LinuxFontManager.getAllFamilies(LinuxFontManager.java:235)
>         at org.apache.harmony.awt.gl.font.FontManager.<init>(FontManager.java:211)
>         at org.apache.harmony.awt.gl.font.LinuxFontManager.<init>(LinuxFontManager.java:53)
>         at org.apache.harmony.awt.gl.font.LinuxFontManager.<clinit>(LinuxFontManager.java:50)
>         at org.apache.harmony.awt.gl.linux.LinuxGraphics2DFactory.getFontManager(LinuxGraphics2DFactory.java:68)
>         at org.apache.harmony.awt.gl.font.FontManager.<clinit>(FontManager.java:249)
>         at org.apache.harmony.awt.gl.CommonGraphics2D.<init>(CommonGraphics2D.java:167)
>         at org.apache.harmony.awt.gl.image.BufferedImageGraphics2D.<init>(BufferedImageGraphics2D.java:46)
>         at org.apache.harmony.awt.gl.CommonGraphicsEnvironment.createGraphics(CommonGraphicsEnvironment.java:42)
>         at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:547)
>         at java.awt.image.BufferedImage.getGraphics(BufferedImage.java:552)
>         at com.lowagie.text.pdf.PdfGraphics2D.<init>(Unknown Source)
>         at com.lowagie.text.pdf.PdfContentByte.createGraphics(Unknown Source)
>         at dacapo.chart.Graph.plotGraph(Graph.java:239)
>         at dacapo.chart.Graph.<init>(Graph.java:39)
>         at dacapo.chart.Plotter.main(Plotter.java:39)
>         at dacapo.chart.ChartHarness.iterate(ChartHarness.java:38)
>         at dacapo.Benchmark.run(Benchmark.java:126)
>         at dacapo.TestHarness.runBenchmark(TestHarness.java:302)
>         at dacapo.TestHarness.main(TestHarness.java:242)
>         at Harness.main(Harness.java:5)
>         at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
>         ... 2 more
> I looked into [...]/trunk/working_vm/build/lnx_ia32_gcc_release/deploy/jdk/jre/bin/liblinuxfont.so
> it is pretty there.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message