Skip to content
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

Reproduce SIGSEGV (#574) #576

Closed
wants to merge 1 commit into from

Conversation

vmarkovtsev
Copy link
Contributor

No description provided.

@stsci-bot
Copy link

stsci-bot bot commented Oct 25, 2018

Hi there @vmarkovtsev 👋 - thanks for the pull request! I'm just a friendly 🤖 that checks for issues related to the changelog. I help make sure that this pull request is milestoned and labeled correctly. This is mainly intended for the maintainers, so if you are not a maintainer you can ignore this, and a maintainer will let you know if any action is required on your part 😃.

I noticed the following issues with this pull request:

  • The milestone has not been set (this can only be set by a maintainer)
  • Changelog entry not present (or pull request number missing) and neither the Affects-dev nor the no-changelog-entry-needed label are set

Would it be possible to fix these? Thanks!

If there are any issues with this message, please report them here.

@vmarkovtsev
Copy link
Contributor Author

@drdavella
Copy link
Contributor

Thanks, I'll try to track this down today. I added pytest-faulthandler to the travis jobs a while ago, which is very useful for tracing these kinds of failures.

@drdavella
Copy link
Contributor

The only test that fails with this change is this one:
https://github.com/spacetelescope/asdf/blob/32abe89ce024ec93b838bdf684a74662a83ee0f0/asdf/tags/core/tests/test_ndarray.py#L62-L88

Specifically, the failure is caused by this line:
https://github.com/spacetelescope/asdf/blob/32abe89ce024ec93b838bdf684a74662a83ee0f0/asdf/tags/core/tests/test_ndarray.py#L82

Presumably this is because it attempts to write to a memory map that has been opened as read-only. I can reproduce this reliably, but I'm still not entirely certain about the root cause at this point.

My proposal to fix this bug is to deprecate the mode= argument to asdf.open, since I don't think it serves any real purpose and only can lead to issues like this one. See #578 for discussion.

@vmarkovtsev
Copy link
Contributor Author

Reproduced => no longer needed.

@vmarkovtsev vmarkovtsev deleted the patch-5 branch October 29, 2018 09:47
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