root-project / root

The official repository for ROOT: analyzing, storing and visualizing big data, scientifically
https://root.cern
Other
2.66k stars 1.27k forks source link

ROOT compiled with `-Ddev=ON` crashes when type `#` in ROOT session #11190

Closed linev closed 8 months ago

linev commented 2 years ago

To reproduce, start ROOT and type #.

% root -l                                                                                                    
root [0] #
root.exe: /home/linev/git/webgui/interpreter/cling/lib/MetaProcessor/MetaLexer.cpp:108: void cling::MetaLexer::LexAnyString(cling::Token&): Assertion `Tok.getBufStart() != curPos && "It must consume at least on char"' failed.
eguiraud commented 2 years ago

Weird, works for me:

~ root
   ------------------------------------------------------------------
  | Welcome to ROOT 6.27/01                        https://root.cern |
  | (c) 1995-2022, The ROOT Team; conception: R. Brun, F. Rademakers |
  | Built for linuxx8664gcc on Aug 15 2022, 12:41:54                 |
  | From heads/df-rename-factories@v6-25-02-2003-g2c2661d55f         |
  | With c++ (GCC) 12.1.1 20220730                                   |
  | Try '.help'/'.?', '.demo', '.license', '.credits', '.quit'/'.q'  |
   ------------------------------------------------------------------

root [0] #
root [1] #
root [2] #
root [3]
~ root-config --features
cxx17 asimage asserts builtin_clang builtin_cling builtin_llvm builtin_nlohmannjson builtin_openui5 builtin_xrootd ccache clad dataframe exceptions fftw3 fitsio gdml http imt mathmore mlp minuit2 mysql opengl pgsql pyroot pythia8 webgui root7 rpath runtime_cxxmodules shared sqlite ssl spectrum vdt x11 xml xrootd
~ root-config --cflags
-pthread -std=c++17 -m64 -I/home/blue/ROOT/master/cmake-build-foo/include
linev commented 2 years ago

I have three different ROOT builds - also with llvm13. All are crashing.

Is it has something to do with -Ddev=ON

linev commented 2 years ago

Is it has something to do with -Ddev=ON

Indeed, ROOT crashes when -Ddev=ON specified.

linev commented 1 year ago

Ping - problem is still there.

github-actions[bot] commented 8 months ago

Hi @devajithvs, @Axel-Naumann,

It appears this issue is closed, but wasn't yet added to a project. Please add upcoming versions that will include the fix, or 'not applicable' otherwise.

Sincerely, :robot: