[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile-gnome-platform: segfault on exit
From: |
Andy Wingo |
Subject: |
Re: guile-gnome-platform: segfault on exit |
Date: |
Wed, 11 Jan 2012 22:43:35 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
On Wed 11 Jan 2012 22:15, gregory benison <address@hidden> writes:
>> Do you have more frames here?
>>
>
> I got 'em all (below) and the problem is that 't' here == NULL:
>
> 383 suspend (void)
> 384 {
> 385 scm_i_thread *t = SCM_I_CURRENT_THREAD;
> 386
Strange, this is:
#define SCM_I_CURRENT_THREAD \
((scm_i_thread *) scm_i_pthread_getspecific (scm_i_thread_key))
and that key is set in guilify_self_1, called from:
> #6 0xb77b93ac in scm_i_init_thread_for_guile (base=0xbfa66df4,
> parent=0xb7440f20) at threads.c:600
It's rather silly that we are guilifying again; presumably the pthread
key was cleared before guile's atexit handler got to run. I wonder if
that was the proximate cause of this. What platform are you on?
FWIW, I can't reproduce this on Guile from stable-2.0.
What is the next step here, I wonder?
Andy
--
http://wingolog.org/
- guile-gnome-platform: segfault on exit, gregory benison, 2012/01/11
- Re: guile-gnome-platform: segfault on exit, Andy Wingo, 2012/01/11
- Re: guile-gnome-platform: segfault on exit, gregory benison, 2012/01/11
- Re: guile-gnome-platform: segfault on exit, gregory benison, 2012/01/11
- Re: guile-gnome-platform: segfault on exit,
Andy Wingo <=
- Re: guile-gnome-platform: segfault on exit, gregory benison, 2012/01/11
- Re: guile-gnome-platform: segfault on exit, gregory benison, 2012/01/12
- Re: guile-gnome-platform: segfault on exit, gregory benison, 2012/01/18
- Re: guile-gnome-platform: segfault on exit, gregory benison, 2012/01/19