segmentation fault with the viewer
Josh Warner
silvertrumpet999 at gmail.com
Sat Jun 29 17:58:22 EDT 2013
I got it to segfault once using the tk backend for pylab, but it wasn't
robustly repeatable (randomly happened once out of a lot of focus
losses/regains, and never on close).
It looked similar to routine segfaults I get for the tk backend, which I've
never been able to track down. That's why I usually avoid the tk backend
like the plage...
Is this reproducible on any other backends?
On Saturday, June 29, 2013 4:20:54 PM UTC-5, Emmanuelle Gouillart wrote:
>
> Dear all,
>
> I've started playing around with skimage's viewer, and I get a
> segmentation fault when I try to close the viewer window, or when I click
> on the window after having the focus on another window. Also, the command
> viewer.show() is blocking (I'm running ipython --pylab - corresponding to
> the TkAgg backend).
>
> Running a test script from ipython in gdb yields the following message:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007fffd4aa511d in
> Shiboken::Conversions::isPythonToCppConvertible(SbkConverter*, _object*)
> () from /usr/lib/x86_64-linux-gnu/libshiboken-python2.7.so.1.1
>
> I'm running Ubuntu 12.04 with Nvidia's proprietary drivers.
>
> I am the only one having this problem? Any idea where the seg fault comes
> from? I reproduce below the test script.
>
> Cheers,
> Emmanuelle
>
> *****************
>
> from skimage import data
> from skimage.viewer import ImageViewer
>
> image = data.coins()
> from skimage.filter import tv_denoise
> from skimage.viewer.plugins.base import Plugin
>
> denoise_plugin = Plugin(image_filter=tv_denoise)
> from skimage.viewer.widgets import Slider
> from skimage.viewer.widgets.history import SaveButtons
>
> denoise_plugin += Slider('weight', 0.01, 0.5, update_on='release')
> denoise_plugin += SaveButtons()
>
> viewer = ImageViewer(image)
> viewer += denoise_plugin
> viewer.show()
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20130629/da050428/attachment.html>
More information about the scikit-image
mailing list