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

cgo result has Go pointer #177

Closed
Naruto0 opened this issue Jul 16, 2016 · 0 comments
Closed

cgo result has Go pointer #177

Naruto0 opened this issue Jul 16, 2016 · 0 comments

Comments

@Naruto0
Copy link

Naruto0 commented Jul 16, 2016

After two hours of finally building all in the box, on running main i have this error.

Xubuntu 16.04, (i changed my home/user/gofolder structure for $GOPATH

`[07/17/16 00:23:39] [INFO] Initializing
[07/17/16 00:23:39] [DEBG] OnInit callbacks executing
[07/17/16 00:23:39] [DEBG] OnInit callbacks finished
[07/17/16 00:23:39] [DEBG] Scanning ../packages for packages
[07/17/16 00:23:39] [DEBG] Loading package ASP
[07/17/16 00:23:39] [DEBG] Loading package ActionScript
[07/17/16 00:23:39] [DEBG] Loading package AppleScript
[07/17/16 00:23:39] [DEBG] Loading package Batch File
[07/17/16 00:23:39] [DEBG] Loading package C#
[07/17/16 00:23:39] [DEBG] Loading package C++
[07/17/16 00:23:39] [DEBG] Loading package CSS
[07/17/16 00:23:39] [DEBG] Loading plugin CSS.css_completions
[07/17/16 00:23:39] [INFO] Python sez: Loading plugin CSS.css_completions
[07/17/16 00:23:39] [DEBG] Loading package Clojure
[07/17/16 00:23:39] [DEBG] Loading package D
[07/17/16 00:23:39] [DEBG] Loading package Default
[07/17/16 00:23:39] [DEBG] Loading plugin Default.history_list
[07/17/16 00:23:39] [INFO] Python sez: Loading plugin Default.history_list
[07/17/16 00:23:39] [DEBG] Loading package Diff
[07/17/16 00:23:39] [DEBG] Loading plugin Diff.diff
[07/17/16 00:23:39] [INFO] Python sez: Loading plugin Diff.diff
panic: runtime error: cgo result has Go pointer

goroutine 16 [running]:
panic(0x835180, 0xc8203862e0)
/usr/lib/go-1.6/src/runtime/panic.go:481 +0x3e6
github.com/limetext/gopy/lib._cgoexpwrap_14798609a186_goGenericAlloc.func1(0xc8204e8f80)
??:0 +0x3a
github.com/limetext/gopy/lib._cgoexpwrap_14798609a186_goGenericAlloc(0x2a1e420, 0x0, 0xc82015b480)
??:0 +0x6f
github.com/limetext/gopy/lib._Cfunc_typeAlloc(0x2a1e420, 0x0, 0x0)
??:0 +0x42
github.com/limetext/gopy/lib.(_Type).Alloc(0x2a1e420, 0x0, 0x0, 0x0, 0x0, 0x0)
$GOPATH/src/github.com/limetext/gopy/lib/type.go:40 +0xd9
github.com/limetext/gopy/lib.goClassNew(0x2a1e420, 0x7fbaf7af2438, 0x0, 0x4b25e0)
$GOPATH/src/github.com/limetext/gopy/lib/class.go:449 +0x35d
github.com/limetext/gopy/lib._cgoexpwrap_14798609a186_goClassNew(0x2a1e420, 0x7fbaf7af2438, 0x0, 0x0)
??:0 +0x6e
github.com/limetext/gopy/lib._Cfunc_PyObject_CallObject(0x7fbaf6f79ea0, 0x7fbb0bfa9828, 0x0)
??:0 +0x42
github.com/limetext/gopy/lib.(_BaseObject).CallMethodObjArgs(0x7fbb0bfa5db8, 0x8ca9e0, 0xd, 0xc8204e9540, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
$GOPATH/src/github.com/limetext/gopy/lib/base.go:230 +0x6c7
github.com/limetext/sublime.(_plugin).Load(0xc8202e4c40)
$GOPATH/src/github.com/limetext/sublime/plugin.go:40 +0x469
github.com/limetext/sublime.(_pkg).loadPlugin(0xc82044a6e0, 0xc8202e4c20, 0x18)
$GOPATH/src/github.com/limetext/sublime/package.go:122 +0xcd
github.com/limetext/sublime.(_pkg).loadPlugins(0xc82044a6e0)
$GOPATH/src/github.com/limetext/sublime/package.go:115 +0x5f5
github.com/limetext/sublime.(_pkg).Load(0xc82044a6e0)
$GOPATH/src/github.com/limetext/sublime/package.go:86 +0x1ef
github.com/limetext/backend/packages.load(0x7fbaf6f11610, 0xc82044a6e0)
$GOPATH/src/github.com/limetext/backend/packages/package.go:109 +0x2b
github.com/limetext/backend/packages.Scan.func1(0xc82041cc00, 0x2f, 0x40)
$GOPATH/src/github.com/limetext/backend/packages/package.go:83 +0x82
github.com/limetext/backend/packages.Scan(0x8c0410, 0xb)
$GOPATH/src/github.com/limetext/backend/packages/package.go:85 +0x5d9
github.com/limetext/backend.(_PathEvent).call(0xcfab00, 0x8c0410, 0xb)
$GOPATH/src/github.com/limetext/backend/events.go:141 +0x258
github.com/limetext/backend.(_Editor).AddPackagesPath(0xc820001c80, 0x8c0410, 0xb)
$GOPATH/src/github.com/limetext/backend/editor.go:412 +0x8e
main.(_frontend).loop(0xc8202b73b0, 0x0, 0x0)
$GOPATH/src/github.com/limetext/lime-qml/main/frontend.go:385 +0x15b
main.(_frontend).(main.loop)-fm(0x0, 0x0)
$GOPATH/src/github.com/limetext/lime-qml/main/frontend.go:57 +0x2e
github.com/limetext/qml-go.Run.func1(0xc82006ff20, 0xc8203755f0)
$GOPATH/src/github.com/limetext/qml-go/bridge.go:69 +0x2d
created by github.com/limetext/qml-go.Run
$GOPATH/src/github.com/limetext/qml-go/bridge.go:71 +0x169
`

@Naruto0 Naruto0 closed this as completed Jul 17, 2016
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