r.in.pdal crashes on Windows during rasterization
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
- 48/100
Línea de trabajo
Start by tracing the r.in.pdal rasterization and point-processing path, especially the code reached after “Scanning points...”; the issue does not name source files or tests. Reproduce on Windows with the supplied four-point LAS command, then compare against the working extent and vector-import paths. Done means rasterization completes without the access violation on the reported Windows builds.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
On Windows, r.in.pdal consistently crashes with an access violation when it starts processing points.
Environment
Tested with the official conda-forge GRASS 8.5 build:
grass 8.5.0 py311h7721632_1
libpdal-core 2.10.0 h1f91b6b_0
Also tested with the current GRASS 8.6 development conda build:
grass-dev dev py311h82bb817_0
libpdal-core 2.10.2 hd7c2432_4
Windows 11, Python 3.11, micromamba/conda environments.
Reproducer
r.in.pdal -eno input="synthetic_test.las" output=synthetic_test resolution=1
Output:
Reading data...
Overriding projection check and assuming that the CRS of input matches the project's CRS
Running PDAL algorithms...
Scanning points...
The process then exits immediately.
echo %ERRORLEVEL%
returns:
-1073741819
which corresponds to Windows exception 0xC0000005 (access violation).
Tests performed
The same crash occurs with:
- official conda-forge GRASS 8.5
- GRASS 8.6dev conda build
libpdal-core2.10.0 and 2.10.2- COPC
.laz - the same data converted to ordinary
.las method=meanmethod=n- a minimal GRASS environment without QGIS
The issue does not appear to be related to the input data. I also created a synthetic LAS containing only four simple XYZ points, and r.in.pdal crashes in exactly the same way.
Other PDAL-related operations on the same files work correctly:
pdal info --metadata file.las
works.
r.in.pdal -go input=file.las
works and returns the extent.
v.in.pdal -oc input=file.las output=test spatial=...
also works successfully with exit code 0.
So the failure appears to be specific to the rasterization/point-processing path of r.in.pdal on Windows, rather than PDAL file reading or GRASS-PDAL integration in general.
- Lenguaje dominante
- C
- Estrellas
- 1.2k
- Forks
- 447
- Merge medio
- 1 d 18 h
- PR fusionados (30 d)
- 75
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
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 OSGeo/grass
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
OSGeo/grass#8027 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 65/100
OSGeo/grass#7860 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug GUI macOS
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
OSGeo/grass#6012 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 60/100
OSGeo/grass#3803 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de OSGeo/grass
Issues similares
-
rc_runtime_activate_richpresence leaves a half-initialised entry when the buffer allocation failsAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
RetroAchievements/rcheevos#558 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
libsdl-org/SDL#16464 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
chore(gateway): emit INFO budget reserved/settled logs for proactivity v2 (chip task_2855f4ec)Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertobackend
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
BasedHardware/omi#20940 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día