Skip to content

debuginfo/pretty-uninitialized-vec fails with Cannot access memory at address 0x7fffff7fe000 #64343

Closed
@mati865

Description

@mati865
---- [debuginfo-gdb+lldb] debuginfo/pretty-uninitialized-vec.rs stdout ----
NOTE: compiletest thinks it is using GDB with native rust support
NOTE: compiletest thinks it is using GDB version 8003000

error: gdb failed to execute
status: exit code: 1
command: "/usr/bin/gdb" "-quiet" "-batch" "-nx" "-command=/home/mateusz/Projects/rust/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/pretty-uninitialized-vec/pretty-uninitialized-vec.debugger.script"
stdout:
------------------------------------------
GNU gdb (GDB) 8.3
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
Breakpoint 1 at 0x16c4: file /home/mateusz/Projects/rust/rust/src/test/debuginfo/pretty-uninitialized-vec.rs, line 21.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".

Breakpoint 1, pretty_uninitialized_vec::main () at /home/mateusz/Projects/rust/rust/src/test/debuginfo/pretty-uninitialized-vec.rs:21
21	    zzz(); // #break
$1 = Vec<i32>(len: 93824992258736, cap: 140737479962624) = {

------------------------------------------
stderr:
------------------------------------------
/home/mateusz/Projects/rust/rust/build/x86_64-unknown-linux-gnu/test/debuginfo/pretty-uninitialized-vec/pretty-uninitialized-vec.debugger.script:10: Error in sourced command file:
Cannot access memory at address 0x7fffff7fe000

------------------------------------------



failures:
    [debuginfo-gdb+lldb] debuginfo/pretty-uninitialized-vec.rs

Metadata

Metadata

Assignees

Labels

A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)A-testsuiteArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.P-highHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions