Re: XFree86 specific extensions used in gnome?



On Thu, 23 Jul 1998, Simon Kagedal wrote:

> I have a freshly checked out Imlib (from anoncvs). Everything runs fine
> when I run locally on my ix86 Debian box, 16-bit XFree86 server.
> 
> But when I try to run any gnome-app on the same box but a NT4.0 box
> running MI/X as X-server, 24-bit, I get problems, which seem to be
> Imlib-related. Don't know if this is the same that Miguel gets, but
> here it is:
> 
> When running:
> 
> ~ $gnomine
> message: pos_menubar: 0
> 
> 
> ** ERROR **: sigsegv caught
> 
> ** ERROR **: BadGC (invalid GC parameter)
>   serial 41 error_code 13 request_code 56 minor_code 0
> 
> Aborted  
> 
> ... And gdb output:
> 
> (gdb) run
> Starting program: /home/simon/GNOME/cvs/gnome-games/gnomine/gnomine
> message: pos_menubar: 0
> 
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x4037d338 in free ()
> (gdb) bt
> #0  0x4037d338 in free ()
> #1  0x4037ca4a in __malloc_check_init ()
> #2  0x4037d095 in malloc ()
> #3  0x4037cb25 in malloc ()
> #4  0x40252946 in g_malloc (size=80) at gmem.c:123
> #5  0x40091712 in gdk_imlib_pixmap_foreign_new (width=32, height=32, depth=1,
>     pmap=8388617) at rend.c:14
> #6  0x400a19c2 in gdk_imlib_render (im=0x8089330, w=32, h=32) at rend.c:5774
> #7  0x4004764d in finish_load (gpixmap=0x80892f0, im=0x8089330, scaled=0,
>     width=0, height=0, destroy=1) at gnome-pixmap.c:449
> #8  0x4004780c in load_xpm_d (gpixmap=0x80892f0, xpm_data=0x8056d60, scaled=0,
>     width=0, height=0) at gnome-pixmap.c:490
> #9  0x40047b4d in gnome_pixmap_load_xpm_d (gpixmap=0x80892f0,
>     xpm_data=0x8056d60) at gnome-pixmap.c:551
> #10 0x400468fd in gnome_pixmap_new_from_xpm_d (xpm_data=0x8056d60)
>     at gnome-pixmap.c:150
> #11 0x804befd in main (argc=1, argv=0xbffffcdc) at gnomine.c:677
> (gdb)
> 

Hmm, I am only familiar with the 24bpp accelerated rendering code since I
fixed it up to make it work.  Try forcing shared memory off and see if
that helps(THough I think it should make no difference).  If this doesn't
work try turning off the fast rendering and see if that helps.  You can do
this in your ~/.imrc file.  If turning off fast rendering helps then I
guess I will have to look at my mods and see what I broke :)

Manish Vachharajani
<mvachhar@vger.rutgers.edu>



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