root icon indicating copy to clipboard operation
root copied to clipboard

MIsbehaviour of ROOT with ASAN enabled: some tests are failing

Open dpiparo opened this issue 1 year ago • 0 comments

Check duplicate issues.

  • [x] Checked for duplicates

Description

ROOT misbehaves when ASAN is enabled. Below different incarnation of the problem are illustrated:

  • [ ] root/io/bigevent, root/io/event, root/io/compression, root/io/datamodelevolution, root/io/perf, root/treeformula/event, root/treeformula/retobj, root/treeformula/schemaEvolution, root/treeformula/sync, root/tree/friend, root/tree/evolution, root/tree/treeproblem, root/treeproxy, root/io/compression : bad linkage to asan functions
  • [ ] root/io/references: badly setup dependency on libEvent
  • [ ] root/tree/addresses : AddressSanitizer: heap-buffer-overflow
  • [ ] root/io/newClassDef: Real failure with ASAN enabled
  • [ ] root/io/cint: bad linkage to ASAN libraries. Should also check if the tests are needed at all

Moreover, the above (and root/tree/addresses) are automatic Makefile driven tests. They could be translated to CMake to gain granularity.

Reproducer

Run with Asan

ROOT version

master

Installation method

From sources (need asan)

Operating system

Linux, mac

Additional context

No response

dpiparo avatar Feb 13 '24 14:02 dpiparo