HyPhy message board | |
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl
HYPHY Package >> Feature Additions >> [ADDITION] Pre-alpha version of X11 (Linux) GUI http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1113268829 Message started by Sergei on Apr 11th, 2005 at 6:20pm |
Title: Re: [ADDITION] Pre-alpha version of X11 (Linux) GU Post by Albert Vilella on Apr 26th, 2005 at 3:42am
I'm having trouble getting a bugzila account in the server, so meanwhile I'll post it here:
I'm having troubles with the gtk interface on my Ubuntu Hoary: avb@magneto:~/9_opl/hyphy_latest/HYPHY_Source$ ./gtk_build.sh SP ----- avb@magneto:~/9_opl/hyphy_latest/HYPHY_Source$ ./HYPHY_GTK ** (HYPHY_GTK:9736): WARNING **: Invalid borders specified for theme pixmap: /home/avb/9_opl/hyphy_latest/HYPHY_Source/GTKResources/theme/entry1.png, borders don't fit within the image (HYPHY_GTK:9736): Gdk-CRITICAL **: gdk_drawable_set_colormap: assertion `cmap == NULL || gdk_drawable_get_depth (drawable) == cmap->visual->depth' failed (HYPHY_GTK:9736): Gdk-CRITICAL **: gdk_drawable_set_colormap: assertion `cmap == NULL || gdk_drawable_get_depth (drawable) == cmap->visual->depth' failed (HYPHY_GTK:9736): Gdk-CRITICAL **: gdk_drawable_set_colormap: assertion `cmap == NULL || gdk_drawable_get_depth (drawable) == cmap->visual->depth' failed (HYPHY_GTK:9736): Gdk-CRITICAL **: gdk_drawable_set_colormap: assertion `cmap == NULL || gdk_drawable_get_depth (drawable) == cmap->visual->depth' failed (HYPHY_GTK:9736): Gdk-CRITICAL **: gdk_drawable_set_colormap: assertion `cmap == NULL || gdk_drawable_get_depth (drawable) == cmap->visual->depth' failed (HYPHY_GTK:9736): Gdk-WARNING **: Using Xft rendering requires the drawable argument to have a specified colormap. All windows have a colormap, however, pixmaps only have colormap by default if they were created with a non-NULL window argument. Otherwise a colormap must be set on them with gdk_drawable_set_colormap Violació de segment ----- This happens when trying to load a data file. I read in ttf-bitstream-vera-1.10/RELEASENOTES.TXT that this might be related to using Xft2. I was wondering if you have a way to compile HYPHY_GTK in a more sparse way, without ttf fonts or something, to solve the problem. Bests, Albert Vilella. |
Title: Re: [ADDITION] Pre-alpha version of X11 (Linux) GU Post by Sergei on Apr 27th, 2005 at 7:32am
Dear Albert,
My guess is that you are running a display which is not 24-bit color; based on the error messages from GTK (about wanting a color map). Since the port is still quite raw, I didn't implement the non 24-bit displays properly. I don't think Xft2 font rendering is the issue (the complaint is also about a color map). I'll see if I can work around this in the near future. Could you also do $gdb /path/to/program/HYPHY core >where to pinpoint where the crash took place? Cheers, Sergei |
Title: Re: [ADDITION] Pre-alpha version of X11 (Linux) GU Post by Albert Vilella on Apr 27th, 2005 at 9:38am
yes, I'm in 16, not 24. This is the info for the crash:
gdb ./HYPHY_GTK core r (choose a data name to trigger crash) (crash) where #0 0xb7719162 in XftDrawSetClip () from /usr/lib/libXft.so.2 #1 0xb7cd3308 in _gdk_x11_have_render_with_trapezoids () from /usr/lib/libgdk-x11-2.0.so.0 #2 0xb7cd53b4 in _gdk_x11_drawable_draw_xft_glyphs () from /usr/lib/libgdk-x11-2.0.so.0 #3 0xb7ce1b3d in _gdk_x11_renderer_get_type () from /usr/lib/libgdk-x11-2.0.so.0 #4 0xb7c65ce1 in pango_xft_renderer_get_type () from /usr/lib/libpangoxft-1.0.so.0 #5 0xb7c66650 in pango_xft_renderer_get_type () from /usr/lib/libpangoxft-1.0.so.0 #6 0xb7c3fc18 in pango_renderer_deactivate () from /usr/lib/libpango-1.0.so.0 #7 0xb7c3f1b7 in pango_renderer_draw_glyphs () from /usr/lib/libpango-1.0.so.0 #8 0xb7cd3fae in _gdk_x11_have_render_with_trapezoids () from /usr/lib/libgdk-x11-2.0.so.0 #9 0xb7cb1734 in gdk_draw_glyphs_transformed () from /usr/lib/libgdk-x11-2.0.so.0 #10 0xb7cbad7d in gdk_pixmap_get_type () from /usr/lib/libgdk-x11-2.0.so.0 #11 0xb7cb1734 in gdk_draw_glyphs_transformed () from /usr/lib/libgdk-x11-2.0.so.0 #12 0xb7cb6b25 in gdk_pango_renderer_get_type () from /usr/lib/libgdk-x11-2.0.so.0 #13 0xb7c3f1af in pango_renderer_draw_glyphs () from /usr/lib/libpango-1.0.so.0 #14 0xb7c3f079 in pango_renderer_draw_layout_line () from /usr/lib/libpango-1.0.so.0 #15 0xb7cb7b43 in gdk_draw_layout_line_with_colors () from /usr/lib/libgdk-x11-2.0.so.0 #16 0xb7cb809f in gdk_draw_layout_line () from /usr/lib/libgdk-x11-2.0.so.0 #17 0x0814eccf in _HYGraphicPane::DisplayText () #18 0x081b1f2e in _HYSequencePane::BuildHeaders () #19 0x081b238c in _HYSequencePane::BuildPane () #20 0x081b3405 in _HYSequencePane::SetVisibleSize () #21 0x081ea7f1 in _HYTWindow::SetWindowRectangle () #22 0x080f7114 in _HYDataPanel::SetDataSetReference () #23 0x080ec758 in _HYDataPanel::_HYDataPanel () #24 0x081458cf in OpenDataFile () #25 0x0819a9bb in _HYConsoleWindow::_ProcessMenuSelection () #26 0x081ae617 in hyphy_menu_item_callback () #27 0xb7e154e0 in gtk_item_factory_new () from /usr/lib/libgtk-x11-2.0.so.0 #28 0xb7c07c9a in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0 #29 0xb7bf7351 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #30 0xb7c077e2 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #31 0xb7c068f1 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #32 0xb7c06b75 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #33 0xb7f0ebdf in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0 #34 0xb7e3af19 in gtk_menu_shell_activate_item () from /usr/lib/libgtk-x11-2.0.so.0 #35 0xb7e3a55c in _gtk_menu_shell_activate () from /usr/lib/libgtk-x11-2.0.so.0 #36 0xb7e339d5 in gtk_menu_reorder_child () from /usr/lib/libgtk-x11-2.0.so.0 #37 0xb7e2cbca in _gtk_marshal_BOOLEAN__BOXED () from /usr/lib/libgtk-x11-2.0.so.0 #38 0xb7bf75bf in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0 #39 0xb7bf7351 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #40 0xb7c07270 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #41 0xb7c066ef in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #42 0xb7c06b75 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #43 0xb7f0ea11 in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0 #44 0xb7e2b7de in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0 #45 0xb7e2a7bb in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0 #46 0xb7cd7b0b in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0 #47 0xb7b8dd0f in g_main_depth () from /usr/lib/libglib-2.0.so.0 #48 0xb7b8ecb5 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #49 0xb7b8efd7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #50 0xb7b8f51e in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #51 0xb7e2a10f in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #52 0x0822252b in main () Bests, Albert. PD: I'm setting another Linux to 24 to test it... |
Title: Re: [ADDITION] Pre-alpha version of X11 (Linux) GU Post by Albert Vilella on Apr 27th, 2005 at 10:18am
I have tried with a Depth of 24 in another computer, and everything seems to work ok.
Is there a way to compile it for Depth 16? Or should I just stick to 24? Thanks, Albert. |
Title: Re: [ADDITION] Pre-alpha version of X11 (Linux) GU Post by Sergei on Apr 27th, 2005 at 10:35am
Dear Albert,
wrote on Apr 27th, 2005 at 10:18am:
The current code doesn't deal with colormaps (which are needed for depths < 24) at all. I'll need to add relevant bits to make GTK happy; it's on my list of things to do now and I will post a note here when the support has been added. Cheers, Sergei |
HyPhy message board » Powered by YaBB 2.5.2! YaBB Forum Software © 2000-2024. All Rights Reserved. |