Skip to content

seg fault on debian #11887

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 9, 2020
Merged

seg fault on debian #11887

merged 5 commits into from
Jun 9, 2020

Conversation

xiangyan99
Copy link
Member

@xiangyan99 xiangyan99 commented Jun 8, 2020

VS code credential raises seg fault on debian 3.8.3. It kills python process and user cannot catch the exception. Disable it on debian 3.8.3 for now to unblock user.

@xiangyan99
Copy link
Member Author

/azp run python - identity - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@xiangyan99
Copy link
Member Author

/azp run python - identity - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

try:
import platform
distro = platform.uname()
if sys.version_info[0] == 3 and sys.version_info[1] == 8 \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sys.version_info >= (3, 8)?

if sys.version_info[0] == 3 and sys.version_info[1] == 8 \
and not (distro[1] == "redhat" or distro[1] == "ubuntu"):
raise NotImplementedError("Not supported")
except Exception: # pylint: disable=broad-except
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're anticipating errors from indexing distro here, "redhat" in distro or "ubuntu" in distro might be better.

@xiangyan99 xiangyan99 merged commit 25601b1 into master Jun 9, 2020
@xiangyan99 xiangyan99 deleted the identity_vscode_limit branch June 9, 2020 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants