Cabbage Logo
Back to Cabbage Site

Exported standalone apps crash on Windows 10

All exported standalone apps crash for me on launch.

Running Windows 10 Pro Version 10.0.19042 Build 19042.

GUI doesn’t even load. If I run from a command prompt, I get as far as:

0dBFS level = 32768.0
–Csound version 6.16 (double samples) Jun 12 2021
[commit: 49c8f7a674d0c25d3c78f63ceeb79d77c48e3e25]
libsndfile-1.0.31

then nothing. Some WinDbg info from the DrumPads.csd example exported as an .exe. Thanks for any info :slight_smile:

This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(2e94.10ec): Unknown exception - code c0000602 (first/second chance not available)
For analysis of this file, run !analyze -v
KERNELBASE!RaiseFailFastException+0x152:
00007ffe4d3fb382 0f1f440000 nop dword ptr [rax+rax] 0:000> .ecxr rax=000000f0c51edd20 rbx=000000f0c51ee240 rcx=000000f0c51edd20 rdx=0000000000000000 rsi=0000000000000000 rdi=000000f0c51edd20 rip=00007ffe4d3fb382 rsp=000000f0c51edc40 rbp=0000000000000001 r8=0000000000000000 r9=0000000000000000 r10=000000f0c51ee3a0 r11=000000f0c51ee240 r12=0000000000000001 r13=0000000000000000 r14=0000000000000000 r15=0000000000000000 iopl=0 nv up ei pl nz na po nc cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000204 KERNELBASE!RaiseFailFastException+0x152: 00007ffe4d3fb382 0f1f440000 nop dword ptr [rax+rax]
0:000> !analyze -v


  •                                                                         *
    
  •                    Exception Analysis                                   *
    
  •                                                                         *
    

KEY_VALUES_STRING: 1

Key  : Analysis.CPU.mSec
Value: 7561

Key  : Analysis.DebugAnalysisManager
Value: Create

Key  : Analysis.Elapsed.mSec
Value: 126821

Key  : Analysis.Init.CPU.mSec
Value: 687

Key  : Analysis.Init.Elapsed.mSec
Value: 14781

Key  : Analysis.Memory.CommitPeak.Mb
Value: 156

Key  : Timeline.Process.Start.DeltaSec
Value: 7

Key  : WER.OS.Branch
Value: vb_release

Key  : WER.OS.Timestamp
Value: 2019-12-06T14:06:00Z

Key  : WER.OS.Version
Value: 10.0.19041.1

Key  : WER.Process.Version
Value: 2.8.0.0

FILE_IN_CAB: DrumMachine.exe.11924.dmp

NTGLOBALFLAG: 0

PROCESS_BAM_CURRENT_THROTTLED: 0

PROCESS_BAM_PREVIOUS_THROTTLED: 0

APPLICATION_VERIFIER_FLAGS: 0

CONTEXT: (.ecxr)
rax=000000f0c51edd20 rbx=000000f0c51ee240 rcx=000000f0c51edd20
rdx=0000000000000000 rsi=0000000000000000 rdi=000000f0c51edd20
rip=00007ffe4d3fb382 rsp=000000f0c51edc40 rbp=0000000000000001
r8=0000000000000000 r9=0000000000000000 r10=000000f0c51ee3a0
r11=000000f0c51ee240 r12=0000000000000001 r13=0000000000000000
r14=0000000000000000 r15=0000000000000000
iopl=0 nv up ei pl nz na po nc
cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000204
KERNELBASE!RaiseFailFastException+0x152:
00007ffe`4d3fb382 0f1f440000 nop dword ptr [rax+rax]
Resetting default scope

EXCEPTION_RECORD: (.exr -1)
ExceptionAddress: 00007ffe4d3fb382 (KERNELBASE!RaiseFailFastException+0x0000000000000152)
ExceptionCode: c0000602
ExceptionFlags: 00000001
NumberParameters: 0

PROCESS_NAME: DrumMachine.exe

ERROR_CODE: (NTSTATUS) 0xc0000602 - {Fail Fast Exception} A fail fast exception occurred. Exception handlers will not be invoked and the process will be terminated immediately.

EXCEPTION_CODE_STR: c0000602

STACK_TEXT:
000000f0c51edc40 00007ffe4d3fb382 KERNELBASE!RaiseFailFastException+0x152
000000f0c51ee220 00007ffe4dc687eb combase!CrashProcessWithWERReport+0x3f
000000f0c51ee2f0 00007ffe4db67622 combase!DecrementMTAUsageHelper+0x14a
000000f0c51ee340 00007ffe4db6748e combase!CDllHost::MTAUninitializeApartmentOnly+0x12
000000f0c51ee370 00007ffe4db673ed combase!CDllHost::ClientCleanupFinish+0x6d
000000f0c51ee3a0 00007ffe4db671e6 combase!DllHostProcessUninitialize+0xc6
000000f0c51ee3e0 00007ffe4db344cc combase!ApartmentUninitialize+0x150
000000f0c51ee460 00007ffe4db2b817 combase!wCoUninitialize+0x1bb
000000f0c51ee4c0 00007ffe4db2c1cb combase!CoUninitialize+0xeb
000000f0c51ee5b0 00007ffe4f25c955 ole32!OleUninitialize+0x45
000000f0c51ee5e0 00007ffe2536eb87 widgets!csoundModuleDestroy+0x39767
000000f0c51ee610 00007ffe4d8042d6 ucrtbase!<lambda_f03950bc5685219e0bcd2087efbe011e>::operator+0xa6
000000f0c51ee660 00007ffe4d8041fb ucrtbase!__crt_seh_guarded_call::operator+0x3b
000000f0c51ee690 00007ffe4d8041b4 ucrtbase!execute_onexit_table+0x34
000000f0c51ee6c0 00007ffe2536cf61 widgets!csoundModuleDestroy+0x37b41
000000f0c51ee700 00007ffe2536d086 widgets!csoundModuleDestroy+0x37c66
000000f0c51ee760 00007ffe4f9a9a1d ntdll!LdrpCallInitRoutine+0x61
000000f0c51ee7d0 00007ffe4f9fa9cb ntdll!LdrpProcessDetachNode+0x107
000000f0c51ee8a0 00007ffe4f9fa427 ntdll!LdrpUnloadNode+0x3f
000000f0c51ee8f0 00007ffe4f99fd0a ntdll!LdrpDecrementModuleLoadCountEx+0x72
000000f0c51ee920 00007ffe4f99fc84 ntdll!LdrUnloadDll+0x94
000000f0c51ee950 00007ffe4d305d3e KERNELBASE!FreeLibrary+0x1e
000000f0c51ee980 00007ffdfe13e158 csound64!csoundCloseLibrary+0xe8
000000f0c51ee9b0 00007ffdfe006576 csound64!csoundStop+0x1336
000000f0c51ee9e0 00007ffdfe00351e csound64!csoundDestroy+0xee
000000f0c51eea10 00007ff74251e8f7 DrumMachine!Csound::~Csound+0x27
000000f0c51eea40 00007ff74251ebb1 DrumMachine!Csound::operator=+0xc1
000000f0c51eea80 00007ff742552192 DrumMachine!Csound::operator=+0x336a2
000000f0c51eead0 00007ff74254e95e DrumMachine!Csound::operator=+0x2fe6e
000000f0c51eeb10 00007ff74254e9da DrumMachine!Csound::operator=+0x2feea
000000f0c51eeb40 00007ff74276b4da DrumMachine!Csound::operator=+0x24c9ea
000000f0c51eeb90 00007ff7427726a1 DrumMachine!Csound::operator=+0x253bb1
000000f0c51ef4a0 00007ff742771a36 DrumMachine!Csound::operator=+0x252f46
000000f0c51ef670 00007ff74274a846 DrumMachine!Csound::operator=+0x22bd56
000000f0c51ef700 00007ff7426e3591 DrumMachine!Csound::operator=+0x1c4aa1
000000f0c51ef770 00007ff7423c70de DrumMachine!Csound::GetCsound+0x181e
000000f0c51ef7a0 00007ff7423c6360 DrumMachine!Csound::GetCsound+0xaa0
000000f0c51ef7d0 00007ff7423c627d DrumMachine!Csound::GetCsound+0x9bd
000000f0c51ef8d0 00007ff7423c8983 DrumMachine!Csound::GetCsound+0x30c3
000000f0c51ef9c0 00007ff7423ca4c8 DrumMachine!Csound::GetCsound+0x4c08
000000f0c51efa90 00007ff7423ca57e DrumMachine!Csound::GetCsound+0x4cbe
000000f0c51efad0 00007ff7426e7dc9 DrumMachine!Csound::operator=+0x1c92d9
000000f0c51efb30 00007ff74262dcc3 DrumMachine!Csound::operator=+0x10f1d3
000000f0c51efb60 00007ff7426e8527 DrumMachine!Csound::operator=+0x1c9a37
000000f0c51efbc0 00007ff7425ab2fb DrumMachine!Csound::operator=+0x8c80b
000000f0c51efbf0 00007ff7425aa13e DrumMachine!Csound::operator=+0x8b64e
000000f0c51efc30 00007ffe4d9f7034 kernel32!BaseThreadInitThunk+0x14
000000f0c51efc60 00007ffe4f9e2651 ntdll!RtlUserThreadStart+0x21

SYMBOL_NAME: widgets!csoundModuleDestroy+39767

MODULE_NAME: widgets

IMAGE_NAME: widgets.dll

STACK_COMMAND: .ecxr ; kb ; ** Pseudo Context ** Pseudo ** Value: c ** ; kb

FAILURE_BUCKET_ID: FAIL_FAST_EXCEPTION_c0000602_widgets.dll!csoundModuleDestroy

OS_VERSION: 10.0.19041.1

BUILDLAB_STR: vb_release

OSPLATFORM_TYPE: x64

OSNAME: Windows 10

FAILURE_ID_HASH: {dcb830ce-312a-4a95-a17b-ff35b2464abc}

Followup: MachineOwner

Thanks, what version of Cabbage are you running?

[edit] I just tried the latest beta version and it’s works fine for me. Can you try? Click the three dots on the right of the Installer link, and download the latest installer for Windows.

Thanks for the quick reply. I was using version 2.8.0. Just downloaded the latest beta and can confirm that it does export standalone Windows apps correctly :slight_smile:

1 Like