Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Running Debian Stretch 9.5

I believe I was looking through the structure list when this happened:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x2a pc=0x4e2f46]         
                          
goroutine 1 [running]:            
main.(*structure).active(...)                                                   
        /Users/mpatraw/Development/src/gitlab.com/gruebite/dimlit/structure.go:292
main.(*structure).hamper(0x0, 0xc4200b0200, 0x0)
        /Users/mpatraw/Development/src/gitlab.com/gruebite/dimlit/structure.go:349 +0x26
main.(*darkStorm).update(0xc42000a400, 0xc4200b0200)                             
        /Users/mpatraw/Development/src/gitlab.com/gruebite/dimlit/darkness.go:130 +0xd9
main.(*darkness).update(0xc4204183a0, 0xc4200b0200)                                    
        /Users/mpatraw/Development/src/gitlab.com/gruebite/dimlit/darkness.go:59 +0x1fa
main.(*world).update(0xc4200b0200)                                                     
        /Users/mpatraw/Development/src/gitlab.com/gruebite/dimlit/main.go:492 +0x737  
main.gameMain(0x0)                                                                  
        /Users/mpatraw/Development/src/gitlab.com/gruebite/dimlit/main.go:1418 +0x4e1
main.main()                                                                          
        /Users/mpatraw/Development/src/gitlab.com/gruebite/dimlit/main.go:1321 +0x489