More on the imlib+remote x server problem



Some backtraces:

panel:
#0  0x4033acd4 in   ()
#1  0x4047a4c0 in grender_shaped_24 (im=0x80ca100, w=12, h=12,
xim=0x80c9ce8,
    sxim=0x80ca790, er1=0x80ca480, er2=0x80ca528, xarray=0x80c9c78,
    yarray=0x80c9cb0) at rend.c:1901
#2  0x4047bde9 in grender_shaped (im=0x80ca100, w=12, h=12, xim=0x80c9ce8,
    sxim=0x80ca790, er1=0x80ca480, er2=0x80ca528, xarray=0x80c9c78,
    yarray=0x80c9cb0, bpp=24) at rend.c:2356
#3  0x40485ba6 in gdk_imlib_render (im=0x80ca100, w=12, h=12) at rend.c:5717
#4  0x40400ced in finish_load (gpixmap=0x80c9be8, im=0x80ca100, scaled=0,
    width=0, height=0, destroy=1) at gnome-pixmap.c:449
#5  0x40400e5c in load_file (gpixmap=0x80c9be8,
    filename=0x80c95b0 "/usr/local/share/pixmaps/panel-arrow-up.xpm",
    scaled=0, width=0, height=0) at gnome-pixmap.c:479
#6  0x4040102d in gnome_pixmap_load_file (gpixmap=0x80c9be8,
    filename=0x80c95b0 "/usr/local/share/pixmaps/panel-arrow-up.xpm")
    at gnome-pixmap.c:529
#7  0x403ffe9d in gnome_pixmap_new_from_file (
    filename=0x80c95b0 "/usr/local/share/pixmaps/panel-arrow-up.xpm")
    at gnome-pixmap.c:124
#8  0x80637db in make_hidebutton (snapped=0x80c7dd0,
    pixmaparrow=0x807b6ed "panel-arrow-up.xpm",
    hidefunc=0x8063540 <snapped_show_hide_right>, horizontal=0)
    at snapped-widget.c:613
#9  0x806399b in snapped_widget_init (snapped=0x80c7dd0)
    at snapped-widget.c:668
#10 0x402a4bab in gtk_type_new (type=38165) at gtktypeutils.c:361
#11 0x8063b87 in snapped_widget_new (pos=SNAPPED_BOTTOM,
    mode=SNAPPED_EXPLICIT_HIDE, state=SNAPPED_SHOWN,
    back_type=PANEL_BACK_NONE, back_pixmap=0x0, fit_pixmap_bg=1,
    back_color=0xbffff898) at snapped-widget.c:728
#12 0x8055618 in init_user_panels () at session.c:706
#13 0x805002a in main (argc=1, argv=0xbffffb7c) at main.c:210

background-properties:
#0  0x402b6cd4 in   ()
#1  0x4001dff0 in render_shaped_24 (id=0x8081b88, im=0x80a2570, w=200,
h=160,
    xim=0x808adf8, sxim=0x80bcdc0, er1=0x80a28f0, er2=0x80a3268,
    xarray=0x80a3be8, yarray=0x80a3f10) at rend.c:2211
#2  0x4001f81d in render_shaped (id=0x8081b88, im=0x80a2570, w=200, h=160,
    xim=0x808adf8, sxim=0x80bcdc0, er1=0x80a28f0, er2=0x80a3268,
    xarray=0x80a3be8, yarray=0x80a3f10, bpp=24) at rend.c:2743
#3  0x400293ed in Imlib_render (id=0x8081b88, im=0x80a2570, w=200, h=160)
    at rend.c:6670
#4  0x804eea4 in get_monitor_preview_widget () at imlib-misc.c:61
#5  0x804e8e4 in background_setup () at property-background.c:971
#6  0x804eaf5 in background_action (req=GNOME_PROPERTY_SETUP)
    at property-background.c:1026
#7  0x40070bc9 in request (cb=0x804eaa0 <background_action>,
    r=GNOME_PROPERTY_SETUP) at gnome-properties.c:76
#8  0x40280875 in g_list_foreach (list=0x8062f94, func=0x40070bb0 <request>,
    user_data=0x3) at glist.c:427
#9  0x40070c41 in gnome_property_configurator_request_foreach
(this=0x807e830,
    r=GNOME_PROPERTY_SETUP) at gnome-properties.c:87
