[ 
https://issues.apache.org/jira/browse/ARROW-3517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Uwe L. Korn resolved ARROW-3517.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 0.12.0

Issue resolved by pull request 2899
[https://github.com/apache/arrow/pull/2899]

> [C++] MinGW 32bit build causes g++ segv
> ---------------------------------------
>
>                 Key: ARROW-3517
>                 URL: https://issues.apache.org/jira/browse/ARROW-3517
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: 0.11.0
>            Reporter: Kouhei Sutou
>            Assignee: Kouhei Sutou
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 0.12.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> I'm trying to build MSYS2 packages for 32bit and 64bit: 
> [https://github.com/Alexpux/MINGW-packages/pull/4519]
>  
> 64bit build works well.
>  
> But 32bit build causes g++ segv: 
> [https://dev.azure.com/msys2/mingw/_build/results?buildId=280&view=logs]
>  
> {code}
> 2018-10-11T00:51:09.6355581Z In file included from 
> D:/a/1/s/mingw-w64-arrow/src/apache-arrow-0.11.0/cpp/src/arrow/io/memory.cc:29:0:
> 2018-10-11T00:51:09.6357210Z 
> D:/a/1/s/mingw-w64-arrow/src/apache-arrow-0.11.0/cpp/src/arrow/util/memory.h: 
> In substitution of 'template<class Function, class ... Args, class Result> 
> std::future<Result> arrow::internal::ThreadPool::Submit(Function&&, Args&& 
> ...) [with Function = <missing>; Args = <missing>; Result = <missing>]':
> 2018-10-11T00:51:09.6381001Z 
> D:/a/1/s/mingw-w64-arrow/src/apache-arrow-0.11.0/cpp/src/arrow/util/memory.h:63:72:
>    required from here
> 2018-10-11T00:51:09.7514314Z 
> D:/a/1/s/mingw-w64-arrow/src/apache-arrow-0.11.0/cpp/src/arrow/util/memory.h:63:72:
>  internal compiler error: Segmentation fault
> 2018-10-11T00:51:09.7536742Z                                        left + i 
> * chunk_size, chunk_size));
> 2018-10-11T00:51:09.7537294Z                                                  
>                        ^
> 2018-10-11T00:51:09.7537623Z 
> 2018-10-11T00:51:09.7537778Z This application has requested the Runtime to 
> terminate it in an unusual way.
> 2018-10-11T00:51:09.7537913Z Please contact the application's support team 
> for more information.
> 2018-10-11T00:51:09.7538417Z 
> 2018-10-11T00:51:09.7538550Z 
> D:/a/1/s/mingw-w64-arrow/src/apache-arrow-0.11.0/cpp/src/arrow/util/memory.h:63:72:
>  internal compiler error: Aborted
> 2018-10-11T00:51:09.7538640Z 
> 2018-10-11T00:51:09.7538764Z This application has requested the Runtime to 
> terminate it in an unusual way.
> 2018-10-11T00:51:09.7539047Z Please contact the application's support team 
> for more information.
> 2018-10-11T00:51:09.7539167Z g++.exe: internal compiler error: Aborted 
> (program cc1plus)
> 2018-10-11T00:51:09.7539287Z Please submit a full bug report,
> 2018-10-11T00:51:09.7539385Z with preprocessed source if appropriate.
> 2018-10-11T00:51:09.7539504Z See <https://sourceforge.net/projects/msys2> for 
> instructions.
> 2018-10-11T00:51:09.7539615Z make[2]: *** 
> [src/arrow/CMakeFiles/arrow_objlib.dir/build.make:414: 
> src/arrow/CMakeFiles/arrow_objlib.dir/io/memory.cc.obj] Error 4
> 2018-10-11T00:51:09.7539718Z make[2]: *** Waiting for unfinished jobs....
> 2018-10-11T00:51:10.7253905Z make[1]: *** [CMakeFiles/Makefile2:357: 
> src/arrow/CMakeFiles/arrow_objlib.dir/all] Error 2
> 2018-10-11T00:51:10.7284933Z make: *** [Makefile:141: all] Error 2
> {code}
> It'll be a g++ bug but what should we do? Should we stop to use the code with 
> MinGW 32bit build?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to