23 Apr 2024 |
| aqeelyn joined the room. | 18:57:29 |
| typevs changed their profile picture. | 20:45:11 |
24 Apr 2024 |
| maria_0516 changed their profile picture. | 01:27:16 |
| thatdevnerd joined the room. | 09:50:49 |
| _ot changed their profile picture. | 10:21:38 |
Robyn [She/Her] | Yep looks like Nimsuggest consistently segfaults, and it never even reaches beyond 2GB in memory | 19:17:55 |
Robyn [She/Her] | >> SIGSEGV: Illegal storage access. (Attempt to read from nil?)
WRN Server stopped. projectFile=/home/chronos/Projects/Napkins/src/napkins.nim
INF Starting nimsuggest root=/home/chronos/Projects/Napkins/src/napkins.nim timeout=120000 path=nimsuggest fullPath=/home/chronos/.nim/nimsuggest/nimsuggest workingDir=/home/chronos/Projects/Napkins
DBG Parsing nimsuggest capability capability=con
DBG Server socket closed command="sug \"/home/chronos/Projects/Napkins/src/napkinspkg/parser.nim\";\"/tmp/nimlangserver/000000007ED48A42.nim\":157:82"
DBG Call cancelled before sending error command="sug \"/home/chronos/Projects/Napkins/src/napkinspkg/parser.nim\";\"/tmp/nimlangserver/000000007ED48A42.nim\":157:82"
DBG Call was cancelled before sending the result command="sug \"/home/chronos/Projects/Napkins/src/napkinspkg/parser.nim\";\"/tmp/nimlangserver/000000007ED48A42.nim\":157:82"
DBG CPU Time benchmark="sug \"/home/chronos/Projects/Napkins/src/napkinspkg/parser.nim\";\"/tmp/nimlangserver/000000007ED48A42.nim\":157:82" time=0.138 command="sug \"/home/chronos/Projects/Napkins/src/napkinspkg/parser.nim\";\"/tmp/nimlangserver/000000007ED48A42.nim\":157:82"
DBG Stopping nimsuggest for root=/home/chronos/Projects/Napkins/src/napkins.nim
DBG Error occurred within RPC methodName=textDocument/completion err="Server crashed/socket closed."
[Error - 8:16:42 PM] Request textDocument/completion failed.
Message: textDocument/completion raised an exception: Server crashed/socket closed.
Code: -32000 | 19:18:02 |
Robyn [She/Her] | Really not sure on what to do | 19:22:01 |
Robyn [She/Her] | Compiling Nimsuggest with debugging enabled now | 19:25:10 |
Robyn [She/Her] | * Compiling Nimsuggest with -d:debug enabled now | 19:25:18 |
Robyn [She/Her] | >> SIGILL: Illegal operation.
WRN Server stopped. projectFile=/home/chronos/Projects/Napkins/src/napkins.nim
INF Starting nimsuggest root=/home/chronos/Projects/Napkins/src/napkins.nim timeout=120000 path=nimsuggest fullPath=/home/chronos/.nim/nimsuggest/nimsuggest workingDir=/home/chronos/Projects/Napkins
DBG Parsing nimsuggest capability capability=con
DBG Server socket closed command="sug \"/home/chronos/Projects/Napkins/src/napkinspkg/parser.nim\";\"/tmp/nimlangserver/000000007ED48A42.nim\":157:82"
DBG Call cancelled before sending error command="sug \"/home/chronos/Projects/Napkins/src/napkinspkg/parser.nim\";\"/tmp/nimlangserver/000000007ED48A42.nim\":157:82"
DBG Call was cancelled before sending the result command="sug \"/home/chronos/Projects/Napkins/src/napkinspkg/parser.nim\";\"/tmp/nimlangserver/000000007ED48A42.nim\":157:82"
DBG CPU Time benchmark="sug \"/home/chronos/Projects/Napkins/src/napkinspkg/parser.nim\";\"/tmp/nimlangserver/000000007ED48A42.nim\":157:82" time=0.606 command="sug \"/home/chronos/Projects/Napkins/src/napkinspkg/parser.nim\";\"/tmp/nimlangserver/000000007ED48A42.nim\":157:82"
DBG Nimsuggest is not working, returning empty result... command="outline \"/home/chronos/Projects/Napkins/src/napkinspkg/parser.nim\";\"/tmp/nimlangserver/000000007ED48A42.nim\":0:0"
DBG Stopping nimsuggest for root=/home/chronos/Projects/Napkins/src/napkins.nim
DBG Error occurred within RPC methodName=textDocument/completion err="Server crashed/socket closed."
DBG Router: sending response method=textDocument/documentSymbol id=12
[Error - 8:27:12 PM] Request textDocument/completion failed.
Message: textDocument/completion raised an exception: Server crashed/socket closed.
Code: -32000 | 19:27:53 |
| ieltan changed their profile picture. | 20:01:48 |
| mustacheman joined the room. | 20:04:48 |
Robyn [She/Her] | I really am annoyed at this, it's causing me to lose desire to actually program | 21:18:16 |
Robyn [She/Her] | I'm not sure why this is causing issues either | 21:18:39 |
Robyn [She/Her] | Weird thing I just noticed, this crashes at the end of a line when modifying it but not in the middle of a line that was crashing? | 21:22:27 |
Robyn [She/Her] | Nvm ignore that | 21:22:48 |
Elegantbeef | what does ./nimsuggest -v report? | 21:23:31 |
Robyn [She/Her] | Nim Compiler Version 2.0.4 [Linux: amd64]
Compiled at 2024-04-24
Copyright (c) 2006-2023 by Andreas Rumpf
git hash: 57ad8911c74829ba9f33f66f3ad29283cf45b3b7
active boot switches: --gc:markAndSweep | 21:24:40 |
Robyn [She/Her] | This is on the Nim 2.0.4 branch | 21:24:47 |
Robyn [She/Her] | Oh wait what were those commands I was told to run? | 21:24:56 |
Elegantbeef | ./nimsuggest your.nim then chk 1 , modify the file then run chk 1 again | 21:25:39 |
Robyn [She/Her] | > chk 1
chk skUnknown Hint ??? 0 -1 ">> (toplevel): import(dirty): /home/chronos/Projects/Napkins/src/napkins.nim [Processing]"0
> chk 1
chk skUnknown Hint ??? 0 -1 ">>> (toplevel): import(dirty): /home/chronos/Projects/Napkins/src/napkins.nim [Processing]"0 | 21:27:11 |
Elegantbeef | Or is it chk 0 😄 | 21:27:52 |
Robyn [She/Her] | Testing lol | 21:28:15 |
Robyn [She/Her] | > chk 0
chk skUnknown Hint ??? 0 -1 ">> (toplevel): import(dirty): /home/chronos/Projects/Napkins/src/napkins.nim [Processing]"0
> chk 0
chk skUnknown Hint ??? 0 -1 ">>> (toplevel): import(dirty): /home/chronos/Projects/Napkins/src/napkins.nim [Processing]"0 | 21:28:38 |
Elegantbeef | Well if it does not crash nimsuggest it seems like a nimlangserver issue | 21:29:04 |
Elegantbeef | Build that debug and try that | 21:29:10 |
Robyn [She/Her] | Alright! | 21:29:43 |
25 Apr 2024 |
| graymonica joined the room. | 02:20:46 |