You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By leveraging std::max_align_t, insure that the return addressed (offset-ed
compared to the address allocated by TStorage::ObjectAlloc) is still well
aligned.
In https://root-forum.cern.ch/t/libnew-so-and-tcanvas/51039/8, executing
in rootn.exe:
TMapFile *mf=TMapFile::Create("test.map","recreate")
TH1 *h=new TH1F("test","test",100,-5,5)
h->Fill (0)
h->Draw()
led to a segmentation fault in
during the execution of:
=> 0x00007ffff2a62a12 <+162>: movaps %xmm0,0x10(%r12)
with an address that was ending in '8'. When allocating
the TMethodCall, the address returned was aligned on a 16 bit
boundary but the memory counting over-allocating was shifting
the address by 'only' 8 bits, leading to a mis-aligned access
by this vector memcpy.
0 commit comments