cryinkfly / Autodesk-Fusion-360-for-Linux

This is a project, where I give you a way to use Autodesk Fusion 360 on Linux!
https://github.com/cryinkfly/Fusion-360---Linux-Wine-Version-/wiki
MIT License
1.95k stars 121 forks source link

Fusion360 crashes when saving *sometimes* #206

Open Vermoot opened 2 years ago

Vermoot commented 2 years ago

Describe the bug I work on a design, and when I ctrl+s (haven't tested using the menu but I don't expect it to be different), the "name your save version thing" ("User Saved v8") window pops up, and whether I confirm or I cancel, Fusion crashes.

I think it does save, though, but I'm not sure, I'd need to test again.

To Reproduce

  1. Work on a file
  2. Save and confirm/cancel
  3. ???
  4. Crash

Expected behavior No crash and a saved file.

Additional context Here's a bit that the terminal says during the crash:

=================================================================
        Native Crash Reporting
=================================================================
Got a UNKNOWN while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

=================================================================
        Managed Stacktrace:
=================================================================
          at <unknown> <0xffffffff>
          at MS.Win32.HwndSubclass:SubclassWndProc <0x00152>
          at MS.Win32.HwndSubclass:SubclassWndProc <0x00092>
          at <unknown> <0xffffffff>
          at MS.Win32.UnsafeNativeMethods:IntCreateWindowEx <0x001b2>
          at MS.Win32.UnsafeNativeMethods:CreateWindowEx <0x0011a>
          at MS.Win32.HwndWrapper:.ctor <0x00b3a>
          at MS.Win32.MessageOnlyHwndWrapper:.ctor <0x0008a>
          at System.Windows.Threading.Dispatcher:.ctor <0x004da>
          at System.Windows.Threading.Dispatcher:get_CurrentDispatcher <0x000b2>
          at System.Windows.Threading.DispatcherObject:.ctor <0x0003a>
          at System.Windows.Application:.ctor <0x0005a>
          at cer_component.App:.ctor <0x0003a>
          at cer_component.StartupApp:Main <0x008da>
          at <Module>:runtime_invoke_int_object <0x0009f>
=================================================================
wine: Unhandled page fault on write access to 0000000000000007 at address 0000000170027FA0 (thread 0354), starting debugger...
039c:fixme:imm:ImeSetActiveContext (0x26f8f0, 1): stub
039c:fixme:imm:ImmReleaseContext (000000000001022C, 000000000026F8F0): stub
033c:err:sync:RtlpWaitForCriticalSection section 0000000000450100 "../wine/dlls/ntdll/heap.c: main process heap section" wait timed out in thread 033c, blocked by 0354, retrying (60 sec)
0b38:err:sync:RtlpWaitForCriticalSection section 000000000048A6B0 "?" wait timed out in thread 0b38, blocked by 0354, retrying (60 sec)
03ac:err:sync:RtlpWaitForCriticalSection section 0000000000450100 "../wine/dlls/ntdll/heap.c: main process heap section" wait timed out in thread 03ac, blocked by 0354, retrying (60 sec)
0318:err:sync:RtlpWaitForCriticalSection section 0000000000450100 "../wine/dlls/ntdll/heap.c: main process heap section" wait timed out in thread 0318, blocked by 0354, retrying (60 sec)
032c:err:sync:RtlpWaitForCriticalSection section 0000000000450100 "../wine/dlls/ntdll/heap.c: main process heap section" wait timed out in thread 032c, blocked by 0354, retrying (60 sec)
0340:err:sync:RtlpWaitForCriticalSection section 0000000000450100 "../wine/dlls/ntdll/heap.c: main process heap section" wait timed out in thread 0340, blocked by 0354, retrying (60 sec)
0274:err:sync:RtlpWaitForCriticalSection section 0000000000450100 "../wine/dlls/ntdll/heap.c: main process heap section" wait timed out in thread 0274, blocked by 0354, retrying (60 sec)
033c:err:sync:RtlpWaitForCriticalSection section 0000000000450100 "../wine/dlls/ntdll/heap.c: main process heap section" wait timed out in thread 033c, blocked by 0354, retrying (60 sec)
0b38:err:sync:RtlpWaitForCriticalSection section 000000000048A6B0 "?" wait timed out in thread 0b38, blocked by 0354, retrying (60 sec)
03ac:err:sync:RtlpWaitForCriticalSection section 0000000000450100 "../wine/dlls/ntdll/heap.c: main process heap section" wait timed out in thread 03ac, blocked by 0354, retrying (60 sec)
0318:err:sync:RtlpWaitForCriticalSection section 0000000000450100 "../wine/dlls/ntdll/heap.c: main process heap section" wait timed out in thread 0318, blocked by 0354, retrying (60 sec)
032c:err:sync:RtlpWaitForCriticalSection section 0000000000450100 "../wine/dlls/ntdll/heap.c: main process heap section" wait timed out in thread 032c, blocked by 0354, retrying (60 sec)
0340:err:sync:RtlpWaitForCriticalSection section 0000000000450100 "../wine/dlls/ntdll/heap.c: main process heap section" wait timed out in thread 0340, blocked by 0354, retrying (60 sec)
0274:err:sync:RtlpWaitForCriticalSection section 0000000000450100 "../wine/dlls/ntdll/heap.c: main process heap section" wait timed out in thread 0274, blocked by 0354, retrying (60 sec)

I realize I'm not giving a ton of information here but it's a bit hard to select what's relevant and pick it at the right time. I can definitely provide whatever you'll ask for though!

cryinkfly commented 2 years ago

@Vermoot OK, I just tried it. Your error only happens to me randomly when I save the same project several times in a row in a short period of time!

cryinkfly commented 2 years ago

Thank you for your information! :+1: