Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid read in rust_scheduler::kill_all_tasks #2365

Closed
brson opened this issue May 7, 2012 · 1 comment
Closed

invalid read in rust_scheduler::kill_all_tasks #2365

brson opened this issue May 7, 2012 · 1 comment
Labels
A-runtime Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
Milestone

Comments

@brson
Copy link
Contributor

brson commented May 7, 2012

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==

@bblum
Copy link
Contributor

bblum commented Jun 27, 2012

Race condition in failure propagation, right? Should go away when failure propagation is torn out of rt/ and linked failure is added to task.rs.

@ghost ghost assigned bblum Jun 27, 2012
bblum added a commit that referenced this issue Jul 20, 2012
@bblum bblum closed this as completed in 3dc52da Jul 20, 2012
@brson brson unassigned bblum Jun 16, 2014
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-runtime Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
Projects
None yet
Development

No branches or pull requests

2 participants