[Program Crash] Aegisub 3.2 Crashing

Questions about Wine on Linux
Locked
tungstenboy
Newbie
Newbie
Posts: 3
Joined: Wed Sep 29, 2021 6:13 am

[Program Crash] Aegisub 3.2 Crashing

Post by tungstenboy »

Hello everyone,
I am attempting to use Aegisub Windows (because the linux version is broken and not all icon shows) on my Chromebook Linux Development. I have upgraded the Debian version to 11 and followed this guide to install WINE:
https://www.linuxmadesimple.info/2021/0 ... 60-on.html

However, after running the installer exe and running it, I get a crash:

Code: Select all

Unhandled exception: unimplemented function msvcr120.dll.?_NewCollection@_AsyncTaskCollection@details@Concurrency@@SAPAV123@PAV_CancellationTokenState@23@@Z called in 32-bit code (0x7b00fc33).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7b00fc33 ESP:0253f3d4 EBP:0253f438 EFLAGS:00000246(   - --  I  Z- -P- )
 EAX:0253f3e0 EBX:673bc000 ECX:00000004 EDX:0253f468
 ESI:0253f468 EDI:0253f5f8
Stack dump:
0x0253f3d4:  02323908 00000030 0253f44c 80000100
0x0253f3e4:  00000001 00000000 7b00fc33 00000002
0x0253f3f4:  673bc000 673bd1cb 7bc273c0 00000002
0x0253f404:  02267ad0 00000040 7bc273c0 02230094
0x0253f414:  0253f4d4 02b63d78 02230048 0253f45c
0x0253f424:  00b8cbd8 0253f450 00000008 0253f450
Backtrace:
=>0 0x7b00fc33 EntryPoint+0xffffffff() in kernelbase (0x0253f438)
  1 0x673b8afd ??0_TaskCollection@details@Concurrency@@QAE@PAV_CancellationTokenState@12@@Z+0x633() in msvcr120 (0x0253f488)
  2 0x67341b60 EntryPoint+0xffffffff() in msvcr120 (0x0253f4d4)
  3 0x0047ab0e EntryPoint+0xffffffff() in aegisub32 (0x0253f504)
  4 0x007cc42a EntryPoint+0xffffffff() in aegisub32 (0x0253f51c)
  5 0x007cc3a5 EntryPoint+0xffffffff() in aegisub32 (0x0253f570)
  6 0x007cc0b0 EntryPoint+0xffffffff() in aegisub32 (0x0253f5b0)
  7 0x007cbe75 EntryPoint+0xffffffff() in aegisub32 (0x0253f614)
  8 0x007cb7cf EntryPoint+0xffffffff() in aegisub32 (0x0253f65c)
  9 0x007cb115 EntryPoint+0xffffffff() in aegisub32 (0x0253f684)
  10 0x007c919f EntryPoint+0xffffffff() in aegisub32 (0x0253f6f0)
  11 0x007c98d1 EntryPoint+0xffffffff() in aegisub32 (0x0254fc78)
  12 0x007c9a75 EntryPoint+0xffffffff() in aegisub32 (0x0254fce8)
  13 0x007bdd38 EntryPoint+0xffffffff() in aegisub32 (0x0254fd0c)
  14 0x007bdde8 EntryPoint+0xffffffff() in aegisub32 (0x0254fd44)
  15 0x0089cb80 EntryPoint+0xffffffff() in aegisub32 (0x0254fdbc)
  16 0x0086d504 EntryPoint+0xffffffff() in aegisub32 (0x0254fe18)
  17 0x0086c1db EntryPoint+0xffffffff() in aegisub32 (0x0254fe60)
  18 0x0052456b EntryPoint+0xffffffff() in aegisub32 (0x0254fec0)
  19 0x00523fb5 EntryPoint+0xffffffff() in aegisub32 (0x0254fefc)
  20 0x00524871 EntryPoint+0xffffffff() in aegisub32 (0x0254ff18)
  21 0x0086da41 EntryPoint+0xffffffff() in aegisub32 (0x0254ff28)
  22 0x6468f7ed EntryPoint+0x140e5() in msvcp120 (0x0254ff30)
  23 0x7b62d4c0 EntryPoint+0xffffffff() in kernel32 (0x0254ff48)
  24 0x7bc575d7 EntryPoint+0xffffffff() in ntdll (0x0254ff5c)
  25 0x7bc57830 EntryPoint+0xffffffff() in ntdll (0x0254ffec)
0x7b00fc33 EntryPoint+0xffffffff in kernelbase: subl	$4,%esp
Modules:
Module	Address			Debug info	Name (38 modules)
PE	  400000- 147a000	Export          aegisub32
PE	 1480000- 15ef000	Deferred        winmm
PE	 15f0000- 1a65000	Deferred        comctl32
PE	 1a70000- 1cc6000	Deferred        comdlg32
PE	10000000-10ac5000	Deferred        ffms2_32
PE	61740000-61826000	Deferred        advapi32
PE	62fc0000-631df000	Deferred        rpcrt4
PE	63480000-6349c000	Deferred        version
PE	63bc0000-63c02000	Deferred        shcore
PE	64640000-646b1000	Export          msvcp120
PE	64a40000-64b5b000	Deferred        shlwapi
PE	64ec0000-652a9000	Deferred        oleaut32
PE	67340000-6742e000	Export          msvcr120
PE	682c0000-6844b000	Deferred        dsound
PE	68500000-68648000	Deferred        combase
PE	68700000-68792000	Deferred        uxtheme
PE	69180000-691a6000	Deferred        wsock32
PE	6a040000-6a0a1000	Deferred        msacm32
PE	6a400000-6a882000	Deferred        ole32
PE	6bb00000-6bb6c000	Deferred        msvfw32
PE	6bc00000-6bca2000	Deferred        sechost
PE	6bcc0000-6be9c000	Deferred        setupapi
PE	6c9c0000-6cf32000	Deferred        gdi32
PE	6ed00000-6f38d000	Deferred        user32
PE	6fa80000-6fcd4000	Deferred        dbghelp
PE	70b40000-70ddb000	Deferred        ucrtbase
PE	70e80000-70e93000	Deferred        msimg32
PE	71200000-71246000	Deferred        imm32
PE	71440000-7153b000	Deferred        avifil32
PE	7a840000-7a844000	Deferred        opengl32
PE	7b000000-7b302000	Dwarf           kernelbase
PE	7b600000-7b925000	Dwarf           kernel32
PE	7bc00000-7bec9000	Dwarf           ntdll
PE	7d9e0000-7e2b7000	Deferred        shell32
PE	7e5f0000-7e5f4000	Deferred        winex11
PE	7e8d0000-7e8db000	Deferred        winspool
PE	7e930000-7e934000	Deferred        ws2_32
PE	7e980000-7e984000	Deferred        iphlpapi
Threads:
process  tid      prio (all id:s are in hex)
00000038 services.exe
	0000003c    0
	00000040    0
	0000004c    0
	0000005c    0
	00000074    0
	00000090    0
	0000009c    0
	000000bc    0
	000000dc    0
00000044 winedevice.exe
	00000048    0
	00000054    0
	00000058    0
	00000060    0
00000064 plugplay.exe
	00000068    0
	0000007c    0
	00000080    0
	00000084    0
	000000a4    0
00000088 winedevice.exe
	0000008c    0
	00000094    0
	00000098    0
	000000a0    0
	000000b0    0
000000b4 svchost.exe
	000000b8    0
	000000c0    0
	000000c4    0
000000d4 rpcss.exe
	000000d8    0
	000000e4    0
	000000e8    0
	000000ec    0
	000000f0    0
	00000114    0
000000fc conhost.exe
	00000100    0
00000104 explorer.exe
	00000108    0
	0000010c    0
	00000110    0
00000160 (D) C:\Program Files (x86)\Aegisub\aegisub32.exe
	00000164    0
	00000168    0
	0000016c    0 <==
	00000170    0
	00000174    0
	00000178    0
	00000184    0
System information:
    Wine build: wine-6.0.1
    Platform: i386 (WOW64)
    Version: Windows 8.1
    Host system: Linux
    Host version: 5.4.131-16049-gc688e114d34e
Any fixes/tips?
Thank you in advance.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: [Program Crash] Aegisub 3.2 Crashing

Post by jkfloris »

Download the portable version of Aegisub and extract msvcr120.dll to drive_c/Program Files (x86)/Aegisub
Start the program with:

Code: Select all

WINEDLLOVERRIDES="msvcr120,msvcp120=n" wine aegisub32.exe
tungstenboy
Newbie
Newbie
Posts: 3
Joined: Wed Sep 29, 2021 6:13 am

Re: [Program Crash] Aegisub 3.2 Crashing

Post by tungstenboy »

okay it runs now but when I load a video file, the program gets glitchy and hangs at that point. what next to do?
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: [Program Crash] Aegisub 3.2 Crashing

Post by jkfloris »

Can you post a terminal output?
tungstenboy
Newbie
Newbie
Posts: 3
Joined: Wed Sep 29, 2021 6:13 am

Re: [Program Crash] Aegisub 3.2 Crashing

Post by tungstenboy »

i dont have any terminal errors but these are all the logs:

Code: Select all

024:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0031F94C 1 C) semi-stub
0024:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0031F734 1 C) semi-stub
0024:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0031EF4C 1 C) semi-stub
0024:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0031EFAC 1 C) semi-stub
scanning directory "C:\Program Files (x86)\Aegisub\csri"
0100:fixme:appbar:handle_appbarmessage SHAppBarMessage(ABM_GETAUTOHIDEBAR, hwnd=0000000000000000, edge=3): stub
0100:fixme:appbar:handle_appbarmessage SHAppBarMessage(ABM_GETAUTOHIDEBAR, hwnd=0000000000000000, edge=1): stub
0100:fixme:appbar:handle_appbarmessage SHAppBarMessage(ABM_GETAUTOHIDEBAR, hwnd=0000000000000000, edge=0): stub
0100:fixme:appbar:handle_appbarmessage SHAppBarMessage(ABM_GETAUTOHIDEBAR, hwnd=0000000000000000, edge=2): stub
loading C:\Program Files (x86)\Aegisub\csri\vsfilter-aegisub32.dll
loading C:\Program Files (x86)\Aegisub\csri\xy-vsfilter-aegisub.dll
0024:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 0031E900, 0031E914 0031E908
0024:fixme:nls:get_dummy_preferred_ui_language (0x38 0031E900 0031E914 0031E908) returning a dummy value (current locale)
loading C:\Program Files (x86)\Aegisub\csri\xy-vsfilter-aegisub32.dll
0024:fixme:toolbar:TOOLBAR_SetRows Separators unhandled
0024:err:wgl:init_opengl Failed to load libGL: libGL.so.1: cannot open shared object file: No such file or directory
0024:err:wgl:init_opengl OpenGL support is disabled.
011c:fixme:nls:get_dummy_preferred_ui_language (0x8 0462F820 00000000 0462F824) returning a dummy value (current locale)
011c:fixme:nls:get_dummy_preferred_ui_language (0x8 0462F820 01927AD8 0462F824) returning a dummy value (current locale)
0024:err:ole:com_get_class_object class {b841f346-4835-4de8-aa5e-2e7cd2d4c435} not registered
0024:err:ole:com_get_class_object class {b841f346-4835-4de8-aa5e-2e7cd2d4c435} not registered
0024:err:ole:create_server class {b841f346-4835-4de8-aa5e-2e7cd2d4c435} not registered
0024:fixme:ole:com_get_class_object CLSCTX_REMOTE_SERVER not supported
0024:err:ole:com_get_class_object no class object {b841f346-4835-4de8-aa5e-2e7cd2d4c435} could be created for context 0x17
0024:err:ole:com_get_class_object class {db43b405-43aa-4f01-82d8-d84d47e6019c} not registered
0024:err:ole:com_get_class_object class {db43b405-43aa-4f01-82d8-d84d47e6019c} not registered
0024:err:ole:create_server class {db43b405-43aa-4f01-82d8-d84d47e6019c} not registered
0024:fixme:ole:com_get_class_object CLSCTX_REMOTE_SERVER not supported
0024:err:ole:com_get_class_object no class object {db43b405-43aa-4f01-82d8-d84d47e6019c} could be created for context 0x17
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: [Program Crash] Aegisub 3.2 Crashing

Post by jkfloris »

Probably this is the cause of the problem:

Code: Select all

0024:err:wgl:init_opengl Failed to load libGL: libGL.so.1: cannot open shared object file: No such file or directory
0024:err:wgl:init_opengl OpenGL support is disabled.
Make sure you also have the 32-bit opengl components installed.

Code: Select all

sudo apt install libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386
Locked