Application crash on specific terminal text

Resolved

Application crash on specific terminal text

avatar

Using 2022.3.0.8 attached to an SSH session.

I'm getting the following error on KDE when I get specific output from the crowdsec command. I was able to reproduce the issue by just doing cat on the attached file (which is that crowdsec output)

NullReferenceException - Object reference not set to an instance of an object.
at Devolutions.Protocols.Xterm.DrawCombined(SKCanvas canvas, String combined, Single x, Single y)
at Devolutions.Protocols.Xterm.DrawSpan(SKCanvas canvas, Span span, Single x, Single y)
at Devolutions.Protocols.Xterm.DoPaintSurface(SKCanvas canvas)
at Devolutions.Protocols.Xterm.OnPaintSurface(SKPaintSurfaceEventArgs e)
at SkiaSharp.Views.Gtk.SKDrawingArea.OnDrawn(Context cr)
at Gtk.Widget.Drawn_cb(IntPtr inst, IntPtr cr)

---- Steps to reproduce ----

  1. Upload the attached test.txt file to a linux server
  2. Connect to the server in RDM Linux
  3. run `cat test.txt` (You may need to hit enter a second time for the crash to occur.)
  4. Application crashes

NOTE: If you use something like tmux, the application will continue to crash every time you connect to that server until you go in (without using RDM) and clear that text from the terminal.

test.txt

All Comments (5)

avatar

Here's the contents of that file, although I was unable to reproduce the issue by just copying and pasting this into a file
forum image

avatar

Hi tmashos,

From what I see of your error, the bug seems to come from our protocol library. I'll open a ticket and contact the engineer responsible for our ssh integration 

Thank you for the detailed information.

Simon Duguay Létourneau

avatar

Hi tmashos,

I am unable to reproduce your issue. Do you have any settings that you may have changed in your entry? More specifically those related to display.

Also, can you tell me more about the server and the client?

Simon Duguay Létourneau

avatar

Hmm, the server I'm connecting to is nothing special. It's a CLI only Centos 7.9 server. The laptop I'm connecting from is an updated Arch Linux running KDE Plasma on X11. Shouldn't be really any differences on the Session in RDM other than we changed the font type for terminal sessions.

forum image

avatar

Also I just noticed it only crashes after I hit a keypress (i've tried enter and space) after catting the file in step 3 of the repro steps. If I don't hit a keypress then it doesn't crash (until I hit it)