GithubHelp home page GithubHelp logo

Comments (4)

MauriceGit avatar MauriceGit commented on June 1, 2024

Hi,
this doesn't really help me fix the issue ;)
I had the library running as key part of other projects of mine without it ever crashing or causing a panic. So if this might be an issue, I would very much like to fix it.

If possible pleas provide some example or input where a panic happens.

from skiplist.

TriAnMan avatar TriAnMan commented on June 1, 2024

Sorry, can't provide an input because I can't collect it nor provide a core dump in cause of NDA.
I can only provide you a panic message:

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x4f25b4]

goroutine 485 [running]:
github.com/MauriceGit/skiplist.(*SkipList).Insert(0xc004411340, 0x9b4a40, 0xc008cdc330)
	C:/Users/User/go/pkg/mod/github.com/!maurice!git/[email protected]/skiplist.go:353 +0x474

from skiplist.

MauriceGit avatar MauriceGit commented on June 1, 2024

No problem, I understand.

I figured out the problem (see last commit message if interested) and wrote a fix. The tests work and I'll test internally.
For now I close the issue, but please give it a try and report back if it works.

Thanks for the report :)

from skiplist.

TriAnMan avatar TriAnMan commented on June 1, 2024

Looks like now it's working. But I prefer to stay on sean-public/fast-skiplist.

from skiplist.

Related Issues (8)

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.