[issue1844] gdb detach from vkernel causes vkernel to die with SIGILL

Samuel J. Greear sjg at evilcode.net
Sat Sep 18 13:26:53 PDT 2010


On Sat, Sep 18, 2010 at 2:10 PM, Matthew Dillon
<dillon at apollo.backplane.com> wrote:
> :    This is probably one of the I/O threads used by if_vke and if_vkd.
> :    These threads are not counted as 'cpus' and do not have globaldata
>
>    Ah, I think it must be the I/O thread taking a signal due to the GDB
>    interactions.  Those I/O threads absolutely cannot take signals, they
>    will explode (the signals assume a globaldata context).
>
>    I'm not sure how we can address this.
>
>                                        -Matt
>                                        Matthew Dillon
>                                        <dillon at backplane.com>
>

Is it plausible to give all threads which don't have a real globaldata
context a shared fake globaldata context which the signal delivery
could check against?

Sam






More information about the Bugs mailing list