Skip to content

test_gl_tcp_server_access_denied failure on Linux (x86_64) #3102

Closed
@alexrp

Description

@alexrp

net_tcp::test::tcp_ipv4_server_and_client_test::impl64::test_gl_tcp_server_access_denied fails on Linux (x86_64) in master:

failures:
        net_tcp::test::tcp_ipv4_server_and_client_test::impl64::test_gl_tcp_server_access_denied

result: FAILED. 159 passed; 1 failed; 6 ignored

rust: task failed at 'Some tests failed', /usr/src/rust/src/libstd/test.rs:59
rust: domain main @0x6931e50 root task failed
rust: task failed at 'killed', /usr/src/rust/src/libcore/task.rs:521
rust: task failed at 'killed', /usr/src/rust/src/libcore/task.rs:521
rust: task failed at 'killed', /usr/src/rust/src/libcore/task.rs:521
rust: task failed at 'killed', /usr/src/rust/src/libcore/task.rs:521
rust: task failed at 'killed', /usr/src/rust/src/libcore/task.rs:521
rust: task failed at 'killed', /usr/src/rust/src/libcore/task.rs:521
rust: task failed at 'killed', /usr/src/rust/src/libcore/task.rs:521
rust: task failed at 'killed', /usr/src/rust/src/libcore/task.rs:521
rust: task failed at 'killed', /usr/src/rust/src/libcore/task.rs:521
rust: task failed at 'killed', /usr/src/rust/src/libcore/task.rs:521
rust: task failed at 'killed', /usr/src/rust/src/libcore/task.rs:521
rust: task failed at 'killed', /usr/src/rust/src/libcore/task.rs:521
rust: task failed at 'killed', /usr/src/rust/src/libcore/task.rs:521
rust: task failed at 'killed', /usr/src/rust/src/libcore/task.rs:521
rust: task failed at 'killed', /usr/src/rust/src/libcore/task.rs:521
rust: task failed at 'killed', /usr/src/rust/src/libcore/task.rs:521
rust: task failed at 'killed', /usr/src/rust/src/libcore/task.rs:521
rust: task failed at 'killed', /usr/src/rust/src/libcore/task.rs:521
rust: task failed at 'killed', /usr/src/rust/src/libcore/task.rs:521
==8543== Thread 14:
==8543== Invalid write of size 4
==8543==    at 0x55A2057: ev_timer_stop (ev.c:1183)
==8543==    by 0x55A3B74: ev_run (ev.c:2206)
==8543==    by 0x5595EB1: uv_run (core.c:212)
==8543==    by 0x559500C: ??? (in /usr/src/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib/librustrt.so)
==8543==  Address 0x6b89f38 is 2,712 bytes inside a block of size 3,632 free'd
==8543==    at 0x4C282E0: free (vg_replace_malloc.c:366)
==8543==    by 0x55813E6: rust_task::cleanup_after_turn() (rust_task.cpp:561)
==8543==    by 0x557DED4: rust_sched_loop::activate(rust_task*) (rust_sched_loop.cpp:47)
==8543==    by 0x557E020: rust_sched_loop::run_single_turn() (rust_sched_loop.cpp:230)
==8543==    by 0x557F704: rust_sched_driver::start_main_loop() (rust_sched_driver.cpp:28)
==8543==    by 0x5578BB9: rust_thread_start(void*) (rust_thread.cpp:25)
==8543==    by 0x6413EFB: start_thread (pthread_create.c:304)
==8543==    by 0x5ABE59C: clone (clone.S:112)
==8543== 
rust: task failed at 'killed', /usr/src/rust/src/libcore/task.rs:521
rust: task failed at 'killed', /usr/src/rust/src/libcore/task.rs:521
rust: task failed at 'killed', /usr/src/rust/src/libcore/task.rs:521
rust: task failed at 'killed', /usr/src/rust/src/libcore/task.rs:521
==8543== Invalid read of size 8
==8543==    at 0x55A374B: ev_run (ev.c:2194)
==8543==    by 0x5595EB1: uv_run (core.c:212)
==8543==    by 0x559500C: ??? (in /usr/src/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib/librustrt.so)
==8543==  Address 0x6b89f60 is 2,752 bytes inside a block of size 3,632 free'd
==8543==    at 0x4C282E0: free (vg_replace_malloc.c:366)
==8543==    by 0x55813E6: rust_task::cleanup_after_turn() (rust_task.cpp:561)
==8543==    by 0x557DED4: rust_sched_loop::activate(rust_task*) (rust_sched_loop.cpp:47)
==8543==    by 0x557E020: rust_sched_loop::run_single_turn() (rust_sched_loop.cpp:230)
==8543==    by 0x557F704: rust_sched_driver::start_main_loop() (rust_sched_driver.cpp:28)
==8543==    by 0x5578BB9: rust_thread_start(void*) (rust_thread.cpp:25)
==8543==    by 0x6413EFB: start_thread (pthread_create.c:304)
==8543==    by 0x5ABE59C: clone (clone.S:112)
==8543== 
==8543== Invalid read of size 8
==8543==    at 0x55A375D: ev_run (ev.c:2196)
==8543==    by 0x5595EB1: uv_run (core.c:212)
==8543==    by 0x559500C: ??? (in /usr/src/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib/librustrt.so)
==8543==  Address 0x6b89f58 is 2,744 bytes inside a block of size 3,632 free'd
==8543==    at 0x4C282E0: free (vg_replace_malloc.c:366)
==8543==    by 0x55813E6: rust_task::cleanup_after_turn() (rust_task.cpp:561)
==8543==    by 0x557DED4: rust_sched_loop::activate(rust_task*) (rust_sched_loop.cpp:47)
==8543==    by 0x557E020: rust_sched_loop::run_single_turn() (rust_sched_loop.cpp:230)
==8543==    by 0x557F704: rust_sched_driver::start_main_loop() (rust_sched_driver.cpp:28)
==8543==    by 0x5578BB9: rust_thread_start(void*) (rust_thread.cpp:25)
==8543==    by 0x6413EFB: start_thread (pthread_create.c:304)
==8543==    by 0x5ABE59C: clone (clone.S:112)
==8543== 
==8543== Invalid write of size 8
==8543==    at 0x55A3767: ev_run (ev.c:2196)
==8543==    by 0x5595EB1: uv_run (core.c:212)
==8543==    by 0x559500C: ??? (in /usr/src/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib/librustrt.so)
==8543==  Address 0x6b89f58 is 2,744 bytes inside a block of size 3,632 free'd
==8543==    at 0x4C282E0: free (vg_replace_malloc.c:366)
==8543==    by 0x55813E6: rust_task::cleanup_after_turn() (rust_task.cpp:561)
==8543==    by 0x557DED4: rust_sched_loop::activate(rust_task*) (rust_sched_loop.cpp:47)
==8543==    by 0x557E020: rust_sched_loop::run_single_turn() (rust_sched_loop.cpp:230)
==8543==    by 0x557F704: rust_sched_driver::start_main_loop() (rust_sched_driver.cpp:28)
==8543==    by 0x5578BB9: rust_thread_start(void*) (rust_thread.cpp:25)
==8543==    by 0x6413EFB: start_thread (pthread_create.c:304)
==8543==    by 0x5ABE59C: clone (clone.S:112)
==8543== 
==8543== Invalid write of size 8
==8543==    at 0x55A376F: ev_run (ev.c:2198)
==8543==    by 0x5595EB1: uv_run (core.c:212)
==8543==    by 0x559500C: ??? (in /usr/src/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib/librustrt.so)
==8543==  Address 0x6b89f58 is 2,744 bytes inside a block of size 3,632 free'd
==8543==    at 0x4C282E0: free (vg_replace_malloc.c:366)
==8543==    by 0x55813E6: rust_task::cleanup_after_turn() (rust_task.cpp:561)
==8543==    by 0x557DED4: rust_sched_loop::activate(rust_task*) (rust_sched_loop.cpp:47)
==8543==    by 0x557E020: rust_sched_loop::run_single_turn() (rust_sched_loop.cpp:230)
==8543==    by 0x557F704: rust_sched_driver::start_main_loop() (rust_sched_driver.cpp:28)
==8543==    by 0x5578BB9: rust_thread_start(void*) (rust_thread.cpp:25)
==8543==    by 0x6413EFB: start_thread (pthread_create.c:304)
==8543==    by 0x5ABE59C: clone (clone.S:112)
==8543== 
==8543== Invalid write of size 4
==8543==    at 0x55A3701: ev_run (ev.c:1189)
==8543==    by 0x5595EB1: uv_run (core.c:212)
==8543==    by 0x559500C: ??? (in /usr/src/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib/librustrt.so)
==8543==  Address 0x6b89f38 is 2,712 bytes inside a block of size 3,632 free'd
==8543==    at 0x4C282E0: free (vg_replace_malloc.c:366)
==8543==    by 0x55813E6: rust_task::cleanup_after_turn() (rust_task.cpp:561)
==8543==    by 0x557DED4: rust_sched_loop::activate(rust_task*) (rust_sched_loop.cpp:47)
==8543==    by 0x557E020: rust_sched_loop::run_single_turn() (rust_sched_loop.cpp:230)
==8543==    by 0x557F704: rust_sched_driver::start_main_loop() (rust_sched_driver.cpp:28)
==8543==    by 0x5578BB9: rust_thread_start(void*) (rust_thread.cpp:25)
==8543==    by 0x6413EFB: start_thread (pthread_create.c:304)
==8543==    by 0x5ABE59C: clone (clone.S:112)
==8543== 
==8543== Invalid read of size 4
==8543==    at 0x559FB93: ev_feed_event (ev.c:900)
==8543==    by 0x55A3851: ev_run (ev.c:924)
==8543==    by 0x5595EB1: uv_run (core.c:212)
==8543==    by 0x559500C: ??? (in /usr/src/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib/librustrt.so)
==8543==  Address 0x6b89f40 is 2,720 bytes inside a block of size 3,632 free'd
==8543==    at 0x4C282E0: free (vg_replace_malloc.c:366)
==8543==    by 0x55813E6: rust_task::cleanup_after_turn() (rust_task.cpp:561)
==8543==    by 0x557DED4: rust_sched_loop::activate(rust_task*) (rust_sched_loop.cpp:47)
==8543==    by 0x557E020: rust_sched_loop::run_single_turn() (rust_sched_loop.cpp:230)
==8543==    by 0x557F704: rust_sched_driver::start_main_loop() (rust_sched_driver.cpp:28)
==8543==    by 0x5578BB9: rust_thread_start(void*) (rust_thread.cpp:25)
==8543==    by 0x6413EFB: start_thread (pthread_create.c:304)
==8543==    by 0x5ABE59C: clone (clone.S:112)
==8543== 
==8543== Invalid read of size 4
==8543==    at 0x559FB97: ev_feed_event (ev.c:902)
==8543==    by 0x55A3851: ev_run (ev.c:924)
==8543==    by 0x5595EB1: uv_run (core.c:212)
==8543==    by 0x559500C: ??? (in /usr/src/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib/librustrt.so)
==8543==  Address 0x6b89f3c is 2,716 bytes inside a block of size 3,632 free'd
==8543==    at 0x4C282E0: free (vg_replace_malloc.c:366)
==8543==    by 0x55813E6: rust_task::cleanup_after_turn() (rust_task.cpp:561)
==8543==    by 0x557DED4: rust_sched_loop::activate(rust_task*) (rust_sched_loop.cpp:47)
==8543==    by 0x557E020: rust_sched_loop::run_single_turn() (rust_sched_loop.cpp:230)
==8543==    by 0x557F704: rust_sched_driver::start_main_loop() (rust_sched_driver.cpp:28)
==8543==    by 0x5578BB9: rust_thread_start(void*) (rust_thread.cpp:25)
==8543==    by 0x6413EFB: start_thread (pthread_create.c:304)
==8543==    by 0x5ABE59C: clone (clone.S:112)
==8543== 
==8543== Invalid read of size 4
==8543==    at 0x559FBAD: ev_feed_event (ev.c:906)
==8543==    by 0x55A3851: ev_run (ev.c:924)
==8543==    by 0x5595EB1: uv_run (core.c:212)
==8543==    by 0x559500C: ??? (in /usr/src/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib/librustrt.so)
==8543==  Address 0x219b0bac is not stack'd, malloc'd or (recently) free'd
==8543== 
==8543== 
==8543== Process terminating with default action of signal 11 (SIGSEGV)
==8543==  Access not within mapped region at address 0x219B0BAC
==8543==    at 0x559FBAD: ev_feed_event (ev.c:906)
==8543==    by 0x55A3851: ev_run (ev.c:924)
==8543==    by 0x5595EB1: uv_run (core.c:212)
==8543==    by 0x559500C: ??? (in /usr/src/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib/librustrt.so)
==8543==  If you believe this happened as a result of a stack
==8543==  overflow in your program's main thread (unlikely but
==8543==  possible), you can try to increase the size of the
==8543==  main thread stack using the --main-stacksize= flag.
==8543==  The main thread stack size used in this run was 16777216.
make: *** [check-stage2-T-x86_64-unknown-linux-gnu-H-x86_64-unknown-linux-gnu-std-dummy] Killed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions