unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#37765: Trivial rust 1.37.0-compiled program immediately segfaults on newest master
@ 2019-10-15 16:10 Danny Milosavljevic
  2019-10-15 16:18 ` Danny Milosavljevic
  2022-07-13 13:25 ` Maxim Cournoyer
  0 siblings, 2 replies; 3+ messages in thread
From: Danny Milosavljevic @ 2019-10-15 16:10 UTC (permalink / raw)
  To: 37765

[-- Attachment #1: Type: text/plain, Size: 582 bytes --]

$ 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 ?? ()

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#37765: Trivial rust 1.37.0-compiled program immediately segfaults on newest master
  2019-10-15 16:10 bug#37765: Trivial rust 1.37.0-compiled program immediately segfaults on newest master Danny Milosavljevic
@ 2019-10-15 16:18 ` Danny Milosavljevic
  2022-07-13 13:25 ` Maxim Cournoyer
  1 sibling, 0 replies; 3+ messages in thread
From: Danny Milosavljevic @ 2019-10-15 16:18 UTC (permalink / raw)
  To: 37765

[-- Attachment #1: Type: text/plain, Size: 204 bytes --]

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

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#37765: Trivial rust 1.37.0-compiled program immediately segfaults on newest master
  2019-10-15 16:10 bug#37765: Trivial rust 1.37.0-compiled program immediately segfaults on newest master Danny Milosavljevic
  2019-10-15 16:18 ` Danny Milosavljevic
@ 2022-07-13 13:25 ` Maxim Cournoyer
  1 sibling, 0 replies; 3+ messages in thread
From: Maxim Cournoyer @ 2022-07-13 13:25 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 37765-done

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-13 13:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-15 16:10 bug#37765: Trivial rust 1.37.0-compiled program immediately segfaults on newest master Danny Milosavljevic
2019-10-15 16:18 ` Danny Milosavljevic
2022-07-13 13:25 ` Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).