limetext / lime

Open source API-compatible alternative to the text editor Sublime Text
http://limetext.github.io
BSD 2-Clause "Simplified" License
15.3k stars 1.06k forks source link

Crashed on start #561

Closed DeadNumbers closed 8 years ago

DeadNumbers commented 8 years ago

Arch Linux i686, build ok, but

$./main
[01/27/16 12:00:11] [EROR] Failed to register command nop: Command wasn't registered in any list: nop
[01/27/16 12:00:13] [DEBG] calling newEngine
[01/27/16 12:00:13] [DEBG] calling newEngine
[01/27/16 12:00:13] [INFO] Initializing
[01/27/16 12:00:13] [INFO] Loaded ../packages/Default/Default.sublime-keymap
[01/27/16 12:00:13] [INFO] Loaded ../packages/Default/Default (Linux).sublime-keymap
[01/27/16 12:00:13] [INFO] Initializing
[01/27/16 12:00:13] [INFO] Loaded ../packages/Default/Default.sublime-keymap
[01/27/16 12:00:13] [INFO] Loaded ../packages/Default/Default (Linux).sublime-keymap
[01/27/16 12:00:13] [INFO] Loaded ../packages/User/Default.sublime-keymap
[01/27/16 12:00:13] [INFO] Loaded ../packages/User/Default (Linux).sublime-keymap
[01/27/16 12:00:13] [DEBG] ../packages/User is watched already
[01/27/16 12:00:13] [INFO] Loaded ../packages/Default/Preferences.sublime-settings
[01/27/16 12:00:13] [INFO] Loaded ../packages/Default/Preferences (Linux).sublime-settings
[01/27/16 12:00:13] [INFO] Loaded ../packages/User/Preferences.sublime-settings
[01/27/16 12:00:13] [DEBG] ../packages/User is watched already
[01/27/16 12:00:13] [DEBG] OnInit callbacks executing
[01/27/16 12:00:13] [INFO] Loaded ../packages/User/Default.sublime-keymap
[01/27/16 12:00:13] [INFO] Loaded ../packages/User/Default (Linux).sublime-keymap
[01/27/16 12:00:13] [DEBG] ../packages/User is watched already
[01/27/16 12:00:13] [INFO] Loaded ../packages/Default/Preferences.sublime-settings
[01/27/16 12:00:13] [INFO] Loaded ../packages/Default/Preferences (Linux).sublime-settings
[01/27/16 12:00:13] [INFO] Loaded ../packages/User/Preferences.sublime-settings
[01/27/16 12:00:13] [DEBG] ../packages/User is watched already
[01/27/16 12:00:13] [DEBG] OnInit callbacks executing
[01/27/16 12:00:14] [DEBG] setvar frontend
[01/27/16 12:00:14] [DEBG] setvar frontend
[01/27/16 12:00:14] [DEBG] setvar editor
[01/27/16 12:00:14] [DEBG] setvar editor
[01/27/16 12:00:14] [DEBG] loadfile
[01/27/16 12:00:14] [DEBG] loadfile
[01/27/16 12:00:15] [INFO] Reloading plugin ../packages/Vintageous
[01/27/16 12:00:15] [INFO] Python sez: Loading plugin Vintageous.motion_cmds
[01/27/16 12:00:15] [INFO] Reloading plugin ../packages/Vintageous
[01/27/16 12:00:15] [INFO] Python sez: Loading plugin Vintageous.motion_cmds
[01/27/16 12:00:15] [INFO] Python sez: Loading plugin Vintageous.run
[01/27/16 12:00:15] [INFO] Python sez: Loading plugin Vintageous.run
[01/27/16 12:00:15] [INFO] Python sez: Loading plugin Vintageous.jump_list_cmds
[01/27/16 12:00:15] [INFO] Python sez: Loading plugin Vintageous.jump_list_cmds
[01/27/16 12:00:15] [INFO] Python sez: Loading plugin Vintageous.transformers_visual
[01/27/16 12:00:15] [INFO] Python sez: Loading plugin Vintageous.transformers_visual
{{0 0} map[view.Transform:{20 52383} render.Transcribe:{20 70965} frontendView.formatLine:{40 5083097} frontendView.bufferChanged:{20 5477429} log:{22 731107}]}
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x80853c8]

goroutine 14 [running]:
main.(*qmlfrontend).onNew(0x92e811c0, 0x92fb4870)
    /home/user/go/src/github.com/limetext/lime-qml/main/qml_frontend.go:163 +0x798
main.(*qmlfrontend).(main.onNew)-fm(0x92fb4870)
    /home/user/go/src/github.com/limetext/lime-qml/main/qml_frontend.go:286 +0x28
github.com/limetext/lime-backend/lib.(*ViewEvent).Call(0x8580070, 0x92fb4870)
    /home/user/go/src/github.com/limetext/lime-backend/lib/events.go:86 +0x1c4
github.com/limetext/lime-backend/lib.(*Window).NewFile(0x930026c0, 0x0)
    /home/user/go/src/github.com/limetext/lime-backend/lib/window.go:43 +0x5c1
