[BRLTTY] --help crashes in french locale

Dave Mielke dave at mielke.cc
Wed Aug 21 08:08:55 EDT 2013


[quoted lines by Samuel Thibault on 2013/08/19 at 16:27 +0200]

>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>}

Please update and retest.

-- 
Dave Mielke           | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario   | http://Mielke.cc/bible/
EMail: dave at mielke.cc | Canada  K2A 1H7   | http://FamilyRadio.com/


More information about the BRLTTY mailing list