[jira] [Updated] (MESOS-6665) io::redirect might cause stack overflow.
[ https://issues.apache.org/jira/browse/MESOS-6665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adam B updated MESOS-6665: -- Shepherd: Jie Yu > io::redirect might cause stack overflow. > > > Key: MESOS-6665 > URL: https://issues.apache.org/jira/browse/MESOS-6665 > Project: Mesos > Issue Type: Bug >Reporter: Jie Yu >Assignee: Benjamin Hindman >Priority: Blocker > Labels: mesosphere > > Can reproduce this on macOS sierra: > {noformat} > [--] 6 tests from IOTest > [ RUN ] IOTest.Poll > [ OK ] IOTest.Poll (0 ms) > [ RUN ] IOTest.Read > [ OK ] IOTest.Read (3 ms) > [ RUN ] IOTest.BufferedRead > [ OK ] IOTest.BufferedRead (5 ms) > [ RUN ] IOTest.Write > [ OK ] IOTest.Write (1 ms) > [ RUN ] IOTest.Redirect > make[6]: *** [check-local] Illegal instruction: 4 > make[5]: *** [check-am] Error 2 > make[4]: *** [check-recursive] Error 1 > make[3]: *** [check] Error 2 > make[2]: *** [check-recursive] Error 1 > make[1]: *** [check] Error 2 > make: *** [check-recursive] Error 1 > (reverse-i-search)`k': make check -j3 > Jies-MacBook-Pro:build jie$ lldb 3rdparty/libprocess/libprocess-tests > (lldb) target create "3rdparty/libprocess/libprocess-tests" > Current executable set to '3rdparty/libprocess/libprocess-tests' (x86_64). > (lldb) run --gtest_filter=IOTest.Redirect > Process 26064 launched: > '/Users/jie/workspace/dist/mesos/build/3rdparty/libprocess/libprocess-tests' > (x86_64) > Note: Google Test filter = IOTest.Redirect > [==] Running 1 test from 1 test case. > [--] Global test environment set-up. > [--] 1 test from IOTest > [ RUN ] IOTest.Redirect > Process 26064 stopped > * thread #2: tid = 0x152c5c, 0x7fffd6d463e0 > libsystem_malloc.dylib`szone_malloc_should_clear + 78, stop reason = > EXC_BAD_ACCESS (code=2, address=0x7eb16ff8) > frame #0: 0x7fffd6d463e0 > libsystem_malloc.dylib`szone_malloc_should_clear + 78 > libsystem_malloc.dylib`szone_malloc_should_clear: > -> 0x7fffd6d463e0 <+78>: movq %rax, -0x78(%rbp) > 0x7fffd6d463e4 <+82>: movq 0x10f0(%r12), %r13 > 0x7fffd6d463ec <+90>: leaq (%rax,%rax,4), %r14 > 0x7fffd6d463f0 <+94>: shlq $0x9, %r14 > (lldb) bt > . > frame #2794: 0x7fffd6ddb221 libsystem_pthread.dylib`thread_start + 13 > {noformat} > Change the test to redirect just 1KB data will hide the issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (MESOS-6665) io::redirect might cause stack overflow.
[ https://issues.apache.org/jira/browse/MESOS-6665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adam B updated MESOS-6665: -- Labels: mesosphere (was: ) > io::redirect might cause stack overflow. > > > Key: MESOS-6665 > URL: https://issues.apache.org/jira/browse/MESOS-6665 > Project: Mesos > Issue Type: Bug >Reporter: Jie Yu >Assignee: Benjamin Hindman >Priority: Blocker > Labels: mesosphere > > Can reproduce this on macOS sierra: > {noformat} > [--] 6 tests from IOTest > [ RUN ] IOTest.Poll > [ OK ] IOTest.Poll (0 ms) > [ RUN ] IOTest.Read > [ OK ] IOTest.Read (3 ms) > [ RUN ] IOTest.BufferedRead > [ OK ] IOTest.BufferedRead (5 ms) > [ RUN ] IOTest.Write > [ OK ] IOTest.Write (1 ms) > [ RUN ] IOTest.Redirect > make[6]: *** [check-local] Illegal instruction: 4 > make[5]: *** [check-am] Error 2 > make[4]: *** [check-recursive] Error 1 > make[3]: *** [check] Error 2 > make[2]: *** [check-recursive] Error 1 > make[1]: *** [check] Error 2 > make: *** [check-recursive] Error 1 > (reverse-i-search)`k': make check -j3 > Jies-MacBook-Pro:build jie$ lldb 3rdparty/libprocess/libprocess-tests > (lldb) target create "3rdparty/libprocess/libprocess-tests" > Current executable set to '3rdparty/libprocess/libprocess-tests' (x86_64). > (lldb) run --gtest_filter=IOTest.Redirect > Process 26064 launched: > '/Users/jie/workspace/dist/mesos/build/3rdparty/libprocess/libprocess-tests' > (x86_64) > Note: Google Test filter = IOTest.Redirect > [==] Running 1 test from 1 test case. > [--] Global test environment set-up. > [--] 1 test from IOTest > [ RUN ] IOTest.Redirect > Process 26064 stopped > * thread #2: tid = 0x152c5c, 0x7fffd6d463e0 > libsystem_malloc.dylib`szone_malloc_should_clear + 78, stop reason = > EXC_BAD_ACCESS (code=2, address=0x7eb16ff8) > frame #0: 0x7fffd6d463e0 > libsystem_malloc.dylib`szone_malloc_should_clear + 78 > libsystem_malloc.dylib`szone_malloc_should_clear: > -> 0x7fffd6d463e0 <+78>: movq %rax, -0x78(%rbp) > 0x7fffd6d463e4 <+82>: movq 0x10f0(%r12), %r13 > 0x7fffd6d463ec <+90>: leaq (%rax,%rax,4), %r14 > 0x7fffd6d463f0 <+94>: shlq $0x9, %r14 > (lldb) bt > . > frame #2794: 0x7fffd6ddb221 libsystem_pthread.dylib`thread_start + 13 > {noformat} > Change the test to redirect just 1KB data will hide the issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (MESOS-6665) io::redirect might cause stack overflow.
[ https://issues.apache.org/jira/browse/MESOS-6665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adam B updated MESOS-6665: -- Target Version/s: 1.2.0 > io::redirect might cause stack overflow. > > > Key: MESOS-6665 > URL: https://issues.apache.org/jira/browse/MESOS-6665 > Project: Mesos > Issue Type: Bug >Reporter: Jie Yu >Assignee: Benjamin Hindman >Priority: Blocker > > Can reproduce this on macOS sierra: > {noformat} > [--] 6 tests from IOTest > [ RUN ] IOTest.Poll > [ OK ] IOTest.Poll (0 ms) > [ RUN ] IOTest.Read > [ OK ] IOTest.Read (3 ms) > [ RUN ] IOTest.BufferedRead > [ OK ] IOTest.BufferedRead (5 ms) > [ RUN ] IOTest.Write > [ OK ] IOTest.Write (1 ms) > [ RUN ] IOTest.Redirect > make[6]: *** [check-local] Illegal instruction: 4 > make[5]: *** [check-am] Error 2 > make[4]: *** [check-recursive] Error 1 > make[3]: *** [check] Error 2 > make[2]: *** [check-recursive] Error 1 > make[1]: *** [check] Error 2 > make: *** [check-recursive] Error 1 > (reverse-i-search)`k': make check -j3 > Jies-MacBook-Pro:build jie$ lldb 3rdparty/libprocess/libprocess-tests > (lldb) target create "3rdparty/libprocess/libprocess-tests" > Current executable set to '3rdparty/libprocess/libprocess-tests' (x86_64). > (lldb) run --gtest_filter=IOTest.Redirect > Process 26064 launched: > '/Users/jie/workspace/dist/mesos/build/3rdparty/libprocess/libprocess-tests' > (x86_64) > Note: Google Test filter = IOTest.Redirect > [==] Running 1 test from 1 test case. > [--] Global test environment set-up. > [--] 1 test from IOTest > [ RUN ] IOTest.Redirect > Process 26064 stopped > * thread #2: tid = 0x152c5c, 0x7fffd6d463e0 > libsystem_malloc.dylib`szone_malloc_should_clear + 78, stop reason = > EXC_BAD_ACCESS (code=2, address=0x7eb16ff8) > frame #0: 0x7fffd6d463e0 > libsystem_malloc.dylib`szone_malloc_should_clear + 78 > libsystem_malloc.dylib`szone_malloc_should_clear: > -> 0x7fffd6d463e0 <+78>: movq %rax, -0x78(%rbp) > 0x7fffd6d463e4 <+82>: movq 0x10f0(%r12), %r13 > 0x7fffd6d463ec <+90>: leaq (%rax,%rax,4), %r14 > 0x7fffd6d463f0 <+94>: shlq $0x9, %r14 > (lldb) bt > . > frame #2794: 0x7fffd6ddb221 libsystem_pthread.dylib`thread_start + 13 > {noformat} > Change the test to redirect just 1KB data will hide the issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (MESOS-6665) io::redirect might cause stack overflow.
[ https://issues.apache.org/jira/browse/MESOS-6665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vinod Kone updated MESOS-6665: -- Priority: Blocker (was: Major) > io::redirect might cause stack overflow. > > > Key: MESOS-6665 > URL: https://issues.apache.org/jira/browse/MESOS-6665 > Project: Mesos > Issue Type: Bug >Reporter: Jie Yu >Assignee: Benjamin Hindman >Priority: Blocker > > Can reproduce this on macOS sierra: > {noformat} > [--] 6 tests from IOTest > [ RUN ] IOTest.Poll > [ OK ] IOTest.Poll (0 ms) > [ RUN ] IOTest.Read > [ OK ] IOTest.Read (3 ms) > [ RUN ] IOTest.BufferedRead > [ OK ] IOTest.BufferedRead (5 ms) > [ RUN ] IOTest.Write > [ OK ] IOTest.Write (1 ms) > [ RUN ] IOTest.Redirect > make[6]: *** [check-local] Illegal instruction: 4 > make[5]: *** [check-am] Error 2 > make[4]: *** [check-recursive] Error 1 > make[3]: *** [check] Error 2 > make[2]: *** [check-recursive] Error 1 > make[1]: *** [check] Error 2 > make: *** [check-recursive] Error 1 > (reverse-i-search)`k': make check -j3 > Jies-MacBook-Pro:build jie$ lldb 3rdparty/libprocess/libprocess-tests > (lldb) target create "3rdparty/libprocess/libprocess-tests" > Current executable set to '3rdparty/libprocess/libprocess-tests' (x86_64). > (lldb) run --gtest_filter=IOTest.Redirect > Process 26064 launched: > '/Users/jie/workspace/dist/mesos/build/3rdparty/libprocess/libprocess-tests' > (x86_64) > Note: Google Test filter = IOTest.Redirect > [==] Running 1 test from 1 test case. > [--] Global test environment set-up. > [--] 1 test from IOTest > [ RUN ] IOTest.Redirect > Process 26064 stopped > * thread #2: tid = 0x152c5c, 0x7fffd6d463e0 > libsystem_malloc.dylib`szone_malloc_should_clear + 78, stop reason = > EXC_BAD_ACCESS (code=2, address=0x7eb16ff8) > frame #0: 0x7fffd6d463e0 > libsystem_malloc.dylib`szone_malloc_should_clear + 78 > libsystem_malloc.dylib`szone_malloc_should_clear: > -> 0x7fffd6d463e0 <+78>: movq %rax, -0x78(%rbp) > 0x7fffd6d463e4 <+82>: movq 0x10f0(%r12), %r13 > 0x7fffd6d463ec <+90>: leaq (%rax,%rax,4), %r14 > 0x7fffd6d463f0 <+94>: shlq $0x9, %r14 > (lldb) bt > . > frame #2794: 0x7fffd6ddb221 libsystem_pthread.dylib`thread_start + 13 > {noformat} > Change the test to redirect just 1KB data will hide the issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (MESOS-6665) io::redirect might cause stack overflow.
[ https://issues.apache.org/jira/browse/MESOS-6665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vinod Kone updated MESOS-6665: -- Sprint: Mesosphere Sprint 48 > io::redirect might cause stack overflow. > > > Key: MESOS-6665 > URL: https://issues.apache.org/jira/browse/MESOS-6665 > Project: Mesos > Issue Type: Bug >Reporter: Jie Yu >Assignee: Benjamin Hindman > > Can reproduce this on macOS sierra: > {noformat} > [--] 6 tests from IOTest > [ RUN ] IOTest.Poll > [ OK ] IOTest.Poll (0 ms) > [ RUN ] IOTest.Read > [ OK ] IOTest.Read (3 ms) > [ RUN ] IOTest.BufferedRead > [ OK ] IOTest.BufferedRead (5 ms) > [ RUN ] IOTest.Write > [ OK ] IOTest.Write (1 ms) > [ RUN ] IOTest.Redirect > make[6]: *** [check-local] Illegal instruction: 4 > make[5]: *** [check-am] Error 2 > make[4]: *** [check-recursive] Error 1 > make[3]: *** [check] Error 2 > make[2]: *** [check-recursive] Error 1 > make[1]: *** [check] Error 2 > make: *** [check-recursive] Error 1 > (reverse-i-search)`k': make check -j3 > Jies-MacBook-Pro:build jie$ lldb 3rdparty/libprocess/libprocess-tests > (lldb) target create "3rdparty/libprocess/libprocess-tests" > Current executable set to '3rdparty/libprocess/libprocess-tests' (x86_64). > (lldb) run --gtest_filter=IOTest.Redirect > Process 26064 launched: > '/Users/jie/workspace/dist/mesos/build/3rdparty/libprocess/libprocess-tests' > (x86_64) > Note: Google Test filter = IOTest.Redirect > [==] Running 1 test from 1 test case. > [--] Global test environment set-up. > [--] 1 test from IOTest > [ RUN ] IOTest.Redirect > Process 26064 stopped > * thread #2: tid = 0x152c5c, 0x7fffd6d463e0 > libsystem_malloc.dylib`szone_malloc_should_clear + 78, stop reason = > EXC_BAD_ACCESS (code=2, address=0x7eb16ff8) > frame #0: 0x7fffd6d463e0 > libsystem_malloc.dylib`szone_malloc_should_clear + 78 > libsystem_malloc.dylib`szone_malloc_should_clear: > -> 0x7fffd6d463e0 <+78>: movq %rax, -0x78(%rbp) > 0x7fffd6d463e4 <+82>: movq 0x10f0(%r12), %r13 > 0x7fffd6d463ec <+90>: leaq (%rax,%rax,4), %r14 > 0x7fffd6d463f0 <+94>: shlq $0x9, %r14 > (lldb) bt > . > frame #2794: 0x7fffd6ddb221 libsystem_pthread.dylib`thread_start + 13 > {noformat} > Change the test to redirect just 1KB data will hide the issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (MESOS-6665) io::redirect might cause stack overflow.
[ https://issues.apache.org/jira/browse/MESOS-6665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Klues updated MESOS-6665: --- Assignee: Benjamin Hindman > io::redirect might cause stack overflow. > > > Key: MESOS-6665 > URL: https://issues.apache.org/jira/browse/MESOS-6665 > Project: Mesos > Issue Type: Bug >Reporter: Jie Yu >Assignee: Benjamin Hindman > > Can reproduce this on macOS sierra: > {noformat} > [--] 6 tests from IOTest > [ RUN ] IOTest.Poll > [ OK ] IOTest.Poll (0 ms) > [ RUN ] IOTest.Read > [ OK ] IOTest.Read (3 ms) > [ RUN ] IOTest.BufferedRead > [ OK ] IOTest.BufferedRead (5 ms) > [ RUN ] IOTest.Write > [ OK ] IOTest.Write (1 ms) > [ RUN ] IOTest.Redirect > make[6]: *** [check-local] Illegal instruction: 4 > make[5]: *** [check-am] Error 2 > make[4]: *** [check-recursive] Error 1 > make[3]: *** [check] Error 2 > make[2]: *** [check-recursive] Error 1 > make[1]: *** [check] Error 2 > make: *** [check-recursive] Error 1 > (reverse-i-search)`k': make check -j3 > Jies-MacBook-Pro:build jie$ lldb 3rdparty/libprocess/libprocess-tests > (lldb) target create "3rdparty/libprocess/libprocess-tests" > Current executable set to '3rdparty/libprocess/libprocess-tests' (x86_64). > (lldb) run --gtest_filter=IOTest.Redirect > Process 26064 launched: > '/Users/jie/workspace/dist/mesos/build/3rdparty/libprocess/libprocess-tests' > (x86_64) > Note: Google Test filter = IOTest.Redirect > [==] Running 1 test from 1 test case. > [--] Global test environment set-up. > [--] 1 test from IOTest > [ RUN ] IOTest.Redirect > Process 26064 stopped > * thread #2: tid = 0x152c5c, 0x7fffd6d463e0 > libsystem_malloc.dylib`szone_malloc_should_clear + 78, stop reason = > EXC_BAD_ACCESS (code=2, address=0x7eb16ff8) > frame #0: 0x7fffd6d463e0 > libsystem_malloc.dylib`szone_malloc_should_clear + 78 > libsystem_malloc.dylib`szone_malloc_should_clear: > -> 0x7fffd6d463e0 <+78>: movq %rax, -0x78(%rbp) > 0x7fffd6d463e4 <+82>: movq 0x10f0(%r12), %r13 > 0x7fffd6d463ec <+90>: leaq (%rax,%rax,4), %r14 > 0x7fffd6d463f0 <+94>: shlq $0x9, %r14 > (lldb) bt > . > frame #2794: 0x7fffd6ddb221 libsystem_pthread.dylib`thread_start + 13 > {noformat} > Change the test to redirect just 1KB data will hide the issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (MESOS-6665) io::redirect might cause stack overflow.
[ https://issues.apache.org/jira/browse/MESOS-6665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jie Yu updated MESOS-6665: -- Issue Type: Bug (was: Task) > io::redirect might cause stack overflow. > > > Key: MESOS-6665 > URL: https://issues.apache.org/jira/browse/MESOS-6665 > Project: Mesos > Issue Type: Bug >Reporter: Jie Yu > > Can reproduce this on macOS sierra: > {noformat} > [--] 6 tests from IOTest > [ RUN ] IOTest.Poll > [ OK ] IOTest.Poll (0 ms) > [ RUN ] IOTest.Read > [ OK ] IOTest.Read (3 ms) > [ RUN ] IOTest.BufferedRead > [ OK ] IOTest.BufferedRead (5 ms) > [ RUN ] IOTest.Write > [ OK ] IOTest.Write (1 ms) > [ RUN ] IOTest.Redirect > make[6]: *** [check-local] Illegal instruction: 4 > make[5]: *** [check-am] Error 2 > make[4]: *** [check-recursive] Error 1 > make[3]: *** [check] Error 2 > make[2]: *** [check-recursive] Error 1 > make[1]: *** [check] Error 2 > make: *** [check-recursive] Error 1 > (reverse-i-search)`k': make check -j3 > Jies-MacBook-Pro:build jie$ lldb 3rdparty/libprocess/libprocess-tests > (lldb) target create "3rdparty/libprocess/libprocess-tests" > Current executable set to '3rdparty/libprocess/libprocess-tests' (x86_64). > (lldb) run --gtest_filter=IOTest.Redirect > Process 26064 launched: > '/Users/jie/workspace/dist/mesos/build/3rdparty/libprocess/libprocess-tests' > (x86_64) > Note: Google Test filter = IOTest.Redirect > [==] Running 1 test from 1 test case. > [--] Global test environment set-up. > [--] 1 test from IOTest > [ RUN ] IOTest.Redirect > Process 26064 stopped > * thread #2: tid = 0x152c5c, 0x7fffd6d463e0 > libsystem_malloc.dylib`szone_malloc_should_clear + 78, stop reason = > EXC_BAD_ACCESS (code=2, address=0x7eb16ff8) > frame #0: 0x7fffd6d463e0 > libsystem_malloc.dylib`szone_malloc_should_clear + 78 > libsystem_malloc.dylib`szone_malloc_should_clear: > -> 0x7fffd6d463e0 <+78>: movq %rax, -0x78(%rbp) > 0x7fffd6d463e4 <+82>: movq 0x10f0(%r12), %r13 > 0x7fffd6d463ec <+90>: leaq (%rax,%rax,4), %r14 > 0x7fffd6d463f0 <+94>: shlq $0x9, %r14 > (lldb) bt > . > frame #2794: 0x7fffd6ddb221 libsystem_pthread.dylib`thread_start + 13 > {noformat} > Change the test to redirect just 1KB data will hide the issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (MESOS-6665) io::redirect might cause stack overflow.
[ https://issues.apache.org/jira/browse/MESOS-6665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jie Yu updated MESOS-6665: -- Description: Can reproduce this on macOS sierra: {noformat} [--] 6 tests from IOTest [ RUN ] IOTest.Poll [ OK ] IOTest.Poll (0 ms) [ RUN ] IOTest.Read [ OK ] IOTest.Read (3 ms) [ RUN ] IOTest.BufferedRead [ OK ] IOTest.BufferedRead (5 ms) [ RUN ] IOTest.Write [ OK ] IOTest.Write (1 ms) [ RUN ] IOTest.Redirect make[6]: *** [check-local] Illegal instruction: 4 make[5]: *** [check-am] Error 2 make[4]: *** [check-recursive] Error 1 make[3]: *** [check] Error 2 make[2]: *** [check-recursive] Error 1 make[1]: *** [check] Error 2 make: *** [check-recursive] Error 1 (reverse-i-search)`k': make check -j3 Jies-MacBook-Pro:build jie$ lldb 3rdparty/libprocess/libprocess-tests (lldb) target create "3rdparty/libprocess/libprocess-tests" Current executable set to '3rdparty/libprocess/libprocess-tests' (x86_64). (lldb) run --gtest_filter=IOTest.Redirect Process 26064 launched: '/Users/jie/workspace/dist/mesos/build/3rdparty/libprocess/libprocess-tests' (x86_64) Note: Google Test filter = IOTest.Redirect [==] Running 1 test from 1 test case. [--] Global test environment set-up. [--] 1 test from IOTest [ RUN ] IOTest.Redirect Process 26064 stopped * thread #2: tid = 0x152c5c, 0x7fffd6d463e0 libsystem_malloc.dylib`szone_malloc_should_clear + 78, stop reason = EXC_BAD_ACCESS (code=2, address=0x7eb16ff8) frame #0: 0x7fffd6d463e0 libsystem_malloc.dylib`szone_malloc_should_clear + 78 libsystem_malloc.dylib`szone_malloc_should_clear: -> 0x7fffd6d463e0 <+78>: movq %rax, -0x78(%rbp) 0x7fffd6d463e4 <+82>: movq 0x10f0(%r12), %r13 0x7fffd6d463ec <+90>: leaq (%rax,%rax,4), %r14 0x7fffd6d463f0 <+94>: shlq $0x9, %r14 (lldb) bt . frame #2794: 0x7fffd6ddb221 libsystem_pthread.dylib`thread_start + 13 {noformat} Change the test to redirect just 1KB data will hide the issue. was: Can reproduce this on macOS sierra: {noformat} [--] 6 tests from IOTest [ RUN ] IOTest.Poll [ OK ] IOTest.Poll (0 ms) [ RUN ] IOTest.Read [ OK ] IOTest.Read (3 ms) [ RUN ] IOTest.BufferedRead [ OK ] IOTest.BufferedRead (5 ms) [ RUN ] IOTest.Write [ OK ] IOTest.Write (1 ms) [ RUN ] IOTest.Redirect make[6]: *** [check-local] Illegal instruction: 4 make[5]: *** [check-am] Error 2 make[4]: *** [check-recursive] Error 1 make[3]: *** [check] Error 2 make[2]: *** [check-recursive] Error 1 make[1]: *** [check] Error 2 make: *** [check-recursive] Error 1 (reverse-i-search)`k': make check -j3 Jies-MacBook-Pro:build jie$ lldb 3rdparty/libprocess/libprocess-tests (lldb) target create "3rdparty/libprocess/libprocess-tests" Current executable set to '3rdparty/libprocess/libprocess-tests' (x86_64). (lldb) run --gtest_filter=IOTest.Redirect Process 26064 launched: '/Users/jie/workspace/dist/mesos/build/3rdparty/libprocess/libprocess-tests' (x86_64) Note: Google Test filter = IOTest.Redirect [==] Running 1 test from 1 test case. [--] Global test environment set-up. [--] 1 test from IOTest [ RUN ] IOTest.Redirect Process 26064 stopped * thread #2: tid = 0x152c5c, 0x7fffd6d463e0 libsystem_malloc.dylib`szone_malloc_should_clear + 78, stop reason = EXC_BAD_ACCESS (code=2, address=0x7eb16ff8) frame #0: 0x7fffd6d463e0 libsystem_malloc.dylib`szone_malloc_should_clear + 78 libsystem_malloc.dylib`szone_malloc_should_clear: -> 0x7fffd6d463e0 <+78>: movq %rax, -0x78(%rbp) 0x7fffd6d463e4 <+82>: movq 0x10f0(%r12), %r13 0x7fffd6d463ec <+90>: leaq (%rax,%rax,4), %r14 0x7fffd6d463f0 <+94>: shlq $0x9, %r14 (lldb) {noformat} Change the test to redirect just 1KB data will hide the issue. > io::redirect might cause stack overflow. > > > Key: MESOS-6665 > URL: https://issues.apache.org/jira/browse/MESOS-6665 > Project: Mesos > Issue Type: Task >Reporter: Jie Yu > > Can reproduce this on macOS sierra: > {noformat} > [--] 6 tests from IOTest > [ RUN ] IOTest.Poll > [ OK ] IOTest.Poll (0 ms) > [ RUN ] IOTest.Read > [ OK ] IOTest.Read (3 ms) > [ RUN ] IOTest.BufferedRead > [ OK ] IOTest.BufferedRead (5 ms) > [ RUN ] IOTest.Write > [ OK ] IOTest.Write (1 ms) > [ RUN ] IOTest.Redirect > make[6]: *** [check-local] Illegal instruction: 4 > make[5]: *** [check-am] Error 2 > make[4]: *** [check-recursive] Error 1 > make[3]: *** [check] Error 2 > make[2]: *** [check-recursive] Error 1 > make[1]: *** [check] Error 2 > make: *** [check-recursive] Error 1 > (reverse-i-search)`k': make check -j3 > Jies-MacBook-Pro:build jie$ lldb 3rdparty/libprocess/libprocess-tests > (lldb) target create