<p dir="auto">by <strong>bortzmeyer</strong>:</p>
<pre class="notranslate">Which operating system are you using?

Debian "squeeze"

Which revision are you using?  (hg identify)

9b116c4a5f91 tip

Please provide any additional information below.

The function isDomainName actually check that its argument is a valid HOST name, not
that it is a valid DOMAIN name. (URLs use host names, for instance, but not all
protocols do. See RFC 2181, section 11, for a discussion of the difference) Legitimate
domain names like _jabber._tcp.gmail.com yield false.

This is related to bug #1167 but it seems there is no way in the bug tracker to reopen a
closed bug.</pre>
<p dir="auto">by <strong>capnm9</strong>:</p>
<pre class="notranslate">uname -a
Linux rpi 3.6.11+ #371 PREEMPT Thu Feb 7 16:31:35 GMT 2013 armv6l GNU/Linux

A simple app with RPi specific OpenVG bindings: 

GOTRACEBACK=3 ./bin/clock 
fatal error: malloc/free - deadlock
[signal 0xb code=0x1 addr=0x2f0 pc=0x2d4dc]

goroutine 1 [syscall]:
[fp=0xb6899ee4] return()
    /data4/go-bs/src/pkg/runtime/asm_arm.s:275
[fp=0xb6899f0c] runtime.cgocall(0xb861c, 0xb6899f1c)
    /data4/go-bs/src/pkg/runtime/cgocall.c:162 +0xec
[fp=0xb6899f18] openvg._Cfunc_init(0x102001a8, 0x102001a0)
    openvg/_obj/_cgo_defun.c:328 +0x30
[fp=0xb6899f2c] openvg.Init(0x0, 0x17fac)
    openvg/_obj/_cgo_gotypes.go:296 +0x58
[fp=0xb6899fb8] main.main()
    /home/pi/s/w/github/capnm/go_rpi/src/clock/clock.go:15 +0x28
[fp=0xb6899fd0] runtime.main()
    /data4/go-bs/src/pkg/runtime/proc.c:182 +0x78
[fp=0xb6899fd4] runtime.goexit()
    /data4/go-bs/src/pkg/runtime/proc.c:1214

goroutine 2 [syscall]:
runtime.goexit()
    /data4/go-bs/src/pkg/runtime/proc.c:1214

goroutine 3 [syscall]:
runtime.entersyscallblock()
    /data4/go-bs/src/pkg/runtime/proc.c:1324 +0xc0
runtime.MHeap_Scavenger()
    /data4/go-bs/src/pkg/runtime/mheap.c:434 +0xfc
runtime.goexit()
    /data4/go-bs/src/pkg/runtime/proc.c:1214
created by runtime.main
    /data4/go-bs/src/pkg/runtime/proc.c:165


Unfortunately this commit additionally broke the arm build,
but with the fix applied it appears to be a the
first bad commit:

<a href="https://code.google.com/p/go/source/detail?name=95c3a7bdfb03&amp;" rel="nofollow">https://code.google.com/p/go/source/detail?name=95c3a7bdfb03&amp;</a>;r=97cbf15abc2c18b2616349d1f936cd6e7a584b76
cmd/ld: replace -hostobj with -linkmode
Still disabled. Need to fix TLS.

fix
<a href="https://code.google.com/p/go/source/detail?name=95c3a7bdfb03&amp;" rel="nofollow">https://code.google.com/p/go/source/detail?name=95c3a7bdfb03&amp;</a>;r=31ae6d73fdb0b39373980163598dbad85ba0afb7

strace, gdb, etc.:
<a href="https://github.com/capnm/golang/wiki/bisect-clock-app">https://github.com/capnm/golang/wiki/bisect-clock-app</a></pre>