Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jan 2000 17:32:49 +0100 (CET)
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        ports@freebsd.org
Subject:   GIMP and german locale -> segfault
Message-ID:  <200001271632.RAA92744@Magelan.Leidinger.net>

next in thread | raw e-mail | index | archive | help
Hi,

graphics/gimp1 (1.1.15) crashes on startup if you use a german locale
setting.
---snip---
(gdb) up 3
#3  0x810e9d4 in menus_create_item (item_factory=0x84cb140, entry=0xbfbff47c, 
    callback_data=0x8498720, callback_type=2) at menus.c:1527
1527      gtk_item_factory_create_item (item_factory,
(gdb) list  
1522                       gpointer              callback_data,
1523                       guint                 callback_type)
1524    {
1525      GtkWidget *menu_item;
1526
1527      gtk_item_factory_create_item (item_factory,
1528                                    (GtkItemFactoryEntry *) entry,
1529                                    callback_data,
1530                                    callback_type);
1531
(gdb) print *entry
$1 = {entry = {path = 0x8499549 "/Xtns/Split Video to Frames/MPEG1", 
    accelerator = 0x0, callback = 0x8136198 <plug_in_callback>, 
    callback_action = 0, item_type = 0x0}, 
  help_page = 0x853dec0 "filters/gap_decode_mpeg.html", description = 0x0}
(gdb) 
---snip---

I think it is the "decription = 0x0" which causes this:
---snip---
#0  0x2836b904 in g_strdup () from /usr/local/lib/libglib12.so.3
#1  0x28274a51 in gtk_item_factory_parse_path ()
   from /usr/X11R6/lib/libgtk12.so.2
#2  0x28274cc7 in gtk_item_factory_create_item ()
   from /usr/X11R6/lib/libgtk12.so.2
---snip---

I haven't the time to make a patch (and I didn't know where to look at),
I'm using "unsetenv LANG LC_ALL" as a workaround.

If someone is looking at this feel free to send patches (I've also
posted a bugreport to comp.graphics.apps.gimp and provide a patch if I
get an answer).

Bye,
Alexander.

-- 
Sometimes, there's just no subsitute for knowing what the hell you're doing.

http://www.Leidinger.net                  Alexander+Home @ Leidinger.net
  Key fingerprint = 7423 F3E6 3A7E B334 A9CC  B10A 1F5F 130A A638 6E7E



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001271632.RAA92744>