Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stopped working on MacOS Sierra #6

Closed
mickmcg opened this issue Oct 19, 2016 · 4 comments
Closed

Stopped working on MacOS Sierra #6

mickmcg opened this issue Oct 19, 2016 · 4 comments

Comments

@mickmcg
Copy link

mickmcg commented Oct 19, 2016

Used to work prior to upgrading to the latest MacOS. Now I get....

fatal error: unexpected signal during runtime execution
[signal 0xb code=0x1 addr=0xb01dfacedebac1e pc=0x2bec9]

runtime stack:
runtime.gothrow(0x182ff0, 0x2a)
/usr/local/go/src/runtime/panic.go:503 +0x8e fp=0xc20802dcd8 sp=0xc20802dcc0
runtime.sigpanic()
/usr/local/go/src/runtime/sigpanic_unix.go:14 +0x5e fp=0xc20802dd28 sp=0xc20802dcd8
runtime.MSpanList_Remove(0x253c30)
/usr/local/go/src/runtime/mheap.c:676 +0x29 fp=0xc20802dd30 sp=0xc20802dd28
runtime.MCentral_UncacheSpan(0x21f578, 0x253c30)
/usr/local/go/src/runtime/mcentral.c:121 +0x7f fp=0xc20802dd50 sp=0xc20802dd30
runtime.MCache_ReleaseAll(0x24f000)
/usr/local/go/src/runtime/mcache.c:111 +0x6a fp=0xc20802dd78 sp=0xc20802dd50
flushallmcaches()
/usr/local/go/src/runtime/mgc0.c:1221 +0x61 fp=0xc20802dda0 sp=0xc20802dd78
markroot(0xc208010000, 0xc200000004)
/usr/local/go/src/runtime/mgc0.c:533 +0x20a fp=0xc20802de00 sp=0xc20802dda0
runtime.parfordo(0xc208010000)
/usr/local/go/src/runtime/parfor.c:76 +0xb2 fp=0xc20802de80 sp=0xc20802de00
gc(0xc20802dfb8)
/usr/local/go/src/runtime/mgc0.c:1439 +0x25e fp=0xc20802df98 sp=0xc20802de80
runtime.gc_m()
/usr/local/go/src/runtime/mgc0.c:1368 +0xe0 fp=0xc20802dfd0 sp=0xc20802df98
runtime.onM(0xc208012000)
/usr/local/go/src/runtime/asm_amd64.s:257 +0x68 fp=0xc20802dfd8 sp=0xc20802dfd0
runtime.mstart()
/usr/local/go/src/runtime/proc.c:818 fp=0xc20802dfe0 sp=0xc20802dfd8

