Skip to content

Segfault in matplotlib.tests.test_image:test_get_window_extent_for_AxisImage on python3.5 #5429

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

Closed
jenshnielsen opened this issue Nov 7, 2015 · 3 comments
Assignees
Milestone

Comments

@jenshnielsen
Copy link
Member

On master here: https://travis-ci.org/matplotlib/matplotlib/jobs/89776539

Unfortunately this is not caught because we use the nose multiprocessing plugin just skips the test

@jenshnielsen
Copy link
Member Author

It seems to be due to the test calling
fig.canvas.draw() within a nose test.

I.e. running the tests as a script does not trigger the segfault

@tacaswell tacaswell added this to the proposed next point release (2.1) milestone Nov 7, 2015
@mdboom mdboom self-assigned this Nov 7, 2015
@mdboom
Copy link
Member

mdboom commented Nov 7, 2015

Traceback makes me think it's related to #5361

@mdboom
Copy link
Member

mdboom commented Nov 7, 2015

#0  agg::pixfmt_alpha_blend_rgba<fixed_blender_rgba_plain<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >::blend_solid_hspan (this=this@entry=0x177a4d8, 
    x=x@entry=0, y=y@entry=991, len=<optimized out>, len@entry=4294967291, c=..., covers=0x1802000 <error: Cannot access memory at address 0x1802000>)
    at extern/agg24-svn/include/agg_pixfmt_rgba.h:1859
#1  0x00007fffe4e44d75 in agg::pixfmt_alpha_blend_rgba<fixed_blender_rgba_plain<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >::blend_solid_hspan (
    covers=<optimized out>, c=..., len=<optimized out>, y=991, x=0, this=0x177a4d8) at extern/agg24-svn/include/agg_pixfmt_rgba.h:1854
#2  RendererAgg::draw_text_image<numpy::array_view<unsigned char, 2> > (this=0x177a390, gc=..., image=..., x=<optimized out>, y=1006, angle=<optimized out>) at src/_backend_agg.h:792
#3  0x00007fffe4e3382e in PyRendererAgg_draw_text_image (self=0x7fffe7de9390, args=<optimized out>, kwds=<optimized out>) at src/_backend_agg_wrapper.cpp:240
#4  0x0000000000599cf9 in PyCFunction_Call (func=func@entry=0x7fffe7d59438, args=args@entry=0x7fffe7dc3e60, kwds=kwds@entry=0x0) at Objects/methodobject.c:109

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

No branches or pull requests

3 participants