SIGSEGV caused by libgconf-2.so.4

Raif S. Naffah raif at swiftdsl.com.au
Thu Aug 3 23:49:52 UTC 2006


hello Mario,

On Friday 04 August 2006 09:32, Mario Torre wrote:
> Il giorno ven, 04/08/2006 alle 09.12 +1000, Raif S. Naffah ha scritto:
> > i'm getting a segmentation fault caused by /usr/lib/libgconf-2.so.4
> > (FC5) when trying to run jamvm with Classpath (both CVS Head)...
> > anybody else is seeing this?
>
> Hi!
> Do you have a test case for that?
>
> I can't see it, but maybe I'm trying with the wrong tests...

here is how i can trigger it:

import java.util.prefs.Preferences;

public class Hello {
  public static final void main(String[] args) {
    Preferences prefs = Preferences.systemNodeForPackage(Hello.class);
    int lastSerialNumber = prefs.getInt("LAST_SERIAL_NUMBER", 0) + 1;
    prefs.putInt("LAST_SERIAL_NUMBER", lastSerialNumber);
  }
}

compiled with javac:

$ javac -version
Eclipse Java Compiler v_585_R31x, 3.1.2 release, Copyright IBM Corp 2000, 
2006. All rights reserved.

and run with jamvm:

$ ./bin/jamvm -version
java version "1.4.2"
JamVM version 1.4.4-pre
...


cheers;
rsn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath/attachments/20060804/a8d42fe3/attachment.pgp


More information about the Classpath mailing list