Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Cling issue

Abierto
#21,283 7 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@devajithvs ya está trabajando en esto.

Desde el 16/2/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

bug in:Cling
Check duplicate issues.
  • Checked for duplicates
Description
#include <iostream>
#include <iomanip>
#include <format>

void a() {
  std::cout << "a: " << std::setw(3) << 1 << std::endl;
}
#include <iostream>
#include <iomanip>
#include <format>

void b() {
  std::cout << std::format("b: {:3}\n", 2);
}
Reproducer
$ root
ROOT Version: 6.39.01
Built for linuxx8664gcc on Feb 14 2026, 12:09:28
From heads/master@v6-39-01-1045-g6f083f6ae
root [0] gROOT->Time()
Real time 0:00:03.188480, CP time 0.050
root [1] .L a.C++
Info in <TUnixSystem::ACLiC>: creating shared library /home/musinsky/ROOT_issue/./a_C.so
Real time 0:00:04.558429, CP time 0.120
root [2] .L a.C++
Info in <ACLiC>: unmodified script has already been compiled and loaded
Info in <ACLiC>: it will be regenerated and reloaded!
Info in <TUnixSystem::ACLiC>: creating shared library /home/musinsky/ROOT_issue/./a_C.so
Real time 0:00:04.583053, CP time 0.010
$ root
ROOT Version: 6.39.01
Built for linuxx8664gcc on Feb 14 2026, 12:09:28
From heads/master@v6-39-01-1045-g6f083f6ae
root [0] gROOT->Time()
Real time 0:00:01.515612, CP time 0.030
root [1] .L b.C++
Info in <TUnixSystem::ACLiC>: creating shared library /home/musinsky/ROOT_issue/./b_C.so
Real time 0:00:09.177981, CP time 0.270          // !!! 2x longer time !!!
root [2] .L b.C++
Info in <ACLiC>: unmodified script has already been compiled and loaded
Info in <ACLiC>: it will be regenerated and reloaded!

 *** Break *** segmentation violation
  • 2x longer time ?
  • segmentation violation ?

Tested also on Alma 9 in current Alice environment (ROOT 6.36.04, GCC 14.2.0):

  • compilation time of a.C and b.C is approximately the same
  • same segmentation violation after the second (repeated) compilation of b.C
ROOT version
ROOT v6.39.01
Built for linuxx8664gcc on Feb 14 2026, 12:09:28
From heads/master@v6-39-01-1045-g6f083f6ae
With c++ (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7) std202002
Binary directory: /cern/root_master/bin

compile with CMAKE_CXX_STANDARD=20
Installation method

build from source

Operating system

Fedora 43

Additional context

No response

Lenguaje dominante
C++
Estrellas
3.3k
Forks
1.6k
Merge medio
2 d 16 h
PR fusionados (30 d)
194

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de root-project/root

Todos los issues de root-project/root

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.