microsoft / vs-pty.net

Fork pseudoterminals in C#
MIT License
49 stars 18 forks source link

Tried to spawn "DIR" #34

Closed jinek closed 10 months ago

jinek commented 11 months ago

After trying to spawn "dir", application exited with no exceptions. Log shows kernel errors:

19 Nov 2023 19:35:20    kernel  AutFac[124595]: segfault at 10 ip 0000000000000010 sp 00007ffcf646edc8 error 14
19 Nov 2023 19:35:20    kernel  AutFac[124527]: segfault at 201020029 ip 00007fcde9eeb0b7 sp 00007ffcf646ef88 error 4
19 Nov 2023 19:35:20    kernel   in AutFac[564e293c5000+7000] likely on CPU 4 (core 8, socket 0)
19 Nov 2023 19:35:20    kernel  Code: Unable to access opcode bytes at 0xffffffffffffffe6.
19 Nov 2023 19:35:20    kernel   in memfd:doublemapper (deleted)[7fcde9eeb000+1000] likely on CPU 6 (core 12, socket 0)
19 Nov 2023 19:35:20    kernel  Code: 00 00 00 48 8b 07 48 8b 80 a8 00 00 00 ff 60 20 6c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 48 8b 07 48 8b 40 40 <ff> 60 28 05 00 00 00 00 00 48 8b 07 48 8b 40 48 ff 60 28 0d 00 00
javierdlg commented 10 months ago

Could you share the source code so that we can attempt a repro on our end?

javierdlg commented 10 months ago

Could you share the source code, platform, and .NET version you're using to run this process?

jinek commented 10 months ago

Could you share the source code, platform, and .NET version you're using to run this process?

I'm sorry, it was test project I trashed already. Platform was .NET 7 on Ubuntu 23.10