https://bugs.winehq.org/show_bug.cgi?id=50814
Bug ID: 50814 Summary: Adobe Audition 2020 crashes on startup, reporting 'Direct2D Drawbot error' (d2d_device_context_Flush is a stub) Product: Wine Version: 6.4 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: d2d Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
continuation of bug 50411 ("Adobe Audition 2020 crashes on startup, reporting 'Direct2D Drawbot error' (d2d_geometry_group_GetBounds is a stub)").
--- snip --- $ wine ./Adobe\ Audition.exe ... 0164:fixme:d2d:d2d_geometry_sink_AddArc iface 000000001732E0D8, arc 000000000022A618 stub! 0164:fixme:d2d:d2d_device_context_DrawGeometry Ignoring stroke style 000000001732DF20. 0164:fixme:d2d:d2d_device_context_PushAxisAlignedClip Ignoring antialias_mode 0. 0164:fixme:d2d:d2d_device_context_PushAxisAlignedClip Ignoring antialias_mode 0. 0164:fixme:d2d:d2d_device_context_PushAxisAlignedClip Ignoring antialias_mode 0. 0164:fixme:d2d:d2d_device_context_PushAxisAlignedClip Ignoring antialias_mode 0. X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 62 (X_CopyArea) Serial number of failed request: 1799 Current serial number in output stream: 1804 --- snip ---
Debugger log:
--- snip --- ... DebugString: "<320> <AuLog.Startup> <5> AuApplication initialization sequence complete." DebugString: "<320> <AuLog.Startup> <5> Initializing AuCEPSupport" DebugString: "<320> <AuLog.Startup> <5> Initializing AsyncQueueManager" DebugString: "<320> <AuLog.Startup> <5> Initializing AuUI" ... DebugString: "<320> <AuLog.Startup> <5> Setting up temp directories" DebugString: "<320> <AuLog.Startup> <5> AuUI initialization sequence complete." ... DebugString: "<320> <Assert> <0> Debug Assert failed! Expression: !inReportToUser Direct2D Drawbot error Process: Adobe Audition.exe Process ID: 316 Thread ID: 320 File: ....\Application\private\ErrorManager.cpp Line: 250 Function: aui::ErrorManager::ThrowError Assert Dialog Show:false" EXCEPTION_DEBUG_INFO: dwFirstChance: 1 ExceptionCode: E06D7363 (CPP_EH_EXCEPTION) ExceptionFlags: 00000001 ExceptionAddress: 000000007B012E92 kernelbase.000000007B012E92 NumberParameters: 4 ExceptionInformation[00]: 0000000019930520 arriraw_sdk.0000000019930520 ExceptionInformation[01]: 0000000000229AE0 <&??_7ErrorManagerException@config@dvacore@@6B@> ExceptionInformation[02]: 0000000180365900 dvacore.0000000180365900 ExceptionInformation[03]: 0000000180000000 dvacore.0000000180000000 First chance exception on 000000007B012E92 (E06D7363, CPP_EH_EXCEPTION)! DebugString: "<320> <dvaappsupport.analytics.LogException> <0>" EXCEPTION_DEBUG_INFO: dwFirstChance: 1 ExceptionCode: E06D7363 (CPP_EH_EXCEPTION) ExceptionFlags: 00000001 ExceptionAddress: 000000007B012E92 kernelbase.000000007B012E92 NumberParameters: 4 ExceptionInformation[00]: 0000000019930520 arriraw_sdk.0000000019930520 ExceptionInformation[01]: 00000000002276B0 ExceptionInformation[02]: 000000000FD29540 auui.000000000FD29540 ExceptionInformation[03]: 000000000EEA0000 auui.000000000EEA0000 First chance exception on 000000007B012E92 (E06D7363, CPP_EH_EXCEPTION)! DebugString: "<320> <Assert> <0> Debug Assert failed! Expression: !inReportToUser Direct2D Drawbot error Process: Adobe Audition.exe Process ID: 316 Thread ID: 320 File: ....\Application\private\ErrorManager.cpp Line: 250 Function: aui::ErrorManager::ThrowError Assert Dialog Show:false" ... --- snip ---
Location that triggers the assert()
--- snip --- ... 0D2A36D2 | xor r8d,r8d | 0D2A36D5 | xor edx,edx | 0D2A36D7 | mov qword ptr ss:[rsp+38],rdi | 0D2A36DC | call qword ptr ds:[rax+150] | d2d_bitmap_render_target_Flush 0D2A36E2 | mov rcx,qword ptr ds:[rbx+60] | 0D2A36E6 | mov edi,eax | 0x80004001 0D2A36E8 | mov qword ptr ss:[rsp+30],rcx | 0D2A36ED | test rcx,rcx | 0D2A36F0 | je dvaui.D2A36F8 | 0D2A36F2 | mov rdx,qword ptr ds:[rcx] | 0D2A36F5 | call qword ptr ds:[rdx+8] | d2d_bitmap_render_target_AddRef 0D2A36F8 | lea rdx,qword ptr ss:[rsp+30] | 0D2A36FD | mov ecx,edi | 0D2A36FF | call dvaui.D2A9F00 | assert() 0D2A3704 | mov rdi,qword ptr ss:[rsp+38] | 0D2A3709 | add rsp,20 | 0D2A370D | pop rbx | 0D2A370E | ret --- snip ---
d2d_bitmap_render_target_Flush() -> d2d1.d2d_device_context_Flush()
https://source.winehq.org/git/wine.git/blob/23ffd0a7986421958c23cffce138afa3...
--- snip --- 1537 static HRESULT STDMETHODCALLTYPE d2d_device_context_Flush(ID2D1DeviceContext *iface, D2D1_TAG *tag1, D2D1_TAG *tag2) 1538 { 1539 struct d2d_device_context *context = impl_from_ID2D1DeviceContext(iface); 1540 1541 FIXME("iface %p, tag1 %p, tag2 %p stub!\n", iface, tag1, tag2); 1542 1543 if (context->ops && context->ops->device_context_present) 1544 context->ops->device_context_present(context->outer_unknown); 1545 1546 return E_NOTIMPL; 1547 } --- snip ---
Stable download link via Internet Archive:
https://web.archive.org/save/http://moodle.lawley.wa.edu.au/ACC/products/Ado...
$ sha1sum AdobeAudition13All.zip b2800e4fd28f3c669cd0b3754ec11a9e8e18cee1 AdobeAudition13All.zip
$ du -sh AdobeAudition13All.zip 296M AdobeAudition13All.zip
$ wine --version wine-6.4-48-g23ffd0a7986
Regards