github.com/limetext/lime-backend/lib.(*Window).OpenFile(0x930026c0, 0x83b62d8, 0x7, 0x0, 0x0)
    /home/user/go/src/github.com/limetext/lime-backend/lib/window.go:74 +0x2f
main.(*qmlfrontend).loop(0x92e811c0, 0x0, 0x0)
    /home/user/go/src/github.com/limetext/lime-qml/main/qml_frontend.go:361 +0x63e
main.(*qmlfrontend).(main.loop)-fm(0x0, 0x0)
    /home/user/go/src/github.com/limetext/lime-qml/main/main.go:37 +0x2c
gopkg.in/qml%2ev1.Run.func1(0x92e4d440, 0x92cd9a98)
    /home/user/go/src/gopkg.in/qml.v1/bridge.go:60 +0x2a
created by gopkg.in/qml%2ev1.Run
    /home/user/go/src/gopkg.in/qml.v1/bridge.go:62 +0x13d

goroutine 1 [runnable, locked to thread]:
gopkg.in/qml%2ev1.hookIdleTimer()
    /home/user/go/src/gopkg.in/qml.v1/bridge.go:191 +0x73
gopkg.in/qml%2ev1._Cfunc_applicationExec()
    ??:0 +0x2f
gopkg.in/qml%2ev1.Run(0x92cd9a98, 0x0, 0x0)
    /home/user/go/src/gopkg.in/qml.v1/bridge.go:63 +0x142
main.main()
    /home/user/go/src/github.com/limetext/lime-qml/main/main.go:37 +0x1aa

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
    /usr/lib/go/src/runtime/asm_386.s:1662 +0x1

goroutine 5 [chan receive]:
github.com/limetext/log4go.ConsoleLogWriter.run(0x92ce22c0, 0x822a1110, 0x92cd80e8)
    /home/user/go/src/github.com/limetext/log4go/termlog.go:27 +0x77
created by github.com/limetext/log4go.NewConsoleLogWriter
    /home/user/go/src/github.com/limetext/log4go/termlog.go:19 +0x65

goroutine 6 [runnable]:
github.com/limetext/log4go.ConsoleLogWriter.run(0x92ce2300, 0x822a1110, 0x92cd80e8)
    /home/user/go/src/github.com/limetext/log4go/termlog.go:27 +0x77
created by github.com/limetext/log4go.NewConsoleLogWriter
    /home/user/go/src/github.com/limetext/log4go/termlog.go:19 +0x65

goroutine 7 [chan receive]:
github.com/limetext/text.(*SerializedBuffer).worker(0x92ce8144)
    /home/user/go/src/github.com/limetext/text/serialized_buffer.go:40 +0x4a
created by github.com/limetext/text.(*SerializedBuffer).init
    /home/user/go/src/github.com/limetext/text/serialized_buffer.go:26 +0xc2

goroutine 8 [syscall]:
syscall.Syscall6(0x100, 0x4, 0x92f5fdc8, 0x7, 0xffffffff, 0x0, 0x0, 0x3, 0x80bdc69, 0x92ccf7a0)
    /usr/lib/go/src/syscall/asm_linux_386.s:41 +0x5
syscall.EpollWait(0x4, 0x92f5fdc8, 0x7, 0x7, 0xffffffff, 0x81c9dfc, 0x0, 0x0)
    /usr/lib/go/src/syscall/zsyscall_linux_386.go:365 +0x6b
gopkg.in/fsnotify%2ev1.(*fdPoller).wait(0x92cde670, 0x92ce2a00, 0x0, 0x0)
    /home/user/go/src/gopkg.in/fsnotify.v1/inotify_poller.go:85 +0xa0
gopkg.in/fsnotify%2ev1.(*Watcher).readEvents(0x92ce0300)
    /home/user/go/src/gopkg.in/fsnotify.v1/inotify.go:191 +0x17d
created by gopkg.in/fsnotify%2ev1.NewWatcher
    /home/user/go/src/gopkg.in/fsnotify.v1/inotify.go:60 +0x331

goroutine 9 [runnable]:
github.com/limetext/lime-backend/lib/log.NewLogWriter.func1(0x92cde690, 0x92cd8338)
    /home/user/go/src/github.com/limetext/lime-backend/lib/log/logwriter.go:37 +0x46
created by github.com/limetext/lime-backend/lib/log.NewLogWriter
    /home/user/go/src/github.com/limetext/lime-backend/lib/log/logwriter.go:40 +0x9a

goroutine 10 [chan receive]:
github.com/limetext/lime-backend/lib.(*Editor).inputthread(0x92d26630)
    /home/user/go/src/github.com/limetext/lime-backend/lib/editor.go:366 +0xa4
created by github.com/limetext/lime-backend/lib.GetEditor
    /home/user/go/src/github.com/limetext/lime-backend/lib/editor.go:142 +0x970

goroutine 11 [select]:
github.com/limetext/lime-backend/lib/watch.(*Watcher).Observe(0x92ce0330)
    /home/user/go/src/github.com/limetext/lime-backend/lib/watch/watch.go:201 +0x23c
created by github.com/limetext/lime-backend/lib.GetEditor
    /home/user/go/src/github.com/limetext/lime-backend/lib/editor.go:143 +0x992

