Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nil pointer dereference on startup #122

Closed
mpldr opened this issue Dec 7, 2019 · 3 comments
Closed

Nil pointer dereference on startup #122

mpldr opened this issue Dec 7, 2019 · 3 comments
Labels

Comments

@mpldr
Copy link

mpldr commented Dec 7, 2019

Terminal Emulator: Alacritty
Version: 93ed7dd

Error Message:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8a9d3f]
goroutine 88 [running]:
github.com/ambientsound/pms/index.(*Index).IndexFull(0x0, 0xfc4c38, 0x0, 0x0, 0xc000476070, 0x0, 0x0)
    /tmp/pms/index/index.go:175 +0xdf
github.com/ambientsound/pms/songlist.(*Library).ReIndex.func1(0xc00016e360)
    tmp/pms/songlist/library.go:109 +0x7f
created by github.com/ambientsound/pms/songlist.(*Library).ReIndex
    /tmp/pms/songlist/library.go:107 +0x92

I reformatted it so it's easier readable. In the Terminal it's shifted all around.

Steps to reproduce:
execute pms in the terminal

@kimtore
Copy link
Owner

kimtore commented Dec 10, 2019

Closing as a duplicate of #66.

Sorry, this is a different issue altogether.

@kimtore
Copy link
Owner

kimtore commented Dec 26, 2019

Hi @poldi1405,

I am unable to reproduce this error so I added some debugging statements to try to diagnose your problem. Could you try running the latest master with the following command-line flags?

pms --debug=debug.log

Please include the log in the issue, then I can look into it.

@kimtore kimtore added the Bug label Jan 2, 2020
@ephemeralriggs
Copy link
Collaborator

Feedback timeout. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants