akiyosi / goneovim

A GUI frontend for neovim.
MIT License
2.41k stars 63 forks source link

suddenly crash #427

Open Marskey opened 1 year ago

Marskey commented 1 year ago

2022/12/20 15:18:04.133427 678948.259 finished creating word cache: ~ 2022/12/20 15:18:04.133949 678948.781 Received GUI event from neovim 2022/12/20 15:18:04.178140 678992.964 Received GUI event from neovim 2022/12/20 15:18:04.180108 678994.939 Received redraw event from neovim 2022/12/20 15:18:04.180123 678994.956 start win_viewport 2022/12/20 15:18:04.180131 678994.964 finished win_viewport 2022/12/20 15:18:04.180137 678994.969 start flush 2022/12/20 15:18:04.180175 678995.006 scrollbar: debug:: 260 301 2022/12/20 15:18:04.180200 678995.032 finished flush 2022/12/20 15:18:04.189956 679004.782 Received redraw event from neovim 2022/12/20 15:18:04.189984 679004.816 start hl_attr_define 2022/12/20 15:18:04.189996 679004.828 finished hl_attr_define 2022/12/20 15:18:04.190003 679004.836 Received redraw event from neovim 2022/12/20 15:18:04.190008 679004.841 start hl_attr_define 2022/12/20 15:18:04.190015 679004.848 finished hl_attr_define 2022/12/20 15:18:04.190098 679004.930 Received redraw event from neovim 2022/12/20 15:18:04.190105 679004.937 start hl_attr_define 2022/12/20 15:18:04.190111 679004.944 finished hl_attr_define 2022/12/20 15:18:04.190117 679004.950 Received redraw event from neovim 2022/12/20 15:18:04.190122 679004.955 start hl_attr_define 2022/12/20 15:18:04.190127 679004.960 finished hl_attr_define 2022/12/20 15:18:04.190133 679004.966 Received redraw event from neovim 2022/12/20 15:18:04.190137 679004.970 start hl_attr_define 2022/12/20 15:18:04.190143 679004.976 finished hl_attr_define 2022/12/20 15:18:04.190148 679004.981 Received redraw event from neovim 2022/12/20 15:18:04.190152 679004.985 start hl_attr_define 2022/12/20 15:18:04.190157 679004.990 finished hl_attr_define 2022/12/20 15:18:04.190162 679004.995 Received redraw event from neovim 2022/12/20 15:18:04.190166 679004.999 start hl_attr_define 2022/12/20 15:18:04.190171 679005.004 finished hl_attr_define 2022/12/20 15:18:04.190185 679005.018 Received redraw event from neovim 2022/12/20 15:18:04.190190 679005.023 start hl_attr_define 2022/12/20 15:18:04.190195 679005.028 finished hl_attr_define 2022/12/20 15:18:04.190277 679005.109 Received redraw event from neovim 2022/12/20 15:18:04.190285 679005.118 start hl_attr_define 2022/12/20 15:18:04.190292 679005.125 finished hl_attr_define 2022/12/20 15:18:04.190299 679005.132 Received redraw event from neovim 2022/12/20 15:18:04.190304 679005.137 start hl_attr_define 2022/12/20 15:18:04.190310 679005.143 finished hl_attr_define 2022/12/20 15:18:04.190345 679005.177 Received redraw event from neovim 2022/12/20 15:18:04.190352 679005.185 start hl_attr_define 2022/12/20 15:18:04.190357 679005.190 finished hl_attr_define 2022/12/20 15:18:04.190364 679005.197 Received redraw event from neovim 2022/12/20 15:18:04.190368 679005.201 start hl_attr_define 2022/12/20 15:18:04.190375 679005.208 finished hl_attr_define 2022/12/20 15:18:04.190381 679005.214 Received redraw event from neovim 2022/12/20 15:18:04.190385 679005.218 start hl_attr_define 2022/12/20 15:18:04.190389 679005.222 finished hl_attr_define 2022/12/20 15:18:04.190406 679005.238 Received redraw event from neovim 2022/12/20 15:18:04.190411 679005.244 start hl_attr_define 2022/12/20 15:18:04.190416 679005.249 finished hl_attr_define 2022/12/20 15:18:04.190421 679005.254 Received redraw event from neovim 2022/12/20 15:18:04.190425 679005.258 start hl_attr_define 2022/12/20 15:18:04.190429 679005.262 finished hl_attr_define 2022/12/20 15:18:04.190441 679005.273 Received redraw event from neovim 2022/12/20 15:18:04.190446 679005.279 start hl_attr_define 2022/12/20 15:18:04.190451 679005.284 finished hl_attr_define 2022/12/20 15:18:04.190456 679005.289 Received redraw event from neovim 2022/12/20 15:18:04.190460 679005.293 start hl_attr_define 2022/12/20 15:18:04.190465 679005.298 finished hl_attr_define 2022/12/20 15:18:04.190518 679005.350 Received redraw event from neovim 2022/12/20 15:18:04.190524 679005.357 start hl_attr_define 2022/12/20 15:18:04.190529 679005.362 finished hl_attr_define 2022/12/20 15:18:04.190535 679005.369 Received redraw event from neovim 2022/12/20 15:18:04.190540 679005.373 start hl_attr_define 2022/12/20 15:18:04.190545 679005.378 finished hl_attr_define 2022/12/20 15:18:04.190562 679005.394 Received redraw event from neovim 2022/12/20 15:18:04.190569 679005.402 start hl_attr_define 2022/12/20 15:18:04.190574 679005.407 finished hl_attr_define 2022/12/20 15:18:04.190619 679005.452 Received redraw event from neovim 2022/12/20 15:18:04.190626 679005.459 start hl_attr_define 2022/12/20 15:18:04.190631 679005.464 finished hl_attr_define 2022/12/20 15:18:04.190637 679005.471 Received redraw event from neovim 2022/12/20 15:18:04.190643 679005.475 start hl_attr_define 2022/12/20 15:18:04.190648 679005.481 finished hl_attr_define 2022/12/20 15:18:04.190663 679005.495 Received redraw event from neovim 2022/12/20 15:18:04.190667 679005.501 start hl_attr_define 2022/12/20 15:18:04.190674 679005.507 finished hl_attr_define 2022/12/20 15:18:04.190687 679005.520 Received redraw event from neovim 2022/12/20 15:18:04.190692 679005.525 start hl_attr_define 2022/12/20 15:18:04.190697 679005.530 finished hl_attr_define 2022/12/20 15:18:04.190710 679005.543 Received redraw event from neovim 2022/12/20 15:18:04.190715 679005.548 start hl_attr_define 2022/12/20 15:18:04.190720 679005.553 finished hl_attr_define 2022/12/20 15:18:04.190796 679005.629 Received redraw event from neovim 2022/12/20 15:18:04.190802 679005.635 start hl_attr_define 2022/12/20 15:18:04.190807 679005.640 finished hl_attr_define 2022/12/20 15:18:04.190830 679005.661 Received redraw event from neovim 2022/12/20 15:18:04.190836 679005.669 start hl_attr_define 2022/12/20 15:18:04.190840 679005.673 finished hl_attr_define 2022/12/20 15:18:04.190845 679005.678 Received redraw event from neovim 2022/12/20 15:18:04.190849 679005.683 start hl_attr_define 2022/12/20 15:18:04.190854 679005.687 finished hl_attr_define 2022/12/20 15:18:04.190903 679005.735 Received redraw event from neovim 2022/12/20 15:18:04.190909 679005.742 start hl_attr_define 2022/12/20 15:18:04.190913 679005.746 finished hl_attr_define 2022/12/20 15:18:04.190941 679005.774 Received redraw event from neovim 2022/12/20 15:18:04.190946 679005.779 start hl_attr_define 2022/12/20 15:18:04.190950 679005.784 finished hl_attr_define 2022/12/20 15:18:04.191040 679005.871 Received redraw event from neovim 2022/12/20 15:18:04.191049 679005.882 start hl_attr_define 2022/12/20 15:18:04.191056 679005.889 finished hl_attr_define 2022/12/20 15:18:04.191063 679005.896 Received redraw event from neovim 2022/12/20 15:18:04.191069 679005.901 start hl_attr_define 2022/12/20 15:18:04.191074 679005.907 finished hl_attr_define 2022/12/20 15:18:04.191085 679005.918 Received redraw event from neovim 2022/12/20 15:18:04.191089 679005.923 start hl_attr_define 2022/12/20 15:18:04.191094 679005.928 finished hl_attr_define 2022/12/20 15:18:04.191110 679005.942 Received redraw event from neovim 2022/12/20 15:18:04.191115 679005.948 start hl_attr_define 2022/12/20 15:18:04.191120 679005.953 finished hl_attr_define 2022/12/20 15:18:04.191125 679005.958 Received redraw event from neovim 2022/12/20 15:18:04.191129 679005.962 start hl_attr_define 2022/12/20 15:18:04.191134 679005.967 finished hl_attr_define 2022/12/20 15:18:04.191160 679005.993 Received redraw event from neovim 2022/12/20 15:18:04.191166 679005.999 start hl_attr_define 2022/12/20 15:18:04.191171 679006.004 finished hl_attr_define 2022/12/20 15:18:04.191204 679006.036 Received redraw event from neovim 2022/12/20 15:18:04.191210 679006.043 start hl_attr_define 2022/12/20 15:18:04.191215 679006.049 finished hl_attr_define 2022/12/20 15:18:04.191235 679006.067 Received redraw event from neovim 2022/12/20 15:18:04.191240 679006.073 start hl_attr_define 2022/12/20 15:18:04.191244 679006.078 finished hl_attr_define 2022/12/20 15:18:04.191290 679006.122 Received redraw event from neovim 2022/12/20 15:18:04.191296 679006.129 start hl_attr_define 2022/12/20 15:18:04.191301 679006.134 finished hl_attr_define 2022/12/20 15:18:04.191367 679006.199 Received redraw event from neovim 2022/12/20 15:18:04.191374 679006.207 start hl_attr_define 2022/12/20 15:18:04.191379 679006.212 finished hl_attr_define 2022/12/20 15:18:04.191393 679006.225 Received redraw event from neovim 2022/12/20 15:18:04.191398 679006.231 start hl_attr_define 2022/12/20 15:18:04.191404 679006.237 finished hl_attr_define 2022/12/20 15:18:04.191418 679006.250 Received redraw event from neovim 2022/12/20 15:18:04.191422 679006.256 start hl_attr_define 2022/12/20 15:18:04.191427 679006.260 finished hl_attr_define 2022/12/20 15:18:04.191529 679006.361 Received redraw event from neovim 2022/12/20 15:18:04.191535 679006.368 start hl_attr_define 2022/12/20 15:18:04.191541 679006.374 finished hl_attr_define 2022/12/20 15:18:04.191547 679006.380 Received redraw event from neovim 2022/12/20 15:18:04.191551 679006.384 start hl_attr_define 2022/12/20 15:18:04.191556 679006.389 finished hl_attr_define 2022/12/20 15:18:04.191569 679006.402 Received redraw event from neovim 2022/12/20 15:18:04.191574 679006.407 start hl_attr_define 2022/12/20 15:18:04.191578 679006.411 finished hl_attr_define 2022/12/20 15:18:04.191600 679006.433 Received redraw event from neovim 2022/12/20 15:18:04.191606 679006.439 start hl_attr_define 2022/12/20 15:18:04.191611 679006.444 finished hl_attr_define 2022/12/20 15:18:04.191633 679006.466 Received redraw event from neovim 2022/12/20 15:18:04.191638 679006.471 start hl_attr_define 2022/12/20 15:18:04.191643 679006.476 finished hl_attr_define 2022/12/20 15:18:04.191732 679006.564 Received redraw event from neovim 2022/12/20 15:18:04.191739 679006.572 start hl_attr_define 2022/12/20 15:18:04.191744 679006.577 finished hl_attr_define 2022/12/20 15:18:04.191750 679006.583 Received redraw event from neovim 2022/12/20 15:18:04.191755 679006.588 start hl_attr_define 2022/12/20 15:18:04.191759 679006.592 finished hl_attr_define 2022/12/20 15:18:04.191773 679006.606 Received redraw event from neovim 2022/12/20 15:18:04.191778 679006.611 start hl_attr_define 2022/12/20 15:18:04.191783 679006.616 finished hl_attr_define 2022/12/20 15:18:04.191821 679006.653 Received redraw event from neovim 2022/12/20 15:18:04.191826 679006.659 start hl_attr_define 2022/12/20 15:18:04.191831 679006.664 finished hl_attr_define 2022/12/20 15:18:04.191836 679006.669 Received redraw event from neovim 2022/12/20 15:18:04.192325 679007.112 msgpack/rpc: error decoding message type, found String 2022/12/20 15:18:04.216142 679030.881 The application was quitted with the exit of Neovim.

akiyosi commented 1 year ago

@Marskey Thanks for the report :) Could you please let me know what version of goneovim you are using?

/path/to/goneovim --version
akiyosi commented 1 year ago

@Marskey Hmmm, from the last record in the log you provided, it looks like Goneovim was quitted in response to nvim being exitted rather than Goneovim crashing.

Marskey commented 1 year ago

v0.6.3, but i did not quit, it quit by itself, cause my code lost

Marskey commented 1 year ago

im editing multi lines, and suddenly crashed

Marskey commented 1 year ago

2022-12-20 17:27:51.435 goneovim[10244:299138] TSM AdjustCapsLockLEDForKeyTransitionHandling - _ISSetPhysicalKeyboardCapsLockLED Inhibit

akiyosi commented 1 year ago

@Marskey Thanks for additional info. I believe it is highly likely that the nvim process has terminated abnormally.

Marskey commented 1 year ago

im using MacBook Pro 14 2021, macos Version 13.1 (22C65), and open a project using lua,

local sss = {
1   1   20
2   1   20
3   1   20
4   1   20
5   1   20
6   1   20
7   1   20
8   1   20
9   1   20
10  1   20
11  1   20
12  1   20
13  1   20
14  1   20
15  1   20
16  1   20
17  1   20
18  1   20
19  1   20
20  1   20
21  1   20
22  1   20
23  1   20
24  1   20
25  1   20
26  1   20
27  1   20
28  1   20
29  1   20
30  1   20
31  1   20
32  1   20
33  1   20
34  1   20
35  1   20
36  1   20
37  1   20
38  1   20
39  1   20
40  1   20
41  1   20
42  1   20
43  1   20
44  1   20
45  1   20
46  1   20
47  1   20
48  1   20
49  1   20
50  1   20
51  1   20
52  1   20
53  1   20
54  1   20
55  1   20
56  1   20
57  1   20
58  1   20
59  1   20
60  1   20
61  1   20
62  1   20
63  1   20
64  1   20
65  1   20
66  1   20
67  1   20
68  1   20
69  1   20
70  1   20
71  1   20
72  1   20
73  1   20
74  1   20
75  1   20
76  1   20
77  1   20
78  1   20
79  1   20
80  1   20
81  1   20
82  1   20
83  1   20
84  1   20
85  1   20
86  1   20
87  1   20
88  1   20
89  1   20
90  1   20
91  1   20
92  1   20
93  1   20
94  1   20
95  1   20
96  1   20
97  1   20
98  1   20
99  1   20
100 1   20
101 1   20
102 1   20
103 1   20
104 1   20
105 1   20
106 1   20
107 1   20
108 1   20
109 1   20
110 1   20
111 1   20
112 1   20
113 1   20
114 1   20
115 1   20
116 1   20
117 1   20
118 1   20
119 1   20
120 1   20
121 1   20
122 1   20
123 1   20
124 1   20
125 1   20
126 1   20
127 1   20
128 1   20
129 1   20
130 1   20
131 1   20
132 1 20
133 1 20
134 1 20
135 1 20
136 1 20
137 1 20
138 1 20
139 1 20
140 1 20
141 1 20
142 1 20
143 1 20
144 1 20
145 1 20
146 1 20
147 1 20
148 1 20
149 1 20
150 1 20
151 1 20
152 1 20
153 1 20
154 1 20
155 1 20
156 1 20
157 1 20
158 1 20
159 1 20
160 1 20
161 1 20
162 1 20
163 1 20
164 1 20
165 1 20
166 1 20
167 1 20
168 1 20
169 1 20
170 1 20
171 1 20
172 1 20
173 1 20
174 1 20
175 1 20
176 1 20
177 1 20
178 1 20
179 1 20
180 1 20
181 1 20
182 1 20
183 1 20
184 1 20
185 1 20
186 1 20
187 1 20
188 1 20
189 1 20
190 1 20
191 1 20
192 1 20
193 1 20
194 1 20
195 1 20
196 1 20
197 1 20
198 1 20
199 1 20
200 1 20
201 1 20
202 1 20
203 1 20
204 1 20
205 1 20
206 1 20
207 1 20
208 1 20
209 1 20
210 1 20
211 1 20
212 1 20
213 1 20
214 1 20
215 1 20
216 1 20
217 1 20
218 1 20
219 1 20
220 1 20
221 1 20
222 1 20
223 1 20
224 1 20
225 1 20
226 1 20
227 1 20
228 1 20
229 1 20
230 1 18
231 1 16
232 1 14
233 1 11
234 1 8
235 1 5
236 1 2
}

press v+i+B select all line within the {} block, and use command '<,'>!awk 'printf "[\"\%d\"] = \%d", $1 $3

Marskey commented 1 year ago

not only in this case, sometimes it crashed by noreason

akiyosi commented 1 year ago

@Marskey Does this problem reproduce itself in instances launched with /path/to/goenovim -u NONE?

Marskey commented 1 year ago

nope,

Marskey commented 1 year ago

dose gonvim open nvim with specify memory limit? from 'The application was quitted with the exit of Neovim.'
, i think its nvim crashed, but when i running nvim with iterm2, the crash donot happen

akiyosi commented 1 year ago

@Marskey Hmmm, nvim has different modes of running when embedded in GUI and when running in TUI, so it is possible that there is some kind of problem in the mode where it is embedded in GUI. Upgrading nvim and using a nighty version of geneovim may solve the problem.