crash on planning a dive with LANG=fi

Miika Turkia miika.turkia at gmail.com
Sun Oct 11 10:47:12 PDT 2015


On Sun, Oct 11, 2015 at 8:41 PM, Dirk Hohndel <dirk at hohndel.org> wrote:
> On Sun, Oct 11, 2015 at 08:11:17PM +0300, Miika Turkia wrote:
>> I seem to be getting a crash when trying to open dive planner with the
>> latest daily build for Ubuntu (that is actually a week old), or the
>> beta3. This occurs when the Subsurface language is set to Finnish.
>>
>> My self built binary works just fine, so a bit hard to debug without
>> debugging symbols. As far as I know, the everything works fine in
>> English...
>>
>> ...
>> #6  0x00007ffff15355a6 in ___vsnprintf_chk (s=0x7fffffffc4f0
>> "VAROITUS: TÄMÄ ON UUSI TOTEUTUS ", maxlen=<optimized out>, flags=1,
>> slen=<optimized out>,
>>     format=0x158e478 "VAROITUS: TÄMÄ ON UUSI TOTEUTUS %S ALGORITMISTA
>
> I notice the %S vs. %s - the man page doesn't mention upper case '%S', just
> lower case '%s'
>
> That seems to be an error in the Hebrew, Finnish and Portuguese
> translations. I don't know if that is what causes the crash (after all,
> you have the error in your self compiled binary)... but I'll fix that in
> the translations and cut a new set of dailies...

Well, this is already fixed for Finnish in Transifex...but let's see
what the new build does.

miika


More information about the subsurface mailing list