Activity log for bug #1666314

Date Who What changed Old value New value Message
2017-02-20 20:07:51 su_v bug added bug
2017-02-20 20:11:14 su_v attachment added 1666314-bt-r15534-windows-64bit.txt https://bugs.launchpad.net/inkscape/+bug/1666314/+attachment/4822885/+files/1666314-bt-r15534-windows-64bit.txt
2017-02-20 20:22:10 su_v description Inkscape trunk crashes on launch on Windows if the current environment defines LANG to any (valid) locale but C or POSIX. Steps to reproduce: In Command Prompt window, change to inkscape's install folder: C:\path\to\inkscape>set LANG=C C:\path\to\inkscape>inkscape --> inkscape launches as expected C:\path\to\inkscape>set LANG=POSIX C:\path\to\inkscape>inkscape --> inkscape launches as expected C:\path\to\inkscape>set LANG=en_US C:\path\to\inkscape>inkscape --> inkscape crashes on launch C:\path\to\inkscape>set LANG=de_CH C:\path\to\inkscape>inkscape --> inkscape crashes on launch Notes: * The crash is for example exposed if inkscape is launched with GUI (e.g. for verbs) via python-based extensions which use a subclass of inkex.Effect() (bug #1662531 , bug #1663697, bug #1663585), because inkex.localize() sets LANG in os.environ on Windows (bug #1666108). * Not reproduced with Inkscape 0.91, 0.92.0, 0.92.1 (32bit, 64bit, installed from 7z to custom location): no crash on launch, inkscape sets the GUI language according to LANG as defined in the environment. * Based on earlier bisecting by Alvin Penner, this regression seems to have been exposed with the merge of the doc-rotate branch (lp:inkscape r15444): http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/15444 Reproduced with Inkscape 0.92+devel 15534 on Windows 10 (local build). Inkscape trunk crashes on launch on Windows if the current environment defines LANG to any (valid) locale but C or POSIX. Steps to reproduce: In Command Prompt window, change to inkscape's install folder: C:\path\to\inkscape>set LANG=C C:\path\to\inkscape>inkscape --> inkscape launches as expected C:\path\to\inkscape>set LANG=POSIX C:\path\to\inkscape>inkscape --> inkscape launches as expected C:\path\to\inkscape>set LANG=en_US C:\path\to\inkscape>inkscape --> inkscape crashes on launch C:\path\to\inkscape>set LANG=de_CH C:\path\to\inkscape>inkscape --> inkscape crashes on launch Console message (without gdb): terminate called after throwing an instance of 'std::runtime_error' what(): locale::facet::_S_create_c_locale name not valid Notes: * The crash is for example exposed if inkscape is launched with GUI (e.g. for verbs) via python-based extensions which use a subclass of inkex.Effect() (bug #1662531 , bug #1663697, bug #1663585), because inkex.localize() sets LANG in os.environ on Windows (bug #1666108). * Not reproduced with Inkscape 0.91, 0.92.0, 0.92.1 (32bit, 64bit, installed from 7z to custom location): no crash on launch, inkscape sets the GUI language according to LANG as defined in the environment. * Based on earlier bisecting by Alvin Penner, this regression seems to have been exposed with the merge of the doc-rotate branch (lp:inkscape r15444): http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/15444 Reproduced with Inkscape 0.92+devel 15534 on Windows 10 (local build).
2017-02-20 21:09:22 Alvin Penner inkscape: status New Confirmed
2017-02-20 21:16:56 Patrick Storz bug added subscriber Eduard Braun
2017-03-05 18:31:31 Patrick Storz bug added subscriber Jabiertxof
2017-03-06 03:45:46 Patrick Storz attachment added bug1666314_v1.diff https://bugs.launchpad.net/inkscape/+bug/1666314/+attachment/4832125/+files/bug1666314_v1.diff
2017-03-07 00:27:34 Launchpad Janitor branch linked lp:inkscape
2017-03-07 00:31:21 Patrick Storz inkscape: assignee Eduard Braun (eduard-braun2)
2017-03-07 00:31:26 Patrick Storz inkscape: status Confirmed Fix Committed
2017-03-07 04:05:34 Patrick Storz attachment added bug1666314_lpe-measure-line_v1.diff https://bugs.launchpad.net/inkscape/+bug/1666314/+attachment/4832671/+files/bug1666314_lpe-measure-line_v1.diff
2017-03-07 05:22:10 jazzynico inkscape: status Fix Committed Fix Released