Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3053 - possible bug with gtklibs
Summary: possible bug with gtklibs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Bruce A. Locke (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-26 17:04 UTC by José Alberto Suárez López
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description José Alberto Suárez López 2002-05-26 17:04:32 UTC
some apps (in concret gtk-theme-switch and gtkesms) fails (segmentfault), i 
think tha is a problem with the gtk-libs.

i use gtk+ 1.2.10-r7

This is the backtrace of gtk-theme-switch:
x2ab3937d in gtk_entry_set_text () from /usr/lib/libgtk-1.2.so.0
(gdb) backtrace
#0  0x2ab3937d in gtk_entry_set_text () from /usr/lib/libgtk-1.2.so.0
#1  0x7ffff7a0 in ?? ()
#2  0x0804d1de in main (argc=1, argv=0x7ffff874) at switch.c:818
#3  0x2ad513bc in __libc_start_main () from /lib/libc.so.6
#4  0x56571cec in ?? ()
Cannot access memory at address 0x83e58955
(gdb)    	

i think that the problematic code is:
   	font_entry = gtk_entry_new();
    	gtk_box_pack_start(GTK_BOX(box), font_entry, TRUE, TRUE, 0);
    	gtk_widget_show(font_entry);
    	if (newfont)
    	{
    		gtk_entry_set_text (GTK_ENTRY(font_entry), newfont);
    		gtk_toggle_button_set_active 
(GTK_TOGGLE_BUTTON(use_font_button), TRUE);
    		g_free (newfont);
    	}
    	else
    	{
    		GtkStyle *style = gtk_rc_get_style (font_entry);
    		if (style && style->rc_style)
   --->gtk_entry_set_text (GTK_ENTRY(font_entry), 
style->rc_style->font_name);

    	}
Comment 1 Spider (RETIRED) gentoo-dev 2002-05-27 18:21:16 UTC
Giving this to you blocke, reassign if fitting.
Comment 2 Bruce A. Locke (RETIRED) gentoo-dev 2002-06-01 03:33:14 UTC
Going on the advice from you in package.mask that these problems are fixed with
gtk -r8...

I'll fix deps tomorrow... its not a good idea to force -r8 in deps