Hello!
I have fresh installation of ROOT 6.26/10 under Ubuntu 22.04.2 LTS.
I’m able to run the gui macro of tutorials located in $ROOTSYS/tutorials/gui - in ROOT console.
But when I try to run the gui tutorials for PyROOT located in $ROOTSYS/tutorials/pyroot - especially, the gui_ex.py file I have segmentation violation caused by libX11.so.6
The error looks this:
The program finished and will be restarted
Error in <RootX11ErrorHandler>: BadWindow (invalid Window parameter) (TGTextButton XID: 39846268, XREQ: 61)
TGTextButton: 39846268
*** Break *** segmentation violation
Have anybody any advice what can cause the error? And what can be it solved?
Details:
ROOT - version:
------------------------------------------------------------------
| Welcome to ROOT 6.26/10 https://root.cern |
| (c) 1995-2021, The ROOT Team; conception: R. Brun, F. Rademakers |
| Built for linuxx8664gcc on Feb 22 2023, 18:41:00 |
| From heads/latest-stable@4dddea35 |
| With c++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0 |
| Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |
------------------------------------------------------------------
The stack trace:
7 0x000055ce650eb4b0 in ?? ()
#8 0x00007f1bc69d7d41 in TGWindow::Print(char const*) const () from /media/gregosh/Storage/Instalacyjne/ROOT/root_install/lib/libGui.so
#9 0x00007f1bc690f6bb in TGFrame::Print(char const*) const () from /media/gregosh/Storage/Instalacyjne/ROOT/root_install/lib/libGui.so
#10 0x00007f1bc63205f6 in RootX11ErrorHandler(_XDisplay*, XErrorEvent*) () from /media/gregosh/Storage/Instalacyjne/ROOT/root_install/lib/libGX11.so
#11 0x00007f1bc62108f4 in _XError () from /lib/x86_64-linux-gnu/libX11.so.6
#12 0x00007f1bc62109f7 in ?? () from /lib/x86_64-linux-gnu/libX11.so.6
#13 0x00007f1bc6210a95 in ?? () from /lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007f1bc621230d in _XReply () from /lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007f1bc61e9932 in XGetGeometry () from /lib/x86_64-linux-gnu/libX11.so.6
#16 0x00007f1bd147ae05 in TGX11TTF::DrawString(unsigned long, unsigned long, int, int, char const*, int) () from /media/gregosh/Storage/Instalacyjne/ROOT/root_install/lib/libGX11TTF.so
#17 0x00007f1bc68f2e42 in TGFont::DrawChars(unsigned long, unsigned long, char const*, int, int, int) const () from /media/gregosh/Storage/Instalacyjne/ROOT/root_install/lib/libGui.so
#18 0x00007f1bc68f3094 in TGTextLayout::DrawText(unsigned long, unsigned long, int, int, int, int) const () from /media/gregosh/Storage/Instalacyjne/ROOT/root_install/lib/libGui.so
#19 0x00007f1bc689578b in TGTextButton::DoRedraw() () from /media/gregosh/Storage/Instalacyjne/ROOT/root_install/lib/libGui.so
#20 0x00007f1bc68b5604 in TGClient::DoRedraw() () from /media/gregosh/Storage/Instalacyjne/ROOT/root_install/lib/libGui.so
#21 0x00007f1bc68b70f8 in TGClient::ProcessOneEvent() () from /media/gregosh/Storage/Instalacyjne/ROOT/root_install/lib/libGui.so
#22 0x00007f1bc68b718b in TGClient::HandleInput() () from /media/gregosh/Storage/Instalacyjne/ROOT/root_install/lib/libGui.so
#23 0x00007f1be0eb60f8 in TUnixSystem::DispatchOneEvent(bool) () from /media/gregosh/Storage/Instalacyjne/ROOT/root_install/lib/libCore.so
#24 0x00007f1be0dc02d2 in TSystem::ProcessEvents() () from /media/gregosh/Storage/Instalacyjne/ROOT/root_install/lib/libCore.so
#25 0x00007f1bda58f012 in ?? ()
#26 0x0000000000000000 in ?? ()