Skip to content

Instantly share code, notes, and snippets.

@omindu
Created April 11, 2017 11:35
Show Gist options
  • Save omindu/09a9485290d03e9a9cea69b2b38756c6 to your computer and use it in GitHub Desktop.
Save omindu/09a9485290d03e9a9cea69b2b38756c6 to your computer and use it in GitHub Desktop.
$ wum-dev update wso2esb-4.9.0 1077
Connecting to WSO2 Update...
Updating wso2esb-4.9.0...
165 released updates and 1 update(s) in testing state are available
45 already downloaded, 121 to download
Verifying downloaded updates...
Downloading updates... [0/121]
unexpected fault address 0x6a01c14660aa
fatal error: fault
[signal 0xb code=0x1 addr=0x6a01c14660aa pc=0x12f9f1]
goroutine 1 [running]:
runtime.throw(0x602530, 0x5)
/usr/local/go/src/runtime/panic.go:547 +0x90 fp=0xc820168838 sp=0xc820168820
runtime.sigpanic()
/usr/local/go/src/runtime/sigpanic_unix.go:27 +0x2ba fp=0xc820168888 sp=0xc820168838
net/http.send(0xc820090fc0, 0x6a01c146608a, 0x0, 0xed07eb400, 0x2de730b0, 0x8cc580, 0xc820206960, 0x0, 0x0)
/usr/local/go/src/net/http/client.go:260 +0x6b1 fp=0xc820168aa0 sp=0xc820168888
net/http.(*Client).send(0xc82041afc0, 0xc820090fc0, 0xed07eb400, 0x2de730b0, 0x8cc580, 0x1a2500, 0x0, 0x0)
/usr/local/go/src/net/http/client.go:155 +0x185 fp=0xc820168b88 sp=0xc820168aa0
net/http.(*Client).doFollowingRedirects(0xc82041afc0, 0xc820090fc0, 0x6fb8b8, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/client.go:475 +0x8a4 fp=0xc820168da0 sp=0xc820168b88
net/http.(*Client).Do(0xc82041afc0, 0xc820090fc0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/client.go:188 +0xff fp=0xc820168e40 sp=0xc820168da0
github.com/wso2/wum-client/utils.SendRequest(0xc820090fc0, 0x8bb2c97000, 0x8c46e0)
/Users/kishanthan/Work/wso2/support/checkout/go/wum/src/github.com/wso2/wum-client/utils/utils.go:363 +0x61 fp=0xc820168e88 sp=0xc820168e40
github.com/wso2/wum-client/utils.invokeRequest(0xc820090fc0, 0x8bb2c97000, 0xd)
/Users/kishanthan/Work/wso2/support/checkout/go/wum/src/github.com/wso2/wum-client/utils/utils.go:260 +0x55 fp=0xc820168f80 sp=0xc820168e88
github.com/wso2/wum-client/utils.InvokeDownloadRequest(0xc8201cdda0, 0x60, 0xc8201418c0, 0xb3, 0x8bb2c97000, 0x21)
/Users/kishanthan/Work/wso2/support/checkout/go/wum/src/github.com/wso2/wum-client/utils/utils.go:380 +0x115 fp=0xc820168fe8 sp=0xc820168f80
github.com/wso2/wum-client/update.downloadUpdate(0xc82041af00, 0x21, 0xc8201cdda0, 0x60, 0xc820351276, 0x6, 0xc820351290, 0x5, 0xc8201418c0, 0xb3)
/Users/kishanthan/Work/wso2/support/checkout/go/wum/src/github.com/wso2/wum-client/update/updatehandler.go:178 +0x84 fp=0xc820169168 sp=0xc820168fe8
github.com/wso2/wum-client/update.DownloadUpdates(0xc820150000, 0x79, 0x8b, 0xc820351276, 0x6, 0xc820351290, 0x5, 0xc8201418c0, 0xb3)
/Users/kishanthan/Work/wso2/support/checkout/go/wum/src/github.com/wso2/wum-client/update/updatehandler.go:159 +0xa20 fp=0xc8201693a8 sp=0xc820169168
github.com/wso2/wum-client/dev/cmd.updateProduct(0xc8201c6958, 0x7, 0xc8201c6980, 0x5, 0xc8201c69b0, 0x5, 0xc82000ba29, 0x11, 0xc82000bac0, 0x3a, ...)
/Users/kishanthan/Work/wso2/support/checkout/go/wum/src/github.com/wso2/wum-client/dev/cmd/update.go:175 +0x1914 fp=0xc8201699a0 sp=0xc8201693a8
github.com/wso2/wum-client/dev/cmd.updateProductCommand(0x8c6880, 0xc8201586e0, 0x2, 0x2)
/Users/kishanthan/Work/wso2/support/checkout/go/wum/src/github.com/wso2/wum-client/dev/cmd/update.go:80 +0xd2a fp=0xc820169c38 sp=0xc8201699a0
github.com/spf13/cobra.(*Command).execute(0x8c6880, 0xc820158580, 0x2, 0x2, 0x0, 0x0)
/Users/kishanthan/Work/wso2/support/checkout/go/wum/src/github.com/spf13/cobra/command.go:603 +0x896 fp=0xc820169d50 sp=0xc820169c38
github.com/spf13/cobra.(*Command).ExecuteC(0x8c6660, 0x8c6880, 0x0, 0x0)
/Users/kishanthan/Work/wso2/support/checkout/go/wum/src/github.com/spf13/cobra/command.go:689 +0x55c fp=0xc820169e60 sp=0xc820169d50
github.com/spf13/cobra.(*Command).Execute(0x8c6660, 0x0, 0x0)
/Users/kishanthan/Work/wso2/support/checkout/go/wum/src/github.com/spf13/cobra/command.go:648 +0x2d fp=0xc820169e88 sp=0xc820169e60
github.com/wso2/wum-client/dev/cmd.Execute()
/Users/kishanthan/Work/wso2/support/checkout/go/wum/src/github.com/wso2/wum-client/dev/cmd/root.go:47 +0x503 fp=0xc820169f28 sp=0xc820169e88
main.main()
/Users/kishanthan/Work/wso2/support/checkout/go/wum/src/github.com/wso2/wum-client/dev/wum-dev.go:27 +0xb5 fp=0xc820169f40 sp=0xc820169f28
runtime.main()
/usr/local/go/src/runtime/proc.go:188 +0x2b0 fp=0xc820169f90 sp=0xc820169f40
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc820169f98 sp=0xc820169f90
goroutine 17 [syscall, 1 minutes, locked to thread]:
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1998 +0x1
goroutine 5 [syscall, 1 minutes]:
os/signal.signal_recv(0x0)
/usr/local/go/src/runtime/sigqueue.go:116 +0x132
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:22 +0x18
created by os/signal.init.1
/usr/local/go/src/os/signal/signal_unix.go:28 +0x37
goroutine 12 [select, 1 minutes, locked to thread]:
runtime.gopark(0x6fbce8, 0xc8204b5f28, 0x605498, 0x6, 0x18, 0x2)
/usr/local/go/src/runtime/proc.go:262 +0x163
runtime.selectgoImpl(0xc8204b5f28, 0x0, 0x18)
/usr/local/go/src/runtime/select.go:392 +0xa67
runtime.selectgo(0xc8204b5f28)
/usr/local/go/src/runtime/select.go:215 +0x12
runtime.ensureSigM.func1()
/usr/local/go/src/runtime/signal1_unix.go:279 +0x32c
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1998 +0x1
goroutine 13 [chan receive, 1 minutes]:
github.com/wso2/wum-client/utils.HandleInterrupts.func1(0xc8202ae000, 0xc82041adb0)
/Users/kishanthan/Work/wso2/support/checkout/go/wum/src/github.com/wso2/wum-client/utils/utils.go:623 +0x36
created by github.com/wso2/wum-client/utils.HandleInterrupts
/Users/kishanthan/Work/wso2/support/checkout/go/wum/src/github.com/wso2/wum-client/utils/utils.go:626 +0x1cd
goroutine 75 [select]:
net/http.setRequestCancel.func4(0x0, 0xc82041aff0, 0xc820390940, 0xc820206a20)
/usr/local/go/src/net/http/client.go:333 +0x12e
created by net/http.setRequestCancel
/usr/local/go/src/net/http/client.go:341 +0x2f7
goroutine 51 [IO wait]:
net.runtime_pollWait(0xc15928, 0x72, 0xc8205fe000)
/usr/local/go/src/runtime/netpoll.go:160 +0x60
net.(*pollDesc).Wait(0xc8201121b0, 0x72, 0x0, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:73 +0x3a
net.(*pollDesc).WaitRead(0xc8201121b0, 0x0, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:78 +0x36
net.(*netFD).Read(0xc820112150, 0xc8205fe000, 0x8000, 0x8000, 0x0, 0xc10050, 0xc820012048)
/usr/local/go/src/net/fd_unix.go:250 +0x23a
net.(*conn).Read(0xc82023c010, 0xc8205fe000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:172 +0xe4
crypto/tls.(*block).readFromUntil(0xc8203ee0c0, 0xc54050, 0xc82023c010, 0x5, 0x0, 0x0)
/usr/local/go/src/crypto/tls/conn.go:460 +0xcc
crypto/tls.(*Conn).readRecord(0xc820242300, 0x6fbd17, 0x0, 0x0)
/usr/local/go/src/crypto/tls/conn.go:562 +0x2d1
crypto/tls.(*Conn).Read(0xc820242300, 0xc82053c000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/crypto/tls/conn.go:939 +0x167
net/http.noteEOFReader.Read(0xc1b680, 0xc820242300, 0xc8201c5da8, 0xc82053c000, 0x1000, 0x1000, 0x5d43, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1690 +0x67
net/http.(*noteEOFReader).Read(0xc82044a8a0, 0xc82053c000, 0x1000, 0x1000, 0xc820177d0d, 0x0, 0x0)
<autogenerated>:284 +0xd0
bufio.(*Reader).fill(0xc8202ae780)
/usr/local/go/src/bufio/bufio.go:97 +0x1e9
bufio.(*Reader).Peek(0xc8202ae780, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/bufio/bufio.go:132 +0xcc
net/http.(*persistConn).readLoop(0xc8201c5d40)
/usr/local/go/src/net/http/transport.go:1076 +0x177
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:860 +0x10a6
goroutine 14 [sleep, 1 minutes]:
time.Sleep(0xf4240)
/usr/local/go/src/runtime/time.go:59 +0xf9
github.com/gosuri/uilive.(*Writer).Wait(0xc82024e210)
/Users/kishanthan/Work/wso2/support/checkout/go/wum/src/github.com/gosuri/uilive/writer.go:122 +0x25
github.com/gosuri/uilive.(*Writer).Listen(0xc82024e210)
/Users/kishanthan/Work/wso2/support/checkout/go/wum/src/github.com/gosuri/uilive/writer.go:114 +0x70
created by github.com/gosuri/uilive.(*Writer).Start
/Users/kishanthan/Work/wso2/support/checkout/go/wum/src/github.com/gosuri/uilive/writer.go:91 +0x35
goroutine 52 [select]:
net/http.(*persistConn).writeLoop(0xc8201c5d40)
/usr/local/go/src/net/http/transport.go:1280 +0x472
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:861 +0x10cb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment