harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hindess <mark.hind...@googlemail.com>
Subject Re: [classlib][awt] Test failure
Date Mon, 27 Nov 2006 08:18:10 GMT

On 24 November 2006 at 18:27, "Oleg Khaschansky" <oleg.v.khaschansky@gmail.com> wrote:
> I'd suggest to install libxmu.

It is installed.  See comment in HARMONY-1979.

-Mark.

> On 11/23/06, Tim Ellison <t.p.ellison@gmail.com> wrote:
> > It looks like the following code (taken from [1]) doesn't allow for a
> > function address not being found.
> >
> > int (* p_nbridge_XmuLookupStandardColormap) (void *, int, long, int,
> > long, int, int) = NULL;
> >
> > JNIEXPORT jint  JNICALL
> > Java_org_apache_harmony_awt_nativebridge_linux_X11_XmuLookupStandardColorma
> p(
> > JNIEnv *env, jobject self, jlong dpy, jint screen, jlong visualid, jint
> > depth, jlong property, jint replace, jint retain) {
> >     if (p_nbridge_XmuLookupStandardColormap == NULL) {
> >         p_nbridge_XmuLookupStandardColormap = (int (*) (void *, int,
> > long, int, long, int, int)) FindFunction(libXmu,
> > "XmuLookupStandardColormap");
> >     }
> >     return (jint) (* p_nbridge_XmuLookupStandardColormap)((void *) dpy,
> > (int) screen, (long) visualid, (int) depth, (long) property, (int)
> > replace, (int) retain);
> > }
> >
> >
> > which I'm guessing is the cause of the recurrent build failure on the
> > build machine (latest classlib + IBM VM) ...
> >
> >
> > >      [exec]     [junit] Type=Segmentation error vmState=0x00040000
> > >      [exec]     [junit] J9Generic_Signal_Number=00000004 Signal_Number=00
> 00000b Error_Value=00000000 Signal_Code=00000001
> > >      [exec]     [junit] Handler1=402504A4 Handler2=401FD343 InaccessibleA
> ddress=00000000
> > >      [exec]     [junit] EDI=0816DA90 ESI=0000001B EAX=BB501CA4 EBX=BB501B
> 38
> > >      [exec]     [junit] ECX=00000000 EDX=081C4C18
> > >      [exec]     [junit] EIP=00000000 ES=0000007B DS=C010007B ESP=BFFFD538
> > >      [exec]     [junit] EFlags=00010282 CS=00000073 SS=0000007B EBP=BFFFD
> 584
> > >      [exec]     [junit] Target=2_30_20060727_07300_lHdSMR (Linux 2.6.8-3-
> 686-smp)
> > >      [exec]     [junit] CPU=x86 (8 logical CPUs) (0xdcc94000 RAM)
> >
> > <snip>
> >
> > >      [exec]     [junit] Thread: main (priority 5) (LOCATION OF ERROR)
> > >      [exec]     [junit]  NATIVE   org/apache/harmony/awt/nativebridge/lin
> ux/X11.XmuLookupStandardColormap(JIJIJII)I
> > >      [exec]     [junit]  00000080 org/apache/harmony/awt/gl/linux/XGraphi
> csConfiguration.obtainRGBColorMap()J
> > >      [exec]     [junit]  00000015 org/apache/harmony/awt/gl/linux/XGraphi
> csConfiguration.<init>(Lorg/apache/harmony/awt/gl/linux/XGraphicsDevice;Lorg/
> apache/harmony/awt/nativebridge/linux/X11$XVisualInfo;)V
> > >      [exec]     [junit]  000000a5 org/apache/harmony/awt/gl/linux/XGraphi
> csDevice.createConfigs()V
> > >      [exec]     [junit]  00000008 org/apache/harmony/awt/gl/linux/XGraphi
> csDevice.getConfigs()[Lorg/apache/harmony/awt/gl/linux/XGraphicsConfiguration
> ;
> > >      [exec]     [junit]  00000001 org/apache/harmony/awt/gl/linux/XGraphi
> csDevice.getDefaultConfiguration()Ljava/awt/GraphicsConfiguration;
> > >      [exec]     [junit]  0000000f java/awt/Window.getGraphicsConfiguratio
> n(Ljava/awt/GraphicsConfiguration;)Ljava/awt/GraphicsConfiguration;
> > >      [exec]     [junit]  0000007a java/awt/Window.<init>(Ljava/awt/Window
> ;Ljava/awt/GraphicsConfiguration;)V
> > >      [exec]     [junit]  00000003 java/awt/Frame.<init>(Ljava/lang/String
> ;Ljava/awt/GraphicsConfiguration;)V
> > >      [exec]     [junit]  00000003 java/awt/Frame.<init>(Ljava/lang/String
> ;)V
> > >      [exec]     [junit]  00000003 java/awt/Frame.<init>()V
> > >      [exec]     [junit]  00000009 java/awt/Graphics2DTest.setUp()V
> >
> >
> > Not sure what has changed to cause this failure.  The file [1] says
> > /* DO NOT EDIT THIS FILE - it is based on X11 headers and was
> > autogenerated by nativebridge tool */
> >
> > so I'm guessing I can't fix it up there.  suggestions?
> >
> >
> > [1]
> > http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/sr
> c/main/native/x11wrapper/linux/org_apache_harmony_awt_nativebridge_linux_X11.
> cpp?revision=476395&view=markup
> >
> > Regards,
> > Tim
> >
> > --
> >
> > Tim Ellison (t.p.ellison@gmail.com)
> > IBM Java technology centre, UK.
> >
> 



Mime
View raw message