Re: testgtk crashes



Brian Cameron <Brian Cameron Sun COM> writes:

> Owen:
> 
> Any tips about how we could help debug this scenario for you?  :)

Not really. You might want to try creating a small X-only program that
simply:

 - opens an X display
 - checks for and initializies the Xkb extension
 - calls XkbGetMap

And see if that reproduces the problem. See
_gdk_windowing_init_check() for the first two operations.

Regards,
                                        Owen

 
> Thanks!
> 
> Brian
> 
> > lucy brophy <lucy brophy ireland sun com> writes:
> > 
> > > If I run testgtk, click on "entry" and then click on the text entry with
> > > "hello world" printed in it I get a core dump with the error:
> > > testgtk (pid:8897): Gdk-ERROR **: Failed to get keymap
> > > 
> > > Any ideas would be great,
> > > Thanks
> > > Lucy
> > > 
> > > here is the stack trace:
> > >  fea9b638 _kill    (ff2fda78, 4, ff2fda80, ffbed640, 227bc, fee696b0) +
> > > 8
> > >  fec3a3e0 g_log    (ff2fda78, 4, ff2fda80, ff2fda80, 64c08, ff28618c) +
> > > 38
> > >  ff2d99a0 get_xkb  (ff2da17c, 30e, 1, ff3a0800, ff3e2628, fef13179) + a4
> > >  ff2d9f54 get_direction (0, ff315a58, 3, 8b16c, 68da8, a4) + 10
> > 
> > Well, the code in question is:
> > 
> >       xkb_desc = XkbGetMap (gdk_display, XkbKeySymsMask, XkbUseCoreKbd);
> >       if (xkb_desc == NULL)
> >         g_error ("Failed to get keymap");
> > 
> > This is a "not supposed to happen" situation, hence the abort
> > here rather than recovery.
> > 
> > It should be easy enough to make it fall back to the non-XKB case
> > for this, but it would be nice to know why this is happening -- 
> > there may be something special about using XKB on Solaris that
> > isn't the case with XFree86. 




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