Skip to content

Instantly share code, notes, and snippets.

@larsbergstrom
Created January 4, 2014 01:20
Show Gist options
  • Save larsbergstrom/8250182 to your computer and use it in GitHub Desktop.
Save larsbergstrom/8250182 to your computer and use it in GitHub Desktop.
rust crash
[larsberg@lbergstrom build]$ make
make -C "/Users/larsberg/servo-jack/build/src/rust" CFG_RUSTC_FLAGS="" RUSTFLAGS=""
cfg: build triple x86_64-apple-darwin
cfg: host triples x86_64-apple-darwin
cfg: target triples x86_64-apple-darwin
cfg: host for x86_64-apple-darwin is x86_64
cfg: os for x86_64-apple-darwin is apple-darwin
cfg: using gcc
cfg: no pandoc found, omitting doc/rust.pdf
cfg: no llnextgen found, omitting grammar-verification
cfg: no pandoc found, omitting library doc build
compile_and_link: x86_64-apple-darwin/stage0/lib/rustc/x86_64-apple-darwin/lib/libcore.dylib
/Users/larsberg/servo-jack/src/rust/src/libcore/core.rc:55:8: 55:24 warning: unknown `allow` attribute: `deprecated_drop`
/Users/larsberg/servo-jack/src/rust/src/libcore/core.rc:55 #[allow(deprecated_drop)];
^~~~~~~~~~~~~~~~
/Users/larsberg/servo-jack/src/rust/src/libcore/stackwalk.rs:83:20: 83:33 warning: argument 1 uses an explicit mode
/Users/larsberg/servo-jack/src/rust/src/libcore/stackwalk.rs:83 fn frame_address(f: &fn(++x: *u8)) {
^~~~~~~~~~~~~
/Users/larsberg/servo-jack/src/rust/src/libcore/rt/uv.rs:225:8: 235:9 warning: argument 3 uses an explicit mode
/Users/larsberg/servo-jack/src/rust/src/libcore/rt/uv.rs:225 extern fn read_cb(stream: *uvll::uv_stream_t,
/Users/larsberg/servo-jack/src/rust/src/libcore/rt/uv.rs:226 nread: ssize_t, ++buf: Buf) {
/Users/larsberg/servo-jack/src/rust/src/libcore/rt/uv.rs:227 rtdebug!("buf addr: %x", buf.base as uint);
/Users/larsberg/servo-jack/src/rust/src/libcore/rt/uv.rs:228 rtdebug!("buf len: %d", buf.len as int);
/Users/larsberg/servo-jack/src/rust/src/libcore/rt/uv.rs:229 let mut stream_watcher: StreamWatcher =
/Users/larsberg/servo-jack/src/rust/src/libcore/rt/uv.rs:230 NativeHandle::from_native_handle(stream);
...
/bin/sh: line 1: 26607 Segmentation fault: 11 x86_64-apple-darwin/stage0/bin/rustc --cfg stage0 --target=x86_64-apple-darwin -o x86_64-apple-darwin/stage0/lib/rustc/x86_64-apple-darwin/lib/libcore.dylib /Users/larsberg/servo-jack/src/rust/src/libcore/core.rc
make[1]: *** [x86_64-apple-darwin/stage0/lib/rustc/x86_64-apple-darwin/lib/libcore.dylib] Error 139
make: *** [/Users/larsberg/servo-jack/build/src/rust/x86_64-apple-darwin/stage2/bin/rustc] Error 2
[larsberg@lbergstrom build]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment