From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
To: axp-list@redhat.com, rth@twiddle.net
Subject: Mysterious exec bug [Re: axp patch for 2.3.41]
Date: Fri, 4 Feb 2000 11:14:22 +0300 [thread overview]
Message-ID: <20000204111422.A1286@jurassic.park.msu.ru> (raw)
In-Reply-To: <20000202001708.A393@Marvin.DL8BCU.ampr.org>; from th@Marvin.DL8BCU.ampr.org on Wed, Feb 02, 2000 at 12:17:08AM +0000
On Wed, Feb 02, 2000 at 12:17:08AM +0000, Thorsten Kranzkowski wrote:
> > > DU-netscape (stuck right after exec, with 100% cpu-time).
> >
> > Can you strace it?
>
> of course :-) :
>
[ lots of info deleted ]
I've found that any ecoff executable with .text address =
(any_address | 0x200000000) behaves exactly like Thorsten described
(100% system time, not even jumping into the executable).
But it's killable.
Situation is much worse with elf binaries whose start address has
this evil bit set, they cause hard lockup.
The bug appeared somewhere between 2.3.23 and 2.3.30.
[ink@jurassic tst]$ cat a.c
int __start()
{
return 0;
}
[ink@jurassic tst]$ gcc -c -o a.o a.c
[ink@jurassic tst]$ ld -oformat ecoff-littlealpha -o a a.o -Ttext 0x124000001c0
[ink@jurassic tst]$ ./a
Segmentation fault (core dumped)
^ thats ok, return address is bogus
[ink@jurassic tst]$ ld -oformat ecoff-littlealpha -o a a.o -Ttext 0x126000001c0
[ink@jurassic tst]$ ./a
^ stuck here...
^C
[ink@jurassic tst]$
Any ideas?
Ivan.
next prev parent reply other threads:[~2000-02-04 8:14 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-01 10:28 axp patch for 2.3.41 Richard Henderson
2000-02-01 13:51 ` Dr. Andrew Almond
2000-02-01 14:19 ` Ivan Kokshaysky
2000-02-01 16:00 ` Thorsten Kranzkowski
2000-02-01 20:16 ` Richard Henderson
2000-02-02 0:17 ` Thorsten Kranzkowski
2000-02-02 7:59 ` Jean-Baptiste Vignaud
2000-02-04 8:14 ` Ivan Kokshaysky [this message]
2000-02-01 20:16 ` Richard Henderson
2000-02-02 10:05 ` Ivan Kokshaysky
2000-02-02 19:52 ` Richard Henderson
2000-02-02 21:37 ` Peter Rival
2000-02-03 3:44 ` Richard Henderson
2000-02-03 4:32 ` Mitchell Blank Jr
2000-02-03 9:50 ` Ivan Kokshaysky
2000-02-03 10:23 ` Mitchell Blank Jr
2000-02-03 13:50 ` Peter Rival
2000-02-03 20:36 ` Peter Rival
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox