I did some testing with libgl1-mesa-glx versions from snapshots.
the problem seems to have been introduced between 7.8.2-2 and
7.9+repack-1.

Also I can even get it to crash when I open a non-existing png but
"opening" an non-existing jpg works.
Opening and showing an existing jpg also crashes.
And all works with 7.8.2-2 but I do not see the connection ...

>ipython
>%run test.py

import matplotlib.pyplot as plt
import matplotlib.image as mpimg
#crashes
img=mpimg.imread('notexisting.png')
#does not crash
img=mpimg.imread('existing.jpg')

# crashes
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
img=mpimg.imread('existing.png')
#or
#img=mpimg.imread('existing.jpg')
imgplot=plt.imshow(img)
plt.show()

Attached a backtrace created by opening a non-existing png file with
7.9+repack-1.
I see no connection to libgl1-mesa-glx in it.

Attachment: backtrace.txt.gz
Description: GNU Zip compressed data

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to