From: Michael Madore <mmadore@turbolinux.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] IA32 process segfaults on exit
Date: Mon, 07 May 2001 16:47:47 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590693005540@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590693005442@msgid-missing>
Hi Don,
Thanks for looking into it. It's not a critical problem for us at the
moment. Our IA32 installer was invoking some BIOS code to get geometry
information for the hard disk. We replaced that with basically the same
code that fdisk uses.
So you can just work on this for fun now. ;-)
On Mon, May 07, 2001 at 10:09:07AM -0600, Don Dugger wrote:
> Mike-
>
> Well, I'll very confused. I thought your problem was some registers
> that we stopped initializing that the LIBC startup code expected to
> point to an exit handler. I spent over a week debugging my initialization
> code (the register was always non-zero in user mode) only to disciver
> today that when I link the process static everything works fine, including
> your test program. When I try and run a dynamic program the initial
> registers are bogus. (Did I ever mention that I HATE dynamic linking.)
>
> Bottom line is I still don't know what the problem is but I think I'm
> making progress.
>
> On Fri, Apr 20, 2001 at 09:46:06AM -0700, Michael Madore wrote:
> > Hi,
> >
> > The attached 32 bit code will run without error on IA32, but the same binary
> > will generate the following errors when it returns on IA64.
> >
> > sizeof(elf_gregset_t) (1024) != sizeof(struct pt_regs) (400)
> > Segmentation fault (core dumped)
> >
> > Is this expected behavior?
> >
> > --
> > Mike Madore
> > Software Engineer
> > TurboLinux, Inc.
> >
> > _______________________________________________
> > Linux-IA64 mailing list
> > Linux-IA64@linuxia64.org
> > http://lists.linuxia64.org/lists/listinfo/linux-ia64
>
> --
> Don Dugger
> "Censeo Toto nos in Kansa esse decisse." - D. Gale
> n0ano@valinux.com
> Ph: 303/938-9838
--
Mike Madore
Senior Software Engineer
TurboLinux, Inc.
(650)228-5203
next prev parent reply other threads:[~2001-05-07 16:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-20 16:46 [Linux-ia64] IA32 process segfaults on exit Michael Madore
2001-04-20 19:24 ` Don Dugger
2001-04-20 19:37 ` Don Dugger
2001-05-07 16:09 ` Don Dugger
2001-05-07 16:47 ` Michael Madore [this message]
2001-05-07 20:00 ` Don Dugger
2001-05-07 20:26 ` Michael Madore
2001-05-07 20:35 ` Don Dugger
2001-05-07 20:39 ` Michael Madore
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-ia64-105590693005540@msgid-missing \
--to=mmadore@turbolinux.com \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox