Segmentation fault when trying to process hits

Geant4 Version: 11.2.2
Operating System: MacOS Sequoia 15.0
Compiler/Version: Apple Clang 16.0.0
CMake Version: CMake 3.30.5
Hardware: Apple Macbook Air M1 (2020)

Hello! I tried to extend exampleB5 by changing the dimensions of the hadronic calorimeter and hiding the other components, but I encountered a segmentation fault. I ran it again on lldb and it suggested this:

Process 29161 stopped
* thread #8, stop reason = EXC_BAD_ACCESS (code=1, address=0x8)
    frame #0: 0x000000010001af30 G4tut`HadCalorimeterSD::ProcessHits(G4Step*, G4TouchableHistory*) [inlined] HadCalorimeterHit::GetColumnID(this=0x0000000000000000) const at HadCalorimeterHit.hh:72:40 [opt]
   69  	    virtual void Print();
   70  	    
   71  	    void SetColumnID(G4int z) { fColumnID = z; }
-> 72  	    G4int GetColumnID() const { return fColumnID; }
   73  	
   74  	    void SetRowID(G4int z) { fRowID = z; }
   75  	    G4int GetRowID() const { return fRowID; }
Target 0: (G4tut) stopped.

Here is the copy of the detector construction and the header in question:
DetectorConstruction.cc (15.2 KB)
HadCalorimeterHit.hh (4.1 KB)

Hoping that this will be solved, thanks!

The first check would be to check for geometry issues. In the UI mode this should be geometry/run command where you can also tweak the resolution. If any overlaps are detected, I would fix those issues first.