goroutine 1 [garbage collection]:
runtime.switchtoM()
/usr/local/go/src/runtime/asm_amd64.s:198 fp=0xc2080759f8 sp=0xc2080759f0
runtime.gogc(0x0)
/usr/local/go/src/runtime/malloc.go:469 +0x1cf fp=0xc208075a30 sp=0xc2080759f8
runtime.mallocgc(0x10, 0xf0480, 0x1, 0x24f010)
/usr/local/go/src/runtime/malloc.go:341 +0x391 fp=0xc208075ae0 sp=0xc208075a30
runtime.newobject(0xf0480, 0x24f000)
/usr/local/go/src/runtime/malloc.go:353 +0x49 fp=0xc208075b08 sp=0xc208075ae0
github.com/mikioh/ipaddr.ipv4Int.IP(0x4176dc00, 0x0, 0x0, 0x0)
/home/greg/MaxMind/go/src/github.com/mikioh/ipaddr/helper.go:60 +0x45 fp=0xc208075b20 sp=0xc208075b08
github.com/mikioh/ipaddr.(*IPv4).Addr(0xc208033ff8, 0x0, 0x0, 0x0)
/home/greg/MaxMind/go/src/github.com/mikioh/ipaddr/ipv4.go:122 +0x45 fp=0xc208075b48 sp=0xc208075b20
github.com/maxmind/geoip2-csv-converter/convert.intRangeLine(0x260c18, 0xc208033ff8, 0xc208079f90, 0x4, 0x7, 0x0, 0x0, 0x0)
/home/greg/MaxMind/go/src/github.com/maxmind/geoip2-csv-converter/convert/convert.go:113 +0x7a fp=0xc208075c08 sp=0xc208075b48
github.com/maxmind/geoip2-csv-converter/convert.func·004(0x260c18, 0xc208033ff8, 0xc208079f90, 0x4, 0x7, 0x0, 0x0, 0x0)
/home/greg/MaxMind/go/src/github.com/maxmind/geoip2-csv-converter/convert/convert.go:84 +0xd7 fp=0xc208075c70 sp=0xc208075c08
github.com/maxmind/geoip2-csv-converter/convert.func·004(0x260c18, 0xc208033ff8, 0xc208079f90, 0x4, 0x7, 0x0, 0x0, 0x0)
/home/greg/MaxMind/go/src/github.com/maxmind/geoip2-csv-converter/convert/convert.go:84 +0x8a fp=0xc208075cd8 sp=0xc208075c70
github.com/maxmind/geoip2-csv-converter/convert.convert(0x260bc8, 0xc208042028, 0x260bf0, 0xc208042020, 0xc20801e0a0, 0xc20801e0c0, 0x0, 0x0)
/home/greg/MaxMind/go/src/github.com/maxmind/geoip2-csv-converter/convert/convert.go:156 +0x3bf fp=0xc208075dc0 sp=0xc208075cd8
github.com/maxmind/geoip2-csv-converter/convert.Convert(0x260bc8, 0xc208042028, 0x260bf0, 0xc208042020, 0x10001, 0x0, 0x0)
/home/greg/MaxMind/go/src/github.com/maxmind/geoip2-csv-converter/convert/convert.go:73 +0x163 fp=0xc208075e18 sp=0xc208075dc0
github.com/maxmind/geoip2-csv-converter/convert.ConvertFile(0x7fff5fbffa7e, 0x1a, 0x7fff5fbffad5, 0x24, 0x10001, 0x0, 0x0)
/home/greg/MaxMind/go/src/github.com/maxmind/geoip2-csv-converter/convert/convert.go:40 +0x1d3 fp=0xc208075ec0 sp=0xc208075e18
main.main()
/home/greg/MaxMind/go/src/github.com/maxmind/geoip2-csv-converter/main.go:30 +0x2cf fp=0xc208075f98 sp=0xc208075ec0
runtime.main()
/usr/local/go/src/runtime/proc.go:63 +0xf3 fp=0xc208075fe0 sp=0xc208075f98
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2232 +0x1 fp=0xc208075fe8 sp=0xc208075fe0

goroutine 2 [force gc (idle)]:
runtime.gopark(0x31640, 0x20a9e0, 0x15f310, 0xf)
/usr/local/go/src/runtime/proc.go:130 +0x105 fp=0xc20801a798 sp=0xc20801a768
runtime.goparkunlock(0x20a9e0, 0x15f310, 0xf)
/usr/local/go/src/runtime/proc.go:136 +0x48 fp=0xc20801a7c0 sp=0xc20801a798
runtime.forcegchelper()
/usr/local/go/src/runtime/proc.go:99 +0xce fp=0xc20801a7e0 sp=0xc20801a7c0
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2232 +0x1 fp=0xc20801a7e8 sp=0xc20801a7e0
created by runtime.init·4
/usr/local/go/src/runtime/proc.go:87 +0x25

goroutine 3 [runnable]:
runtime.Gosched()
/usr/local/go/src/runtime/proc.go:113 +0x14 fp=0xc20801dfc0 sp=0xc20801dfb0
runtime.bgsweep()
/usr/local/go/src/runtime/mgc0.go:87 +0x59 fp=0xc20801dfe0 sp=0xc20801dfc0
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2232 +0x1 fp=0xc20801dfe8 sp=0xc20801dfe0
created by gc
/usr/local/go/src/runtime/mgc0.c:1383

