[ 
https://issues.apache.org/jira/browse/YETUS-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15102507#comment-15102507
 ] 

Colin Patrick McCabe commented on YETUS-286:
--------------------------------------------

I'd also add that we've seen this in the past before we increased the 
concurrency of {{make}} past 1.  I don't think anyone ever definitively 
identified the problem.  I always assumed that it had something to do with 
{{apt-get}} running in the background, but that was a pure guess, I admit.

> The native build randomly fails with "failed to map segment from shared 
> object"
> -------------------------------------------------------------------------------
>
>                 Key: YETUS-286
>                 URL: https://issues.apache.org/jira/browse/YETUS-286
>             Project: Yetus
>          Issue Type: Bug
>          Components: Test Patch
>    Affects Versions: 0.2.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Sean Busbey
>            Priority: Critical
>
> On Jenkins, the native build seems to intermittently fail with "failed to map 
> segment from shared object."  For example:
> {code}
> [WARNING] /usr/bin/cmake: error while loading shared libraries: libxml2.so.2: 
> failed to map segment from shared object: Permission denied
> {code}
> We have also seen this happen with {{librtmp.so.0}}, {{libcurl.so.4}}, and 
> other native libraries which are dependencies of the thing being built.  
> Basically, there is some random chance any particular native dependency will 
> get "failed to map segment."  When this happens, the native build fails and 
> returns a -1 even if there was no actual problem.  This requires us to re-run 
> Jenkins to get a correct result.  The problem does not seem to reproduce 
> locally.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to