Skip to content

Instantly share code, notes, and snippets.

@nikomatsakis
Created February 19, 2018 17:28
Show Gist options
  • Save nikomatsakis/4719363c60f6bcad5f031eb186a45b13 to your computer and use it in GitHub Desktop.
Save nikomatsakis/4719363c60f6bcad5f031eb186a45b13 to your computer and use it in GitHub Desktop.
==23092== Massif, a heap profiler
==23092== Copyright (C) 2003-2015, and GNU GPL'd, by Nicholas Nethercote
==23092== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info
==23092== Command: rustc --crate-name syn src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg feature="clone-impls" --cfg feature="default" --cfg feature="derive" --cfg feature="parsing" --cfg feature="printing" --cfg feature="quote" -C metadata=37ed4cbef60aaf81 -C extra-filename=-37ed4cbef60aaf81 --out-dir /home/nmatsakis/versioned/rust-9/regr/syn/target/debug/deps -C incremental=/home/nmatsakis/versioned/rust-9/regr/syn/target/debug/incremental -L dependency=/home/nmatsakis/versioned/rust-9/regr/syn/target/debug/deps --extern unicode_xid=/home/nmatsakis/versioned/rust-9/regr/syn/target/debug/deps/libunicode_xid-b1ae62631230ceec.rlib --extern quote=/home/nmatsakis/versioned/rust-9/regr/syn/target/debug/deps/libquote-3300daee4b74fe1f.rlib --extern proc_macro2=/home/nmatsakis/versioned/rust-9/regr/syn/target/debug/deps/libproc_macro2-4b1ce6d50004054c.rlib
==23092==
--23092-- Valgrind options:
--23092-- -v
--23092-- --tool=massif
--23092-- Contents of /proc/version:
--23092-- Linux version 4.10.0-37-generic (buildd@lgw01-amd64-021) (gcc version 6.3.0 20170406 (Ubuntu 6.3.0-12ubuntu2) ) #41-Ubuntu SMP Fri Oct 6 20:20:37 UTC 2017
--23092--
--23092-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-rdtscp-sse3-avx
--23092-- Page sizes: currently 4096, max supported 4096
--23092-- Valgrind library directory: /usr/lib/valgrind
--23092-- Massif: alloc-fns:
--23092-- Massif: malloc
--23092-- Massif: __builtin_new
--23092-- Massif: operator new(unsigned)
--23092-- Massif: operator new(unsigned long)
--23092-- Massif: __builtin_vec_new
--23092-- Massif: operator new[](unsigned)
--23092-- Massif: operator new[](unsigned long)
--23092-- Massif: calloc
--23092-- Massif: realloc
--23092-- Massif: memalign
--23092-- Massif: posix_memalign
--23092-- Massif: valloc
--23092-- Massif: operator new(unsigned, std::nothrow_t const&)
--23092-- Massif: operator new[](unsigned, std::nothrow_t const&)
--23092-- Massif: operator new(unsigned long, std::nothrow_t const&)
--23092-- Massif: operator new[](unsigned long, std::nothrow_t const&)
--23092-- Massif: ignore-fns:
--23092-- Massif: <empty>
--23092-- Reading syms from /home/nmatsakis/.cargo/bin/rustc
--23092-- Reading syms from /lib/x86_64-linux-gnu/ld-2.24.so
--23092-- Considering /lib/x86_64-linux-gnu/ld-2.24.so ..
--23092-- .. CRC mismatch (computed c075befa wanted 5b162bac)
--23092-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.24.so ..
--23092-- .. CRC is valid
--23092-- Reading syms from /usr/lib/valgrind/massif-amd64-linux
--23092-- Considering /usr/lib/valgrind/massif-amd64-linux ..
--23092-- .. CRC mismatch (computed 86a9d236 wanted 177ffbb7)
--23092-- object doesn't have a symbol table
--23092-- object doesn't have a dynamic symbol table
--23092-- Scheduler: using generic scheduler lock implementation.
==23092== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-23092-by-nmatsakis-on-???
==23092== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-23092-by-nmatsakis-on-???
==23092== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-23092-by-nmatsakis-on-???
==23092==
==23092== TO CONTROL THIS PROCESS USING vgdb (which you probably
==23092== don't want to do, unless you know exactly what you're doing,
==23092== or are doing some strange experiment):
==23092== /usr/lib/valgrind/../../bin/vgdb --pid=23092 ...command...
==23092==
==23092== TO DEBUG THIS PROCESS USING GDB: start GDB like this
==23092== /path/to/gdb rustc
==23092== and then give GDB the following command
==23092== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=23092
==23092== --pid is optional if only one valgrind process is running
==23092==
--23092-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so
--23092-- Considering /usr/lib/valgrind/vgpreload_core-amd64-linux.so ..
--23092-- .. CRC mismatch (computed da1984fa wanted 7644421c)
--23092-- object doesn't have a symbol table
--23092-- Reading syms from /usr/lib/valgrind/vgpreload_massif-amd64-linux.so
--23092-- Considering /usr/lib/valgrind/vgpreload_massif-amd64-linux.so ..
--23092-- .. CRC mismatch (computed 6cf4f6d1 wanted 541aa23f)
--23092-- object doesn't have a symbol table
--23092-- Reading syms from /lib/x86_64-linux-gnu/libz.so.1.2.11
--23092-- object doesn't have a symbol table
--23092-- Reading syms from /lib/x86_64-linux-gnu/libdl-2.24.so
--23092-- Considering /lib/x86_64-linux-gnu/libdl-2.24.so ..
--23092-- .. CRC mismatch (computed 3af4e647 wanted db71b677)
--23092-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libdl-2.24.so ..
--23092-- .. CRC is valid
--23092-- Reading syms from /lib/x86_64-linux-gnu/librt-2.24.so
--23092-- Considering /lib/x86_64-linux-gnu/librt-2.24.so ..
--23092-- .. CRC mismatch (computed 6e9ac5b8 wanted 9014d6d9)
--23092-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/librt-2.24.so ..
--23092-- .. CRC is valid
--23092-- Reading syms from /lib/x86_64-linux-gnu/libpthread-2.24.so
--23092-- Considering /usr/lib/debug/.build-id/d2/d91e222a7bae3822622410509fa0e967e8360f.debug ..
--23092-- .. build-id is valid
--23092-- Reading syms from /lib/x86_64-linux-gnu/libgcc_s.so.1
--23092-- object doesn't have a symbol table
--23092-- Reading syms from /lib/x86_64-linux-gnu/libc-2.24.so
--23092-- Considering /lib/x86_64-linux-gnu/libc-2.24.so ..
--23092-- .. CRC mismatch (computed 3bb6a0e6 wanted 41b71c4c)
--23092-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.24.so ..
--23092-- .. CRC is valid
--23092-- Reading syms from /lib/x86_64-linux-gnu/libm-2.24.so
--23092-- Considering /lib/x86_64-linux-gnu/libm-2.24.so ..
--23092-- .. CRC mismatch (computed d2ddb36d wanted 616a7421)
--23092-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libm-2.24.so ..
--23092-- .. CRC is valid
--23092-- REDIR: 0x5ae570 (NONE:malloc) redirected to 0x4c2bec0 (malloc)
--23092-- REDIR: 0x5adf40 (NONE:realloc) redirected to 0x4c2e0d0 (realloc)
--23092-- REDIR: 0x5acf50 (NONE:free) redirected to 0x4c2d0f0 (free)
--23092-- REDIR: 0x5aec10 (NONE:calloc) redirected to 0x4c2de90 (calloc)
thread 'main' panicked at 'internal error: entered unreachable code: not all instructions were compiled! found uncompiled instruction: Compiled(Bytes(InstBytes { goto: 12, start: 101, end: 101 }))', target/cargo-home/registry/src/github.com-1ecc6299db9ec823/regex-0.1.73/src/compile.rs:743
note: Run with `RUST_BACKTRACE=1` for a backtrace.
==23092==
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment