FAQ
Still fails (in a different way) for me:

=== RUN TestNoRaceCgoSync
==4704== ERROR: Failed to allocate 0x54b540 (5551424) bytes at
0x01000350c000 (1455)
unexpected fault address 0x10003a425f8
fatal error: fault
[signal 0xc0000005 code=0x0 addr=0x10003a425f8 pc=0x489a76]

goroutine 1 [running]:
return()
c:/MinGW64/go/src/pkg/runtime/asm_amd64.s:465
runtime.cgocall(0x47b07d, 0x110c1d30, 0x47affd, 0x47a60a)
c:/MinGW64/go/src/pkg/runtime/cgocall.c:104 +0x4b
runtime/race._Cfunc___tsan_read(0x0, 0xe9097f)

C:/Users/brainman/AppData/Local/Temp/go-build985835447/runtime/race/_obj/_cgo_defun.c:130
+0x32
runtime/race.Read(0x0, 0xe9097f, 0x453ed7, 0x0, 0x453ed7, ...)

C:/Users/brainman/AppData/Local/Temp/go-build985835447/runtime/race/_obj/race.cgo1.go:49
+0x3a
runtime.raceread(0xe9097f, 0x0)
c:/MinGW64/go/src/pkg/runtime/race.c:89 +0x6f
main.init(0x46b130, 0x0, 0x0, 0x46d990, 0x0, ...)
c:/MinGW64/go/src/cmd/go/vet.go:37 +0x47
runtime.main()
c:/MinGW64/go/src/pkg/runtime/proc.c:246 +0x7b
runtime.goexit()
c:/MinGW64/go/src/pkg/runtime/proc.c:284
--- FAIL: TestNoRaceCgoSync (0.03 seconds)

My hg id is 5bc517167a08+ tip

Alex

https://codereview.appspot.com/7275048/

--

---
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Dmitry Vyukov at Feb 5, 2013 at 5:39 am

    On Tue, Feb 5, 2013 at 4:30 AM, wrote:
    Still fails (in a different way) for me:

    === RUN TestNoRaceCgoSync
    ==4704== ERROR: Failed to allocate 0x54b540 (5551424) bytes
    at
    0x01000350c000 (1455)
    unexpected fault address 0x10003a425f8
    fatal error: fault
    [signal 0xc0000005 code=0x0 addr=0x10003a425f8 pc=0x489a76]

    goroutine 1 [running]:
    return()
    c:/MinGW64/go/src/pkg/runtime/asm_amd64.s:465
    runtime.cgocall(0x47b07d, 0x110c1d30, 0x47affd, 0x47a60a)
    c:/MinGW64/go/src/pkg/runtime/cgocall.c:104 +0x4b
    runtime/race._Cfunc___tsan_read(0x0, 0xe9097f)

    C:/Users/brainman/AppData/Local/Temp/go-build985835447/runtime/race/_obj/_cgo_defun.c:130
    +0x32
    runtime/race.Read(0x0, 0xe9097f, 0x453ed7, 0x0, 0x453ed7,
    ...)

    C:/Users/brainman/AppData/Local/Temp/go-build985835447/runtime/race/_obj/race.cgo1.go:49
    +0x3a
    runtime.raceread(0xe9097f, 0x0)
    c:/MinGW64/go/src/pkg/runtime/race.c:89 +0x6f
    main.init(0x46b130, 0x0, 0x0, 0x46d990, 0x0, ...)
    c:/MinGW64/go/src/cmd/go/vet.go:37 +0x47
    runtime.main()
    c:/MinGW64/go/src/pkg/runtime/proc.c:246 +0x7b
    runtime.goexit()
    c:/MinGW64/go/src/pkg/runtime/proc.c:284
    --- FAIL: TestNoRaceCgoSync (0.03 seconds)

    My hg id is 5bc517167a08+ tip

    Alex

    https://codereview.appspot.com/7275048/

    Try to increase page file size. The race detector fails to allocate
    some virtual memory.

    --

    ---
    You received this message because you are subscribed to the Google Groups "golang-dev" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Alex Brainman at Feb 5, 2013 at 5:45 am

    On 2013/02/05 05:38:57, dvyukov wrote:
    ...
    Try to increase page file size. The race detector fails to allocate
    some virtual memory.
    Will try it tonight. Thank you.

    Alex

    https://codereview.appspot.com/7275048/

    --

    ---
    You received this message because you are subscribed to the Google Groups "golang-dev" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Alex Brainman at Feb 5, 2013 at 8:58 am
    LGTM

    Thank you.

    Alex

    https://codereview.appspot.com/7275048/

    --

    ---
    You received this message because you are subscribed to the Google Groups "golang-dev" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Dvyukov at Feb 5, 2013 at 9:08 am
    *** Submitted as
    https://code.google.com/p/go/source/detail?r=d39dac749a8f ***

    runtime/race: do not include pthread.h
    Fixes issue 4721.

    R=alex.brainman, minux.ma
    CC=golang-dev
    https://codereview.appspot.com/7275048


    https://codereview.appspot.com/7275048/

    --

    ---
    You received this message because you are subscribed to the Google Groups "golang-dev" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedFeb 5, '13 at 12:36a
activeFeb 5, '13 at 9:08a
posts5
users2
websitegolang.org

2 users in discussion

Alex Brainman: 3 posts Dvyukov: 2 posts

People

Translate

site design / logo © 2022 Grokbase