[jira] [Commented] (PROTON-1805) [MacOS] Fuzzer issues in fuzz-connection-driver & fuzz-message-decode

2018-12-10 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on PROTON-1805:
-

Commit 3b1edb510290d771c3c554ab634031c840a45691 in qpid-proton's branch 
refs/heads/master from [~astitcher]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=3b1edb5 ]

PROTON-1983, PROTON-1805: Allow fuzzer regression tests to use response files
- Fixed bugs which make the standalone regression runner fail on Windows and Mac
- Allow fuzz tests to build under VS12 & VS10


> [MacOS] Fuzzer issues in fuzz-connection-driver & fuzz-message-decode
> -
>
> Key: PROTON-1805
> URL: https://issues.apache.org/jira/browse/PROTON-1805
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: proton-c
>Reporter: Andrew Stitcher
>Assignee: Andrew Stitcher
>Priority: Major
>  Labels: fuzzer, mac-os-x, osx
>
> Introducing the fuzz tester has shown up a couple of segvs in the MacOS port.
> for fuzz-connection-driver:
> {noformat}
> 26: Running: 
> /Users/travis/build/astitcher/qpid-proton/proton-c/src/tests/fuzz/fuzz-connection-driver/corpus/7e51d07e16f84d001a8be4a1dedf556b3b16720c
> 26/34 Test #26: fuzz-connection-driver ...***Exception: SegFault  
> 1.76 sec{noformat}
> and for fuzz-message-decode:
> {noformat}
> 27: Running: 
> /Users/travis/build/astitcher/qpid-proton/proton-c/src/tests/fuzz/fuzz-message-decode/corpus/d5143aaeea6897d4264440017cd47ebc874f4440
> 27/34 Test #27: fuzz-message-decode ..***Exception: SegFault  
> 1.97 sec{noformat}



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (PROTON-1805) [MacOS] Fuzzer issues in fuzz-connection-driver & fuzz-message-decode

2018-04-05 Thread Roddie Kieley (JIRA)

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

Roddie Kieley commented on PROTON-1805:
---

[~gemmellr] That's interesting re: the os version discrepancy and could be an 
issue. [~astitcher] I previously had indeed tested with FUZZ_LONG_TESTS ON but 
tested again tonight without it ON and do not see SegFaults but see that the 
fuzz tests pass.
{code:java}
.
.
.
27: Test command: 
/Users/rkieley/LocalProjects/apache/qp-040518-0/proton-c/src/tests/fuzz/fuzz-sniff-header
27: Test timeout computed to be: 1500
27: StandaloneFuzzTargetMain: running 0 inputs
4/4 Test #27: fuzz-sniff-header    Passed    0.01 sec

The following tests passed:
    fuzz-connection-driver
    fuzz-message-decode
    fuzz-url
    fuzz-sniff-header

100% tests passed, 0 tests failed out of 4

Total Test time (real) =   0.75 sec
{code}
Ran ctest -VV -R fuzz a few times to see if it would change but the result was 
consistent.

> [MacOS] Fuzzer issues in fuzz-connection-driver & fuzz-message-decode
> -
>
> Key: PROTON-1805
> URL: https://issues.apache.org/jira/browse/PROTON-1805
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: proton-c
>Reporter: Andrew Stitcher
>Priority: Major
>  Labels: fuzzer, mac-os-x, osx
>
> Introducing the fuzz tester has shown up a couple of segvs in the MacOS port.
> for fuzz-connection-driver:
> {noformat}
> 26: Running: 
> /Users/travis/build/astitcher/qpid-proton/proton-c/src/tests/fuzz/fuzz-connection-driver/corpus/7e51d07e16f84d001a8be4a1dedf556b3b16720c
> 26/34 Test #26: fuzz-connection-driver ...***Exception: SegFault  
> 1.76 sec{noformat}
> and for fuzz-message-decode:
> {noformat}
> 27: Running: 
> /Users/travis/build/astitcher/qpid-proton/proton-c/src/tests/fuzz/fuzz-message-decode/corpus/d5143aaeea6897d4264440017cd47ebc874f4440
> 27/34 Test #27: fuzz-message-decode ..***Exception: SegFault  
> 1.97 sec{noformat}



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (PROTON-1805) [MacOS] Fuzzer issues in fuzz-connection-driver & fuzz-message-decode

