Skip to content

Crash reports and logs

KryoDesk writes a report when:

Report title When
Internal error (panic) Code in KryoDesk failed an internal check. The report has the thread, the source location, the message and a backtrace.
KryoDesk stopped responding The main thread (window events, menus, native dialogs) did not respond for 5 s. macOS: /usr/bin/sample <pid> 3 -mayDie -file <id>.sample.txt records the stacks of all threads for 3 s (Windows: no sample). The report gets the duration once the app responds again.
Window page stopped responding A focused window’s page sent no heartbeat for 10 s while the main thread worked. A dialog KryoDesk: window not responding offers Reload or Wait.
Window page crashed macOS only: macOS ended the WebKit process of a window (memory shortage, a WebKit crash, a kill). The window reloads by itself, up to 3 times in 5 minutes; after that the same dialog asks.
KryoDesk crashed / KryoDesk did not quit normally Found at the next start: the previous run did not quit (crash, force quit, kill, restart, power loss).

A Reload closes the window’s sessions (their output had nowhere to go) and opens its tabs again from the saved layout.

  • KryoDesk version, system version, process id, start time of the run;
  • memory at the time: memory pressure, RAM, swap use, KryoDesk’s resident memory;
  • for a run that did not quit: the time of the last check (every 10 s); on macOS also the crash report of that process if there is one (~/Library/Logs/DiagnosticReports/kryodesk-*.ips or /Library/Logs/DiagnosticReports/: exception, termination reason, the crashed thread’s stack), memory shortage (Jetsam) events during the run with the largest processes, and other reports of the same run;
  • for a hang: the sample output as a separate file.

Reports are built from the items above; KryoDesk adds no session contents or terminal output. A panic message is the text of the failed check and can contain the value it was about (a path, a host name). Read a report before you pass it on.

~/Library/Application Support/pl.kryodesk/crashes/<id>.json report
~/Library/Application Support/pl.kryodesk/crashes/<id>.sample.txt thread sample of a hang
~/Library/Application Support/pl.kryodesk/crashes/running/<pid>.json marker of the running app

The folder is 0700, the files 0600 (on Windows the profile folder’s permissions). The newest 30 reports are kept; older ones are deleted with their samples. System crash reports are never deleted by KryoDesk.

At the next start Pan Spinacz lists new reports with Show, Send and Don’t send. Show opens the Crash reports window (list, full text, Copy); Help → Crash Reports… opens it at any time. Send only marks a report as queued: nothing is sent, because there is no report endpoint yet. To report a problem, copy the text from Crash reports and attach the .sample.txt file.

KryoDesk writes its log (tracing, level info) to standard output; there is no log file. An app started from Finder, the Dock or the Start menu has no visible output, so to read the log start it from a terminal:

Terminal window
/Applications/KryoDesk.app/Contents/MacOS/kryodesk
RUST_LOG=debug /Applications/KryoDesk.app/Contents/MacOS/kryodesk # more detail
RUST_LOG=info,kryodesk_lib::ssh=debug /Applications/KryoDesk.app/Contents/MacOS/kryodesk > ~/kryodesk.log

Started this way, the app is a child of Terminal: macOS may apply Terminal’s Local Network permission to it, and SSH_AUTH_SOCK comes from that shell.

RUST_LOG takes the usual filter syntax (level or module=level, comma-separated). Debug and trace events of the FTP library and of the RDP login (suppaftp, sspi, ironrdp_connector::credssp, ironrdp_async::connector, picky) are always dropped, whatever RUST_LOG says, because they can contain passwords.

For each connection, the tab’s own log (terminal or connection log) is usually more useful than the application log: see Find where a connection stops.

Scroll or pinch to zoom · drag to move · double-click to zoom · Esc or click outside to close