I'm trying to get my head around a panic stack trace from a user
report[1].

The parameter value make very little sense to me based on what they
should be from following the program logic. For example the {0x0?, 0x0,
0x1?} (a slice header len=0) in

github.com/elastic/beats/v7/winlogbeat/sys/wineventlog.evtFormatMessage(0xc0003f62d0?,
 0x23?, 0x0?, {0x0?, 0x0, 0x1?}, 0x1?)
        
github.com/elastic/beats/v7/winlogbeat/sys/wineventlog/format_message.go:81 
+0xa5 fp=0xc00034ae88 sp=0xc00034ad98 pc=0x176f645

means that (from program logic) the 4th (length) and 5th (pointer)
parameters in 

github.com/elastic/beats/v7/winlogbeat/sys/wineventlog._EvtFormatMessage(0x23?, 
0x3600700?, 0x0, 0x0, 0xc000d5e978?, 0x1, 0x0, 0x0?, 0x0?)
        
github.com/elastic/beats/v7/winlogbeat/sys/wineventlog/zsyscall_windows.go:132 
+0xf2 fp=0xc00034ad98 sp=0xc00034acf0 pc=0x177f152

should be 0 and 0 AFAICS. But this is not the case; the 5th is 
0xc000d5e978?.

What am I failing to understand here?

thanks
Dan

[1]https://discuss.elastic.co/t/winlogbeat-unable-to-start-due-to-error/343190

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/5a004367451c0450661efa5ba814230cb9a52a2c.camel%40kortschak.io.

Reply via email to