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

Assertion failed #2

Open
b4284 opened this issue Mar 28, 2013 · 2 comments
Open

Assertion failed #2

b4284 opened this issue Mar 28, 2013 · 2 comments

Comments

@b4284
Copy link

b4284 commented Mar 28, 2013

With latest rust on github:

rustc --cfg ndebug --cfg ncpuspew -O -L . nes.rc -o nes || echo ""If this build failed due to missing SDL bindings, please install them from https://github.com/brson/rust-sdl and copy the .dll/.dylib/.so into this directory or use RUSTLDFLAGS.""
main.rs:14:4: 14:11 warning: unused import
main.rs:14 use mapper;
^~~~~~~
apu.rs:12:4: 12:36 warning: unused import
apu.rs:12 use core::cast::{forget, transmute};
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rust: task failed at 'assertion failed: adt::is_newtypeish(repr)', /home/b4283/rust-git/src/rust-build/src/librustc/middle/trans/datum.rs:722
/usr/bin/../lib/librustrt.so(_ZN9rust_task13begin_failureEPKcS1_m+0x4b)[0x7f56983c6afb]
/usr/bin/../lib/librustrt.so(+0x2a589)[0x7f56983d7589]
/usr/bin/../lib/librustrt.so(upcall_fail+0x1a0)[0x7f56983c88e0]
/usr/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x1043fb)[0x7f569b6583fb]
/usr/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x1043a2)[0x7f569b6583a2]
/usr/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(_ZN3sys12begin_unwind16_701b8ec61f97ead3_06E+0x71)[0x7f569b5a0fb1]
/usr/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(_ZN3sys11fail_assert17_39b56917c3b2cce23_06E+0x228)[0x7f569b5aa628]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle5trans5datum14__extensions__10meth_255709try_deref17_90116c4113feba873_06E+0x169e)[0x7f5699f31f4e]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle5trans5datum14__extensions__10meth_256455deref15_2d36ef1d1834bd3_06E+0x56)[0x7f5699f34026]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(+0x20bc13)[0x7f5699f6bc13]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(+0x1f73d2)[0x7f5699f573d2]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(+0x1f5750)[0x7f5699f55750]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle5trans4expr14trans_to_datum17_e544ebd4566723c53_06E+0x523)[0x7f5699ec13e3]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle5trans6callee14trans_arg_expr16_39ee8c136a759f93_06E+0x9b3)[0x7f5699f51b03]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(+0x1f1073)[0x7f5699f51073]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle5trans6callee10trans_args16_7bd0e689e5b46603_06E+0x1d1)[0x7f5699f4fa51]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(+0x1eecdc)[0x7f5699f4ecdc]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle5trans4base10with_scope17_e5e08017d0ac34a33_06E+0x56e)[0x7f5699f0b81e]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle5trans6callee16trans_call_inner17_118054efe33e2dba3_06E+0xc2)[0x7f5699f3e7b2]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle5trans6callee10trans_call17_e5bc94c86b8585903_06E+0x1ec)[0x7f5699f3e42c]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(+0x1fbaff)[0x7f5699f5baff]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle5trans4expr10trans_into17_cdf7eea2138aab383_06E+0xe97)[0x7f5699ebe047]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle5trans4base10trans_stmt17_132027878656a3f53_06E+0x433)[0x7f5699ebcc03]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(+0x15bdbc)[0x7f5699ebbdbc]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle5trans11controlflow11trans_block17_5e71b2e74f20f4dc3_06E+0x19e)[0x7f5699eba52e]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(+0x205da2)[0x7f5699f65da2]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle5trans4base10with_scope17_e5e08017d0ac34a33_06E+0x56e)[0x7f5699f0b81e]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(+0x1fcc6c)[0x7f5699f5cc6c]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle5trans4expr10trans_into17_cdf7eea2138aab383_06E+0xe97)[0x7f5699ebe047]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle5trans11controlflow11trans_block17_5e71b2e74f20f4dc3_06E+0x203)[0x7f5699eba593]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8bb7c4)[0x7f569a61b7c4]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle5trans4base13trans_closure17_235d3349a71fb1e93_06E+0x50e)[0x7f5699fcbade]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle5trans4base8trans_fn17_f134c5c93546727a3_06E+0x3b9)[0x7f5699e74249]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle5trans4meth12trans_method17_7ab1ad1d1053199e3_06E+0x40d)[0x7f5699eb206d]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(+0x2e317d)[0x7f569a04317d]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle5trans4meth10trans_impl17_58a938ed4efd8b4d3_06E+0x14e)[0x7f5699fd239e]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle5trans4base10trans_item17_d140cf9b26d4d7d03_06E+0x6df)[0x7f5699e6b8df]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle5trans4base9trans_mod17_84b0f71d91febf243_06E+0xa3)[0x7f5699fd25e3]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle5trans4base10trans_item17_d140cf9b26d4d7d03_06E+0x464)[0x7f5699e6b664]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle5trans4base9trans_mod17_84b0f71d91febf243_06E+0xa3)[0x7f5699fd25e3]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle5trans4base11trans_crate17_727a80cf403883f63_06E+0x1394)[0x7f5699ff1e74]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(+0x87ced0)[0x7f569a5dced0]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6driver6driver12compile_rest17_4bf2448e3f8eeae83_06E+0x331e)[0x7f569a5d9f3e]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8bb7c4)[0x7f569a61b7c4]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6driver6driver12compile_upto17_27d7f1622ded36643_06E+0x108)[0x7f569a5dd168]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8bb7c4)[0x7f569a61b7c4]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6driver6driver13compile_input17_2d60e0f11ec6a7a03_06E+0xca)[0x7f569a5dd5aa]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN12run_compiler17_21bcb5f3839956b03_06E+0x20de)[0x7f569a60cc9e]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8b9291)[0x7f569a619291]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8b5abc)[0x7f569a615abc]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8bb7c4)[0x7f569a61b7c4]
/usr/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0xccf2e)[0x7f569b620f2e]
/usr/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x14c984)[0x7f569b6a0984]
/usr/bin/../lib/librustrt.so(_Z18task_start_wrapperP10spawn_args+0x24)[0x7f56983c7344]
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=1,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues
rust: task failed at 'explicit failure', /home/b4283/rust-git/src/rust-build/src/librustc/rustc.rc:358
/usr/bin/../lib/librustrt.so(_ZN9rust_task13begin_failureEPKcS1_m+0x4b)[0x7f56983c6afb]
/usr/bin/../lib/librustrt.so(+0x2a589)[0x7f56983d7589]
/usr/bin/../lib/librustrt.so(upcall_fail+0x1a0)[0x7f56983c88e0]
/usr/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x1043fb)[0x7f569b6583fb]
/usr/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x1043a2)[0x7f569b6583a2]
/usr/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(_ZN3sys12begin_unwind16_701b8ec61f97ead3_06E+0x71)[0x7f569b5a0fb1]
/usr/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x14c984)[0x7f569b6a0984]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN7monitor17_5d98f0d477e17c953_06E+0x1577)[0x7f569a60f287]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8bb7c4)[0x7f569a61b7c4]
/usr/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN4main16_706f4ee7413ae583_06E+0x7e)[0x7f569a61b3de]
/usr/bin/../lib/librustrt.so(_Z18task_start_wrapperP10spawn_args+0x24)[0x7f56983c7344]
rust: domain main @0x225c3c0 root task failed
If this build failed due to missing SDL bindings, please install them from https://github.com/brson/rust-sdl and copy the .dll/.dylib/.so into this directory or use RUSTLDFLAGS.

@b4284
Copy link
Author

b4284 commented Mar 28, 2013

I just realized the assertion code is in rust complier's code and not sprocknes, forgive me.

@pcwalton
Copy link
Owner

This should be fixed in the latest Rust incoming branch.
On Mar 27, 2013 7:38 PM, "b4284" notifications@github.com wrote:

I just realized the assertion code is in rust complier's code and not
sprocknes, forgive me.


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-15565230
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants