Successfully read 971 TChannels from SummingCorrectionsHelper30564_000-009.root
GRSI [0] TBGSubtraction g(griffinGriffinEMixedSingleCrystal)
Selecting the x axis
Selecting gaussian peak
fPeak = 0xc892d7a30
(TBGSubtraction &) Name: fBGSubtraction2 Title: NOLINT(readability-else-after-return)
GRSI [1] Selecting the y axis
*** Break *** segmentation violation
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[/Users/lapoluperi/Desktop/GRSISort/lib/libTGUI.so] TBGSubtraction::DrawGateMarkers() /Users/lapoluperi/Desktop/GRSISort/libraries/TGUI/TBGSubtraction.cxx:731
[/Users/lapoluperi/Desktop/GRSISort/lib/libTGUI.so] TBGSubtraction::DrawGateMarkers() /Users/lapoluperi/Desktop/GRSISort/libraries/TGUI/TBGSubtraction.cxx:731
[/Users/lapoluperi/Desktop/GRSISort/lib/libTGUI.so] TBGSubtraction::ResetInterface() /Users/lapoluperi/Desktop/GRSISort/libraries/TGUI/TBGSubtraction.cxx:199
[/Users/lapoluperi/Desktop/GRSISort/lib/libTGUI.so] TBGSubtraction::AxisComboSelected() /Users/lapoluperi/Desktop/GRSISort/libraries/TGUI/TBGSubtraction.cxx:584
[/opt/local/libexec/root6/lib/root/libCling.6.36.04.so] TClingCallFunc::exec(void*, void*) (no debug info)
[/opt/local/libexec/root6/lib/root/libCore.6.36.04.so] TQConnection::SendSignal() (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] void TQObject::EmitVA<long [2]>(char const*, int, long const (&) [2]) (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] TGComboBox::Selected(int, int) (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] TGComboBox::ProcessMessage(long, long, long) (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] TGFrame::HandleClientMessage(Event_t*) (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] TGFrame::HandleEvent(Event_t*) (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] TGClient::HandleMaskEvent(Event_t*, unsigned long) (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] TGClient::ProcessOneEvent() (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] TGInputHandler::Notify() (no debug info)
[/opt/local/libexec/root6/lib/root/libCore.6.36.04.so] TUnixSystem::DispatchOneEvent(bool) (no debug info)
[/opt/local/libexec/root6/lib/root/libCore.6.36.04.so] TSystem::ProcessEvents() (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] TGClient::WaitForUnmap(TGWindow*) (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] TGComboBoxPopup::PlacePopup(int, int, unsigned int, unsigned int) (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] TGComboBox::HandleButton(Event_t*) (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] TGFrame::HandleEvent(Event_t*) (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] TGClient::HandleEvent(Event_t*) (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] TGClient::ProcessOneEvent() (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] TGInputHandler::Notify() (no debug info)
[/opt/local/libexec/root6/lib/root/libCore.6.36.04.so] TUnixSystem::DispatchOneEvent(bool) (no debug info)
[/opt/local/libexec/root6/lib/root/libCore.6.36.04.so] TSystem::InnerLoop() (no debug info)
[/opt/local/libexec/root6/lib/root/libCore.6.36.04.so] TSystem::Run() (no debug info)
[/opt/local/libexec/root6/lib/root/libCore.6.36.04.so] TApplication::Run(bool) (no debug info)
[/opt/local/libexec/root6/lib/root/libRint.6.36.04.so] TRint::Run(bool) (no debug info)
[/Users/lapoluperi/Desktop/GRSISort/bin/grsisort] main /Users/lapoluperi/Desktop/GRSISort/src/grsisort.cxx:89
[/usr/lib/dyld] start (no debug info)
Root > zsh: segmentation fault grsisort SummingCorrectionsHelper30564_000-009.root
Describe the bug
After opening a file to then use TBGSubtraction, I want to change the x to y axis.
When I try to do this, everything crashes.
To Reproduce
On MacbookPro Intel (2023), March-version of GRSISort.
Expected behavior
I would expect to have x and y axis inverted.

