Skip to content

'assertion failed: list.len() == 0', /libnative/io/timer_timerfd.rs:166 #12684

Closed
@mvdnes

Description

@mvdnes

Error

task '<unnamed>' failed at 'assertion failed: list.len() == 0', /build/buildd/rust-nightly-201403040405~3c0d098~precise/src/libnative/io/timer_timerfd.rs:166
task '<unnamed>' failed at 'receiving on a closed channel', /build/buildd/rust-nightly-201403040405~3c0d098~precise/src/libstd/comm/mod.rs:507
task '<unnamed>' failed at 'sending on a closed channel', /build/buildd/rust-nightly-201403040405~3c0d098~precise/src/libstd/comm/mod.rs:368
task failed during unwinding (double-failure - total drag!)
rust must abort now. so sorry.
Illegal instruction (core dumped)

Version

Latest nightly (rust-nightly_201403040405~3c0d098~precise_amd64.deb) from http://ppa.launchpad.net/hansjorg/rust/:

s0828599@u0009747:~/playground/rboy/src$ rustc -v
rustc 0.10-pre
host: x86_64-unknown-linux-gnu
s0828599@u0009747:~/playground/rboy/src$ uname -a
Linux u0009747 3.5.0-46-generic #70~precise1-Ubuntu SMP Thu Jan 9 23:55:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Additional information

This error happens in my Gameboy color emulator https://github.com/mvdnes/rboy, after switching from the 'normal' starting and spawning. The problem started when I switched to spawning my thread with libnative. (Another stange thing, when starting main in native my SDL window would not quit.) I use timer::periodic to slow down the emulator. Given the error, I assume that is the place the error could lie.

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