blueskythlikesclouds / MikuMikuLibrary

Format library and file editor for Hatsune Miku: Project DIVA games
MIT License
195 stars 45 forks source link

fatal error with unstable build on linux os #49

Open bruceloid opened 1 year ago

bruceloid commented 1 year ago

hello! this is pretty straight forward, i come up with a huge error when trying to run the unstable mode of MMM on linux os. E8520592-33A7-48D0-87AC-70EE1F32ED78

the error details: Unhandled exception: 0xe0434352 in 64-bit code (0x0000007b013b8e). Register dump: rip:000000007b013b8e rsp:000000000019efb0 rbp:000000000019f360 eflags:00000202 ( - -- I - - - ) rax:000000000019eff0 rbx:00007ec716c0b798 rcx:000000000019efd0 rdx:0000000000000001 rsi:000000000019f140 rdi:000000000019f018 r8:0000000000000005 r9:000000000019f118 r10:0000000000000005 r11:000000000019f088 r12:0000000000004000 r13:00000000002ed7e0 r14:0000000000000001 r15:00000000e0434352 Stack dump: 0x0000000019efb0: 000000000019efd0 00000000016e90ce 0x0000000019efc0: 0000000003d566b8 00000000002f6830 0x0000000019efd0: 00000001e0434352 0000000000000000 0x0000000019efe0: 000000007b013b8e 0000000000000005 0x0000000019eff0: ffffffff80070057 0000000000000000 0x0000000019f000: 0000000000000000 0000000000000000 0x0000000019f010: 0000000001630000 000000017002a6b8 0x0000000019f020: 000000000019f360 0000000000000130 0x0000000019f030: 00000000002ed7e0 0000000000000000 0x0000000019f040: 0000000000435a20 0000000001699d33 0x0000000019f050: 0000000000000000 0000000000000000 0x0000000019f060: 00000000002f6830 ffffffffffffffff Backtrace: =>0 0x0000007b013b8e in kernelbase (+0x13b8e) (0x0000000019f360) 1 0x000000016e8f11 in coreclr (+0xb8f11) (0x0000000019f360) 2 0x0000000184d6ec in coreclr (+0x21d6ec) (0x0000000019f360) 3 0x000000017e7b92 in coreclr (+0x1b7b92) (0x0000000019f360) 4 0x000000017769d6 in coreclr (+0x1469d6) (0x0000000019f360) 5 0x000000015d994a in hostpolicy (+0x1994a) (0x0000000019f480) 6 0x000000015d9c1c in hostpolicy (+0x19c1c) (0x0000000019f799) 7 0x000000015da589 in hostpolicy (+0x1a589) (0x0000000019f799) 8 0x0000018000b820 in hostfxr (+0xb820) (0x0000000019f799) 9 0x0000018000e48a in hostfxr (+0xe48a) (0x0000000019f8b9) 10 0x00000180010756 in hostfxr (+0x10756) (0x00000000000001) 11 0x0000018000eaf4 in hostfxr (+0xeaf4) (0x0000000019faa1) 12 0x00000180008386 in hostfxr (+0x8386) (0x00000001022260) 13 0x0000014001280b in mikumikumodel (+0x1280b) (0x0000000019fd00) 14 0x00000140012dfb in mikumikumodel (+0x12dfb) (0x00000000000001) 15 0x000001400142a8 in mikumikumodel (+0x142a8) (0000000000000000) 16 0x0000007b627ad9 in kernel32 (+0x27ad9) (0000000000000000) 17 0x0000017005d548 in ntdll (+0x5d548) (0000000000000000) 0x0000007b013b8e kernelbase+0x13b8e: nop
Modules: Module Address Debug info Name (25 modules) PE 00000000015c0000-0000000001623000 Export hostpolicy PE 0000000001630000-0000000001b29000 Export coreclr PE 0000000002b90000-00000000036ab000 Deferred system.private.corelib PE 00000000036b0000-000000000382b000 Deferred clrjit PE 000000007b000000-000000007b28d000 Export kernelbase PE 000000007b600000-000000007b65b000 Export kernel32 PE 0000000140000000-000000014002c000 Export mikumikumodel PE 0000000170000000-00000001700a0000 Export ntdll PE 0000000180000000-0000000180061000 Export hostfxr PE 00000001c69e0000-00000001c72f8000 Deferred shell32 PE 00000001c8db0000-00000001c8e47000 Deferred msvcrt PE 0000000231ae0000-0000000231b62000 Deferred rpcrt4 PE 000000023d820000-000000023d9c9000 Deferred user32 PE 000000026b4c0000-000000026b53e000 Deferred gdi32 PE 00000002739c0000-0000000273af1000 Deferred oleaut32 PE 00000002e3540000-00000002e3591000 Deferred shlwapi PE 00000002e8f10000-00000002e902a000 Deferred ole32 PE 00000002f1fa0000-00000002f1fae000 Deferred version PE 00000003126f0000-0000000312709000 Deferred shcore PE 0000000327020000-0000000327073000 Deferred combase PE 000000032a700000-000000032a729000 Deferred sechost PE 0000000330260000-000000033029f000 Deferred advapi32 PE 0000000375610000-0000000375649000 Deferred win32u PE 00000003af670000-00000003af72f000 Deferred ucrtbase PE 00000003afd00000-00000003afd18000 Deferred imm32 Threads: process tid prio name (all IDs are in hex) 00000038 services.exe 0000003c 0
00000040 0 wine_rpcrt4_server 0000004c 0 wine_rpcrt4_io 00000078 0 wine_rpcrt4_io 000000ac 0 wine_rpcrt4_io 000000c0 0 wine_rpcrt4_io 000000d8 0 wine_rpcrt4_io 0000014c 0 wine_rpcrt4_io 00000164 0 wine_rpcrt4_io 00000044 winedevice.exe 00000048 0
00000054 0
00000058 0
0000005c 0
00000060 0
00000064 0
00000158 0
00000068 winedevice.exe 0000006c 0
0000007c 0
00000080 0
00000084 0
00000088 0
0000008c 0
00000090 0
00000094 0
00000098 0
000000b8 0
000000bc 0
00000070 explorer.exe 00000074 0
0000009c 0
000000a0 0 wine_rpcrt4_server 000000b0 plugplay.exe 000000b4 0
000000c4 0
000000c8 0
000000cc 0 wine_rpcrt4_server 000000d0 winedevice.exe 000000d4 0
000000dc 0
000000e0 0
000000e4 0
000000e8 0
000000ec 0
000000f0 0
000000f4 0
000000f8 0
000000fc 0
00000100 0
00000104 0
00000108 0
0000010c 0
00000110 0
00000114 0
00000118 0
0000011c 0
00000120 0
00000124 0
00000128 0
0000012c 0
00000130 0
00000134 0
00000138 0
0000013c 0
00000140 0
00000144 svchost.exe 00000148 0
00000150 0
00000154 0
0000015c rpcss.exe 00000160 0
00000168 0
0000016c 0
00000170 0 wine_rpcrt4_server 00000174 0 wine_rpcrt4_server 00000178 0 wine_rpcrt4_io 00000188 (D) Z:\home\deck\Desktop\MikuMikuLibrary-x64(1)\MikuMikuModel.exe 0000018c 0 <== 00000190 0
00000194 0
00000198 2 .NET Finalizer 000001ac conhost.exe 000001b0 0
System information: Wine build: wine-7.19 Platform: x86_64 Version: Windows 7 Host system: Linux Host version: 5.13.0-valve36-1-neptune

i was told to post this on the forum , if this issue is unrelated to mmm itself then my apologies; thank you for taking time out to go through this.

blueskythlikesclouds commented 1 year ago

The issue is related to single file publishing, I'll provide separate archives in the release where it's disabled just for Linux so you can get it running.

To ensure it works, install the .NET 7.0 runtime through Wine (literally execute its installer like you would on Windows), build MMM from source without single file publishing, and see if that runs properly.