2018-03-26 Thread Andrew Stitcher (JIRA)

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

Andrew Stitcher commented on PROTON-1805:
-

[~rkieley] I think your testing environment must be significantly different 
from the CI environments this fails in:

For one thing by default the proactor fuzz tests will not be built or run 
unless the FUZZ_LONG_TESTS option is set and it is off by default. If you 
turned it on in your build - don't do that!

So if you build from scratch with a clean build space for shouldn't see these 
warnings - so this makes me think you must be doing something else.

However I'm intrigued that your environment which is like (but seemingly not 
identical) with one of the build environments does not segv.

 

> [MacOS] Fuzzer issues in fuzz-connection-driver & fuzz-message-decode
> -
>
> Key: PROTON-1805
> URL: https://issues.apache.org/jira/browse/PROTON-1805
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: proton-c
>Reporter: Andrew Stitcher
>Priority: Major
>  Labels: fuzzer, mac-os-x, osx
>
> Introducing the fuzz tester has shown up a couple of segvs in the MacOS port.
> for fuzz-connection-driver:
> {noformat}
> 26: Running: 
> /Users/travis/build/astitcher/qpid-proton/proton-c/src/tests/fuzz/fuzz-connection-driver/corpus/7e51d07e16f84d001a8be4a1dedf556b3b16720c
> 26/34 Test #26: fuzz-connection-driver ...***Exception: SegFault  
> 1.76 sec{noformat}
> and for fuzz-message-decode:
> {noformat}
> 27: Running: 
> /Users/travis/build/astitcher/qpid-proton/proton-c/src/tests/fuzz/fuzz-message-decode/corpus/d5143aaeea6897d4264440017cd47ebc874f4440
> 27/34 Test #27: fuzz-message-decode ..***Exception: SegFault  
> 1.97 sec{noformat}



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (PROTON-1805) [MacOS] Fuzzer issues in fuzz-connection-driver & fuzz-message-decode

2018-03-26 Thread Robbie Gemmell (JIRA)

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

Robbie Gemmell commented on PROTON-1805:


I believe its just in TravisCI. It looks like 10.11 with xcode7.3 and 10.13 
with xcode9 from the Travis config. E.g these jobs:
https://travis-ci.org/apache/qpid-proton/builds/356733088
https://travis-ci.org/apache/qpid-proton/builds/357450746

However, I notice this in the Worker Information for the job running with 
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.13 config, which suggets 10.12 rather than 
10.13:
instance: 41c1745e-cb43-49d3-b850-366d99df0e7d 
travis-ci-macos10.12-xcode9-1505843868

The OS config reference seems to back up that it is actually 10.12, iwth 10.13 
only offered with xcode9.3beta usage:
https://docs.travis-ci.com/user/reference/osx/#OS-X-Version

> [MacOS] Fuzzer issues in fuzz-connection-driver & fuzz-message-decode
> -
>
> Key: PROTON-1805
> URL: https://issues.apache.org/jira/browse/PROTON-1805
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: proton-c
>Reporter: Andrew Stitcher
>Priority: Major
>  Labels: fuzzer, mac-os-x, osx
>
> Introducing the fuzz tester has shown up a couple of segvs in the MacOS port.
> for fuzz-connection-driver:
> {noformat}
> 26: Running: 
> /Users/travis/build/astitcher/qpid-proton/proton-c/src/tests/fuzz/fuzz-connection-driver/corpus/7e51d07e16f84d001a8be4a1dedf556b3b16720c
> 26/34 Test #26: fuzz-connection-driver ...***Exception: SegFault  
> 1.76 sec{noformat}
> and for fuzz-message-decode:
> {noformat}
> 27: Running: 
> /Users/travis/build/astitcher/qpid-proton/proton-c/src/tests/fuzz/fuzz-message-decode/corpus/d5143aaeea6897d4264440017cd47ebc874f4440
> 27/34 Test #27: fuzz-message-decode ..***Exception: SegFault  
> 1.97 sec{noformat}



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (PROTON-1805) [MacOS] Fuzzer issues in fuzz-connection-driver & fuzz-message-decode

