[Windows] SimpMusic 2.6.0 blocked by Windows Smart App Control when loading native libraries (Code Integrity Event 3077)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
Línea de trabajo
Start by tracing the Windows desktop packaging and native library loading paths mentioned in the report, especially AndroidX SQLite Bundled, JNA, and Skiko. Check how the MSIX runtime extracts and loads these libraries, then investigate the Windows Code Integrity 3077 events under Smart App Control. Done means the app launches and initializes SQLite on Windows 11 with Smart App Control enabled without blocking its native libraries.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Duplicate Check
- I confirm I searched for existing reports and found no duplicates.
Latest Release
- I confirm I am on the latest release and the problem still happens.
Operating System
Windows
Package Downloaded
msix Installer (Windows 11)
Desktop Environment (Linux only)
No response
App Version
2.6.0
Describe the Bug
SimpMusic 2.6.0.0 crashes on Windows 11 because Windows Smart App Control blocks native libraries extracted and loaded dynamically by the application.
Windows Code Integrity reports that the libraries do not meet the Enterprise signing level requirements or violate the active code integrity policy.
This affects multiple native libraries, not just SQLite:
androidx_sqliteJni31200021673469623.tmp
jna-713758962622180117.dll
skiko-windows-x64.dll (also observed with version 2.5.0).
The active Code Integrity policy is:
VerifiedAndReputableDesktop
Policy ID:
0283ac0f-fff1-49ae-ada1-8a933130cad6
Smart App Control is enabled on this machine.
Steps to Reproduce
-
Use a Windows 11 x64 system with Smart App Control enabled.
-
Install SimpMusic 2.6.0.0 using the MSIX package.
-
Launch SimpMusic.
-
Allow the application to initialize its native components and SQLite database.
-
Check Windows Event Viewer under:
Applications and Services Logs → Microsoft → Windows → CodeIntegrity → Operational -
Look for Event ID 3077.
Expected Behavior
SimpMusic should load its native libraries and initialize SQLite normally without being blocked by Windows Code Integrity.
The application should work with Smart App Control enabled, without requiring users to disable Windows security features.
Log / Error Details
Windows blocks the dynamically extracted native libraries.
The application throws:
java.lang.UnsatisfiedLinkError
Relevant error:
Una directiva de Control de aplicaciones bloqueó este archivo
The stack trace points to:
androidx.sqlite.driver.bundled.NativeLibraryLoader.loadLibrary
Followed by:
androidx.sqlite.driver.bundled.BundledSQLiteDriver.open
A secondary exception is also reported:
java.lang.NoClassDefFoundError: Could not initialize class androidx.sqlite.driver.bundled.BundledSQLiteDriver$NativeLibraryObject
Environment
Application: SimpMusic
Version: 2.6.0.0
Architecture: x64
Package type: MSIX
Package name: Simpmusic
Publisher: CN=SimpMusic
SignatureKind: Developer
Package Status: Ok
Operating System: Windows 11 x64
Smart App Control: Enabled
Windows Code Integrity Diagnostics
Event ID 3077
Policy ID:
0283ac0f-fff1-49ae-ada1-8a933130cad6
Policy name:
VerifiedAndReputableDesktop
Windows reports that SimpMusic attempted to load native libraries that did not meet Enterprise signing level requirements or violated the Code Integrity policy.
Event ID 3099
The policy is confirmed as activated:
VerifiedAndReputableDesktop
The policy is signed and currently enforced.
Another active policy is:
VerifiedAndReputableDesktopFlightSupplemental
CiTool diagnostics
CiTool.exe -lp successfully lists the active policy.
The policy reports:
Signed: True
Currently enforced: True
Authorized: True
Status: 0
Additional Information
This issue was also observed with SimpMusic 2.5.0.0.
The previous version generated Code Integrity 3077 events for:
skiko-windows-x64.dll
and JNA native libraries.
Version 2.6.0.0 continues to generate similar events for JNA and the bundled SQLite JNI library.
This suggests that the issue may affect the application's general native library loading mechanism rather than a specific SQLite dependency.
The MSIX package itself reports Status: Ok, so the problem does not appear to be a simple package installation or publisher certificate validation failure.
Possible Cause / Suggested Investigation
Could you investigate compatibility between the Windows desktop packaging/runtime and Windows Smart App Control?
In particular:
Check whether dynamically extracted native libraries are compatible with the VerifiedAndReputableDesktop signing requirements.
Review how AndroidX SQLite Bundled, JNA and Skiko native libraries are extracted and loaded.
Consider whether native libraries can be packaged and loaded from a trusted application location instead of temporary directories.
Review whether the Windows distribution needs an appropriate code-signing strategy for its native components.
Ideally, SimpMusic should work without requiring users to disable Smart App Control or weaken Windows security settings.
Thank you for your work on SimpMusic!
- Lenguaje dominante
- Kotlin
- Estrellas
- 13.8k
- Forks
- 811
- Merge medio
- 1 d 3 h
- PR fusionados (30 d)
- 7
Preparar el entorno
- Sin Dockerfile ni 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 maxrave-dev/SimpMusic
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
maxrave-dev/SimpMusic#2992 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Unreadable textAbiertobug:unconfirmed
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
maxrave-dev/SimpMusic#2899 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 82/100
maxrave-dev/SimpMusic#2820 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
maxrave-dev/SimpMusic#2816 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
maxrave-dev/SimpMusic#2746 ·
Los mantenedores suelen responder en 1 día
Todos los issues de maxrave-dev/SimpMusic
Issues similares
-
feature request needs decision
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
tswistak/Battery-Monitor#207 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
-
IzzyOnDroid inclusionAbiertoF-Droid FOSS question
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
d4rken-org/butler#365 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
panel-assistant/android#224 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día