goroutine 12 [runnable]:
github.com/limetext/log4go.ConsoleLogWriter.run(0x92e4d3c0, 0x822a1110, 0x92cd80e8)
    /home/user/go/src/github.com/limetext/log4go/termlog.go:27 +0x77
created by github.com/limetext/log4go.NewConsoleLogWriter
    /home/user/go/src/github.com/limetext/log4go/termlog.go:19 +0x65

goroutine 13 [select]:
main.(*qmlfrontend).qmlBatchLoop(0x92e811c0)
    /home/user/go/src/github.com/limetext/lime-qml/main/qml_frontend.go:113 +0x303
created by main.main
    /home/user/go/src/github.com/limetext/lime-qml/main/main.go:36 +0x175

goroutine 15 [syscall, locked to thread]:
github.com/limetext/gopy/lib._Cfunc_PyObject_CallObject(0x7d739a4c, 0x80d7a86c, 0x0)
    ??:0 +0x33
github.com/limetext/gopy/lib.(*BaseObject).CallMethodObjArgs(0x80d3f054, 0x83d8a80, 0xd, 0x92d15e1c, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
    /home/user/go/src/github.com/limetext/gopy/lib/base.go:230 +0x39e
github.com/limetext/lime-backend/lib/sublime.(*plugin).loadPlugin(0x92f81138)
    /home/user/go/src/github.com/limetext/lime-backend/lib/sublime/sublime_manual.go:195 +0x336
github.com/limetext/lime-backend/lib/sublime.(*plugin).FileChanged(0x92f81138, 0x92f89d00, 0x16)
    /home/user/go/src/github.com/limetext/lime-backend/lib/sublime/sublime_manual.go:183 +0x2f
github.com/limetext/lime-backend/lib/sublime.newPlugin(0x92fb1560, 0x80d3f054, 0x92f81138)
    /home/user/go/src/github.com/limetext/lime-backend/lib/sublime/sublime_manual.go:172 +0x95
github.com/limetext/lime-backend/lib/sublime.onInit()
    /home/user/go/src/github.com/limetext/lime-backend/lib/sublime/sublime_manual.go:270 +0x2a9
github.com/limetext/lime-backend/lib.(*InitEvent).call(0x8580040)
    /home/user/go/src/github.com/limetext/lime-backend/lib/events.go:72 +0x110
github.com/limetext/lime-backend/lib.(*Editor).Init(0x92d26630)
    /home/user/go/src/github.com/limetext/lime-backend/lib/editor.go:169 +0xcb
created by main.(*qmlfrontend).loop
    /home/user/go/src/github.com/limetext/lime-qml/main/qml_frontend.go:299 +0x403

goroutine 28 [runnable]:
github.com/limetext/text.(*SerializedBuffer).worker(0x92ce91d4)
    /home/user/go/src/github.com/limetext/text/serialized_buffer.go:39
created by github.com/limetext/text.(*SerializedBuffer).init
    /home/user/go/src/github.com/limetext/text/serialized_buffer.go:26 +0xc2

goroutine 27 [runnable]:
github.com/limetext/lime-backend/lib.(*View).parsethread(0x92fb4870)
    /home/user/go/src/github.com/limetext/lime-backend/lib/view.go:150
created by github.com/limetext/lime-backend/lib.newView
    /home/user/go/src/github.com/limetext/lime-backend/lib/view.go:75 +0x357

goroutine 26 [runnable]:
github.com/limetext/text.(*SerializedBuffer).worker.func1(0x92ce90e4, 0x92ceefc8)
    /home/user/go/src/github.com/limetext/text/serialized_buffer.go:48 +0x6f
github.com/limetext/text.(*SerializedBuffer).worker(0x92ce90e4)
    /home/user/go/src/github.com/limetext/text/serialized_buffer.go:49 +0x73
created by github.com/limetext/text.(*SerializedBuffer).init
    /home/user/go/src/github.com/limetext/text/serialized_buffer.go:26 +0xc2

goroutine 25 [syscall]:
syscall.Syscall6(0x100, 0xe, 0x92febdc8, 0x7, 0xffffffff, 0x0, 0x0, 0x0, 0x0, 0x0)
    /usr/lib/go/src/syscall/asm_linux_386.s:41 +0x5
syscall.EpollWait(0xe, 0x92febdc8, 0x7, 0x7, 0xffffffff, 0x0, 0x0, 0x0)
    /usr/lib/go/src/syscall/zsyscall_linux_386.go:365 +0x6b
gopkg.in/fsnotify%2ev1.(*fdPoller).wait(0x92fadcc0, 0x8446f00, 0x0, 0x0)
    /home/user/go/src/gopkg.in/fsnotify.v1/inotify_poller.go:85 +0xa0
gopkg.in/fsnotify%2ev1.(*Watcher).readEvents(0x92f9e930)
    /home/user/go/src/gopkg.in/fsnotify.v1/inotify.go:191 +0x17d
created by gopkg.in/fsnotify%2ev1.NewWatcher
    /home/user/go/src/gopkg.in/fsnotify.v1/inotify.go:60 +0x331