#10 0x804c383 in display_properties_setup () at main.c:53
#11 0x804c561 in property_main (app_id=0x8053865 "background_properties",
    argc=1, argv=0xbffffb5c) at main.c:125
#12 0x804edb6 in main (argc=1, argv=0xbffffb5c) at app-background.c:41

Evidently, imlib thinks my X server has 24 bit color, when it actually has
16. I tried turning the display up to 24 bits, but it didn't help. I hacked
rend.c to force imlib to use 16 bits and it works, except the colors are
wrong, which is understandable.

So, it appears that I'm suffering a problem that doesn't rightly belong to
us 16 bit users.

There's been some talk about this maybe being an endianness issue. I don't
think so. Both my machines are Pentiums.

BTW, could anybody tell me why panel uses gdk_imlib, and
background-properties uses Imlib?

A side note: testgtk -> ctree -> sort -> crash
...and since I'm in a backtrace kinda mood...
#0  gtk_ctree_is_visible (ctree=0x809a9c8, node=0x0) at gtkctree.c:3954
#1  0x4005260e in gtk_ctree_sort_recursive (ctree=0x809a9c8, node=0x0)
    at gtkctree.c:4916
#2  0x80559ae in sort_all (widget=0x8090250, ctree=0x809a9c8) at
testgtk.c:3884
#3  0x400795fd in gtk_marshal_NONE__NONE (object=0x8090250,
    func=0x80559a0 <sort_all>, func_data=0x809a9c8, args=0xbffff1b4)
    at gtkmarshal.c:317
#4  0x400a2c65 in gtk_handlers_run (handlers=0x808af08, signal=0xbffff170,
    object=0x8090250, params=0xbffff1b4, after=0) at gtksignal.c:1747
#5  0x400a2473 in gtk_signal_real_emit (object=0x8090250, signal_id=64,
    params=0xbffff1b4) at gtksignal.c:1409
#6  0x400a06de in gtk_signal_emit (object=0x8090250, signal_id=64)
    at gtksignal.c:507
#7  0x40031258 in gtk_button_clicked (button=0x8090250) at gtkbutton.c:321
#8  0x40032dd9 in gtk_real_button_released (button=0x8090250)
    at gtkbutton.c:957
#9  0x400795fd in gtk_marshal_NONE__NONE (object=0x8090250,
    func=0x40032d50 <gtk_real_button_released>, func_data=0x0,
args=0xbffff4d8)
    at gtkmarshal.c:317
#10 0x400a2411 in gtk_signal_real_emit (object=0x8090250, signal_id=63,
    params=0xbffff4d8) at gtksignal.c:1400
#11 0x400a06de in gtk_signal_emit (object=0x8090250, signal_id=63)
    at gtksignal.c:507
#12 0x40031208 in gtk_button_released (button=0x8090250) at gtkbutton.c:315
#13 0x400327d2 in gtk_button_button_release (widget=0x8090250,
event=0x8094b58)
    at gtkbutton.c:817
#14 0x40079259 in gtk_marshal_BOOL__POINTER (object=0x8090250,
    func=0x40032720 <gtk_button_button_release>, func_data=0x0,
    args=0xbffff810) at gtkmarshal.c:32
#15 0x400a24ab in gtk_signal_real_emit (object=0x8090250, signal_id=20,
    params=0xbffff810) at gtksignal.c:1423
#16 0x400a06de in gtk_signal_emit (object=0x8090250, signal_id=20)
    at gtksignal.c:507
#17 0x400cb938 in gtk_widget_event (widget=0x8090250, event=0x8094b58)
    at gtkwidget.c:2121
#18 0x40078de2 in gtk_propagate_event (widget=0x8090250, event=0x8094b58)
    at gtkmain.c:1695
#19 0x40077688 in gtk_main_iteration_do (blocking=1) at gtkmain.c:723
#20 0x40077367 in gtk_main_iteration () at gtkmain.c:517
#21 0x400771a5 in gtk_main () at gtkmain.c:423
#22 0x805d705 in main (argc=1, argv=0xbffffb4c) at testgtk.c:7505

First impression of the running GNOME (finally!):
The panel clock flashes annoyingly (only on a remote x server).





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