[Cin] two patches for vframe.C and trackcanvas.C
Georgy Salnikov
sge at nmr.nioch.nsc.ru
Mon Apr 11 10:04:01 CEST 2022
On Mon, 11 Apr 2022, Andrea paz via Cin wrote:
> Tried both patches with no problems. No core dumps or error messages.
> Playback is similar to that with CinGG-appimage (without patches).
In the build system of CGG not all the actual dependencies on the C++ header
files are defined. It is very likely that a simple `make all' after change
in some .h header file will recompile some .C files and not recompile some
other .C files which depend on the changed header. A probable result will be
inconsistency in memory layout of the internal variables in the C++ object
whose header has been changed: for example, some assume frames are 16-byte
aligned, some other assume they are aligned differently. Such inconsistency
can manifest itself, most likely, in a SEGV, but any other quirks are also
possible.
To test if it could be the case is easy: a complete fresh build with
preceding clean-up of all the .o, .a, and .so files.
_______________________________________________________________________________
Georgy Salnikov
NMR Group
Novosibirsk Institute of Organic Chemistry
Lavrentjeva, 9, 630090 Novosibirsk, Russia
Phone +7-383-3307864
Email sge at nmr.nioch.nsc.ru
_______________________________________________________________________________
More information about the Cin
mailing list