I have a problem while exiting root with .q
If i run a macro creating canvases and i close them before .q, i get the following errors:
2019-09-27 09:58:29.292 root.exe[3044:189346] Fatal error: requested non-existing drawable 147
2019-09-27 09:58:29.292 root.exe[3044:189346] This window not found among allocated/deleted drawables
*** Break *** segmentation violation
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[<unknown binary>] (no debug info)
[/Applications/root/lib/libGpad.6.18.04.so] TCanvas::SetDoubleBuffer(int) (no debug info)
[/Applications/root/lib/libGpad.6.18.04.so] TCanvas::Close(char const*) (no debug info)
[/Applications/root/lib/libGpad.6.18.04.so] TCanvas::~TCanvas() (no debug info)
[/Applications/root/lib/libGpad.6.18.04.so] TCanvas::~TCanvas() (no debug info)
[/Applications/root/lib/libCore.6.18.so] TList::Delete(char const*) (no debug info)
[/Applications/root/lib/libCore.6.18.so] TROOT::EndOfProcessCleanups() (no debug info)
[/Applications/root/lib/libCore.6.18.so] TUnixSystem::Exit(int, bool) (no debug info)
[/Applications/root/lib/libCore.6.18.so] TApplication::Terminate(int) (no debug info)
[/Applications/root/lib/libCore.6.18.so] TApplication::ProcessLine(char const*, bool, int*) (no debug info)
[/Applications/root/lib/libRint.6.18.so] TRint::ProcessLineNr(char const*, char const*, int*) (no debug info)
[/Applications/root/lib/libRint.6.18.so] TRint::HandleTermInput() (no debug info)
[/Applications/root/lib/libCore.6.18.so] TUnixSystem::CheckDescriptors() (no debug info)
[/Applications/root/lib/libCore.6.18.so] TMacOSXSystem::DispatchOneEvent(bool) (no debug info)
[/Applications/root/lib/libCore.6.18.so] TSystem::InnerLoop() (no debug info)
[/Applications/root/lib/libCore.6.18.so] TSystem::Run() (no debug info)
[/Applications/root/lib/libCore.6.18.so] TApplication::Run(bool) (no debug info)
[/Applications/root/lib/libRint.6.18.so] TRint::Run(bool) (no debug info)
[/Applications/root/bin/root.exe] main (no debug info)
[/usr/lib/system/libdyld.dylib] start (no debug info)
[<unknown binary>] (no debug info)
i have to do .q again for each closed canvas. Any idea on how to fix this?
Please read tips for efficient and successful posting and posting code
ROOT Version: 6.18/04
Platform: macOS Mojave 10.14.6
Compiler: Not Provided