Closed bnuzhouwei closed 10 months ago
Did you manage to figure this one out?
Did you manage to figure this one out?
No, I have upgrade my appliction to net6, so i gived up .
@javierdlg Do you have some input here maybe? I'm on Ubuntu 22.04 with Mono btw.
@RHamers seems like you've found the root bug for this issue. Could you try using .Net 6 or higher instead of Mono?
Hey, yeah I'm trying a different approach yet I haven't gotten it to work properly. I'm bound to Mono however, I have a solution working on Windows which works.
I pulled the nuget package into a new dotnet8 project and build a thin API around vs-pty using TCP clients. Then I can simply build a self-contained app and run it on the target platform. This works perfectly fine for windows, yet on ubuntu 22.04 I get a segfault during start up, which I think is related to this.
My next step was to rollback to an earlier version of dotnet and try it that way.
It seems when I build with dotnet6 I dont get the segfault error. I have no output though, but that's likely an issue on my side. I'll try and fix it.
OK, I fixed it by starting "/bin/bash" instead of "sh" as app on Ubuntu 22.04. :D
The error still exits in Mono: