pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: firefox dumping core after NetBSD upgrade

I wrote:
>>>From the stack trace that Paul Goyette provided it looks to me like
>>>a Firefox bug is triggering one in Mesa.
>>I have now got a debug system and firefox build with debug-info, a
>>firefox build with debug wouldn't display an URL.
>>I commented out the locking code to see what happened:
>Commented out some more debug testing code in errors.c.
>It now crashes in _mesa_error when doing this:
>       /* Set the GL context error state for glGetError. */
>==>    if (ctx->ErrorValue == GL_NO_ERROR)
>          ctx->ErrorValue = error;
>Trying to examine ctx->ErrorValue in gdb fails as it is an invalid
>address. I can examine fields of ctx that are nearer the start of
>the structure. The DebugMutex field is after ErrorValue.

The value of ctx has been retrieved from TLS, but Firefox has done a
fork() just before running the glxtest() function.

Is there something that Firefox should be doing to clear the TLS
after the fork ?

Home | Main Index | Thread Index | Old Index