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

ediffdat does not work anymore, hard crash #144

Closed
edc71 opened this issue Nov 14, 2018 · 0 comments
Closed

ediffdat does not work anymore, hard crash #144

edc71 opened this issue Nov 14, 2018 · 0 comments

Comments

@edc71
Copy link

edc71 commented Nov 14, 2018

when running ediff it reads the old dats and then crashes

command used: ediffdat -old=/home/ed/romba/romba_ediff -new=/home/ed/romba/dats -out=home/ed/romba/new_dats

error reported:

I1114 12:33:15.276106 2729 diffdat.go:352] service starting ediffdat
I1114 12:33:15.276531 2729 diffdat.go:222] ediffdat new dat /home/ed/romba/dats and old dat /home/ed/romba/romba_ediff into home/ed/romba/new_dats
I1114 12:33:15.277068 2729 diffdat.go:322] starting progress broadcaster
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x7f4934]

goroutine 55 [running]:
github.com/uwedeportivo/romba/service.(*dedupParseListener).ParsedGameStmt(0xc000280900, 0xc000188770, 0xc000188770, 0xc0000c18f0)
/home/ed/go/src/github.com/uwedeportivo/romba/service/diffdat.go:181 +0xf4
github.com/uwedeportivo/romba/parser.ParseXmlWithListener(0x9b20c0, 0xc00017a670, 0xc0001d5810, 0x48, 0x9b3de0, 0xc000280900, 0x76ede1, 0xc0000c1a30, 0x410e08, 0x20, ...)
/home/ed/go/src/github.com/uwedeportivo/romba/parser/parse.go:722 +0x442
github.com/uwedeportivo/romba/parser.ParseWithListener(0xc0001d5810, 0x48, 0x9b3de0, 0xc000280900, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ed/go/src/github.com/uwedeportivo/romba/parser/parse.go:543 +0x12d
github.com/uwedeportivo/romba/service.(*RombaService).ediffdatWork.func2(0xc0001d5810, 0x48, 0x9b7ea0, 0xc00017fe10, 0x0, 0x0, 0x22, 0xc0000c1bf8)
/home/ed/go/src/github.com/uwedeportivo/romba/service/diffdat.go:265 +0x153
path/filepath.walk(0xc0001d5810, 0x48, 0x9b7ea0, 0xc00017fe10, 0xc000326580, 0x0, 0x0)
/usr/local/go/src/path/filepath/path.go:358 +0x41c
path/filepath.walk(0xc00026b1d0, 0x25, 0x9b7ea0, 0xc00017fd40, 0xc000326580, 0x0, 0x0)
/usr/local/go/src/path/filepath/path.go:382 +0x2fe
path/filepath.walk(0xc000026560, 0x13, 0x9b7ea0, 0xc00017e000, 0xc000326580, 0x0, 0x20)
/usr/local/go/src/path/filepath/path.go:382 +0x2fe
path/filepath.Walk(0xc000026560, 0x13, 0xc000326580, 0x0, 0x0)
/usr/local/go/src/path/filepath/path.go:404 +0x105
github.com/uwedeportivo/romba/service.(*RombaService).ediffdatWork(0xc00017c400, 0xc0001857a0, 0xc0001886f0, 0x0, 0x0, 0x0, 0x0)
/home/ed/go/src/github.com/uwedeportivo/romba/service/diffdat.go:254 +0x546
github.com/uwedeportivo/romba/service.(*RombaService).ediffdat.func1(0xc00017c400, 0xc0001857a0, 0xc0001886f0, 0x0, 0x0)
/home/ed/go/src/github.com/uwedeportivo/romba/service/diffdat.go:334 +0xce
created by github.com/uwedeportivo/romba/service.(*RombaService).ediffdat
/home/ed/go/src/github.com/uwedeportivo/romba/service/diffdat.go:318 +0x124

versions tested: 161 and 170

@edc71 edc71 closed this as completed Nov 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant