The following sequence produced a SEG FAULT:
The following sequence produced a SEG FAULT:

root [0] TFile f("can.root")
root [1] TCanvas* can = (TCanvas*)f.Get("can")
root [2] gROOT->SetBatch(1)
root [3] can->Draw()

see: https://savannah.cern.ch/bugs/?84174


git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@40195 27541ba8-7e3a-0410-8455-c3a389f83636

sbinet/cxx-root,perovic/root,satyarth934/root,agarciamontoro/root,gganis/root,esakellari/root,buuck/root,smarinac/root,abhinavmoudgil95/root,zzxuanyuan/root-compressor-dummy,omazapa/root-old,mhuwiler/rootauto,zzxuanyuan/root-compressor-dummy,omazapa/root,veprbl/root,Duraznos/root,zzxuanyuan/root-compressor-dummy,thomaskeck/root,tc3t/qoot,root-mirror/root,evgeny-boger/root,omazapa/root,olifre/root,smarinac/root,karies/root,kirbyherm/root-r-tools,alexschlueter/cern-root,sawenzel/root,gganis/root,beniz/root,esakellari/my_root_for_test,evgeny-boger/root,buuck/root,krafczyk/root,smarinac/root,abhinavmoudgil95/root,jrtomps/root,Y--/root,bbockelm/root,sawenzel/root,agarciamontoro/root,jrtomps/root,tc3t/qoot,olifre/root,mkret2/root,pspe/root,nilqed/root,dfunke/root,arch1tect0r/root,esakellari/root,georgtroska/root,strykejern/TTreeReader,sawenzel/root,Duraznos/root,perovic/root,krafczyk/root,georgtroska/root,zzxuanyuan/root-compressor-dummy,abhinavmoudgil95/root,alexschlueter/cern-root,mattkretz/root,beniz/root,agarciamontoro/root,mkret2/root,arch1tect0r/root,agarciamontoro/root,omazapa/root-old,Duraznos/root,lgiommi/root,mkret2/root,sirinath/root,krafczyk/root,sirinath/root,georgtroska/root,georgtroska/root,satyarth934/root,esakellari/root,gbitzes/root,omazapa/root,arch1tect0r/root,thomaskeck/root,Duraznos/root,0x0all/ROOT,perovic/root,zzxuanyuan/root-compressor-dummy,thomaskeck/root,gbitzes/root,mhuwiler/rootauto,gbitzes/root,sbinet/cxx-root,gbitzes/root,mattkretz/root,sbinet/cxx-root,pspe/root,CristinaCristescu/root,krafczyk/root,veprbl/root,esakellari/root,Duraznos/root,ffurano/root5,karies/root,tc3t/qoot,gganis/root,sawenzel/root,CristinaCristescu/root,zzxuanyuan/root,smarinac/root,bbockelm/root,strykejern/TTreeReader,Y--/root,tc3t/qoot,mattkretz/root,Duraznos/root,omazapa/root-old,sirinath/root,abhinavmoudgil95/root,vukasinmilosevic/root,smarinac/root,vukasinmilosevic/root,kirbyherm/root-r-tools,bbockelm/root,buuck/root,sawenzel/root,arch1tect0r/root,esakellari/root,omazapa/root-old,agarciamontoro/root,thomaskeck/root,bbockelm/root,georgtroska/root,simonpf/root,tc3t/qoot,sbinet/cxx-root,sawenzel/root,root-mirror/root,arch1tect0r/root,mattkretz/root,sirinath/root,simonpf/root,Dr15Jones/root,vukasinmilosevic/root,davidlt/root,dfunke/root,beniz/root,BerserkerTroll/root,BerserkerTroll/root,smarinac/root,simonpf/root,thomaskeck/root,cxx-hep/root-cern,Dr15Jones/root,omazapa/root-old,sbinet/cxx-root,olifre/root,pspe/root,beniz/root,thomaskeck/root,0x0all/ROOT,tc3t/qoot,davidlt/root,abhinavmoudgil95/root,perovic/root,Y--/root,karies/root,simonpf/root,satyarth934/root,omazapa/root-old,tc3t/qoot,zzxuanyuan/root-compressor-dummy,esakellari/root,satyarth934/root,nilqed/root,perovic/root,buuck/root,root-mirror/root,veprbl/root,sirinath/root,simonpf/root,alexschlueter/cern-root,Duraznos/root,dfunke/root,krafczyk/root,lgiommi/root,gbitzes/root,nilqed/root,omazapa/root-old,sirinath/root,CristinaCristescu/root,bbockelm/root,evgeny-boger/root,esakellari/my_root_for_test,beniz/root,thomaskeck/root,omazapa/root,0x0all/ROOT,omazapa/root,mhuwiler/rootauto,root-mirror/root,gbitzes/root,lgiommi/root,buuck/root,dfunke/root,sawenzel/root,nilqed/root,esakellari/my_root_for_test,omazapa/root,pspe/root,krafczyk/root,sirinath/root,davidlt/root,abhinavmoudgil95/root,perovic/root,esakellari/my_root_for_test,veprbl/root,satyarth934/root,bbockelm/root,jrtomps/root,jrtomps/root,cxx-hep/root-cern,kirbyherm/root-r-tools,strykejern/TTreeReader,sbinet/cxx-root,esakellari/root,pspe/root,buuck/root,zzxuanyuan/root,mattkretz/root,Dr15Jones/root,mattkretz/root,smarinac/root,georgtroska/root,thomaskeck/root,alexschlueter/cern-root,Y--/root,esakellari/root,davidlt/root,strykejern/TTreeReader,root-mirror/root,0x0all/ROOT,krafczyk/root,nilqed/root,BerserkerTroll/root,perovic/root,omazapa/root,simonpf/root,Y--/root,ffurano/root5,zzxuanyuan/root,georgtroska/root,root-mirror/root,agarciamontoro/root,georgtroska/root,ffurano/root5,0x0all/ROOT,agarciamontoro/root,strykejern/TTreeReader,olifre/root,lgiommi/root,Y--/root,gganis/root,sirinath/root,esakellari/my_root_for_test,satyarth934/root,veprbl/root,olifre/root,root-mirror/root,BerserkerTroll/root,Duraznos/root,abhinavmoudgil95/root,jrtomps/root,buuck/root,strykejern/TTreeReader,davidlt/root,jrtomps/root,abhinavmoudgil95/root,lgiommi/root,karies/root,evgeny-boger/root,vukasinmilosevic/root,mkret2/root,jrtomps/root,karies/root,nilqed/root,dfunke/root,BerserkerTroll/root,zzxuanyuan/root,buuck/root,omazapa/root,bbockelm/root,mkret2/root,0x0all/ROOT,buuck/root,gganis/root,vukasinmilosevic/root,sbinet/cxx-root,zzxuanyuan/root,veprbl/root,karies/root,dfunke/root,mattkretz/root,perovic/root,pspe/root,abhinavmoudgil95/root,arch1tect0r/root,gbitzes/root,esakellari/root,tc3t/qoot,cxx-hep/root-cern,olifre/root,pspe/root,mattkretz/root,BerserkerTroll/root,Dr15Jones/root,vukasinmilosevic/root,ffurano/root5,sawenzel/root,esakellari/my_root_for_test,root-mirror/root,lgiommi/root,BerserkerTroll/root,lgiommi/root,gbitzes/root,zzxuanyuan/root,satyarth934/root,zzxuanyuan/root,davidlt/root,olifre/root,beniz/root,ffurano/root5,0x0all/ROOT,Y--/root,sawenzel/root,omazapa/root,cxx-hep/root-cern,georgtroska/root,cxx-hep/root-cern,buuck/root,mattkretz/root,nilqed/root,krafczyk/root,olifre/root,mhuwiler/rootauto,Duraznos/root,olifre/root,zzxuanyuan/root,alexschlueter/cern-root,arch1tect0r/root,gganis/root,simonpf/root,lgiommi/root,satyarth934/root,mhuwiler/rootauto,gbitzes/root,sbinet/cxx-root,gganis/root,mhuwiler/rootauto,evgeny-boger/root,beniz/root,tc3t/qoot,zzxuanyuan/root,abhinavmoudgil95/root,jrtomps/root,pspe/root,esakellari/root,jrtomps/root,sbinet/cxx-root,lgiommi/root,jrtomps/root,gganis/root,simonpf/root,cxx-hep/root-cern,CristinaCristescu/root,karies/root,simonpf/root,evgeny-boger/root,dfunke/root,vukasinmilosevic/root,kirbyherm/root-r-tools,BerserkerTroll/root,zzxuanyuan/root-compressor-dummy,krafczyk/root,arch1tect0r/root,CristinaCristescu/root,abhinavmoudgil95/root,kirbyherm/root-r-tools,Duraznos/root,kirbyherm/root-r-tools,evgeny-boger/root,karies/root,veprbl/root,omazapa/root-old,CristinaCristescu/root,karies/root,gbitzes/root,agarciamontoro/root,mkret2/root,gganis/root,perovic/root,simonpf/root,davidlt/root,thomaskeck/root,krafczyk/root,veprbl/root,sirinath/root,krafczyk/root,sawenzel/root,mkret2/root,omazapa/root-old,CristinaCristescu/root,evgeny-boger/root,Dr15Jones/root,thomaskeck/root,mkret2/root,0x0all/ROOT,ffurano/root5,davidlt/root,Y--/root,karies/root,zzxuanyuan/root-compressor-dummy,satyarth934/root,lgiommi/root,nilqed/root,mattkretz/root,smarinac/root,agarciamontoro/root,ffurano/root5,nilqed/root,bbockelm/root,zzxuanyuan/root,omazapa/root,esakellari/my_root_for_test,esakellari/root,vukasinmilosevic/root,agarciamontoro/root,nilqed/root,vukasinmilosevic/root,simonpf/root,zzxuanyuan/root-compressor-dummy,Dr15Jones/root,bbockelm/root,evgeny-boger/root,davidlt/root,georgtroska/root,mhuwiler/rootauto,gganis/root,BerserkerTroll/root,alexschlueter/cern-root,beniz/root,mkret2/root,perovic/root,omazapa/root,arch1tect0r/root,agarciamontoro/root,dfunke/root,bbockelm/root,cxx-hep/root-cern,dfunke/root,mhuwiler/rootauto,Duraznos/root,mhuwiler/rootauto,georgtroska/root,sbinet/cxx-root,vukasinmilosevic/root,vukasinmilosevic/root,root-mirror/root,BerserkerTroll/root,alexschlueter/cern-root,sbinet/cxx-root,strykejern/TTreeReader,mkret2/root,smarinac/root,esakellari/my_root_for_test,CristinaCristescu/root,bbockelm/root,dfunke/root,zzxuanyuan/root,omazapa/root-old,pspe/root,sirinath/root,beniz/root,zzxuanyuan/root-compressor-dummy,Dr15Jones/root,olifre/root,olifre/root,gganis/root,root-mirror/root,mhuwiler/rootauto,CristinaCristescu/root,beniz/root,tc3t/qoot,satyarth934/root,lgiommi/root,veprbl/root,smarinac/root,dfunke/root,zzxuanyuan/root,arch1tect0r/root,kirbyherm/root-r-tools,omazapa/root-old,davidlt/root,cxx-hep/root-cern,pspe/root,root-mirror/root,davidlt/root,evgeny-boger/root,CristinaCristescu/root,pspe/root,veprbl/root,arch1tect0r/root,Y--/root,esakellari/my_root_for_test,jrtomps/root,veprbl/root,satyarth934/root,zzxuanyuan/root-compressor-dummy,nilqed/root,BerserkerTroll/root,karies/root,sawenzel/root,esakellari/my_root_for_test,mhuwiler/rootauto,mattkretz/root,evgeny-boger/root,perovic/root,mkret2/root,CristinaCristescu/root,sirinath/root,0x0all/ROOT,beniz/root,buuck/root,Y--/root,Y--/root,gbitzes/root