Skip to content

invalid read in rust_scheduler::kill_all_tasks #2365

Closed
@brson

Description

@brson

This just popped up on the bots

http://bot.rust-lang.org/logs/2012/04/07/2012-05-07T21:33:29Z-6fff9015-92a2-46f7-8a5e-4fd19e45dad4.html

rust: upcall fail 'runned an unexported test', /home/rustbuild/src/rustbot/workspace-master-x86_64-unknown-linux-gnu/src/src/test/run-fail/run-unexported-tests.rs:12 rust: upcall fail 'Some tests failed', /home/rustbuild/src/rustbot/workspace-master-x86_64-unknown-linux-gnu/src/src/libstd/test.rs:57 rust: domain main @0x5614e30 root task failed rust: upcall fail 'killed', /home/rustbuild/src/rustbot/workspace-master-x86_64-unknown-linux-gnu/src/src/libcore/task.rs:454 ==56906== Thread 3: ==56906== Invalid read of size 8 ==56906== at 0x53B78C0: rust_scheduler::kill_all_tasks() (rust_scheduler.cpp:79) ==56906== by 0x53C1C57: rust_kernel::fail() (rust_kernel.cpp:212) ==56906== by 0x53B856C: rust_task::fail_parent() (rust_task.cpp:294) ==56906== by 0x53B8E68: cleanup_task(cleanup_args_) (rust_task.cpp:125) ==56906== by 0x53CE9F8: ??? (in /home/rustbuild/src/rustbot/workspace-master-x86_64-unknown-linux-gnu/obj/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib/librustrt.so) ==56906== Address 0x5926c20 is 160 bytes inside a block of size 176 free'd ==56906== at 0x4A050C7: free (vg_replace_malloc.c:366) ==56906== by 0x53C11BF: rust_kernel::wait_for_schedulers() (rust_kernel.h:137) ==56906== by 0x53B1649: rust_thread_start(void_) (rust_thread.cpp:25) ==56906== by 0x34540077F0: start_thread (in /lib64/libpthread-2.12.so) ==56906== by 0x34534E592C: clone (in /lib64/libc-2.12.so) ==56906==

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsI-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions