123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- D:\dev\ea_sign\svnhttps\goctp\bin>ttpanel.exe
- 2013/10/25 20:17:56 wave2907 Tg417396
- 2013/10/25 20:17:57 wave2907 login ok!
- 2013/10/25 20:17:57 wave2907 PositionTrackingInit OK!
- 2013/10/25 20:17:57 wave2907 HeartbeatTimeout set ok!
- panic: runtime error: invalid memory address or nil pointer dereference
- [signal 0xc0000005 code=0x0 addr=0x0 pc=0x45f735]
- goroutine 1 [running]:
- github.com/lxn/walk.(*SolidColorBrush).handle()
- C:/Users/w/Desktop/wangch/go/src/github.com/lxn/walk/brush.go:127 +0x5
- github.com/lxn/walk.(*Canvas).withBrush(0xc080591a80, 0xc080112a80, 0x0, 0x3915d8, 0x779d6bc8, ...)
- C:/Users/w/Desktop/wangch/go/src/github.com/lxn/walk/canvas.go:168 +0x2e
- github.com/lxn/walk.(*Canvas).withBrushAndPen(0xc080591a80, 0xc080112a80, 0x0, 0xc080112780, 0xc0800000f8, ...)
- C:/Users/w/Desktop/wangch/go/src/github.com/lxn/walk/canvas.go:199 +0x86
- github.com/lxn/walk.(*Canvas).rectangle(0xc080591a80, 0xc080112a80, 0x0, 0xc080112780, 0xc0800000f8, ...)
- C:/Users/w/Desktop/wangch/go/src/github.com/lxn/walk/canvas.go:269 +0xa3
- github.com/lxn/walk.(*Canvas).FillRectangle(0xc080591a80, 0xc080112a80, 0x0, 0x0, 0x0, ...)
- C:/Users/w/Desktop/wangch/go/src/github.com/lxn/walk/canvas.go:298 +0x7e
- github.com/lxn/walk.(*WindowBase).WndProc(0xc08027dd80, 0x120dd4, 0x14, 0x330162b3, 0x0, ...)
- C:/Users/w/Desktop/wangch/go/src/github.com/lxn/walk/window.go:1215 +0x34a
- github.com/lxn/walk.(*ContainerBase).WndProc(0xc08027dd80, 0x120dd4, 0x14, 0x330162b3, 0x0, ...)
- C:/Users/w/Desktop/wangch/go/src/github.com/lxn/walk/container.go:302 +0x9e
- main.(*Container).WndProc(0xc08027dd80, 0x120dd4, 0x14, 0x330162b3, 0x0, ...)
- C:/Users/w/Desktop/wangch/go/src/w/ttpanel/container.go:199 +0x12c
- github.com/lxn/walk.defaultWndProc(0x120dd4, 0x14, 0x330162b3, 0x0, 0x0, ...)
- C:/Users/w/Desktop/wangch/go/src/github.com/lxn/walk/window.go:1164 +0x117
- syscall.Syscall(0x779d6e40, 0x2, 0x120dd4, 0xc080522370, 0x0, ...)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/runtime/zsyscall_windows_windows_amd64.c:74 +0x55
- github.com/lxn/win.BeginPaint(0x120dd4, 0xc080522370, 0x180dda)
- C:/Users/w/Desktop/wangch/go/src/github.com/lxn/win/user32.go:1699 +0x51
- main.(*Container).WndProc(0xc08027dd80, 0x120dd4, 0xf, 0x0, 0x0, ...)
- C:/Users/w/Desktop/wangch/go/src/w/ttpanel/container.go:148 +0x17b
- github.com/lxn/walk.defaultWndProc(0x120dd4, 0xf, 0x0, 0x0, 0x0, ...)
- C:/Users/w/Desktop/wangch/go/src/github.com/lxn/walk/window.go:1164 +0x117
- syscall.Syscall(0x779d991c, 0x1, 0xc0803a6360, 0x0, 0x0, ...)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/runtime/zsyscall_windows_windows_amd64.c:74 +0x55
- github.com/lxn/win.DispatchMessage(0xc0803a6360, 0x0)
- C:/Users/w/Desktop/wangch/go/src/github.com/lxn/win/user32.go:1862 +0x50
- github.com/lxn/walk.(*FormBase).Run(0xc0801466c0, 0xc08016f040)
- C:/Users/w/Desktop/wangch/go/src/github.com/lxn/walk/form.go:237 +0xc7
- main.main()
- C:/Users/w/Desktop/wangch/go/src/w/ttpanel/main.go:114 +0xc7f
- goroutine 2 [syscall]:
- goroutine 4 [chan receive]:
- main.func·019()
- C:/Users/w/Desktop/wangch/go/src/w/ttpanel/lmax.go:163 +0x59
- created by main.(*LmaxTradingApi).Login
- C:/Users/w/Desktop/wangch/go/src/w/ttpanel/lmax.go:169 +0x14c
- goroutine 5 [sleep]:
- time.Sleep(0x186a0)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/runtime/ztime_windows_amd64.c:19 +0x32
- main.func·023()
- C:/Users/w/Desktop/wangch/go/src/w/ttpanel/lmax.go:198 +0x247
- created by main.(*LmaxTradingApi).Login
- C:/Users/w/Desktop/wangch/go/src/w/ttpanel/lmax.go:213 +0x302
- goroutine 6 [select]:
- net.(*ioSrv).ExecIO(0xc080379c20, 0xc08037e840, 0xc080793d20, 0x0, 0x0, ...)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/net/fd_windows.go:236 +0x750
- net.(*netFD).Read(0xc08039a000, 0xc08023a000, 0x800, 0x800, 0x0, ...)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/net/fd_windows.go:498 +0x181
- net.(*conn).Read(0xc080376ab0, 0xc08023a000, 0x800, 0x800, 0xad8968, ...)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/net/net.go:123 +0xc6
- crypto/tls.(*block).readFromUntil(0xc080426090, 0xc0803a6030, 0xc080376ab0, 0x5, 0xc080376ab0, ...)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/crypto/tls/conn.go:401 +0xc0
- crypto/tls.(*Conn).readRecord(0xc0803a3000, 0x17, 0x0, 0x0)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/crypto/tls/conn.go:481 +0xfd
- crypto/tls.(*Conn).Read(0xc0803a3000, 0xc0803bf000, 0x1000, 0x1000, 0x0, ...)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/crypto/tls/conn.go:796 +0x105
- bufio.(*Reader).fill(0xc0803bac60)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/bufio/bufio.go:79 +0x10f
- bufio.(*Reader).ReadSlice(0xc0803bac60, 0xc080690d0a, 0x0, 0x0, 0x563912, ...)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/bufio/bufio.go:262 +0x205
- net/http.readLine(0xc0803bac60, 0x0, 0x0, 0xc0808662b1, 0x3, ...)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/net/http/chunked.go:91 +0x5a
- net/http.(*chunkedReader).beginChunk(0xc080369900)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/net/http/chunked.go:47 +0x2b
- net/http.(*chunkedReader).Read(0xc080369900, 0xc080504000, 0x1000, 0x1000, 0x515716, ...)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/net/http/chunked.go:65 +0x92
- net/http.(*body).Read(0xc080387640, 0xc080504000, 0x1000, 0x1000, 0x0, ...)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/net/http/transfer.go:535 +0x97
- bufio.(*Reader).fill(0xc080399ea0)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/bufio/bufio.go:79 +0x10f
- bufio.(*Reader).ReadByte(0xc080399ea0, 0x5, 0x0, 0x0)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/bufio/bufio.go:171 +0x80
- compress/flate.(*decompressor).moreBits(0xc0803cd000, 0x0, 0x0)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/compress/flate/inflate.go:609 +0x33
- compress/flate.(*decompressor).nextBlock(0xc0803cd000)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/compress/flate/inflate.go:223 +0xb1
- compress/flate.(*decompressor).Read(0xc0803cd000, 0xc080382800, 0x2800, 0x2800, 0x0, ...)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/compress/flate/inflate.go:264 +0x1a4
- compress/gzip.(*Reader).Read(0xc0803ca2c0, 0xc080382800, 0x2800, 0x2800, 0x100000000, ...)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/compress/gzip/gunzip.go:207 +0xee
- net/http.(*readerAndCloser).Read(0xc080402f80, 0xc080382800, 0x2800, 0x2800, 0x44b557, ...)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/net/http/chunked.go:0 +0x65
- net/http.(*bodyEOFSignal).Read(0xc080387680, 0xc080382800, 0x2800, 0x2800, 0x0, ...)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/net/http/transport.go:967 +0x19a
- lmaxapi.(*Session).processStreamResponse(0xc080363300, 0x0, 0x0)
- C:/Users/w/Desktop/wangch/go/src/lmaxapi/Session.go:207 +0x143
- lmaxapi.(*Session).Start(0xc080363300, 0xc080369f60, 0xc0803b06a0)
- C:/Users/w/Desktop/wangch/go/src/lmaxapi/Session.go:187 +0x59d
- main.func·025()
- C:/Users/w/Desktop/wangch/go/src/w/ttpanel/lmax.go:263 +0xca7
- created by main.(*LmaxTradingApi).Login
- C:/Users/w/Desktop/wangch/go/src/w/ttpanel/lmax.go:265 +0x373
- goroutine 12 [chan receive]:
- lmaxapi.func·005()
- C:/Users/w/Desktop/wangch/go/src/lmaxapi/Session.go:281 +0x12d
- created by lmaxapi.(*Session).HeartbeatTimeout
- C:/Users/w/Desktop/wangch/go/src/lmaxapi/Session.go:297 +0x1ba
- goroutine 9 [syscall]:
- syscall.Syscall6(0x778aa4d0, 0x5, 0x8a0, 0xc080370e00, 0xc080376a98, ...)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/runtime/zsyscall_windows_windows_amd64.c:97 +0x55
- syscall.GetQueuedCompletionStatus(0x8a0, 0xc080370e00, 0xc080376a98, 0xc080376a90, 0xffffffff, ...)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/syscall/zsyscall_windows_amd64.go:507 +0x9f
- net.(*resultSrv).Run(0xc080376b10)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/net/fd_windows.go:150 +0x151
- created by net.startServer
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/net/fd_windows.go:285 +0x10f
- goroutine 10 [chan receive]:
- net/http.(*persistConn).readLoop(0xc08039f000)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/net/http/transport.go:761 +0x64e
- created by net/http.(*Transport).dialConn
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/net/http/transport.go:511 +0x577
- goroutine 11 [select]:
- net/http.(*persistConn).writeLoop(0xc08039f000)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/net/http/transport.go:774 +0x272
- created by net/http.(*Transport).dialConn
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/net/http/transport.go:512 +0x58e
- goroutine 15 [select]:
- net.(*ioSrv).ExecIO(0xc080379c20, 0xc08037e840, 0xc080487460, 0x0, 0x0, ...)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/net/fd_windows.go:236 +0x750
- net.(*netFD).Read(0xc0803740c0, 0xc080422c00, 0x400, 0x400, 0x0, ...)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/net/fd_windows.go:498 +0x181
- net.(*conn).Read(0xc0803c7478, 0xc080422c00, 0x400, 0x400, 0xc0804e210d, ...)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/net/net.go:123 +0xc6
- crypto/tls.(*block).readFromUntil(0xc0806e6900, 0xc0803a6030, 0xc0803c7478, 0x5, 0xc0803c7478, ...)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/crypto/tls/conn.go:401 +0xc0
- crypto/tls.(*Conn).readRecord(0xc0803a3280, 0x17, 0x0, 0x44e583)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/crypto/tls/conn.go:481 +0xfd
- crypto/tls.(*Conn).Read(0xc0803a3280, 0xc080377000, 0x1000, 0x1000, 0x0, ...)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/crypto/tls/conn.go:796 +0x105
- bufio.(*Reader).fill(0xc0806ebae0)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/bufio/bufio.go:79 +0x10f
- bufio.(*Reader).Peek(0xc0806ebae0, 0x1, 0x0, 0x0, 0x0, ...)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/bufio/bufio.go:107 +0xcc
- net/http.(*persistConn).readLoop(0xc0806ae200)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/net/http/transport.go:670 +0xc7
- created by net/http.(*Transport).dialConn
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/net/http/transport.go:511 +0x577
- goroutine 16 [select]:
- net/http.(*persistConn).writeLoop(0xc0806ae200)
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/net/http/transport.go:774 +0x272
- created by net/http.(*Transport).dialConn
- C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/net/http/transport.go:512 +0x58e
- D:\dev\ea_sign\svnhttps\goctp\bin>D:\dev\ea_sign\svnhttps\goctp\bin
|