Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
linev opened this issue Aug 15, 2022 · 5 comments · Fixed by #14109
Closed

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

linev opened this issue Aug 15, 2022 · 5 comments · Fixed by #14109

Comments

@linev
Copy link
Member

linev commented Aug 15, 2022

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
Copy link
Member

eguiraud commented Aug 16, 2022

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
Copy link
Member Author

linev commented Aug 16, 2022

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

Is it has something to do with -Ddev=ON

@linev
Copy link
Member Author

linev commented Aug 17, 2022

Is it has something to do with -Ddev=ON

Indeed, ROOT crashes when -Ddev=ON specified.

@linev linev changed the title ROOT crashes when type # in ROOT session ROOT compiled with -Ddev=ON crashes when type # in ROOT session Aug 17, 2022
@linev
Copy link
Member Author

linev commented Feb 9, 2023

Ping - problem is still there.

Axel-Naumann added a commit to Axel-Naumann/root that referenced this issue Nov 24, 2023
devajithvs pushed a commit to devajithvs/root that referenced this issue Jan 24, 2024
devajithvs pushed a commit to devajithvs/root that referenced this issue Jan 24, 2024
devajithvs pushed a commit to devajithvs/root that referenced this issue Jan 24, 2024
devajithvs pushed a commit to devajithvs/root that referenced this issue Jan 24, 2024
devajithvs pushed a commit to devajithvs/root that referenced this issue Jan 25, 2024
devajithvs added a commit that referenced this issue Jan 25, 2024
fixes #11190.

Co-authored-by: Devajith Valaparambil Sreeramaswamy <[email protected]>
Copy link

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,
🤖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants