Crash and test failure during test_font_styles on win-amd64-py2.7#933
Merged
mdboom merged 1 commit intomatplotlib:v1.1.xfrom Jun 8, 2012
Merged
Crash and test failure during test_font_styles on win-amd64-py2.7#933mdboom merged 1 commit intomatplotlib:v1.1.xfrom
mdboom merged 1 commit intomatplotlib:v1.1.xfrom
Conversation
Contributor
Author
|
The most significant part of the call stack from the debugger: |
Member
|
This is a shot in the dark, since I can't detect anything wrong on Linux, but does the following resolve the issue? |
Contributor
Author
|
That will likely not work because it will create an endless loop. |
Member
|
I've included your solution as a PR here. Tested on Linux and seems to work fine. Does this also resolve the second part of the issue -- that bold fonts aren't bold? |
Contributor
Author
|
Yes, all tests pass on win-amd64 and win32. The bold font problem disappeared after deleting the font cache. |
Member
|
Ok. Great. Merging. |
mdboom
added a commit
that referenced
this pull request
Jun 8, 2012
Crash and test failure during test_font_styles on win-amd64-py2.7
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This issue was first reported on the matplotlib-devel mailing list at http://www.mail-archive.com/matplotlib-devel@lists.sourceforge.net/msg09076.html.
The latest github v1.1.x (and probably also the master) branch segfaults during the
matplotlib.tests.test_text.test_font_styles.teston win-amd64-py2.7 when using the PDF backend:The crash is in line 229 of ttconv/pprdrv_tt2.cpp during a back() call on an empty std::list. https://github.com/matplotlib/matplotlib/blob/v1.1.x/ttconv/pprdrv_tt2.cpp#L229
On win32-py2.7 the test fails but doesn't crash. The failure is that bold font styles are not rendered bold:
PR #905 is probably related.