Skip to content

libgojni crash on first app launch #5673

@BlueGradientHorizon

Description

@BlueGradientHorizon

Expected Behavior

Crash shouldn't happen.

Actual Behavior

Every time I open an app (not resume) I need to press connect button several times until it eventually paints orange and vpn starts. On every unsuccessful start attempt the libgojni.so crash is logged in logcat.

Steps to Reproduce

Already explained above. It just happens on fresh app start with seemingly any selected profile.

Log Information

Details
[2026-05-23 23:19:14.406 Uid(value=10303):4774:4774 I/ForceDarkHelperStubImpl]
setViewRootImplForceDark: false for com.v2ray.ang.ui.MainActivity@3f662ee, reason: AppDarkModeEnable

[2026-05-23 23:19:14.412 Uid(value=10303):4774:12728 D/AppScoutStateMachine]
4774-ScoutStateMachinecreated

[2026-05-23 23:19:14.417 Uid(value=10303):4774:4774 W/WindowOnBackDispatcher]
OnBackInvokedCallback is not enabled for the application.
Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.

[2026-05-23 23:19:14.418 Uid(value=10303):4774:4774 D/Activity]
Activity = ActivityInfo{9457e7e com.v2ray.ang.ui.MainActivity}, Resume onConfigurationChanged = {0.9 250mcc20mnc [ru] ldltr sw491dp w491dp h1091dp 352dpi lrg long hdr widecg port uimode=12 night finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 2400) mAppBounds=Rect(0, 0 - 1080, 2400) mMaxBounds=Rect(0, 0 - 1080, 2400) mDisplayRotation=ROTATION_0 mWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_0 mInSplitScreen=false letterBoxed=false foScaled=false isSpecificEmbedded=false} as.94 s.2 fontWeightAdjustment=0/d themeChanged=0 themeChangedFlags=0 display=0 extraData = Bundle[{}] screenType=0/o}

[2026-05-23 23:19:14.419 Uid(value=10303):4774:4774 D/SecurityManager]
checkAccessControl flag0

[2026-05-23 23:19:14.449 Uid(value=10303):4774:4774 W/libc]
Access denied finding property "ro.vendor.display.support_round_corner_decoration_composite"

[2026-05-23 23:19:14.449 Uid(value=10303):4774:4774 W/libc]
Access denied finding property "vendor.display.enable_optimal_refresh_rate"

[2026-05-23 23:19:14.449 Uid(value=10303):4774:4774 I/com.v2ray.ang]
【MiuiBoosterUtils】checkUtil disable.

[2026-05-23 23:19:14.449 Uid(value=10303):4774:4774 I/com.v2ray.ang]
【MiuiBoosterUtils】package permission check disable.

[2026-05-23 23:19:14.449 Uid(value=10303):4774:4774 I/com.v2ray.ang]
【MiuiBoosterUtils】get Service disable.

[2026-05-23 23:19:14.451 Uid(value=10303):4774:14104 I/com.v2ray.ang]
【MiuiBoosterUtils】improve disable.

[2026-05-23 23:19:14.453 Uid(value=10303):4774:4774 D/VRI[MainActivity]]
vri.reportNextDraw android.view.ViewRootImpl.performTraversals:5014 android.view.ViewRootImpl.doTraversal:3592 android.view.ViewRootImpl$TraversalRunnable.run:11667 android.view.Choreographer$CallbackRecord.run:1733 android.view.Choreographer$CallbackRecord.run:1742 

[2026-05-23 23:19:14.454 Uid(value=10303):4774:4774 D/VRI[MainActivity]]
vri.Setup new sync=wmsSync-VRI[MainActivity]#10

[2026-05-23 23:19:14.462 Uid(value=10303):4774:4774 D/VRI[MainActivity]]
vri.reportDrawFinished

[2026-05-23 23:19:14.467 Uid(value=10303):4774:4774 D/VRI[MainActivity]]
vri.reportNextDraw android.view.ViewRootImpl.handleResized:2794 android.view.ViewRootImpl.-$$Nest$mhandleResized:0 android.view.ViewRootImpl$W.resized:12841 android.app.servertransaction.WindowStateResizeItem.execute:39 android.app.servertransaction.WindowStateTransactionItem.execute:13 

[2026-05-23 23:19:14.473 Uid(value=10303):4774:4774 D/VRI[MainActivity]]
vri.Setup new sync=wmsSync-VRI[MainActivity]#12

[2026-05-23 23:19:14.473 Uid(value=10303):4774:4774 D/VRI[MainActivity]]
vri.reportDrawFinished

[2026-05-23 23:19:14.494 Uid(value=10303):4774:4774 I/HandWritingStubImpl]
refreshLastKeyboardType: 1

[2026-05-23 23:19:14.494 Uid(value=10303):4774:4774 I/HandWritingStubImpl]
getCurrentKeyboardType: 1

[2026-05-23 23:19:15.977 Uid(value=10303):4774:4774 D/VRI[MainActivity]]
getMiuiFreeformStackInfo mTmpFrames.miuiFreeFormStackInfo: null

[2026-05-23 23:19:16.006 Uid(value=10303):4774:4774 I/ForceDarkHelperStubImpl]
setViewRootImplForceDark: false for com.v2ray.ang.ui.MainActivity@3f662ee, reason: AppDarkModeEnable

