Your question is not clear. You seem to be saying you have a program that
fails for a reason that might be a data race. Have you built and run your
program with race detection enabled? If you do so the resulting race
detection traceback should provide a clue regarding the nature of the race
sufficient to identify the problem.

A proof of concept (PoC) illustrating a data race is easy to write. But a
generic data race PoC is unlikely to help you solve the problem with your
code.

On Mon, Nov 18, 2024 at 8:31 PM Lin Lin <linsite.thin...@gmail.com> wrote:

> Hi, gophers
>
> Quite a few issues like https://github.com/golang/go/issues/47513 are
> caused by DATA RACE. I myselft also ran into one in Go1.17, and data race
> can be found in the code. But I'm unable to reproduce the issue stably, as
> I need to some PoC code to make the managers to believe it's caused by the
> DATA RACE then fixing them.
>
> I'm struggling a while without any real progress by constructing all kinds
> of DATA RACE. Now I'm diiving into the runtime GC code very slowly.
>
> Does any gopher know or have such PoC code, or any guides to construct
> one? That'll be great to save my effect to understand the GC code.
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> To view this discussion visit
> https://groups.google.com/d/msgid/golang-nuts/dfc27fe4-a4ef-4986-9411-20dc691de404n%40googlegroups.com
> <https://groups.google.com/d/msgid/golang-nuts/dfc27fe4-a4ef-4986-9411-20dc691de404n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Kurtis Rader
Caretaker of the exceptional canines Junior and Hank

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/golang-nuts/CABx2%3DD9sB6UK7y3ipzqn%3D%2BpfHB0qxp_6OMAD%3DW9vh6eXQ-y78A%40mail.gmail.com.

Reply via email to