Re: SIGSEGV caused by libgconf-2.so.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello Mario,

On Friday 04 August 2006 11:09, Raif S. Naffah wrote:
> On Friday 04 August 2006 10:53, Mario Torre wrote:
> > Il giorno ven, 04/08/2006 alle 10.13 +1000, Raif S. Naffah ha scritto:
> > > On Friday 04 August 2006 09:49, Raif S. Naffah wrote:
> > > > 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?
> > > > >
> > > > > Do you have a test case for that?
> > > >
> > > > 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);
> > > >   }
> > > > }
> >
> > I can't reproduce.
> >
> > Moreover, you get a warning if you put this into the default package (it
> > does not cause harm), but other than that, it is fine (the warning is
> > normal).
> >
> > Anyway, Can you try the attached patch and see if it works?
>
> i'll do that soon.

it does!  as you mentioned, i do get the following printed to the console, but
otherwise the program functions as expected:

(process:18806): GConf-CRITICAL **: gconf_client_add_dir: assertion `gconf_valid_key (dirname, NULL)' failed


thanks for your prompt intervention + cheers;
rsn

Attachment: pgpmD6nYtBwC8.pgp
Description: PGP signature


[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux