Configuration Information [Automatically generated, do not change]:
uname: FreeBSD think.nginx.com 10.0-CURRENT FreeBSD 10.0-CURRENT #11 r254323: 
Wed Aug 14 17:08:51 MSK 2013     
gleb...@think.nginx.com:/usr/obj/usr/src/head/sys/THINKPAD_X1  amd64
compiler flags: cc -Wall -Wno-implicit-int -g -I/usr/local/include

FVWM Version:   2.6.5
FVWM_MODULEDIR: /usr/local/libexec/fvwm/2.6.5
FVWM_DATADIR:   /usr/local/share/fvwm
FVWM_USERDIR:   /home/glebius/.fvwm

Description:
        Fvwm crashes in free() in libc couple of times per day. Crashes
        are different, and call path can involve different libraries,
        but the problem is always in free().

        Here is an example:

(gdb) bt
#0  __free (ptr=0x796b6369745321) at arena.h:504
#1  0x0000000800bc02a7 in XFreeStringList (list=0x804a18c08) at TextToStr.c:113
#2  0x00000000004de0a3 in FlocaleFreeNameProperty (ptext=0x804a05010)
    at Flocale.c:2358
#3  0x0000000000465f57 in free_window_names (fw=0x804a05000, nukename=0,
    nukeicon=1) at add_window.c:3171
#4  0x00000000004d4005 in EWMH_WMIconName (fw=0x804a05000, ev=0x73cb28,
    style=0x0, any=0) at ewmh_names.c:175
#5  0x00000000004abd6f in EWMH_ProcessPropertyNotify (exc=0x80482b300)
    at ewmh_events.c:1620
#6  0x00000000004468ea in HandlePropertyNotify (ea=0x7fffffffd488)
    at events.c:3628
#7  0x000000000044777f in dispatch_event (e=0x7fffffffd4c0) at events.c:4135
#8  0x00000000004481a1 in HandleEvents () at events.c:4179
#9  0x0000000000477293 in main (argc=2, argv=0x7fffffffdbf0) at fvwm.c:2591
Current language:  auto; currently minimal
(gdb) fr 1
#1  0x0000000800bc02a7 in XFreeStringList (list=0x804a18c08) at TextToStr.c:113
113             if (list[0]) Xfree (list[0]);
(gdb) p list[0]
$1 = 0x796b6369745321 <Address 0x796b6369745321 out of bounds>
(gdb) fr 2
#2  0x00000000004de0a3 in FlocaleFreeNameProperty (ptext=0x804a05010)
    at Flocale.c:2358
2358                    XFreeStringList(ptext->name_list);
(gdb) p ptext->name_list
$2 = (char **) 0x804a18c08
(gdb) p *ptext->name_list
$3 = 0x796b6369745321 <Address 0x796b6369745321 out of bounds>
(gdb) fr 3
#3  0x0000000000465f57 in free_window_names (fw=0x804a05000, nukename=0,
    nukeicon=1) at add_window.c:3171
3171                                    
FlocaleFreeNameProperty(&(fw->icon_name));
(gdb) p fw->icon_name
$4 = {
  name = 0x804a29500 "Шо�\201�\201е�\200 зимой на оживленной 
п�\200иго�\200одной �\202�\200а�\201�\201е - С�\202�\200ани�\206а 26 - Mozilla 
Firefox", name_list = 0x804a18c08}
(gdb) p fw->icon_name->name_list
$5 = (char **) 0x804a18c08
(gdb) p *fw->icon_name->name_list
$6 = 0x796b6369745321 <Address 0x796b6369745321 out of bounds>

        The above crash happened when I closed a tab in Firefox and window
        title changed.

Repeat-By:
        I am not sure, but the problem seems to appear after I have
        switched my locale from ru_RU.KOI8-R to ru_RU.UTF-8.
Fix:
        Not known.

Reply via email to