We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Running your iqfeed_example yields the following under Win 10:
C:\Users\lewpa\go\src\github.com\Nitecon\iqfeed_example>go run main.go System: &iqfeed.SystemMessage{Customer:iqfeed.CustomerData{ServiceType:"", IP:"", Port:0, Token:"", Version:"", Deprecated1:0, VerboseExchanges:"", Deprecated2:"", MaxSymbols:0, Flags:"", Deprecated3:"", Deprecated4:""}, Stats:iqfeed.SystemStats{ServerIP:"", ServerPort:0, MaxSymbols:0, NumberOfSymbols:0, ClientsConnected:0, SecondsSinceLastUpdate:0, Reconnections:0, AttemptedReconnections:0, StartTime:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, MarketTime:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, Status:"", IQFeedVersion:"", LoginID:"", TotalKBsRecv:0, KBsPerSecRecv:0, AvgKBsPerSecRecv:0, TotalKBsSent:0, KBsPerSecSent:0, AvgKBsPerSecSent:0}} System: &iqfeed.SystemMessage{Customer:iqfeed.CustomerData{ServiceType:"", IP:"", Port:0, Token:"", Version:"", Deprecated1:0, VerboseExchanges:"", Deprecated2:"", MaxSymbols:0, Flags:"", Deprecated3:"", Deprecated4:""}, Stats:iqfeed.SystemStats{ServerIP:"", ServerPort:0, MaxSymbols:0, NumberOfSymbols:0, ClientsConnected:0, SecondsSinceLastUpdate:0, Reconnections:0, AttemptedReconnections:0, StartTime:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, MarketTime:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, Status:"", IQFeedVersion:"", LoginID:"", TotalKBsRecv:0, KBsPerSecRecv:0, AvgKBsPerSecRecv:0, TotalKBsSent:0, KBsPerSecSent:0, AvgKBsPerSecSent:0}} System: &iqfeed.SystemMessage{Customer:iqfeed.CustomerData{ServiceType:"", IP:"", Port:0, Token:"", Version:"", Deprecated1:0, VerboseExchanges:"", Deprecated2:"", MaxSymbols:0, Flags:"", Deprecated3:"", Deprecated4:""}, Stats:iqfeed.SystemStats{ServerIP:"", ServerPort:0, MaxSymbols:0, NumberOfSymbols:0, ClientsConnected:0, SecondsSinceLastUpdate:0, Reconnections:0, AttemptedReconnections:0, StartTime:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, MarketTime:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, Status:"", IQFeedVersion:"", LoginID:"", TotalKBsRecv:0, KBsPerSecRecv:0, AvgKBsPerSecRecv:0, TotalKBsSent:0, KBsPerSecSent:0, AvgKBsPerSecSent:0}} System: &iqfeed.SystemMessage{Customer:iqfeed.CustomerData{ServiceType:"", IP:"", Port:0, Token:"", Version:"", Deprecated1:0, VerboseExchanges:"", Deprecated2:"", MaxSymbols:0, Flags:"", Deprecated3:"", Deprecated4:""}, Stats:iqfeed.SystemStats{ServerIP:"", ServerPort:0, MaxSymbols:0, NumberOfSymbols:0, ClientsConnected:0, SecondsSinceLastUpdate:0, Reconnections:0, AttemptedReconnections:0, StartTime:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, MarketTime:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, Status:"", IQFeedVersion:"", LoginID:"", TotalKBsRecv:0, KBsPerSecRecv:0, AvgKBsPerSecRecv:0, TotalKBsSent:0, KBsPerSecSent:0, AvgKBsPerSecSent:0}} System: &iqfeed.SystemMessage{Customer:iqfeed.CustomerData{ServiceType:"", IP:"", Port:0, Token:"", Version:"", Deprecated1:0, VerboseExchanges:"", Deprecated2:"", MaxSymbols:0, Flags:"", Deprecated3:"", Deprecated4:""}, Stats:iqfeed.SystemStats{ServerIP:"", ServerPort:0, MaxSymbols:0, NumberOfSymbols:0, ClientsConnected:0, SecondsSinceLastUpdate:0, Reconnections:0, AttemptedReconnections:0, StartTime:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, MarketTime:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, Status:"", IQFeedVersion:"", LoginID:"", TotalKBsRecv:0, KBsPerSecRecv:0, AvgKBsPerSecRecv:0, TotalKBsSent:0, KBsPerSecSent:0, AvgKBsPerSecSent:0}} panic: runtime error: slice bounds out of range
goroutine 20 [running]: github.com/Nitecon/iqfeed.(*IQC).processReceiver(0xc00008c000, 0xc0000b2978, 0x0, 0x688) C:/Users/lewpa/go/src/github.com/Nitecon/iqfeed/iqfeed.go:141 +0x32f github.com/Nitecon/iqfeed.(*IQC).read(0xc00008c000) C:/Users/lewpa/go/src/github.com/Nitecon/iqfeed/iqfeed.go:181 +0x1a6 created by github.com/Nitecon/iqfeed.(*IQC).Start C:/Users/lewpa/go/src/github.com/Nitecon/iqfeed/iqfeed.go:268 +0x1d0 exit status 2
The text was updated successfully, but these errors were encountered:
Can you take a look if the latest PR fixed this issue?
Sorry, something went wrong.
I've been working with Federico. I tested this morning and can confirm his patch fixed the problem.
Thanks @lewpayne and happy holidays!
No branches or pull requests
Running your iqfeed_example yields the following under Win 10:
The text was updated successfully, but these errors were encountered: