[root@auditbeat-testing auditbeat]# auditbeat -d '*'
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0xd pc=0x7f416d796568]
runtime stack:
runtime.throw(0x17e346f, 0x2a)
/usr/local/go/src/runtime/panic.go:616 +0x81
runtime.sigpanic()
/usr/local/go/src/runtime/signal_unix.go:372 +0x28e
goroutine 95 [syscall, locked to thread]:
runtime.cgocall(0x14bcd60, 0xc42056f598, 0xc400000000)
/usr/local/go/src/runtime/cgocall.go:128 +0x64 fp=0xc42056f568 sp=0xc42056f530 pc=0xa096c4
github.com/elastic/beats/x-pack/auditbeat/module/system/package._Cfunc_my_rpmReadConfigFiles(0x7f416e7cb1b0, 0x7f4100000000)
_cgo_gotypes.go:147 +0x49 fp=0xc42056f598 sp=0xc42056f568 pc=0x144c209
github.com/elastic/beats/x-pack/auditbeat/module/system/package.listRPMPackages.func4(0x7f416e7cb1b0, 0x18153c8)
/go/src/github.com/elastic/beats/x-pack/auditbeat/module/system/package/rpm_linux.go:292 +0x56 fp=0xc42056f5d0 sp=0xc42056f598 pc=0x144de26
github.com/elastic/beats/x-pack/auditbeat/module/system/package.listRPMPackages(0x0, 0x0, 0x0, 0x0, 0x0)
/go/src/github.com/elastic/beats/x-pack/auditbeat/module/system/package/rpm_linux.go:292 +0x106 fp=0xc42056f670 sp=0xc42056f5d0 pc=0x144d036
github.com/elastic/beats/x-pack/auditbeat/module/system/package.getPackages(0x17b8772, 0x6, 0x0, 0x21a9ea8, 0x0, 0x0, 0x0)
/go/src/github.com/elastic/beats/x-pack/auditbeat/module/system/package/package.go:475 +0x16b fp=0xc42056f700 sp=0xc42056f670 pc=0x1449f9b
github.com/elastic/beats/x-pack/auditbeat/module/system/package.(*MetricSet).reportChanges(0xc4200ee000, 0x7f417ebc7d48, 0xc4206b0540, 0x79b09d984b, 0xa1551d)
/go/src/github.com/elastic/beats/x-pack/auditbeat/module/system/package/package.go:318 +0x56 fp=0xc42056faa8 sp=0xc42056f700 pc=0x14487f6
github.com/elastic/beats/x-pack/auditbeat/module/system/package.(*MetricSet).Fetch(0xc4200ee000, 0x7f417ebc7d48, 0xc4206b0540)
/go/src/github.com/elastic/beats/x-pack/auditbeat/module/system/package/package.go:273 +0x320 fp=0xc42056fb78 sp=0xc42056faa8 pc=0x1448130
github.com/elastic/beats/metricbeat/mb/module.(*metricSetWrapper).fetch(0xc420467c80, 0x18a9e00, 0xc4206b0540)
/go/src/github.com/elastic/beats/metricbeat/mb/module/wrapper.go:238 +0x2ac fp=0xc42056fc18 sp=0xc42056fb78 pc=0x13ed9dc
github.com/elastic/beats/metricbeat/mb/module.(*metricSetWrapper).startPeriodicFetching(0xc420467c80, 0x18a9e00, 0xc4206b0540)
/go/src/github.com/elastic/beats/metricbeat/mb/module/wrapper.go:219 +0x117 fp=0xc42056fd88 sp=0xc42056fc18 pc=0x13ed5f7
github.com/elastic/beats/metricbeat/mb/module.(*metricSetWrapper).run(0xc420467c80, 0xc4202a55c0, 0xc42051b1a0)
/go/src/github.com/elastic/beats/metricbeat/mb/module/wrapper.go:196 +0x5ca fp=0xc42056ff58 sp=0xc42056fd88 pc=0x13ed0ea
github.com/elastic/beats/metricbeat/mb/module.(*Wrapper).Start.func1(0xc4205fd520, 0xc4202a55c0, 0xc42051b1a0, 0xc420467c80)
/go/src/github.com/elastic/beats/metricbeat/mb/module/wrapper.go:137 +0x249 fp=0xc42056ffc0 sp=0xc42056ff58 pc=0x13efd39
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2361 +0x1 fp=0xc42056ffc8 sp=0xc42056ffc0 pc=0xa62d41
created by github.com/elastic/beats/metricbeat/mb/module.(*Wrapper).Start
/go/src/github.com/elastic/beats/metricbeat/mb/module/wrapper.go:125 +0x145
goroutine 1 [semacquire, 4 minutes]:
sync.runtime_Semacquire(0xc4205fd21c)
/usr/local/go/src/runtime/sema.go:56 +0x39
sync.(*WaitGroup).Wait(0xc4205fd210)
/usr/local/go/src/sync/waitgroup.go:129 +0x72
github.com/elastic/beats/metricbeat/beater.(*Metricbeat).Run(0xc420132690, 0xc4204b4480, 0xc420138360, 0x1)
/go/src/github.com/elastic/beats/metricbeat/beater/metricbeat.go:251 +0x3c8
github.com/elastic/beats/libbeat/cmd/instance.(*Beat).launch(0xc4204b4480, 0x17bbd2b, 0x9, 0x17bbd2b, 0x9, 0x0, 0x0, 0x0, 0x0, 0xc4200c20f0, ...)
/go/src/github.com/elastic/beats/libbeat/cmd/instance/beat.go:412 +0x4f6
github.com/elastic/beats/libbeat/cmd/instance.Run.func1(0x17bbd2b, 0x9, 0x17bbd2b, 0x9, 0x0, 0x0, 0x17bbd2b, 0x9, 0x17bbd2b, 0x9, ...)
/go/src/github.com/elastic/beats/libbeat/cmd/instance/beat.go:183 +0x611
github.com/elastic/beats/libbeat/cmd/instance.Run(0x17bbd2b, 0x9, 0x17bbd2b, 0x9, 0x0, 0x0, 0x0, 0x0, 0xc4200c20f0, 0x0, ...)
/go/src/github.com/elastic/beats/libbeat/cmd/instance/beat.go:184 +0xbe
github.com/elastic/beats/libbeat/cmd.genRunCmd.func1(0xc4203dc000, 0xc4203dfc20, 0x0, 0xa)
/go/src/github.com/elastic/beats/libbeat/cmd/run.go:37 +0x4f
github.com/elastic/beats/vendor/github.com/spf13/cobra.(*Command).execute(0xc4203dc000, 0xc42003a0c0, 0xa, 0xa, 0xc4203dc000, 0xc42003a0c0)
/go/src/github.com/elastic/beats/vendor/github.com/spf13/cobra/command.go:704 +0x2c6
github.com/elastic/beats/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc4203dc000, 0x0, 0x1813898, 0x0)
/go/src/github.com/elastic/beats/vendor/github.com/spf13/cobra/command.go:785 +0x2e4
github.com/elastic/beats/vendor/github.com/spf13/cobra.(*Command).Execute(0xc4203dc000, 0xc42023df78, 0xc420092058)
/go/src/github.com/elastic/beats/vendor/github.com/spf13/cobra/command.go:738 +0x2b
main.main()
/go/src/github.com/elastic/beats/x-pack/auditbeat/main.go:21 +0x2f