Juniper / jtimon

Junos Telemetry Interface (JTI) client
Apache License 2.0
31 stars 10 forks source link

panic: runtime error: invalid memory address or nil pointer dereference when --stats-handler knob is used #44

Closed penieljacobpaulg closed 3 weeks ago

penieljacobpaulg commented 4 months ago

csim@google-topo3-jti3:~/B2_2024$ ./jtimon_new --stats-handler --config csv.json --no-per-packet-goroutines --max-run 3600 2024/07/11 01:47:14 Version: v2.0.4-dd154db63bf693ef5ade1fe3355b74be726da463-eos_internal BuildTime 2024-07-03T12:10:35-0700 panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x48 pc=0x532ffe]

goroutine 19 [running]: log.(*Logger).Printf(0xcb84c2?, {0xc0003cc400?, 0xc0002157f8?}, {0x0?, 0x9?, 0x0?}) /usr/local/go/src/log/log.go:201 +0x1e main.getGPRCDialOptions(0xc000100800, 0xc000132450) /Users/amohit/go/src/jtimon/grpc.go:53 +0x2f5 main.work(0xc000100800, 0xc0003ce060?) /Users/amohit/go/src/jtimon/workers.go:689 +0x294 created by main.NewJWorker.func1 /Users/amohit/go/src/jtimon/workers.go:354 +0x54a

penieljacobpaulg commented 4 months ago

@amohit1315, please check it

amohit1315 commented 3 weeks ago

Duplicate: #51