Code Monkey home page Code Monkey logo

Comments (12)

lapo-luchini avatar lapo-luchini commented on June 14, 2024 2

Yeah sorry, it seems it never happened again.

from dnsbl_exporter.

till avatar till commented on June 14, 2024 1

@lapo-luchini again, sorry for the delay. I made a branch and hopefully included a fix, not sure if you want/can test: #119

I will merge it later and release a new version. If you happen to run into other issues, please run the process with --log.debug. It should help me catch what the problem is. My guess here is that some kind of (temporary?) failure in DNS resolution or record lookup made it crash.

from dnsbl_exporter.

lapo-luchini avatar lapo-luchini commented on June 14, 2024 1

I'm testing 9088e8b, thanks!

Will report if I find bugs (or it crashes again).

from dnsbl_exporter.

lapo-luchini avatar lapo-luchini commented on June 14, 2024 1

Whops, sorry, you said to try the branch and I was trying head… switching now to this:

% git checkout origin/fix-nil-pointer
% git describe
v0.6.0-alpha3
% dist/dnsbl_exporter_freebsd_amd64/dnsbl-exporter --log.debug

from dnsbl_exporter.

till avatar till commented on June 14, 2024

Can you share your config?

from dnsbl_exporter.

lapo-luchini avatar lapo-luchini commented on June 14, 2024

I used the full file from matteocorti as rbls.ini and I have two servers in my targets.ini.

from dnsbl_exporter.

till avatar till commented on June 14, 2024

@lapo-luchini looking at this again too. I am assuming the crash still happens. I'll see if I can re-do the code and make it more easier to handle failures.

from dnsbl_exporter.

till avatar till commented on June 14, 2024

https://github.com/Luzilla/dnsbl_exporter/releases/tag/v0.6.0-alpha1

from dnsbl_exporter.

lapo-luchini avatar lapo-luchini commented on June 14, 2024

Happened again (after quite a few straight days of running):

ERRO[430346]
ERRO[431246]
ERRO[431846]
ERRO[432147]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x465473]

goroutine 257028 [running]:
github.com/Luzilla/dnsbl_exporter/collector.(*Rbl).lookup(0xc0001f76e0, {0xc00002a5d0, 0x12}, {0xc0000293d0, 0xc})
        /home/andxor/dnsbl_exporter/collector/rbl.go:163 +0x36f
github.com/Luzilla/dnsbl_exporter/collector.(*Rbl).Update.func1({0xc00002a5d0, 0x12}, {0xc0000293d0, 0xc})
        /home/andxor/dnsbl_exporter/collector/rbl.go:181 +0x12f
created by github.com/Luzilla/dnsbl_exporter/collector.(*Rbl).Update
        /home/andxor/dnsbl_exporter/collector/rbl.go:176 +0x18a
% git describe
0.5.0-53-g9088e8b

from dnsbl_exporter.

till avatar till commented on June 14, 2024

@lapo-luchini Appreciate the persistence! 💪

from dnsbl_exporter.

till avatar till commented on June 14, 2024

@lapo-luchini Hope no news is good news? 😅

from dnsbl_exporter.

till avatar till commented on June 14, 2024

Yeah sorry, it seems it never happened again.

Thank you!

from dnsbl_exporter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.