TBrowser old mode does not open TCanvas in macOS Tahoe


Dear colleagues,

I just installed root 6.40.02_1 in macOS 26.2 Tahoe, using ```brew install root``` . I would like to use the old mode TBrowser → ```root --web=off ```.

Everything seems to be working fine, except for TCanvas.

The TFiles, TTrees, tuples, etc are perfectely displayed. For TCanvas the program crashes:

```

*** Break *** segmentation violation
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[/opt/homebrew/Cellar/root/6.40.02_1/lib/root/libGpad.so] TCanvas::Build() (no debug info)
[/opt/homebrew/Cellar/root/6.40.02_1/lib/root/libGpad.so] TCanvas::Draw(char const*) (no debug info)
[/opt/homebrew/Cellar/root/6.40.02_1/lib/root/libGpad.so] TCanvas::Browse(TBrowser*) (no debug info)
[/opt/homebrew/Cellar/root/6.40.02_1/lib/root/libGui.so] TGFileBrowser::DoubleClicked(TGListTreeItem*, int) (no debug info)
[/opt/homebrew/Cellar/root/6.40.02_1/lib/root/libCling.so] TClingCallFunc::exec(void*, void*) (no debug info)
[/opt/homebrew/Cellar/root/6.40.02_1/lib/root/libCore.so] TQConnection::SendSignal() (no debug info)
[/opt/homebrew/Cellar/root/6.40.02_1/lib/root/libGui.so] void TQObject::EmitVA<long [2]>(char const*, int, long const (&) [2]) (no debug info)
[/opt/homebrew/Cellar/root/6.40.02_1/lib/root/libGui.so] TGListTree::DoubleClicked(TGListTreeItem*, int) (no debug info)
[/opt/homebrew/Cellar/root/6.40.02_1/lib/root/libGui.so] TGListTree::HandleDoubleClick(Event_t*) (no debug info)
[/opt/homebrew/Cellar/root/6.40.02_1/lib/root/libGui.so] TGFrame::HandleEvent(Event_t*) (no debug info)
[/opt/homebrew/Cellar/root/6.40.02_1/lib/root/libGui.so] TGClient::HandleEvent(Event_t*) (no debug info)
[/opt/homebrew/Cellar/root/6.40.02_1/lib/root/libGui.so] TGClient::ProcessOneEvent() (no debug info)
[/opt/homebrew/Cellar/root/6.40.02_1/lib/root/libGui.so] TGInputHandler::Notify() (no debug info)
[/opt/homebrew/Cellar/root/6.40.02_1/lib/root/libCore.so] TMacOSXSystem::DispatchOneEvent(bool) (no debug info)
[/opt/homebrew/Cellar/root/6.40.02_1/lib/root/libCore.so] TSystem::InnerLoop() (no debug info)
[/opt/homebrew/Cellar/root/6.40.02_1/lib/root/libCore.so] TSystem::Run() (no debug info)
[/opt/homebrew/Cellar/root/6.40.02_1/lib/root/libCore.so] TApplication::Run(bool) (no debug info)
[/opt/homebrew/Cellar/root/6.40.02_1/lib/root/libRint.so] TRint::Run(bool) (no debug info)
[/opt/homebrew/Cellar/root/6.40.02_1/bin/root.exe] main (no debug info)
[/usr/lib/dyld] start (no debug info)
Root >

```
Could someone please help me find where the error is coming from?

Thank you,

Katherin

ROOT Version: 6.40.02_1
Platform: MacOS Tahoe 26.2
Compiler: Apple clang version 21.0.0


Hi,

Are you read TCanvas from the file?
There was a bug, which is fixed recently:

It will be available soon with next ROOT 6.40.04 release

Regards,
Sergey

Yes, it happens when drawing canvas saved in a file.
Thanks for answering so fast.

So, I understand it’s best to wait for the new release, right?

Kind regards,

Katherin