NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-hppa/56118: sporadic app crashes in HPPA -current



The following reply was made to PR port-hppa/56118; it has been noted by GNATS.

From: Nick Hudson <nick.hudson%gmx.co.uk@localhost>
To: gnats-bugs%netbsd.org@localhost, port-hppa-maintainer%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Cc: 
Subject: Re: port-hppa/56118: sporadic app crashes in HPPA -current
Date: Fri, 16 Jul 2021 08:43:36 +0100

 This is a multi-part message in MIME format.
 --------------2FCC96F34F531F463FD4EE2A
 Content-Type: text/plain; charset=utf-8; format=flowed
 Content-Transfer-Encoding: quoted-printable
 
 
 > I've also built bash from prksrc/shells/bash, and this crashes at startu=
 p. Don't know if this is related, but for completeness:
 
 [snip]
 
 The bash problem is kinda interesting. bash provides its own getenv and
 this is being used by early initialization code in libc / jemalloc when
 it does getenv("MALLOC_CONF") before _start has been called in the main
 program. _start sets the dp register which needs to contain the GOT of
 the main program...
 
 This diff allows bash to start.
 
 I'm still thinking about if it's the right thing to do.
 
 Nick
 
 
 --------------2FCC96F34F531F463FD4EE2A
 Content-Type: text/plain; charset=UTF-8;
  name="diff"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment;
  filename="diff"
 
 SW5kZXg6IGFyY2gvaHBwYS9ocHBhX3JlbG9jLmMKPT09PT09PT09PT09PT09PT09PT09PT09
 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpSQ1MgZmlsZTog
 L2N2c3Jvb3Qvc3JjL2xpYmV4ZWMvbGQuZWxmX3NvL2FyY2gvaHBwYS9ocHBhX3JlbG9jLmMs
 dgpyZXRyaWV2aW5nIHJldmlzaW9uIDEuNDcKZGlmZiAtdSAtcCAtcjEuNDcgaHBwYV9yZWxv
 Yy5jCi0tLSBhcmNoL2hwcGEvaHBwYV9yZWxvYy5jCTE2IE1heSAyMDIwIDE2OjQ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2xkLmVsZl9zby9hcmNoL2hw
 cGEvcnRsZF9zdGFydC5TLHYKcmV0cmlldmluZyByZXZpc2lvbiAxLjEzCmRpZmYgLXUgLXAg
 LXIxLjEzIHJ0bGRfc3RhcnQuUwotLS0gYXJjaC9ocHBhL3J0bGRfc3RhcnQuUwkxMCBNYXkg
 MjAyMCAwNjo0MjozOCAtMDAwMAkxLjEzCisrKyBhcmNoL2hwcGEvcnRsZF9zdGFydC5TCTE2
 IEp1bCAyMDIxIDA2OjU2OjUxIC0wMDAwCkBAIC0yMzEsMyArMjMxLDkgQEAgRU5UUlkoX3J0
 bGRfYmluZF9zdGFydCxIUFBBX0ZSQU1FX1NJWkUpCiAJYnYJJXIwKCVyMjEpCiAJbm9wCiBF
 WElUKF9ydGxkX2JpbmRfc3RhcnQpCisKKworTEVBRl9FTlRSWV9OT1BST0ZJTEUoX3J0bGRf
 c2V0X2RwKQorCWJ2CSVyMCglcnApCisJIGNvcHkJJWFyZzAsICVkcAorRVhJVChfcnRsZF9z
 ZXRfZHApCg==
 --------------2FCC96F34F531F463FD4EE2A--
 


Home | Main Index | Thread Index | Old Index