Skip to content

Upgrading to v0.111.17 introduces a runtime error #491

Closed
@bka9

Description

When I upgraded to the latest version(v0.111.17) I am getting a runtime error

signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    | panic: runtime error: invalid memory address or nil pointer dereference
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    | [signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x648e448]
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    |
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    | goroutine 32 [running]:
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    | github.com/SigNoz/signoz-otel-collector/exporter/clickhousemetricsexporterv2.NewClickHouseExporter({0xc002abea68, 0x4, 0x0?})
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    |        /home/runner/work/signoz-otel-collector/signoz-otel-collector/exporter/clickhousemetricsexporterv2/exporter.go:205 +0x448
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    | github.com/SigNoz/signoz-otel-collector/exporter/clickhousemetricsexporterv2.createMetricsExporter({0x953af20, 0xf246880}, {{{{0xc0029b7a58, 0x18}}, {0x0, 0x0}}, {0xc002d94300, {0x94fafc8, 0xc002cf43f0}, {0x94e1e90, ...}, ...}, ...}, ...)
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    |        /home/runner/work/signoz-otel-collector/signoz-otel-collector/exporter/clickhousemetricsexporterv2/factory.go:46 +0x25d
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    | go.opentelemetry.io/collector/exporter.CreateMetricsFunc.CreateMetricsExporter(...)
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    |        /home/runner/go/pkg/mod/go.opentelemetry.io/collector/exporter@v0.111.0/exporter.go:112
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    | go.opentelemetry.io/collector/service/internal/builders.(*ExporterBuilder).CreateMetrics(0xc002d265f0, {0x953af20, 0xf246880}, {{{{0xc0029b7a58, 0x18}}, {0x0, 0x0}}, {0xc002d94300, {0x94fafc8, 0xc002cf43f0}, ...}, ...})
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    |        /home/runner/go/pkg/mod/go.opentelemetry.io/collector/service@v0.111.0/internal/builders/exporter.go:57 +0x13d
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    | go.opentelemetry.io/collector/service/internal/graph.(*exporterNode).buildComponent(0xc002d8c5f0, {0x953af20, 0xf246880}, {0xc002d94300, {0x94fafc8, 0xc002cf43f0}, {0x94e1e90, 0xc002d88e10}, 0xc002d72560, 0x1, ...}, ...)
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    |        /home/runner/go/pkg/mod/go.opentelemetry.io/collector/service@v0.111.0/internal/graph/exporter.go:56 +0x439
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    | go.opentelemetry.io/collector/service/internal/graph.(*Graph).buildComponents(0xc002d850e0, {0x953af20, 0xf246880}, {{0xc002b91d80, {0x94fafc8, 0xc002cf43f0}, {0x94e1e90, 0xc002d88e10}, 0xc002d72560, 0x1, ...}, ...})
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    |        /home/runner/go/pkg/mod/go.opentelemetry.io/collector/service@v0.111.0/internal/graph/graph.go:296 +0x2ce
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    | go.opentelemetry.io/collector/service/internal/graph.Build({0x953af20, 0xf246880}, {{0xc002b91d80, {0x94fafc8, 0xc002cf43f0}, {0x94e1e90, 0xc002d88e10}, 0xc002d72560, 0x1, {0xc002d721c0, ...}}, ...})
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    |        /home/runner/go/pkg/mod/go.opentelemetry.io/collector/service@v0.111.0/internal/graph/graph.go:90 +0x451
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    | go.opentelemetry.io/collector/service.(*Service).initGraph(_, {_, _}, {{{0x0, 0x0, {0x87585f7, 0x7}, 0x0, 0x0, 0xc0029f0f20, ...}, ...}, ...})
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    |        /home/runner/go/pkg/mod/go.opentelemetry.io/collector/service@v0.111.0/service.go:317 +0x268
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    | go.opentelemetry.io/collector/service.New({_, _}, {{{0x7fff2a4b6e08, 0x11}, {0x8821e89, 0x1e}, {0x874ba99, 0x3}}, 0xc002baced0, 0xc002a8d3e0, ...}, ...)
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    |        /home/runner/go/pkg/mod/go.opentelemetry.io/collector/service@v0.111.0/service.go:165 +0xb6b
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    | go.opentelemetry.io/collector/otelcol.(*Collector).setupConfigurationComponents(0xc002877680, {0x953af20, 0xf246880})
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    |        /home/runner/go/pkg/mod/go.opentelemetry.io/collector/otelcol@v0.111.0/collector.go:183 +0x588
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    | go.opentelemetry.io/collector/otelcol.(*Collector).Run(0xc002877680, {0x953af20, 0xf246880})
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    |        /home/runner/go/pkg/mod/go.opentelemetry.io/collector/otelcol@v0.111.0/collector.go:282 +0x55
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    | github.com/SigNoz/signoz-otel-collector/signozcol.(*WrappedCollector).Run.func1()
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    |        /home/runner/work/signoz-otel-collector/signoz-otel-collector/signozcol/collector.go:104 +0xb0
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    | created by github.com/SigNoz/signoz-otel-collector/signozcol.(*WrappedCollector).Run in goroutine 67
signoz_otel-collector.1.yrz1lc1eqg3i@seis-signoz-02    |        /home/runner/work/signoz-otel-collector/signoz-otel-collector/signozcol/collector.go:101 +0x48f

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions