[ https://issues.apache.org/jira/browse/MESOS-6665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15730198#comment-15730198 ]
Adam B commented on MESOS-6665: ------------------------------- Any update [~benjaminhindman]? > 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, 0x00007fffd6d463e0 > libsystem_malloc.dylib`szone_malloc_should_clear + 78, stop reason = > EXC_BAD_ACCESS (code=2, address=0x70000eb16ff8) > frame #0: 0x00007fffd6d463e0 > 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: 0x00007fffd6ddb221 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)