The machine where we are experiencing failure is an AMD64 machine with
a corresponding linux kernel. At the end of the test run, when the
flash player is supposed to quit, it segfaults. I haven't been able to
determine why. I suspect it's a bug with flashplayer on AMD64 linux.

It is frustrating, because the debug logging shows the tests running,
completing, and transmitting their data back to the maven process.

Eric

On Oct 29, 8:56 am, Marvin Froeder <[email protected]> wrote:
> I begin to wonder if I should consider 139 as OK on linux environment.....
>
> On Tue, Sep 8, 2009 at 12:42 PM, Carsten Schlipf
> <[email protected]>wrote:
>
>
>
> > I can hardly disagree with you. Of course it's a good idea to check
> > the return code and obviously it's the flashplayer that is behaving
> > incorrectly in my case. Just executed this:
>
> > > flashplayer ; echo $?
> > Segmentation fault
> > 139
>
> > So flashplayer always returns with the return code 139 with a
> > segmentation fault on my system. So it's not a problem of flex-mojos.
> > It's a problem with my system setup.
>
> > Thank you very much for your help.
>
> > On Sep 8, 4:15 pm, Marvin Froeder <[email protected]> wrote:
> > > I think 3.2 didn't check exit code, which is not good.
>
> > > On Tue, Sep 8, 2009 at 11:14 AM, Carsten Schlipf
> > > <[email protected]>wrote:
>
> > > > Yes, both are exactly the same version (version: 10.0.22.87, both
> > > > release).
>
> > > > Somehow I suspect a library incompatibility deeply buried in my
> > > > system.   :-(
>
> > > > On Sep 8, 2:04 pm, Marvin Froeder <[email protected]> wrote:
> > > > > Are both machines using the same flashplayer version?
> > > > > VELO
>
> > > > > On Tue, Sep 8, 2009 at 9:00 AM, Carsten Schlipf
> > > > > <[email protected]>wrote:
>
> > > > > > Here is a little bit more output. You can see that the tests have
> > been
> > > > > > executed actually and that even the result has been sent back.
>
> > > > > > [INFO] [flexmojos:test-
> > > > > > run]
> > > > > > [INFO] flexmojos 3.3.0 - GNU GPL License (NO WARRANTY) - See
> > COPYRIGHT
> > > > > > file
> > > > > > [INFO] Running tests
> > /home/cschlipf/data/dev/svn/opr/components/common/
> > > > > > opr-fx-common/target/test-classes/
> > > > > > TestRunner.swf
> > > > > > [DEBUG] [org.sonatype.flexmojos.test.monitor.AsVmPing] opened
> > server
> > > > > > socket on port 13540
> > > > > > [DEBUG] [org.sonatype.flexmojos.test.monitor.ResultHandler] opened
> > > > > > server socket on port 13539
> > > > > > [DEBUG] [LAUNCHER] ASVmLauncher
> > > > > > starting
> > > > > > [DEBUG] [LAUNCHER] exec: flashplayer -
> > /home/cschlipf/data/dev/svn/opr/
> > > > > > components/common/opr-fx-common/target/test-classes/
> > > > > > TestRunner.swf
> > > > > > [DEBUG] [LAUNCHER] Creating
> > > > > > process
> > > > > > [WARNING] [LAUNCHER] Using regular flashplayer
> > > > > > tests
> > > > > > [DEBUG] [LAUNCHER] Process created
> > > > > > java.lang.unixproc...@14bc6dc
> > > > > > [DEBUG] [MOJO] launcher
> > > > > > RUNNING
> > > > > > [DEBUG] [MOJO] pinger
> > > > > > STARTED
> > > > > > [DEBUG] [MOJO] resultHandler
> > > > > > STARTED
> > > > > > [DEBUG] [LAUNCHER] Output pumpers
> > > > > > ON
> > > > > > [DEBUG] [LAUNCHER] Waiting for flashplayer
> > > > > > termination
> > > > > > [DEBUG] [MOJO] launcher
> > > > > > RUNNING
> > > > > > [DEBUG] [MOJO] pinger
> > > > > > STARTED
> > > > > > [DEBUG] [MOJO] resultHandler
> > > > > > STARTED
> > > > > > [DEBUG] [org.sonatype.flexmojos.test.monitor.AsVmPing] accepting
> > data
> > > > > > from client
> > > > > > [DEBUG] [CONTROL] AsVmControl
> > > > > > handleRequest
> > > > > > [DEBUG] [CONTROL] query
> > > > > > status
> > > > > > [DEBUG] [CONTROL] received
> > > > > > status
> > > > > > [DEBUG] [CONTROL] status is:
> > > > > > OK
> > > > > > [DEBUG] [MOJO] launcher
> > > > > > RUNNING
> > > > > > [DEBUG] [MOJO] pinger
> > > > > > RUNNING
> > > > > > [DEBUG] [MOJO] resultHandler
> > > > > > STARTED
> > > > > > [DEBUG] [org.sonatype.flexmojos.test.monitor.ResultHandler]
> > accepting
> > > > > > data from client
> > > > > > [DEBUG] [RESULT] Recivied data: <testsuite errors="0" failures="0"
> > > > > > name="com.hp.opr.flex.filter.af.DefinitionsTest" tests="6"
> > > > > > time="0">
> > > > > >  <testcase name="testGetStatementOperatorsForTypeOfProperty"
> > time="0"/
>
> > > > > >  <testcase name="testOverloadOperator" time="0"/
>
> > > > > >  <testcase name="testGetPropertiesFromDirectory" time="0"/
>
> > > > > >  <testcase name="testOverloadProperty" time="0"/
>
> > > > > >  <testcase name="testGetPropertyType" time="0"/
>
> > > > > >  <testcase name="testGetOperatorsFromDirectory" time="0"/
>
> > > > > > </
> > > > > > testsuite>
> > > > > > [DEBUG] [RESULT] End test
> > > > > > suite
> > > > > > [DEBUG] [RESULT] Recivied data: <testsuite errors="0" failures="0"
>
> > name="com.hp.opr.flex.filter.eventFilter.vo.TestEventFilterConfigurationVO"
> > > > > > tests="1"
> > > > > > time="0">
> > > > > >  <testcase name="testIsSimpleFilter" time="0"/
>
> > > > > > </
> > > > > > testsuite>
> > > > > > [DEBUG] [RESULT] End test
> > > > > > suite
> > > > > > [DEBUG] [RESULT] Recivied data: <testsuite errors="0" failures="0"
> > > > > > name="com.hp.opr.flex.filter.eventFilter.vo.TestOperator" tests="2"
> > > > > > time="0">
> > > > > >  <testcase name="testAddOperand" time="0"/
>
> > > > > >  <testcase name="testRemoveOperand" time="0"/
>
> > > > > > </
> > > > > > testsuite>
> > > > > > [DEBUG] [RESULT] End test
> > > > > > suite
> > > > > > [DEBUG] [RESULT] Recivied data: <testsuite errors="0" failures="0"
> > > > > > name="com.hp.opr.flex.opr.ComboBoxTest" tests="2"
> > > > > > time="0">
> > > > > >  <testcase name="testObjectInitializationWithRenderer" time="0"/
>
> > > > > >  <testcase name="testObjectInitializationWithoutRenderer" time="0"/
>
> > > > > > </
> > > > > > testsuite>
> > > > > > [DEBUG] [RESULT] End test
> > > > > > suite
> > > > > > [DEBUG] [RESULT] Recivied data: <testsuite errors="0" failures="0"
> > > > > > name="com.hp.opr.flex.utils.MapTest" tests="9"
> > > > > > time="0">
> > > > > >  <testcase name="testSimpleAddAndGetBooleanKey" time="0"/
>
> > > > > >  <testcase name="testGetStringKeys" time="0"/
>
> > > > > >  <testcase name="testSimpleAddAndGetIntKey" time="0"/
>
> > > > > >  <testcase name="testSimpleAddAndGetStringKey" time="0"/
>
> > > > > >  <testcase name="testRemoveEntry" time="0"/
>
> > > > > >  <testcase name="testPutExistingKey" time="0"/
>
> > > > > >  <testcase name="testSimpleAddAndGetObjectKey" time="0"/
>
> > > > > >  <testcase name="testGetUnknownKey" time="0"/
>
> > > > > >  <testcase name="testClearAndIsEmpty" time="0"/
>
> > > > > > </
> > > > > > testsuite>
> > > > > > [DEBUG] [RESULT] End test
> > > > > > suite
> > > > > > [DEBUG] [RESULT] Recivied data: <testsuite errors="0" failures="0"
> > > > > > name="com.hp.opr.flex.filter.eventFilter.vo.TestExpression"
> > tests="3"
> > > > > > time="0">
> > > > > >  <testcase name="testGetMetaClone" time="0"/
>
> > > > > >  <testcase name="testGetAttribute" time="0"/
>
> > > > > >  <testcase name="testMapAttribute" time="0"/
>
> > > > > > </
> > > > > > testsuite>
> > > > > > [DEBUG] [RESULT] End test
> > > > > > suite
> > > > > > [DEBUG] [RESULT] Recivied data: <endOfTestRun/
>
> > > > > > [DEBUG] [RESULT] End test run - sending ACK: <endOfTestRunAck/
>
> > > > > > [DEBUG] [RESULT] Socket
> > > > > > buffer
> > > > > > [DEBUG] [MOJO] launcher
> > > > > > RUNNING
> > > > > > [DEBUG] [MOJO] pinger
> > > > > > RUNNING
> > > > > > [DEBUG] [MOJO] resultHandler
> > > > > > DONE
> > > > > > [DEBUG] [CONTROL] query
> > > > > > status
> > > > > > [DEBUG] [CONTROL] received
> > > > > > status
> > > > > > [DEBUG] [CONTROL] status is:
> > > > > > FINISHED
> > > > > > [DEBUG] [CONTROL] FINISHED received, terminating the
> > > > > > thread
> > > > > > [DEBUG] [MOJO] launcher
> > > > > > RUNNING
> > > > > > [DEBUG] [MOJO] pinger
> > > > > > DONE
> > > > > > [DEBUG] [MOJO] resultHandler
> > > > > > DONE
> > > > > > [DEBUG] [LAUNCHER] Flashplayer
> > > > > > closed
> > > > > > [DEBUG] [LAUNCHER] Unexpected return code
> > > > > > 139
> > > > > > [DEBUG] [MOJO] launcher
> > > > > > ERROR
> > > > > > [DEBUG] [MOJO] pinger
> > > > > > DONE
> > > > > > [DEBUG] [MOJO] resultHandler
> > > > > > DONE
> > > > > > [INFO]
>
> > ------------------------------------------------------------------------
> > > > > > [INFO] Tests run: 0, Failures: 0, Errors: 0, Time Elapsed: 0
> > > > > > sec
> > > > > > [INFO]
>
> > ------------------------------------------------------------------------
> > > > > > [ERROR] BUILD
> > > > > > ERROR
> > > > > > [INFO]
>
> > ------------------------------------------------------------------------
> > > > > > [INFO] Unexpected return code 139/home/cschlipf/data/dev/svn/opr/
> > > > > > components/common/opr-fx-common/target/test-classes/
> > > > > > TestRunner.swf
>
> > > > > > [INFO]
>
> > ------------------------------------------------------------------------
> > > > > > [DEBUG]
> > > > > > Trace
> > > > > > org.apache.maven.lifecycle.LifecycleExecutionException: Unexpected
> > > > > > return code
> > 139/home/cschlipf/data/dev/svn/opr/components/common/opr-
> > > > > > fx-common/target/test-classes/
> > > > > > TestRunner.swf
> > > > > >        at
> > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
> > > > > > (DefaultLifecycleExecutor.java:583)
> > > > > >        at
>
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> > > > > > (DefaultLifecycleExecutor.java:499)
> > > > > >        at
> > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
> > > > > > (DefaultLifecycleExecutor.java:478)
> > > > > >        at
>
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> > > > > > (DefaultLifecycleExecutor.java:330)
> > > > > >        at
>
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
> > > > > > (DefaultLifecycleExecutor.java:291)
> > > > > >        at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> > > > > > (DefaultLifecycleExecutor.java:142)
> > > > > >        at
> > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:
> > > > > > 336)
> > > > > >        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:
> > > > > > 129)
> > > > > >        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
> > > > > >        at
>
> ...
>
> read more »
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to