From: "Neil Jerram" <neiljerram@googlemail.com>
To: "Bruce Korb" <bkorb@gnu.org>
Cc: guile-devel@gnu.org
Subject: Re: how does one debug a SEGV in scm_threads_prehistory?
Date: Thu, 19 Jun 2008 14:14:39 +0100 [thread overview]
Message-ID: <49dd78620806190614v1980ea9aq37a0ceaf0d5f2395@mail.gmail.com> (raw)
In-Reply-To: <668c430c0806180937g7fd824e8m7a871340d480599a@mail.gmail.com>
2008/6/18 Bruce Korb <bkorb@gnu.org>:
> 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:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0xb7f482fe in scm_threads_prehistory () from /usr/lib/libguile.so.17
> (gdb) bt
> #0 0xb7f482fe in scm_threads_prehistory () from /usr/lib/libguile.so.17
> #1 0xb7f4834b in scm_i_thread_sleep_for_gc () from /usr/lib/libguile.so.17
> #2 0xb7f48375 in scm_i_thread_put_to_sleep () from /usr/lib/libguile.so.17
> #3 0xb7f2f3e4 in scm_i_string_writable_chars () from /usr/lib/libguile.so.17
> #4 0xb7f2f53d in scm_c_string_set_x () from /usr/lib/libguile.so.17
> #5 0xb7f23839 in scm_read_token () from /usr/lib/libguile.so.17
[...]
There's definitely something very odd here, because
scm_threads_prehistory() should only be called as part of Guile's
start of day (once-only) initialization.
You could focus on debugging why this happens, using GDB: set a
breakpoint on scm_threads_prehistory, then work out who calls it and
why. I doubt that will reveal the underlying problem here, but it may
give you (us) a clue about it.
Regards,
Neil
prev parent reply other threads:[~2008-06-19 13:14 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
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 ` Neil Jerram [this message]
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=49dd78620806190614v1980ea9aq37a0ceaf0d5f2395@mail.gmail.com \
--to=neiljerram@googlemail.com \
--cc=bkorb@gnu.org \
--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).