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

qml frontend crash on closing file #490

Closed
pjoe opened this issue Jan 24, 2015 · 0 comments
Closed

qml frontend crash on closing file #490

pjoe opened this issue Jan 24, 2015 · 0 comments

Comments

@pjoe
Copy link
Contributor

pjoe commented Jan 24, 2015

Getting following crash when starting qml frontend and then closing a file (using menu):

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x90 pc=0x492eb8]

goroutine 1 [running, locked to thread]:
main.(*frontendView).RegionLines(0xc208195640, 0x0)
    /home/pelle/go/src/github.com/limetext/lime/frontend/qml/main.go:409 +0x128
reflect.Value.call(0x7dfe80, 0xc208195640, 0xd13, 0x80c1f0, 0x4, 0xc2084b1cc0, 0x0, 0xa, 0x0, 0x0, ...)
    /usr/lib/go/src/reflect/value.go:419 +0x10e5
reflect.Value.Call(0x7dfe80, 0xc208195640, 0xd13, 0xc2084b1cc0, 0x0, 0xa, 0x0, 0x0, 0x0)
    /usr/lib/go/src/reflect/value.go:296 +0xbc
gopkg.in/qml%2ev1.hookGoValueCallMethod(0x22ac3f0, 0xc2082bc1e0, 0x6, 0x7fffd1ab8050)
    /home/pelle/go/src/gopkg.in/qml.v1/bridge.go:515 +0x42e
gopkg.in/qml%2ev1._Cfunc_applicationExec()
    /home/pelle/go/src/gopkg.in/qml.v1/:59 +0x45
gopkg.in/qml%2ev1.Run(0xc20800af80, 0x0, 0x0)
    /home/pelle/go/src/gopkg.in/qml.v1/bridge.go:63 +0x204
main.main()
    /home/pelle/go/src/github.com/limetext/lime/frontend/qml/main.go:857 +0x192

FYI: running with Qt5.4 and go-qml with PR: go-qml/qml#140

erbridge added a commit that referenced this issue Jan 24, 2015
Fix #490 qml frontend crash on close file
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