Created attachment 85607 [details] stacktrace Problem description: Sometimes transex3.exe causes an exception in l10ntools module when using Parallel Build. I'm using Visual Studio 2012 and Windows 8. I attach a stacktrace. Steps to reproduce: 1. ./autogen.sh with "--with-parallelism=12" switch. 2. /opt/lo/bin/make Build will fail with the following message. ------------------------------------------------- /opt/lo/bin/make -j 12 -rs -f F:/lo4mas/core/Makefile.gbuild [build DEP] LNK:Executable/reg2unoidl.exe [build DEP] LNK:Library/iunoidl.lib [build DEP] LNK:Executable/uno-skeletonmaker.exe [build DEP] LNK:Library/ishlxthdl_x64.lib [build DEP] LNK:Library/ishlxthdl.lib [build DEP] LNK:Executable/regcompare.exe [build DEP] LNK:Executable/regview.exe [build DEP] LNK:Executable/regmerge.exe [build DEP] LNK:Executable/idlc.exe [build DEP] LNK:Library/idict_zh.lib [build DEP] LNK:Library/idict_ja.lib [build DEP] LNK:Executable/cppumaker.exe [build DEP] LNK:Executable/javamaker.exe [build DEP] LNK:Library/iunoidl.lib [build LNK] Library/iunoidl.lib [build DEP] LNK:Executable/idlc.exe [build LNK] Executable/idlc.exe [build DEP] LNK:Executable/regmerge.exe ライブラリ F:/lo4mas/core/workdir/wntmsci14/LinkTarget/Library/iunoidl.lib とオブジェクト F:/lo4mas/core/workdir/wntmsci14/LinkTarget/Library/iunoidl.exp を作成中 [build LNK] Executable/regmerge.exe ライブラリ F:/lo4mas/core/workdir/wntmsci14/LinkTarget/Executable/idlc.lib とオブジェクト F:/lo4mas/core/workdir/wntmsci14/LinkTarget/Executable/idlc.exp を作成中 [build DEP] LNK:Executable/regcompare.exe [build LNK] Executable/regcompare.exe [build PRJ] xslt [build PKG] xslt [build SRS] accessibility/source/helper/accessiblestrings.src [build SRS] vcl/source/src/btntext.src [build SRS] vcl/source/src/helptext.src [build SRS] vcl/source/src/menu.src [build SRS] vcl/source/src/print.src [build SRS] vcl/source/src/stdtext.src [build SRS] vcl/source/src/throbber.src [build SRS] vcl/source/src/units.src [build SRS] vcl/source/src/fpicker.src [build SRS] vcl/source/edit/textundo.src [build SRS] svtools/source/contnr/fileview.src [build SRS] svtools/source/contnr/svcontnr.src make[1]: *** [F:/lo4mas/core/workdir/wntmsci14/SrsPartMergeTarget/vcl/source/src/units.src] Error 255 make[1]: *** Deleting file `F:/lo4mas/core/workdir/wntmsci14/SrsPartMergeTarget/vcl/source/src/units.src' make[1]: *** Waiting for unfinished jobs.... make[1]: *** [F:/lo4mas/core/workdir/wntmsci14/SrsPartMergeTarget/svtools/source/contnr/fileview.src] Error 255 make[1]: *** Deleting file `F:/lo4mas/core/workdir/wntmsci14/SrsPartMergeTarget/svtools/source/contnr/fileview.src' make[1]: *** [F:/lo4mas/core/workdir/wntmsci14/SrsPartMergeTarget/vcl/source/edit/textundo.src] Error 255 make[1]: *** Deleting file `F:/lo4mas/core/workdir/wntmsci14/SrsPartMergeTarget/vcl/source/edit/textundo.src' make[1]: *** [F:/lo4mas/core/workdir/wntmsci14/SrsPartMergeTarget/vcl/source/src/fpicker.src] Error 255 make[1]: *** Deleting file `F:/lo4mas/core/workdir/wntmsci14/SrsPartMergeTarget/vcl/source/src/fpicker.src' make[1]: *** [F:/lo4mas/core/workdir/wntmsci14/SrsPartMergeTarget/vcl/source/src/stdtext.src] Error 255 make[1]: *** Deleting file `F:/lo4mas/core/workdir/wntmsci14/SrsPartMergeTarget/vcl/source/src/stdtext.src' make[1]: *** [F:/lo4mas/core/workdir/wntmsci14/SrsPartMergeTarget/vcl/source/src/print.src] Error 255 make[1]: *** Deleting file `F:/lo4mas/core/workdir/wntmsci14/SrsPartMergeTarget/vcl/source/src/print.src' make[1]: *** [F:/lo4mas/core/workdir/wntmsci14/SrsPartMergeTarget/vcl/source/src/menu.src] Error 255 make[1]: *** Deleting file `F:/lo4mas/core/workdir/wntmsci14/SrsPartMergeTarget/vcl/source/src/menu.src' make[1]: *** [F:/lo4mas/core/workdir/wntmsci14/SrsPartMergeTarget/vcl/source/src/helptext.src] Error 255 make[1]: *** Deleting file `F:/lo4mas/core/workdir/wntmsci14/SrsPartMergeTarget/vcl/source/src/helptext.src' make[1]: *** [F:/lo4mas/core/workdir/wntmsci14/SrsPartMergeTarget/vcl/source/src/btntext.src] Error 255 make[1]: *** Deleting file `F:/lo4mas/core/workdir/wntmsci14/SrsPartMergeTarget/vcl/source/src/btntext.src' make[1]: *** [F:/lo4mas/core/workdir/wntmsci14/SrsPartMergeTarget/accessibility/source/helper/accessiblestrings.src] Error 255 make[1]: *** Deleting file `F:/lo4mas/core/workdir/wntmsci14/SrsPartMergeTarget/accessibility/source/helper/accessiblestrings.src' make: *** [build] Error 2 ------------------------------------------------- Operating System: Windows (other) Version: 4.2.0.0.alpha0+ Master
Created attachment 85610 [details] The Source code that caused an exception(screenshot of visual studio) I attach an information about the cause of an exception. The Source code that caused an exception is shown.
Created attachment 85611 [details] proposed patch for bug 69208 Avoidance of bugs transex3 stall at exception in parallel build(getenv() function causes an exception). It does not support multi-threaded getenv() function is. By placing the getenv() function out of the loop, we reduce the risk of an exception.
Thanks for the patch. Could you please send a licence statement, as described at: https://wiki.documentfoundation.org/Development/Developers#Developers_and_Contributors_list
(In reply to comment #3) > Thanks for the patch. Could you please send a licence statement, as > described at: > https://wiki.documentfoundation.org/Development/ > Developers#Developers_and_Contributors_list Sorry, you have already done that.
(In reply to comment #4) Thank you for your committing the patch! http://cgit.freedesktop.org/libreoffice/core/commit/?id=e457724d5ef1aaac98b6ff84ce1b054adda72abe