GNU bug report logs - #37765
Trivial rust 1.37.0-compiled program immediately segfaults on newest master

Previous Next

Package: guix;

Reported by: Danny Milosavljevic <dannym <at> scratchpost.org>

Date: Tue, 15 Oct 2019 16:12:01 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37765 in the body.
You can then email your comments to 37765 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#37765; Package guix. (Tue, 15 Oct 2019 16:12:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Danny Milosavljevic <dannym <at> scratchpost.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 15 Oct 2019 16:12:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: <bug-guix <at> gnu.org>
Subject: Trivial rust 1.37.0-compiled program immediately segfaults on
 newest master
Date: Tue, 15 Oct 2019 18:10:54 +0200
[Message part 1 (text/plain, inline)]
$ 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 ?? ()
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#37765; Package guix. (Tue, 15 Oct 2019 16:19:02 GMT) Full text and rfc822 format available.

Message #8 received at 37765 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: 37765 <at> debbugs.gnu.org
Subject: Re: bug#37765: Trivial rust 1.37.0-compiled program immediately
 segfaults on newest master
Date: Tue, 15 Oct 2019 18:18:11 +0200
[Message part 1 (text/plain, inline)]
Generation 28   Oct 14 2019 20:42:05    (current)
  guix dc505e3
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: dc505e3eb88faf3c952aa1de4a12a42111c3742c
[Message part 2 (application/pgp-signature, inline)]

Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Wed, 13 Jul 2022 13:26:01 GMT) Full text and rfc822 format available.

Notification sent to Danny Milosavljevic <dannym <at> scratchpost.org>:
bug acknowledged by developer. (Wed, 13 Jul 2022 13:26:02 GMT) Full text and rfc822 format available.

Message #13 received at 37765-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 37765-done <at> debbugs.gnu.org
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
Hi,

Danny Milosavljevic <dannym <at> 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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 11 Aug 2022 11:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 230 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.