goroutine 4 [finalizer wait]:
runtime.gopark(0x31640, 0x212808, 0x15ed70, 0xe)
/usr/local/go/src/runtime/proc.go:130 +0x105 fp=0xc208018f30 sp=0xc208018f00
runtime.goparkunlock(0x212808, 0x15ed70, 0xe)
/usr/local/go/src/runtime/proc.go:136 +0x48 fp=0xc208018f58 sp=0xc208018f30
runtime.runfinq()
/usr/local/go/src/runtime/malloc.go:727 +0xba fp=0xc208018fe0 sp=0xc208018f58
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2232 +0x1 fp=0xc208018fe8 sp=0xc208018fe0
created by runtime.createfing
/usr/local/go/src/runtime/malloc.go:707 +0x5e

@rafl
Copy link

rafl commented Oct 20, 2016

Thanks so much for finding and reporting this issue!

I see a very similar panic when using the pre-compiled darwin binaries, but the program seems to work as expected when building a new binary from source on Sierra.

We'll make a new release with updated binaries that'll work on Sierra shortly. Until then you should be able to get a working binary by re-building from source.

@mickmcg
Copy link
Author

mickmcg commented Oct 25, 2016

Thanks for the response. Not sure how to build a go program. Is it easy or
shall I wait for the new release?

On 20 October 2016 at 18:38, Florian Ragwitz [email protected]
wrote:

Thanks so much for finding and reporting this issue!

I see a very similar panic when using the pre-compiled darwin binaries,
but the program seems to work as expected when building a new binary from
source on Sierra.

We'll make a new release with updated binaries that'll work on Sierra
shortly. Until then you should be able to get a working binary by
re-building from source.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#6 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACflTOVtgNMBkrQjR9kv7mE2rrtw1Otnks5q16cEgaJpZM4KbYt-
.

Mick McGuinness

Senior Technical Consultant
Application Performance Ltd

email: [email protected]
M: +44 (0) 7876 680410
T: +44 (0) 845 452 4129
F: +44 (0) 870 762 3164

Centaur House, Ancells Business Park,

Ancells Road, Fleet, GU51 2UJ

www.applicationperformance.com

Registered Address: 20-22 Bedford Row, London, WC1R 4JS

Company Registration No. 5094474, Registered in England & Wales.

VAT Reg No: 841 5357 30

This E-mail is the property of Application Performance Ltd. It is
confidential and intended for the use of the addressee or with their
permission. Use by anyone else for any purpose is prohibited. If you are
not the addressee, you should not disclose, copy, distribute, take any
action or rely on this E-mail and should notify us immediately by return
E-mail to the address where the E-mail originated

[image: http://www.applicationperformance.com/email-signature/]
http://www.applicationperformance.com/email-signature/

@oschwald
Copy link
Member

oschwald commented Nov 4, 2016

We did a new release that should work on Sierra.

@oschwald oschwald closed this as completed Nov 4, 2016
@mickmcg
Copy link
Author

mickmcg commented Nov 8, 2016

Thanks I tested on Sierra 10.12.1 and all working now.

On 4 November 2016 at 20:54, Gregory Oschwald [email protected]
wrote:

Closed #6 #6.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#6 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACflTKFwdbHLkD8dbq_-JNlS11Cw7aUUks5q65t3gaJpZM4KbYt-
.

Mick McGuinness

Senior Technical Consultant
Application Performance Ltd

email: [email protected]
M: +44 (0) 7876 680410
T: +44 (0) 845 452 4129
F: +44 (0) 870 762 3164

Centaur House, Ancells Business Park,

Ancells Road, Fleet, GU51 2UJ

www.applicationperformance.com

Registered Address: 20-22 Bedford Row, London, WC1R 4JS

Company Registration No. 5094474, Registered in England & Wales.

VAT Reg No: 841 5357 30

This E-mail is the property of Application Performance Ltd. It is
confidential and intended for the use of the addressee or with their
permission. Use by anyone else for any purpose is prohibited. If you are
not the addressee, you should not disclose, copy, distribute, take any
action or rely on this E-mail and should notify us immediately by return
E-mail to the address where the E-mail originated

[image: http://www.applicationperformance.com/email-signature/]
http://www.applicationperformance.com/email-signature/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants
@rafl @oschwald @mickmcg and others