You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Segmentation fault when using cyrillic in remote session from Linux to Windows #9882
Our Win16 servers does not have PSCore installed and installing additional software on these servers prohibited by our policy. Now I workaround this issue by Copy-Item -ToSession and running command remotely from these files instead of direct Invoke-Command -File
Max Kozlov (@MVKozlov) Thanks! Could you please use a test Win2016 server with PowerShell Core? If it possible please share the test script and full repo steps, and maybe crash dump.
I overlooked the psl-omi-provider code slightly.
Seems it support Unicode (as utf8/utf16 conversion).
So may be overflow error somewhere or double conversion (i'm not C cpecialist :)
This issue has not had any activity in 6 months, if there is no further activity in 7 days, the issue will be closed automatically.
Activity in this case refers only to comments on the issue. If the issue is closed and you are the author, you can re-open the issue using the button below. Please add more information to be considered during retriage. If you are not the author but the issue is impacting you after it has been closed, please submit a new issue with updated details and a link to this issue and the original.
Activity
iSazonov commentedon Jun 13, 2019
Could you repo without PSReadline?
MVKozlov commentedon Jun 13, 2019
Yes, I disable PSReadline on both sides and it still reproduced
btw
collate can be disabled - still repro
and it reproduced even when I use
Invoke-Command -File 'utf8_filewith_cyrillic.ps1'iSazonov commentedon Jun 13, 2019
Why do you connect to 5.1, not PowerShell Core?
MVKozlov commentedon Jun 13, 2019
Our Win16 servers does not have PSCore installed and installing additional software on these servers prohibited by our policy. Now I workaround this issue by
Copy-Item -ToSessionand running command remotely from these files instead of directInvoke-Command -FileiSazonov commentedon Jun 13, 2019
Max Kozlov (@MVKozlov) Thanks! Could you please use a test Win2016 server with PowerShell Core? If it possible please share the test script and full repo steps, and maybe crash dump.
/cc Paul Higinbotham (@PaulHigin) Could you please look the issue?
MVKozlov commentedon Jun 14, 2019
I will try to do this on the next week.... and, please, exuse my dumb, where I can find dump ? :)
MVKozlov commentedon Jun 18, 2019
Tried with PS core with WinSrv16:
steps:
iSazonov commentedon Jun 18, 2019
From https://stackoverflow.com/questions/17965/how-to-generate-a-core-dump-in-linux-on-a-segmentation-fault
sysctl kernel.core_pattern
or:
cat /proc/sys/kernel/core_pattern
MVKozlov commentedon Jun 18, 2019
Yes, I found a dump(from ubuntu/apport), but how can I send it privately ?
iSazonov commentedon Jun 18, 2019
Max Kozlov (@MVKozlov) Please wait Paul Higinbotham (@PaulHigin) response.
MVKozlov commentedon Sep 12, 2019
I want to revive the topic a little
PaulHigin commentedon Sep 12, 2019
Unfortunately, cyrillic characters are not supported in this implementation.
iSazonov commentedon Sep 13, 2019
Oh, I very amazing that Unicode is not supported in the scenario.
MVKozlov commentedon Sep 14, 2019
I overlooked the
psl-omi-providercode slightly.Seems it support Unicode (as utf8/utf16 conversion).
So may be overflow error somewhere or double conversion (i'm not C cpecialist :)
iSazonov commentedon Sep 16, 2019
Maybe there is somewhere ASCII P/Invoke.
MVKozlov commentedon Oct 19, 2023
btw, it not happen with remote connections thru ssh channel
microsoft-github-policy-service commentedon Apr 16, 2024
This issue has not had any activity in 6 months, if there is no further activity in 7 days, the issue will be closed automatically.
Activity in this case refers only to comments on the issue. If the issue is closed and you are the author, you can re-open the issue using the button below. Please add more information to be considered during retriage. If you are not the author but the issue is impacting you after it has been closed, please submit a new issue with updated details and a link to this issue and the original.