unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: "Bruce Korb" <bkorb@gnu.org>
To: "Greg Troxel" <gdt@ir.bbn.com>
Cc: guile-devel@gnu.org
Subject: Re: how does one debug a SEGV in scm_threads_prehistory?
Date: Wed, 18 Jun 2008 13:25:57 -0700	[thread overview]
Message-ID: <668c430c0806181325h68619345n84a0454e7715d587@mail.gmail.com> (raw)
In-Reply-To: <rmir6auy22p.fsf@fnord.ir.bbn.com>

On Wed, Jun 18, 2008 at 12:29 PM, Greg Troxel <gdt@ir.bbn.com> wrote:
>  Our main development server was "upgraded" to 64 bits, but mostly
>  still runs 32 bit software,
>  so this is from a 32 bit build on a 64 bit platform.  Naturally, this
>  all works on 32 on 32 and
>  on 64 on 64.  But with 32 on 64, not so well:
>
> I presume you are talking about Linux and going from i386 to
> amd64/x86_64 (not sure which name is used in Linux).  I would be

It depends on which Linux:  SuSE is x86_64 and Debian amd64.
Unclear why the first name needed to be rethought.  Whatever.

> suspicious that the i386 binary is getting linked with some amd64 libs

ldd showed which libguile, and it was the 32 bit flavor.  (I did go there, too.
It's just hard to recount all the rabbit trails I've gone down....)

> somehow - to first order it would seem to be an OS bug if the emulated
> i386 binary doesn't run the same as on i386.  But I could certainly see
> an allowable difference leading to triggering a latent bug in guile.
>
> Can you trigger this with a simple example?  I have i386 and now amd64
> boxes, and would be curious to try the NetBSD i386 binary on amd64, as
> well as native.

"simple example" is always a stumbling block.  Especially when it is happening
in libguile (which is not simple) and triggered by my app (which is as large
as Guile is).  I'll see what I can do.  Probably next week or so.

Thanks - Bruce




  reply	other threads:[~2008-06-18 20:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-18 16:37 how does one debug a SEGV in scm_threads_prehistory? Bruce Korb
2008-06-18 19:29 ` Greg Troxel
2008-06-18 20:25   ` Bruce Korb [this message]
2008-06-19 18:09     ` Greg Troxel
2008-06-18 19:56 ` math tests on amd64 Greg Troxel
2008-06-19 13:18   ` Neil Jerram
2008-06-19 18:03     ` Greg Troxel
2008-06-20 17:44   ` Marijn Schouten (hkBst)
2008-06-19 13:14 ` how does one debug a SEGV in scm_threads_prehistory? Neil Jerram

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

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=668c430c0806181325h68619345n84a0454e7715d587@mail.gmail.com \
    --to=bkorb@gnu.org \
    --cc=gdt@ir.bbn.com \
    --cc=guile-devel@gnu.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).