AMPI datatypes: CkDDT_Struct ignores member trueLB; negative extents from Type_create_resized can terminate the program
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
Start in src/libs/ck-libs/ampi/ddt.C and read the CkDDT_Struct true lower bound calculation and the scan code changed in #4085. Reproduce the nested vector case with a negative displacement, then check MPI_Type_get_true_extent and scan buffer bounds; also try a resized datatype with a negative extent and count of at least two. Done when true lower bounds include member types and the negative-extent case no longer terminates the program.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Split out of #4072 (from Aditya's re-review of #4085; pre-existing on recharm, not fixed). Both in src/libs/ck-libs/ampi/ddt.C.
CkDDT_StructtakestrueLBfrom the block displacements only and ignores each member type's owntrueLB:struct{(0, 1, vector(2,1,-1,MPI_INT))}reports trueLB 0 but the vector writes at offset -4.MPI_Type_get_true_extentreports the same wrong value, and the scan (which since #4085 sizes its buffers from trueLB) writes just before its buffer for such types.- Negative extents from
MPI_Type_create_resizedcan terminate the program: with count >= 2 the scan's spancount * max(extent, trueExtent)can be negative,std::vectorthrows, and the throw happens inside anoexceptfunction.
Related: #4085 (scan family).
- Lenguaje dominante
- C++
- Estrellas
- 241
- Forks
- 62
- Merge medio
- 1 d 1 h
- PR fusionados (30 d)
- 121
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de charmplusplus/charm
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
charmplusplus/charm#4210 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
charmplusplus/charm#4160 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
charmplusplus/charm#3619 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 52/100
charmplusplus/charm#4204 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 49/100
charmplusplus/charm#4200 ·
Los mantenedores suelen responder en 1 día
Todos los issues de charmplusplus/charm
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
[BUG] VPN auth dialog spawned by the secret agent fails with "TLS support is not available" on NixOSAbiertobug nixos umbriel
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
noctalia-dev/noctalia#5310 ·
Los mantenedores suelen responder en 1 día
-
area/docdb kind/bug priority/medium status/awaiting-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
yugabyte/yugabyte-db#37426 ·
Los mantenedores suelen responder en 1 día
-
[Engine] Two prompt block scorers enabled at once: WMMA silently wins and no log line is printedAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Niko1221/Strata#5693 · 2 comentarios ·
Los mantenedores suelen responder en 4 días
-
torch.special.gammainc/gammaincc lose up to 7 digits in float64 for a > 20 near x: single-precision pi in the asymptotic seriesPosiblemente ocupada @SowndaryaS0201 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
pytorch/pytorch#204127 · 1 comentario ·
Los mantenedores suelen responder en 1 día