Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ➜ Rust.peg git:(master) ✗ valgrind rustc src/libpeg/lib.rs --crate-name peg --crate-type dylib -g -C metadata=e199d17f5a6a51a8 -C extra-filename=-e199d17f5a6a51a8 --out-dir /home/ptalbot/repositories/Rust.peg/target --emit=dep-info,link -L dependency=/home/ptalbot/repositories/Rust.peg/target -L dependency=/home/ptalbot/repositories/Rust.peg/target/deps --extern term=/home/ptalbot/repositories/Rust.peg/target/deps/libterm-5b4d54fee4b132ff.rlib --extern attribute=/home/ptalbot/repositories/Rust.peg/target/deps/libattribute-20d4d4851e87e9ae.rlib
- ==1248== Memcheck, a memory error detector
- ==1248== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
- ==1248== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
- ==1248== Command: rustc src/libpeg/lib.rs --crate-name peg --crate-type dylib -g -C metadata=e199d17f5a6a51a8 -C extra-filename=-e199d17f5a6a51a8 --out-dir /home/ptalbot/repositories/Rust.peg/target --emit=dep-info,link -L dependency=/home/ptalbot/repositories/Rust.peg/target -L dependency=/home/ptalbot/repositories/Rust.peg/target/deps --extern term=/home/ptalbot/repositories/Rust.peg/target/deps/libterm-5b4d54fee4b132ff.rlib --extern attribute=/home/ptalbot/repositories/Rust.peg/target/deps/libattribute-20d4d4851e87e9ae.rlib
- ==1248==
- ==1248== Warning: client switching stacks? SP change: 0xffefff950 --> 0xffedf9b68
- ==1248== to suppress, use: --max-stackframe=2121192 or greater
- ==1248== Syscall param read(buf) points to unaddressable byte(s)
- ==1248== at 0x4018367: read (in /usr/lib/ld-2.20.so)
- ==1248== by 0x400594E: open_verify (in /usr/lib/ld-2.20.so)
- ==1248== by 0x4005CF1: open_path (in /usr/lib/ld-2.20.so)
- ==1248== by 0x40086A6: _dl_map_object (in /usr/lib/ld-2.20.so)
- ==1248== by 0x400CBB1: openaux (in /usr/lib/ld-2.20.so)
- ==1248== by 0x400F0F3: _dl_catch_error (in /usr/lib/ld-2.20.so)
- ==1248== by 0x400CE0F: _dl_map_object_deps (in /usr/lib/ld-2.20.so)
- ==1248== by 0x400302C: dl_main (in /usr/lib/ld-2.20.so)
- ==1248== by 0x4016434: _dl_sysdep_start (in /usr/lib/ld-2.20.so)
- ==1248== by 0x4004E19: _dl_start (in /usr/lib/ld-2.20.so)
- ==1248== by 0x4000DC7: ??? (in /usr/lib/ld-2.20.so)
- ==1248== by 0x15: ???
- ==1248== Address 0xffedf9b70 is on thread 1's stack
- ==1248== in frame #1, created by open_verify (???)
- ==1248==
- ==1248== Warning: client switching stacks? SP change: 0xffedf9b70 --> 0xffefff978
- ==1248== to suppress, use: --max-stackframe=2121224 or greater
- ==1248== Warning: client switching stacks? SP change: 0xffefff5a0 --> 0xffec58ca8
- ==1248== to suppress, use: --max-stackframe=3827960 or greater
- ==1248== further instances of this message will not be shown.
- ==1248== Thread 2:
- ==1248== Conditional jump or move depends on uninitialised value(s)
- ==1248== at 0x7074596: middle::traits::object_safety::object_safety_violations::h3cc0c6ebdb78a0e9oVO (in /usr/local/lib/librustc-4e7c5e5c.so)
- ==1248== by 0x7073871: middle::traits::object_safety::is_object_safe::h584fd6da763bf88bZSO (in /usr/local/lib/librustc-4e7c5e5c.so)
- ==1248== by 0x708967C: middle::traits::select::SelectionContext$LT$$u{27}cx$C$$u{20}$u{27}tcx$GT$::assemble_candidates::hee619dc978a2d13e07P (in /usr/local/lib/librustc-4e7c5e5c.so)
- ==1248== by 0x707C612: middle::traits::select::SelectionContext$LT$$u{27}cx$C$$u{20}$u{27}tcx$GT$::candidate_from_obligation::h99a70e89d829049b8MP (in /usr/local/lib/librustc-4e7c5e5c.so)
- ==1248== by 0x7083B5F: middle::traits::select::SelectionContext$LT$$u{27}cx$C$$u{20}$u{27}tcx$GT$::evaluate_stack::hef4a92f9e020ba17XFP (in /usr/local/lib/librustc-4e7c5e5c.so)
- ==1248== by 0x7082F5E: middle::traits::select::SelectionContext$LT$$u{27}cx$C$$u{20}$u{27}tcx$GT$::evaluate_predicate_recursively::hdd46438f95f79314OyP (in /usr/local/lib/librustc-4e7c5e5c.so)
- ==1248== by 0x70836EF: middle::traits::select::SelectionContext$LT$$u{27}cx$C$$u{20}$u{27}tcx$GT$::evaluate_predicates_recursively::h3411203957917802189 (in /usr/local/lib/librustc-4e7c5e5c.so)
- ==1248== by 0x708809B: middle::traits::select::SelectionContext$LT$$u{27}cx$C$$u{20}$u{27}tcx$GT$::winnow_selection::h1a265ac3cc2ed783FRQ (in /usr/local/lib/librustc-4e7c5e5c.so)
- ==1248== by 0x704F2F0: middle::traits::select::SelectionContext$LT$$u{27}cx$C$$u{20}$u{27}tcx$GT$::evaluate_impl::h25bd5ff7d7a5e882kKP (in /usr/local/lib/librustc-4e7c5e5c.so)
- ==1248== by 0x704CE1F: middle::traits::coherence::impl_can_satisfy::hb1e425ddb11e71622xM (in /usr/local/lib/librustc-4e7c5e5c.so)
- ==1248== by 0x709B8F7: middle::traits::overlapping_impls::hac7258cdf66c0c5fweT (in /usr/local/lib/librustc-4e7c5e5c.so)
- ==1248== by 0x5D0948E: check_crate::unboxed_closure.31989 (in /usr/local/lib/librustc_typeck-4e7c5e5c.so)
- ==1248==
- ==1248== Conditional jump or move depends on uninitialised value(s)
- ==1248== at 0x707475D: middle::traits::object_safety::object_safety_violations::h3cc0c6ebdb78a0e9oVO (in /usr/local/lib/librustc-4e7c5e5c.so)
- ==1248== by 0x7073871: middle::traits::object_safety::is_object_safe::h584fd6da763bf88bZSO (in /usr/local/lib/librustc-4e7c5e5c.so)
- ==1248== by 0x708967C: middle::traits::select::SelectionContext$LT$$u{27}cx$C$$u{20}$u{27}tcx$GT$::assemble_candidates::hee619dc978a2d13e07P (in /usr/local/lib/librustc-4e7c5e5c.so)
- ==1248== by 0x707C612: middle::traits::select::SelectionContext$LT$$u{27}cx$C$$u{20}$u{27}tcx$GT$::candidate_from_obligation::h99a70e89d829049b8MP (in /usr/local/lib/librustc-4e7c5e5c.so)
- ==1248== by 0x7083B5F: middle::traits::select::SelectionContext$LT$$u{27}cx$C$$u{20}$u{27}tcx$GT$::evaluate_stack::hef4a92f9e020ba17XFP (in /usr/local/lib/librustc-4e7c5e5c.so)
- ==1248== by 0x7082F5E: middle::traits::select::SelectionContext$LT$$u{27}cx$C$$u{20}$u{27}tcx$GT$::evaluate_predicate_recursively::hdd46438f95f79314OyP (in /usr/local/lib/librustc-4e7c5e5c.so)
- ==1248== by 0x70836EF: middle::traits::select::SelectionContext$LT$$u{27}cx$C$$u{20}$u{27}tcx$GT$::evaluate_predicates_recursively::h3411203957917802189 (in /usr/local/lib/librustc-4e7c5e5c.so)
- ==1248== by 0x708809B: middle::traits::select::SelectionContext$LT$$u{27}cx$C$$u{20}$u{27}tcx$GT$::winnow_selection::h1a265ac3cc2ed783FRQ (in /usr/local/lib/librustc-4e7c5e5c.so)
- ==1248== by 0x704F2F0: middle::traits::select::SelectionContext$LT$$u{27}cx$C$$u{20}$u{27}tcx$GT$::evaluate_impl::h25bd5ff7d7a5e882kKP (in /usr/local/lib/librustc-4e7c5e5c.so)
- ==1248== by 0x704CE1F: middle::traits::coherence::impl_can_satisfy::hb1e425ddb11e71622xM (in /usr/local/lib/librustc-4e7c5e5c.so)
- ==1248== by 0x709B8F7: middle::traits::overlapping_impls::hac7258cdf66c0c5fweT (in /usr/local/lib/librustc-4e7c5e5c.so)
- ==1248== by 0x5D0948E: check_crate::unboxed_closure.31989 (in /usr/local/lib/librustc_typeck-4e7c5e5c.so)
- ==1248==
- thread 'rustc' has overflowed its stack
- ==1248== valgrind: Unrecognised instruction at address 0x529278e.
- ==1248== at 0x529278E: rust_stack_exhausted (in /usr/local/lib/libstd-4e7c5e5c.so)
- ==1248== by 0xBFDAB90: ??? (in /usr/local/lib/librbml-4e7c5e5c.so)
- ==1248== by 0xBFD6241: reader::get_doc::h05a3dc4b5ad8f75bnLa (in /usr/local/lib/librbml-4e7c5e5c.so)
- ==1248== by 0x70FCC16: metadata::decoder::maybe_find_item::h92b3f5e5c24319b0pzg (in /usr/local/lib/librustc-4e7c5e5c.so)
- ==1248== by 0x5C0146F: reader::tagged_docs::h12459903554943026946 (in /usr/local/lib/librustc_typeck-4e7c5e5c.so)
- ==1248== by 0x5BFFF2D: metadata::csearch::each_child_of_item::h11965928893355885587 (in /usr/local/lib/librustc_typeck-4e7c5e5c.so)
- ==1248== by 0x5C01644: reader::tagged_docs::h12459903554943026946 (in /usr/local/lib/librustc_typeck-4e7c5e5c.so)
- ==1248== by 0x5BFFF2D: metadata::csearch::each_child_of_item::h11965928893355885587 (in /usr/local/lib/librustc_typeck-4e7c5e5c.so)
- ==1248== by 0x5C01644: reader::tagged_docs::h12459903554943026946 (in /usr/local/lib/librustc_typeck-4e7c5e5c.so)
- ==1248== by 0x5BFFF2D: metadata::csearch::each_child_of_item::h11965928893355885587 (in /usr/local/lib/librustc_typeck-4e7c5e5c.so)
- ==1248== by 0x5C01644: reader::tagged_docs::h12459903554943026946 (in /usr/local/lib/librustc_typeck-4e7c5e5c.so)
- ==1248== by 0x5BFFF2D: metadata::csearch::each_child_of_item::h11965928893355885587 (in /usr/local/lib/librustc_typeck-4e7c5e5c.so)
- ==1248== Your program just tried to execute an instruction that Valgrind
- ==1248== did not recognise. There are two possible reasons for this.
- ==1248== 1. Your program has a bug and erroneously jumped to a non-code
- ==1248== location. If you are running Memcheck and you just saw a
- ==1248== warning about a bad jump, it's probably your program's fault.
- ==1248== 2. The instruction is legitimate but Valgrind doesn't handle it,
- ==1248== i.e. it's Valgrind's fault. If you think this is the case or
- ==1248== you are not sure, please let us know and we'll try to fix it.
- ==1248== Either way, Valgrind will now raise a SIGILL signal which will
- ==1248== probably kill your program.
- ==1248==
- ==1248== Process terminating with default action of signal 4 (SIGILL)
- ==1248== Illegal opcode at address 0x529278E
- ==1248== at 0x529278E: rust_stack_exhausted (in /usr/local/lib/libstd-4e7c5e5c.so)
- ==1248== by 0xBFDAB90: ??? (in /usr/local/lib/librbml-4e7c5e5c.so)
- ==1248== by 0xBFD6241: reader::get_doc::h05a3dc4b5ad8f75bnLa (in /usr/local/lib/librbml-4e7c5e5c.so)
- ==1248== by 0x70FCC16: metadata::decoder::maybe_find_item::h92b3f5e5c24319b0pzg (in /usr/local/lib/librustc-4e7c5e5c.so)
- ==1248== by 0x5C0146F: reader::tagged_docs::h12459903554943026946 (in /usr/local/lib/librustc_typeck-4e7c5e5c.so)
- ==1248== by 0x5BFFF2D: metadata::csearch::each_child_of_item::h11965928893355885587 (in /usr/local/lib/librustc_typeck-4e7c5e5c.so)
- ==1248== by 0x5C01644: reader::tagged_docs::h12459903554943026946 (in /usr/local/lib/librustc_typeck-4e7c5e5c.so)
- ==1248== by 0x5BFFF2D: metadata::csearch::each_child_of_item::h11965928893355885587 (in /usr/local/lib/librustc_typeck-4e7c5e5c.so)
- ==1248== by 0x5C01644: reader::tagged_docs::h12459903554943026946 (in /usr/local/lib/librustc_typeck-4e7c5e5c.so)
- ==1248== by 0x5BFFF2D: metadata::csearch::each_child_of_item::h11965928893355885587 (in /usr/local/lib/librustc_typeck-4e7c5e5c.so)
- ==1248== by 0x5C01644: reader::tagged_docs::h12459903554943026946 (in /usr/local/lib/librustc_typeck-4e7c5e5c.so)
- ==1248== by 0x5BFFF2D: metadata::csearch::each_child_of_item::h11965928893355885587 (in /usr/local/lib/librustc_typeck-4e7c5e5c.so)
- ==1248==
- ==1248== HEAP SUMMARY:
- ==1248== in use at exit: 129,124,485 bytes in 162,040 blocks
- ==1248== total heap usage: 2,173,347 allocs, 2,011,307 frees, 555,638,787 bytes allocated
- ==1248==
- ==1248== LEAK SUMMARY:
- ==1248== definitely lost: 0 bytes in 0 blocks
- ==1248== indirectly lost: 0 bytes in 0 blocks
- ==1248== possibly lost: 501 bytes in 5 blocks
- ==1248== still reachable: 129,123,984 bytes in 162,035 blocks
- ==1248== suppressed: 0 bytes in 0 blocks
- ==1248== Rerun with --leak-check=full to see details of leaked memory
- ==1248==
- ==1248== For counts of detected and suppressed errors, rerun with: -v
- ==1248== Use --track-origins=yes to see where uninitialised values come from
- ==1248== ERROR SUMMARY: 81 errors from 3 contexts (suppressed: 4 from 2)
- [1] 1248 killed valgrind rustc src/libpeg/lib.rs --crate-name peg --crate-type dylib -g -C -
Advertisement
Add Comment
Please, Sign In to add comment