Comment 41 for bug 839219

Revision history for this message
Marius B. Kotsbak (mariusko) wrote :

I found that this does happen with locale "nb_NO.UTF-8", but not with "nb_NO", so this seems to be a problem with UTF-8 handling of strings in the .po files. The actual string contains Norwegian characters outside of ASCII table:

format=0xb7fd605f "%i pakker, %i installert, %i delagt. %i skal installeres/oppgraderes, %i skal fjernes ; %sB vil bli %s", args=0xbfffee54 "")
    at vasprintf_chk.c:68

The complete stacktrace:

Program received signal SIGSEGV, Segmentation fault.
0xb7129e29 in _IO_vfprintf_internal (s=0xbfffed10, format=<optimized out>, ap=0xbfffee70 "\360\316\062\b\230\343\062\b") at vfprintf.c:1630
1630 vfprintf.c: Ingen slik fil eller filkatalog.
(gdb) bt
#0 0xb7129e29 in _IO_vfprintf_internal (s=0xbfffed10, format=<optimized out>, ap=0xbfffee70 "\360\316\062\b\230\343\062\b") at vfprintf.c:1630
#1 0xb71e8ab1 in __GI___vasprintf_chk (result_ptr=0xbfffee1c, flags=1,
    format=0xb7fd605f "%i pakker, %i installert, %i delagt. %i skal installeres/oppgraderes, %i skal fjernes ; %sB vil bli %s", args=0xbfffee54 "")
    at vasprintf_chk.c:68
#2 0xb7703356 in g_vasprintf () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3 0xb76e09a3 in g_strdup_vprintf () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4 0xb76e09d3 in g_strdup_printf () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5 0x0807826a in ?? ()
#6 0x080791c0 in ?? ()
#7 0x080799e6 in ?? ()
#8 0x0805958e in ?? ()
#9 0xb70fe4d3 in __libc_start_main (main=0x8058f80, argc=1, ubp_av=0xbffff1d4, init=0x80d2380, fini=0x80d23f0, rtld_fini=0xb7fed270 <_dl_fini>, stack_end=0xbffff1cc)
    at libc-start.c:226
#10 0x0805c091 in ?? ()