Luke Harold Miles
06/08/2024, 3:43 AMwhat
and getnode
). I had a handful of segfaults in the last few hours. Maybe the .mag file is corrupted? It looks ok when I scroll through it in a text editor... Any advice? Any way to check if the `rect`s are screwed up or something? Error exists between keyboard and chair?Tim Edwards
06/08/2024, 1:46 PMps aux | grep magic
to get the process number of the running process, then do gdb program <pid>
(which I think is syntactically incorrect but somehow works anyway---I think you can also do something like "connect <pid>" from the gdb command line). Once gdb
is running, type cont
to keep the program going. If it segfaults, then it will dump back to the gdb command line, and you can issue the command bt
to get a backtrace of the program stack at the point of failure, and send that to me.Tim Edwards
06/08/2024, 1:55 PMTim Edwards
06/08/2024, 1:59 PMmagic -r
should read back the last saved file and put you back within striking distance of where you were when the crash occurred. However, the last time I suffered a crash, the backup file was nowhere to be seen and I lost a lot of work (another unreproducible result). Always good to do "writeall" reasonably often.Luke Harold Miles
06/08/2024, 7:09 PM