Skip to content

Instantly share code, notes, and snippets.

@zachharkey
Last active September 22, 2016 16:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zachharkey/f55bbd66f7aa6dfdc804b71ce19b79f6 to your computer and use it in GitHub Desktop.
Save zachharkey/f55bbd66f7aa6dfdc804b71ce19b79f6 to your computer and use it in GitHub Desktop.
Shopify Themekit Fatal Error
$ theme watch
Spawning 2 workers for pieces-6.myshopify.com
pieces-6.myshopify.com Worker #1 ready to upload local changes
pieces-6.myshopify.com Worker #0 ready to upload local changes
Received Update event on assets/timber.scss.liquid
Successfully performed Update operation for file assets/timber.scss.liquid to pieces-6.myshopify.com
Received Update event on assets/timber.scss.liquid
fatal error: heapBitsSweepSpan
runtime stack:
runtime.throw(0x50fe40, 0x11)
/usr/local/go/src/runtime/panic.go:547 +0x90
runtime.heapBitsSweepSpan(0xc820486000, 0x66fbe1bcc8cf, 0x0, 0x700004a36da0)
/usr/local/go/src/runtime/mbitmap.go:569 +0x3e6
runtime.(*mspan).sweep(0x99a3c8, 0x500000000, 0x200000101)
/usr/local/go/src/runtime/mgcsweep.go:301 +0x524
runtime.sweepone(0x39b52)
/usr/local/go/src/runtime/mgcsweep.go:112 +0x23e
runtime.gosweepone.func1()
/usr/local/go/src/runtime/mgcsweep.go:124 +0x21
runtime.systemstack(0xc820021500)
/usr/local/go/src/runtime/asm_amd64.s:291 +0x79
runtime.mstart()
/usr/local/go/src/runtime/proc.go:1051
goroutine 3 [running]:
runtime.systemstack_switch()
/usr/local/go/src/runtime/asm_amd64.s:245 fp=0xc820030f58 sp=0xc820030f50
runtime.gosweepone(0x0)
/usr/local/go/src/runtime/mgcsweep.go:125 +0x3d fp=0xc820030f80 sp=0xc820030f58
runtime.bgsweep(0xc82001e070)
/usr/local/go/src/runtime/mgcsweep.go:66 +0xb6 fp=0xc820030fb8 sp=0xc820030f80
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc820030fc0 sp=0xc820030fb8
created by runtime.gcenable
/usr/local/go/src/runtime/mgc.go:191 +0x53
goroutine 1 [chan receive, 1 minutes]:
main.main()
/Users/chris/go/src/github.com/Shopify/themekit/cmd/theme/main.go:141 +0x37a
goroutine 17 [syscall, 1 minutes, locked to thread]:
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1998 +0x1
goroutine 5 [chan receive, 1 minutes]:
github.com/Shopify/themekit.SetErrorReporter.func2()
/Users/chris/go/src/github.com/Shopify/themekit/error_reporter.go:58 +0x45
created by github.com/Shopify/themekit.SetErrorReporter
/Users/chris/go/src/github.com/Shopify/themekit/error_reporter.go:64 +0x68
goroutine 86 [chan receive, 1 minutes]:
net/http.(*Transport).dialConn(0xc82001a0c0, 0x0, 0xc82036cdc0, 0x5, 0xc82047ad80, 0x1a, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:837 +0x9c2
net/http.(*Transport).getConn.func4(0xc82001a0c0, 0x0, 0xc82036cdc0, 0x5, 0xc82047ad80, 0x1a, 0xc820367860)
/usr/local/go/src/net/http/transport.go:709 +0x66
created by net/http.(*Transport).getConn
/usr/local/go/src/net/http/transport.go:711 +0x262
goroutine 56 [IO wait]:
net.runtime_pollWait(0x991000, 0x72, 0xc82052e000)
/usr/local/go/src/runtime/netpoll.go:160 +0x60
net.(*pollDesc).Wait(0xc820212220, 0x72, 0x0, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:73 +0x3a
net.(*pollDesc).WaitRead(0xc820212220, 0x0, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:78 +0x36
net.(*netFD).Read(0xc8202121c0, 0xc82052e000, 0x1000, 0x1000, 0x0, 0x910050, 0xc820010250)
/usr/local/go/src/net/fd_unix.go:250 +0x23a
net.(*conn).Read(0xc820034098, 0xc82052e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:172 +0xe4
crypto/tls.(*block).readFromUntil(0xc8203ca210, 0x991110, 0xc820034098, 0x5, 0x0, 0x0)
/usr/local/go/src/crypto/tls/conn.go:460 +0xcc
crypto/tls.(*Conn).readRecord(0xc82021a300, 0x14, 0x0, 0x0)
/usr/local/go/src/crypto/tls/conn.go:562 +0x2d1
crypto/tls.(*clientHandshakeState).readFinished(0xc82054fe48, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/crypto/tls/handshake_client.go:566 +0x55
crypto/tls.(*Conn).clientHandshake(0xc82021a300, 0x0, 0x0)
/usr/local/go/src/crypto/tls/handshake_client.go:225 +0x1923
crypto/tls.(*Conn).Handshake(0xc82021a300, 0x0, 0x0)
/usr/local/go/src/crypto/tls/conn.go:1033 +0xec
net/http.(*Transport).dialConn.func3(0xc82021a300, 0xc8203a8a40, 0xc820069080)
/usr/local/go/src/net/http/transport.go:831 +0x21
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:836 +0x986
goroutine 8 [syscall, 1 minutes]:
syscall.Syscall6(0x16b, 0x3, 0x0, 0x0, 0xc820171e60, 0xa, 0x70b6c0, 0xc820171e48, 0xc820001c80, 0xb441)
/usr/local/go/src/syscall/asm_darwin_amd64.s:41 +0x5
syscall.kevent(0x3, 0x0, 0x0, 0xc820171e60, 0xa, 0x70b6c0, 0x1, 0x0, 0x0)
/usr/local/go/src/syscall/zsyscall_darwin_amd64.go:202 +0x7f
syscall.Kevent(0x3, 0x0, 0x0, 0x0, 0xc820171e60, 0xa, 0xa, 0x70b6c0, 0x0, 0x0, ...)
/usr/local/go/src/syscall/syscall_bsd.go:447 +0x94
github.com/Shopify/themekit/vendor/gopkg.in/fsnotify%2ev1.read(0x3, 0xc820171e60, 0xa, 0xa, 0x70b6c0, 0x0, 0x0, 0x0, 0x0, 0x0)
/Users/chris/go/src/github.com/Shopify/themekit/vendor/gopkg.in/fsnotify.v1/kqueue.go:453 +0x8d
github.com/Shopify/themekit/vendor/gopkg.in/fsnotify%2ev1.(*Watcher).readEvents(0xc82018c0c0)
/Users/chris/go/src/github.com/Shopify/themekit/vendor/gopkg.in/fsnotify.v1/kqueue.go:262 +0x193
created by github.com/Shopify/themekit/vendor/gopkg.in/fsnotify%2ev1.NewWatcher
/Users/chris/go/src/github.com/Shopify/themekit/vendor/gopkg.in/fsnotify.v1/kqueue.go:61 +0x344
goroutine 9 [chan receive, 1 minutes]:
github.com/Shopify/themekit.convertFsEvents.func1(0xc820069f80, 0xc8200bf3c0, 0x4, 0x4, 0x70a920, 0x0, 0x0, 0xc82018cf00)
/Users/chris/go/src/github.com/Shopify/themekit/file_watcher.go:162 +0x9a
created by github.com/Shopify/themekit.convertFsEvents
/Users/chris/go/src/github.com/Shopify/themekit/file_watcher.go:180 +0xa6
goroutine 10 [select, 1 minutes]:
github.com/Shopify/themekit/bucket.(*LeakyBucket).StartDripping.func1(0xc8200158c0)
/Users/chris/go/src/github.com/Shopify/themekit/bucket/leaky_bucket.go:35 +0xff
created by github.com/Shopify/themekit/bucket.(*LeakyBucket).StartDripping
/Users/chris/go/src/github.com/Shopify/themekit/bucket/leaky_bucket.go:42 +0x35
goroutine 11 [select, 1 minutes]:
github.com/Shopify/themekit.Foreman.IssueWork.func1(0xc8200158c0, 0xc820069680, 0xc82018cf00, 0xc820069740, 0xc820011a80)
/Users/chris/go/src/github.com/Shopify/themekit/foreman.go:35 +0x21f
created by github.com/Shopify/themekit.Foreman.IssueWork
/Users/chris/go/src/github.com/Shopify/themekit/foreman.go:52 +0x6b
goroutine 12 [select, 1 minutes]:
net/http.(*Transport).getConn(0xc82001a0c0, 0xc82042a0e0, 0x0, 0xc82036cdc0, 0x5, 0xc82047ad80, 0x1a, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:714 +0x4ef
net/http.(*Transport).RoundTrip(0xc82001a0c0, 0xc82042a0e0, 0xc82001a0c0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:314 +0x7e9
net/http.send(0xc82042a0e0, 0x914528, 0xc82001a0c0, 0x0, 0x0, 0x0, 0xc82036ce00, 0x0, 0x0)
/usr/local/go/src/net/http/client.go:260 +0x6b7
net/http.(*Client).send(0xc820015770, 0xc82042a0e0, 0x0, 0x0, 0x0, 0x58244c, 0x0, 0x0)
/usr/local/go/src/net/http/client.go:155 +0x185
net/http.(*Client).doFollowingRedirects(0xc820015770, 0xc82042a0e0, 0x583f58, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/client.go:475 +0x8a4
net/http.(*Client).Do(0xc820015770, 0xc82042a0e0, 0xc8200bee80, 0x0, 0x0)
/usr/local/go/src/net/http/client.go:191 +0x1e4
github.com/Shopify/themekit.ThemeClient.request(0x0, 0x0, 0xc8200bee80, 0x20, 0xc820011638, 0x8, 0xc8200bef00, 0x16, 0xc82000e800, 0x34, ...)
/Users/chris/go/src/github.com/Shopify/themekit/theme_client.go:322 +0x3d0
github.com/Shopify/themekit.ThemeClient.Perform(0x0, 0x0, 0xc8200bee80, 0x20, 0xc820011638, 0x8, 0xc8200bef00, 0x16, 0xc82000e800, 0x34, ...)
/Users/chris/go/src/github.com/Shopify/themekit/theme_client.go:266 +0x1ec
github.com/Shopify/themekit/commands.spawnWorker(0xc8201b2e40, 0x20, 0xc820069740, 0x0, 0x0, 0xc8200bee80, 0x20, 0xc820011638, 0x8, 0xc8200bef00, ...)
/Users/chris/go/src/github.com/Shopify/themekit/commands/watch.go:78 +0x30b
created by github.com/Shopify/themekit/commands.watchForChangesAndIssueWork
/Users/chris/go/src/github.com/Shopify/themekit/commands/watch.go:55 +0x40c
goroutine 13 [chan receive, 1 minutes]:
github.com/Shopify/themekit/commands.spawnWorker(0xc8201b2e60, 0x20, 0xc820069740, 0x0, 0x0, 0xc8200bee80, 0x20, 0xc820011638, 0x8, 0xc8200bef00, ...)
/Users/chris/go/src/github.com/Shopify/themekit/commands/watch.go:62 +0xb1
created by github.com/Shopify/themekit/commands.watchForChangesAndIssueWork
/Users/chris/go/src/github.com/Shopify/themekit/commands/watch.go:55 +0x40c
goroutine 14 [select, 1 minutes]:
main.main.func1(0xc8201b9640, 0xc820069560)
/Users/chris/go/src/github.com/Shopify/themekit/cmd/theme/main.go:126 +0x2ac
created by main.main
/Users/chris/go/src/github.com/Shopify/themekit/cmd/theme/main.go:139 +0x32e
~/Sites/piecesinc/theme on master*
$ theme watch
Spawning 2 workers for pieces-6.myshopify.com
pieces-6.myshopify.com Worker #0 ready to upload local changes
pieces-6.myshopify.com Worker #1 ready to upload local changes
Received Update event on assets/timber.scss.liquid
Successfully performed Update operation for file assets/timber.scss.liquid to pieces-6.myshopify.com
Received Update event on assets/timber.scss.liquid
Successfully performed Update operation for file assets/timber.scss.liquid to pieces-6.myshopify.com
^[[1;10C^[[1;10D^C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment