Le 27/10/2017 à 15:42, Philippe Massart a écrit :
Hello,

I use French, and indeed when launching Subsurface in English, the problem 
disappeared !

Indeed, two %u were translated with %s.

Fixed just now.

Guillaume


Philippe

Le 27 oct. 2017 à 13:57, Lubomir I. Ivanov <[email protected]> a écrit :

On 24 October 2017 at 20:19, Linus Torvalds
<[email protected]> wrote:
        case DC_EVENT_DEVINFO:
                ...
                dev_info(devdata, translate("gettextFromC", "model=%s
firmware=%u serial=%u"),
                         devdata->product, devinfo->firmware, devinfo->serial);

which could have the problem you see if the product/firmware/serial
information isn't correctly filled in. The other cases don't seem to
be printing strings.

Knowing which dive computer it is, I can try to see what
libdivecomputer does for that dive computer...

we had a similar crash with vsnprintf() a couple of years ago where a
badly translated string was passed from Transifex. the translation did
not cover the format string arguments correctly.
Philippe, what language are you using on the crashing setup?

lubomir
--
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to