[2026-05-23 23:19:16.018 Uid(value=10303):4774:4774 I/ForceDarkHelperStubImpl]
setViewRootImplForceDark: false for com.v2ray.ang.ui.MainActivity@3f662ee, reason: AppDarkModeEnable

[2026-05-23 23:19:16.081 Uid(value=10303):14123:14141 I/ActivityThread]
TrafficStats init done

[2026-05-23 23:19:16.100 Uid(value=10303):14123:14141 I/PluginScenarioManager]
miui.scenariorecognition.plugins.VideoStreamPlugin, (App)create success!

[2026-05-23 23:19:16.100 Uid(value=10303):14123:14141 I/ActivityThread]
Miui Feature Init done

[2026-05-23 23:19:16.796 Uid(value=10303):14123:14156 F/libc]
Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 14156 (oLibV2RayDaemon), pid 14123 (oLibV2RayDaemon)

[2026-05-23 23:19:17.060 Uid(value=10303):14185:14185 F/DEBUG]
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

[2026-05-23 23:19:17.061 Uid(value=10303):14185:14185 F/DEBUG]
Build fingerprint: 'POCO/marble_id/marble:15/AQ3A.250226.002/OS3.0.2.0.VMRIDXM:user/release-keys'

[2026-05-23 23:19:17.061 Uid(value=10303):14185:14185 F/DEBUG]
Revision: '0'

[2026-05-23 23:19:17.061 Uid(value=10303):14185:14185 F/DEBUG]
ABI: 'arm64'

[2026-05-23 23:19:17.061 Uid(value=10303):14185:14185 F/DEBUG]
Timestamp: 2026-05-23 23:19:16.908474672+0300

[2026-05-23 23:19:17.061 Uid(value=10303):14185:14185 F/DEBUG]
Process uptime: 2s

[2026-05-23 23:19:17.061 Uid(value=10303):14185:14185 F/DEBUG]
Cmdline: com.v2ray.ang:RunSoLibV2RayDaemon

[2026-05-23 23:19:17.061 Uid(value=10303):14185:14185 F/DEBUG]
pid: 14123, tid: 14156, name: oLibV2RayDaemon  >>> com.v2ray.ang:RunSoLibV2RayDaemon <<<

[2026-05-23 23:19:17.061 Uid(value=10303):14185:14185 F/DEBUG]
uid: 10303

[2026-05-23 23:19:17.061 Uid(value=10303):14185:14185 F/DEBUG]
tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)

[2026-05-23 23:19:17.061 Uid(value=10303):14185:14185 F/DEBUG]
pac_enabled_keys: 000000000000000f (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)

[2026-05-23 23:19:17.061 Uid(value=10303):14185:14185 F/DEBUG]
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------

[2026-05-23 23:19:17.061 Uid(value=10303):14185:14185 F/DEBUG]
    x0  0000000000000000  x1  000000000000374c  x2  0000000000000006  x3  0000000000000008

[2026-05-23 23:19:17.061 Uid(value=10303):14185:14185 F/DEBUG]
    x4  0000000000000001  x5  0000000000000001  x6  0000000000000001  x7  0000000000000000

[2026-05-23 23:19:17.061 Uid(value=10303):14185:14185 F/DEBUG]
    x8  0000000000000083  x9  0000000000000030  x10 0000000000000069  x11 0000006ffaf0446b

[2026-05-23 23:19:17.061 Uid(value=10303):14185:14185 F/DEBUG]
    x12 0000006fb2509508  x13 00000000000373ec  x14 0000006ffc668e30  x15 0000000200000000

[2026-05-23 23:19:17.061 Uid(value=10303):14185:14185 F/DEBUG]
    x16 0000006facf00dd0  x17 0000006facff8230  x18 0000006fac0c0000  x19 000000000000372b

[2026-05-23 23:19:17.061 Uid(value=10303):14185:14185 F/DEBUG]
    x20 0000006facff8110  x21 0000006fb2509008  x22 000000006c2ebf65  x23 000000005020c353

[2026-05-23 23:19:17.061 Uid(value=10303):14185:14185 F/DEBUG]
    x24 0000000000000000  x25 0000000000000000  x26 0000000000000000  x27 0000000000000010

[2026-05-23 23:19:17.061 Uid(value=10303):14185:14185 F/DEBUG]
    x28 0000006fb27acf00  x29 0000006f9c422768

[2026-05-23 23:19:17.061 Uid(value=10303):14185:14185 F/DEBUG]
    lr  0000006ffb7b39ec  sp  0000006f9c422770  pc  0000006ffb7daa08  pst 0000000080001000

[2026-05-23 23:19:17.061 Uid(value=10303):14185:14185 F/DEBUG]
1 total frames

[2026-05-23 23:19:17.061 Uid(value=10303):14185:14185 F/DEBUG]
backtrace:

[2026-05-23 23:19:17.061 Uid(value=10303):14185:14185 F/DEBUG]
      #00 pc 0000000000fbaa08  /data/app/~~5o75rpKj1EAO33sXvGQLIg==/com.v2ray.ang-cmFjEOgP90Q7TsX47Z1Rag==/lib/arm64/libgojni.so


Environmental Information

POCO F5, HyperOS 3.0.2.0.VMRIDXM (A15)
App version 2.2.0
Logs taken using Logcat Reader app because I don't currently have access to pc, sorry for that.

Additional Information (Optional)

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions