crash on planning a dive with LANG=fi

Dirk Hohndel dirk at hohndel.org
Sun Oct 11 10:57:21 PDT 2015


On Sun, Oct 11, 2015 at 10:41:12AM -0700, Dirk Hohndel 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...

Interesting - this seems to be fixed already in the Finnish translation.
Could you do me a favor and try the Portuguese translation - same "%S" in
the string. If that crashes, too, then I guess we have a better idea
what's happening.

/D


More information about the subsurface mailing list