Extensions including anything with utlsymbol.h become un-unloadable and sourcemod will still try to load them
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
- 38/100
Línea de trabajo
The report concerns Linux extension loading and unloading, the RTLD_NODELETE flag, and the _ZN10CUtlSymbol25s_bAllowStaticSymbolTableE symbol pulled from the hl2sdk .a file; it names no SourceMod files or tests. Start by tracing how extensions are loaded and how that symbol affects unloadability. Done means an extension using the cited headers can be unloaded and reloaded without a later crash; the issue does not specify a test or exact fix.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
On Linux, no idea if this happens on windows, if you have an extension that includes anything with utlsymbol.h (utldict.h utlstringmap.h) it will include the symbol _ZN10CUtlSymbol25s_bAllowStaticSymbolTableE and mark the extension as RTLD_NODELETE.
This means the extension can't be reloaded and stays in memory even if you do sm exts unload.
Sourcemod will happily load the extension again if you do sm exts load, which usually causes crashes later.
I have tried commenting out s_bAllowStaticSymbolTable in the hl2sdk, but it seems to magically pull the symbol from the .a file still.
- Lenguaje dominante
- C++
- Estrellas
- 1.2k
- Forks
- 476
- Merge medio
- 2 d 9 h
- PR fusionados (30 d)
- 13
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin 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 alliedmodders/sourcemod
-
[Bug]: RoundToNearest truncates in plugins compiled with spcomp 1.13Posiblemente ocupada @fmu1337 la tomó hoy. AbiertoBug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
alliedmodders/sourcemod#2627 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
alliedmodders/sourcemod#2615 ·
Los mantenedores suelen responder en 1 día
-
Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
alliedmodders/sourcemod#2613 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
alliedmodders/sourcemod#2571 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
Disable Nextmap for CSGO?AbiertoFeature Request
Dificultad 1/5 Menos de una hora Aptitud para principiantes 64/100
alliedmodders/sourcemod#2555 · 3 reacciones ·
Los mantenedores suelen responder en 1 día
Todos los issues de alliedmodders/sourcemod
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
-
triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
patrick-hudson/put.gd-desktop#2044 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
uxlfoundation/oneDNN#6604 · 1 comentario ·
Los mantenedores suelen responder en 2 días