[BRLTTY] --help crashes in french locale

Mario Lang mlang at delysid.org
Wed Aug 21 06:25:08 EDT 2013


Samuel Thibault <samuel.thibault at ens-lyon.org> writes:

> When I run brltty --help within a french locale, brltty crashes:

BRLTTY does not support "--help", did you mean "-h" or "-H"?

> 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
> _______________________________________________
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY at mielke.cc
> For general information, go to: http://mielke.cc/mailman/listinfo/brltty

-- 
CYa,
  ⡍⠁⠗⠊⠕ | Debian Developer <URL:http://debian.org/>
  .''`. | Get my public key via finger mlang/key at db.debian.org
 : :' : | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44
 `. `'
   `-      <URL:http://delysid.org/>  <URL:http://www.staff.tugraz.at/mlang/>


More information about the BRLTTY mailing list