2018-03-25 Thread Roddie Kieley (JIRA)

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

Roddie Kieley commented on PROTON-1805:
---

Which version(s) of macOS were you testing with? On 10.11.6 with Xcode 7.3.1 
I'm seeing:
{code:java}
Scanning dependencies of target fuzz-proactor-receive
[ 74%] Building C object 
proton-c/src/tests/fuzz/CMakeFiles/fuzz-proactor-receive.dir/fuzz-proactor-receive.c.o
/Users/rkieley/LocalProjects/apache/qpid-proton/proton-c/src/tests/fuzz/fuzz-proactor-receive.c:184:7:
 warning: implicit declaration of function 'clock_gettime' is invalid in C99 
[-Wimplicit-function-declaration]
  if (clock_gettime(CLOCK_MONOTONIC, &spec) != 0) {
  ^
/Users/rkieley/LocalProjects/apache/qpid-proton/proton-c/src/tests/fuzz/fuzz-proactor-receive.c:184:21:
 error: use of undeclared identifier 'CLOCK_MONOTONIC'
  if (clock_gettime(CLOCK_MONOTONIC, &spec) != 0) {
^
/Users/rkieley/LocalProjects/apache/qpid-proton/proton-c/src/tests/fuzz/fuzz-proactor-receive.c:268:5:
 warning: implicit declaration of function 'kill' is invalid in C99 
[-Wimplicit-function-declaration]
kill(getppid(), SIGUSR1);
^
/Users/rkieley/LocalProjects/apache/qpid-proton/proton-c/src/tests/fuzz/fuzz-proactor-receive.c:315:3:
 warning: implicit declaration of function 'sigemptyset' is invalid in C99 
[-Wimplicit-function-declaration]
  sigemptyset(&sa.sa_mask);
  ^
/Users/rkieley/LocalProjects/apache/qpid-proton/proton-c/src/tests/fuzz/fuzz-proactor-receive.c:317:7:
 warning: implicit declaration of function 'sigaction' is invalid in C99 
[-Wimplicit-function-declaration]
  if (sigaction(SIGUSR1, &sa, NULL) == -1) {
  ^
4 warnings and 1 error generated.
{code}

Once rectified via the MIT licensed 
[mach_gettime|https://gist.github.com/alfwatt/3588c5aa1f7a1ef7a3bb] replacement 
I see:
{code}
23/30 Test #23: fuzz-connection-driver ...   Passed0.40 sec
test 24
  Start 24: fuzz-message-decode
.
.
.
24/30 Test #24: fuzz-message-decode ..   Passed0.30 sec
test 25
{code}

Did it take a number of times before it failed?



> [MacOS] Fuzzer issues in fuzz-connection-driver & fuzz-message-decode
> -
>
> Key: PROTON-1805
> URL: https://issues.apache.org/jira/browse/PROTON-1805
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: proton-c
>Reporter: Andrew Stitcher
>Priority: Major
>  Labels: fuzzer, mac-os-x, osx
>
> Introducing the fuzz tester has shown up a couple of segvs in the MacOS port.
> for fuzz-connection-driver:
> {noformat}
> 26: Running: 
> /Users/travis/build/astitcher/qpid-proton/proton-c/src/tests/fuzz/fuzz-connection-driver/corpus/7e51d07e16f84d001a8be4a1dedf556b3b16720c
> 26/34 Test #26: fuzz-connection-driver ...***Exception: SegFault  
> 1.76 sec{noformat}
> and for fuzz-message-decode:
> {noformat}
> 27: Running: 
> /Users/travis/build/astitcher/qpid-proton/proton-c/src/tests/fuzz/fuzz-message-decode/corpus/d5143aaeea6897d4264440017cd47ebc874f4440
> 27/34 Test #27: fuzz-message-decode ..***Exception: SegFault  
> 1.97 sec{noformat}



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org