--- Begin Message ---
Subject: |
Trivial rust 1.37.0-compiled program immediately segfaults on newest master |
Date: |
Tue, 15 Oct 2019 18:10:54 +0200 |
$ cat b.rs
fn main() {
}
$ rustc b.rs
$ ./b
Segmentation fault
$ gdb ./b
(gdb) r
(gdb) bt
#0 0x00007ffff7fe40f8 in call_init.part () from
/gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib/ld-linux-x86-64.so.2
#1 0x00007ffff7fe428e in _dl_init () from
/gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib/ld-linux-x86-64.so.2
#2 0x00007ffff7fd624a in _dl_start_user () from
/gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib/ld-linux-x86-64.so.2
#3 0x0000000000000001 in ?? ()
#4 0x00007fffffffdfa1 in ?? ()
#5 0x0000000000000000 in ?? ()
pgpEpDo9yonUC.pgp
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#37765: Trivial rust 1.37.0-compiled program immediately segfaults on newest master |
Date: |
Wed, 13 Jul 2022 09:25:06 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) |
Hi,
Danny Milosavljevic <dannym@scratchpost.org> writes:
> $ cat b.rs
> fn main() {
> }
> $ rustc b.rs
> $ ./b
> Segmentation fault
> $ gdb ./b
> (gdb) r
> (gdb) bt
> #0 0x00007ffff7fe40f8 in call_init.part () from
> /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib/ld-linux-x86-64.so.2
> #1 0x00007ffff7fe428e in _dl_init () from
> /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib/ld-linux-x86-64.so.2
> #2 0x00007ffff7fd624a in _dl_start_user () from
> /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib/ld-linux-x86-64.so.2
> #3 0x0000000000000001 in ?? ()
> #4 0x00007fffffffdfa1 in ?? ()
> #5 0x0000000000000000 in ?? ()
I can't reproduce this on current master with Rust 1.57.
Closing.
Maxim
--- End Message ---