[Windows] SimpMusic 2.6.0 blocked by Windows Smart App Control when loading native libraries (Code Integrity Event 3077)

オープン
#2,916 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
android, kotlin
領域
desktop, security

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

bug:unconfirmed desktop
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
  1. Use a Windows 11 x64 system with Smart App Control enabled.

  2. Install SimpMusic 2.6.0.0 using the MSIX package.

  3. Launch SimpMusic.

  4. Allow the application to initialize its native components and SQLite database.

  5. Check Windows Event Viewer under:
    Applications and Services Logs → Microsoft → Windows → CodeIntegrity → Operational

  6. 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
image

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!

Captura de pantalla 2026-11-18 232045 Captura de pantalla 2026-11-18 232117
主要言語
Kotlin
スター
13.8k
フォーク
811
平均マージ
1日 3時間
マージ済み PR(30日)
7

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

maxrave-dev/SimpMusic のほかの issue

maxrave-dev/SimpMusic の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。