Details
-
Bug
-
Status: Open (View Workflow)
-
High
-
Resolution: Unresolved
-
6.21/01
-
None
-
None
-
Ubuntu 18.04
Description
Opening an image after having loaded tensorflow results in a crash in libAsImage.
Code to reproduce it, after fixing the path to ROOTSYS for the image location
import ROOT
import tensorflow
f = ROOT.TImage.Open("tutorials/tmva/tmva_logo.gif")
Here is the stack trace
{{}}===========================================================
#5 _GI_IO_fread (buf=0x7fff7d230b09, size=1, count=6, fp=0x0) at iofread.c:37
#6 0x00007f15eabb46ab in fread_gif () from /home/moneta/rootgit/root-build/lib/libASImage.so
#7 0x00007f1636dd662f in DGifOpen () from /home/moneta/.local/lib/python3.6/site-packages/tensorflow_core/python/../libtensorflow_framework.so.2
#8 0x00007f15eab9492a in gif2ASImage () from /home/moneta/rootgit/root-build/lib/libASImage.so
#9 0x00007f15eab92300 in file2ASImage_extra () from /home/moneta/rootgit/root-build/lib/libASImage.so
#10 0x00007f15eab4bb9a in TASImage::ReadImage(char const*, TImage::EImageFileTypes) () from /home/moneta/rootgit/root-build/lib/libASImage.so
#11 0x00007f15ebd32110 in TImage::Open(char const*, TImage::EImageFileTypes) () from /home/moneta/rootgit/root-build/lib/libGraf.so
#12 0x00007f16a395f04f in ?? ()
#13 0x00007f15fc7020e0 in gThreadTsd () from /home/moneta/rootgit/root-build/lib/libCore.so
#14 0x00007fff7d230ee0 in ?? ()
#15 0x00000000071ced20 in ?? ()
#16 0x00007f15fd9f7468 in g_method2callfunc () from /home/moneta/rootgit/root-build/lib/libPyROOT.so
#17 0x00007fff7d230fd0 in ?? ()
#18 0x00000011f74d6998 in ?? ()
#19 0x00007fff7d230fd0 in ?? ()
#20 0x00007fff7d230f00 in ?? ()
#21 0x0000000100000000 in ?? ()
#22 0x0000000000000000 in ?? ()
===========================================================