PowerShell / PowerShell/PowerShell-Native
Enter-PSSession Crash on OSX 10.12 after exiting connected host
オープン
まだ誰も着手していません。
- 主要言語
- C++
- スター
- 68
- フォーク
- 46
- 平均マージ
- 3日 4時間
- マージ済み PR(30日)
- 1
説明
Steps to reproduce
Connect to Linux OMI Server 1.5.0 over basic auth.
Enter-PSSession -ComputerName $ENV:BOLT_HOST -Authentication Basic -UseSSL -Credential "root"
PowerShell credential request
Enter your credentials.
Password for user root: ********
[p4jz0jwh18iy4u0.delivery.puppetlabs.net]: PS /root> exit
Expected behavior
exit should cleanly return to the local pwsh session
Actual behavior
dyld: lazy symbol binding failed: Symbol not found: __os_log_error_impl
Referenced from: /usr/local/microsoft/powershell/6/libpsl-native.dylib (which was built for Mac OS X 10.13)
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: __os_log_error_impl
Referenced from: /usr/local/microsoft/powershell/6/libpsl-native.dylib (which was built for Mac OS X 10.13)
Expected in: /usr/lib/libSystem.B.dylib
[3] 59560 abort pwsh
Environment data
Mac OSX 10.12
> $PSVersionTable
Name Value
---- -----
PSVersion 6.1.0
PSEdition Core
GitCommitId 6.1.0
OS Darwin 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 21 20:07:39 PDT 2018; root:xnu-3789.73.14~1/RELEASE_X86_64
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
macOS 10.12 で、提供された Enter-PSSession コマンドを使ってクラッシュを再現し、libpsl-native.dylib のローダーエラーを調査します。報告されている macOS の互換性要件と、記載されている環境を比較します。接続先ホストを終了したときに、異常終了せずローカルの pwsh セッションへ正常に戻れば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp, powershell
- 領域
- operating-systems
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100