Successfully read 971 TChannels from SummingCorrectionsHelper30564_000-009.root
GRSI [0] TBGSubtraction g(griffinGriffinEMixedSingleCrystal)
Selecting the x axis
Selecting gaussian peak
fPeak = 0xc892d7a30
(TBGSubtraction &) Name: fBGSubtraction2 Title: NOLINT(readability-else-after-return)
GRSI [1] Selecting the y axis
*** Break *** segmentation violation
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[/Users/lapoluperi/Desktop/GRSISort/lib/libTGUI.so] TBGSubtraction::DrawGateMarkers() /Users/lapoluperi/Desktop/GRSISort/libraries/TGUI/TBGSubtraction.cxx:731
[/Users/lapoluperi/Desktop/GRSISort/lib/libTGUI.so] TBGSubtraction::DrawGateMarkers() /Users/lapoluperi/Desktop/GRSISort/libraries/TGUI/TBGSubtraction.cxx:731
[/Users/lapoluperi/Desktop/GRSISort/lib/libTGUI.so] TBGSubtraction::ResetInterface() /Users/lapoluperi/Desktop/GRSISort/libraries/TGUI/TBGSubtraction.cxx:199
[/Users/lapoluperi/Desktop/GRSISort/lib/libTGUI.so] TBGSubtraction::AxisComboSelected() /Users/lapoluperi/Desktop/GRSISort/libraries/TGUI/TBGSubtraction.cxx:584
[/opt/local/libexec/root6/lib/root/libCling.6.36.04.so] TClingCallFunc::exec(void*, void*) (no debug info)
[/opt/local/libexec/root6/lib/root/libCore.6.36.04.so] TQConnection::SendSignal() (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] void TQObject::EmitVA<long [2]>(char const*, int, long const (&) [2]) (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] TGComboBox::Selected(int, int) (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] TGComboBox::ProcessMessage(long, long, long) (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] TGFrame::HandleClientMessage(Event_t*) (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] TGFrame::HandleEvent(Event_t*) (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] TGClient::HandleMaskEvent(Event_t*, unsigned long) (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] TGClient::ProcessOneEvent() (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] TGInputHandler::Notify() (no debug info)
[/opt/local/libexec/root6/lib/root/libCore.6.36.04.so] TUnixSystem::DispatchOneEvent(bool) (no debug info)
[/opt/local/libexec/root6/lib/root/libCore.6.36.04.so] TSystem::ProcessEvents() (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] TGClient::WaitForUnmap(TGWindow*) (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] TGComboBoxPopup::PlacePopup(int, int, unsigned int, unsigned int) (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] TGComboBox::HandleButton(Event_t*) (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] TGFrame::HandleEvent(Event_t*) (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] TGClient::HandleEvent(Event_t*) (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] TGClient::ProcessOneEvent() (no debug info)
[/opt/local/libexec/root6/lib/root/libGui.6.36.04.so] TGInputHandler::Notify() (no debug info)
[/opt/local/libexec/root6/lib/root/libCore.6.36.04.so] TUnixSystem::DispatchOneEvent(bool) (no debug info)
[/opt/local/libexec/root6/lib/root/libCore.6.36.04.so] TSystem::InnerLoop() (no debug info)
[/opt/local/libexec/root6/lib/root/libCore.6.36.04.so] TSystem::Run() (no debug info)
[/opt/local/libexec/root6/lib/root/libCore.6.36.04.so] TApplication::Run(bool) (no debug info)
[/opt/local/libexec/root6/lib/root/libRint.6.36.04.so] TRint::Run(bool) (no debug info)
[/Users/lapoluperi/Desktop/GRSISort/bin/grsisort] main /Users/lapoluperi/Desktop/GRSISort/src/grsisort.cxx:89
[/usr/lib/dyld] start (no debug info)
Root > zsh: segmentation fault grsisort SummingCorrectionsHelper30564_000-009.root
Describe the bug
After opening a file to then use TBGSubtraction, I want to change the x to y axis.
When I try to do this, everything crashes.
To Reproduce
On MacbookPro Intel (2023), March-version of GRSISort.
Expected behavior
I would expect to have x and y axis inverted.