[BRLTTY] --help crashes in french locale
Samuel Thibault
samuel.thibault at ens-lyon.org
Mon Aug 19 10:27:47 EDT 2013
Hello,
When I run brltty --help within a french locale, brltty crashes:
238 while (description[charCount] != ' ') --charCount;
(gdb) p charCount
$1 = 4294967295
(gdb) p description
$2 = 0x7fffffffc3ef "{\375\242\210\206\261\241\375\242\230\262\201\254\374\240\234\266\224\240\375\246\210\207\215\270\375\266\231\242\201\254\374\240\234\266\234\240\375\243\200\206\221\263\375\245\230\266\271\241\375\270\231\222\265\254\375\264\235\226\215\245\370\233\246\275\251}"
(gdb) bt
#0 0x000000000041fea6 in printHelp (info=0x7fffffffd8d0,
outputStream=0x7ffff57ea160 <_IO_2_1_stdout_>, lineWidth=79,
argumentsSummary=0x0, all=0) at ./options.c:238
#1 0x00000000004208c2 in processCommandLine (info=0x7fffffffd8d0,
argumentCount=0x7fffffffda0c, argumentVector=0x7fffffffda00,
argumentsSummary=0x0) at ./options.c:530
(gdb) p *option
$4 = {word = 0x465b0a "speech-driver", argument = 0x4658b6 "driver",
letter = 115 's', bootParameter = 0 '\000', flags = 12 '\f', setting = {
flag = 0x68d250 <opt_speechDriver>, string = 0x68d250 <opt_speechDriver>},
defaultSetting = 0x4658bd "auto",
description = 0x465b18 "Speech driver: one of {%s}",
strings = 0x684e50 <optionStrings_SpeechDriver>}
it might be due to the french translation using a space before the
colon: "Pilote braille : un parmi {%s}"
I haven't investigated further, I guess Dave will be able to reproduce
easily.
Samuel
More information about the BRLTTY
mailing list