You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2013/10/25 17:12:01 UTC

[Bug 55704] New: exec returned: 139 after successful build

https://issues.apache.org/bugzilla/show_bug.cgi?id=55704

            Bug ID: 55704
           Summary: exec returned: 139 after successful build
           Product: Ant
           Version: 1.8.0
          Hardware: PC
            Status: NEW
          Severity: major
          Priority: P2
         Component: Core
          Assignee: notifications@ant.apache.org
          Reporter: karol.kujawiak@gmail.com

There is exec returned: 139 which is failing a jenkins build, even if build was
successful: 

stacktrace:


BUILD FAILED
/home/****/workspace/***/tests/build-***.xml:25: exec returned: 139
    at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:650)
    at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:676)
    at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:502)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:390)
    at org.apache.tools.ant.Target.performTasks(Target.java:411)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1329)
    at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1212)
    at org.apache.tools.ant.Main.runBuild(Main.java:801)
    at org.apache.tools.ant.Main.startAnt(Main.java:218)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 55704] exec returned: 139 after successful build

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55704

Antoine Levy-Lambert <an...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Antoine Levy-Lambert <an...@apache.org> ---
This seems more like a question for the user list.
I will be closing this report.
The exec task by default does not fail on error, one has to set explicitly
failonerror="true" to make the build fail.
I read that 139 is a SEGV (segmentation violation) status.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 55704] exec returned: 139 after successful build

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55704

Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Stefan Bodewig <bo...@apache.org> ---
well, this is hard to tell without knowing what Ant was executing.  Whatever
the process was it returned an exit code of 139.

-- 
You are receiving this mail because:
You are the assignee for the bug.