opentoonz / opentoonz

OpenToonz - An open-source full-featured 2D animation creation software
https://opentoonz.github.io/
Other
4.52k stars 523 forks source link

Frequently getting bug with Windows/Linux install #5340

Open ForestEco opened 8 months ago

ForestEco commented 8 months ago

Description

Hello,

I have a dual boot desktop, runs both Windows and Linux. I am not sure what's going on with this error log, but I had reinstalled OT, then ran Linux, then ran Windows, and OT crashed. I am not sure if theya re related or something on Windows caused it, like an update from Microsoft.

Steps to Reproduce

Expected Behavior

The OT should just run when clicking the application otherwise.

Screenshots, Video & Crash Logs

OpenToonz 1.7.1 (Build Mar 14 2023)

Report Date: 2024-03-13 10:10:24 Crash Reason: EXCEPTION_ACCESS_VIOLATION

Build ABI: x86_64-little_endian-llp64 Operating System: Windows 10 Version 2009 OS Kernel: 10.0.22631 CPU Threads: 16

GPU Vendor: NVIDIA Corporation GPU Model: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2 GPU Version: 4.6.0 NVIDIA 546.33

Crash File: C:\Users\jsafr\AppData\Local\OpenToonz\OpenToonz\crash\Crash-20240313-101024.log Mini Dump File: C:\Users\jsafr\AppData\Local\OpenToonz\OpenToonz\crash\Crash-20240313-101024.dmp

Application Dir: C:/Program Files/OpenToonz Stuff Dir: C:\OpenToonz stuff

Project Name: 2D-S4L5-CreatingDrawings2 Scene Name: untitled24 Project Path: C:\OpenToonz stuff\projects\2D-S4L5-CreatingDrawings2\2D-S4L5-CreatingDrawings2_otprj.xml Scene Path: C:\Users\jsafr\AppData\Local\OpenToonz\OpenToonz\cache\temp\untitled24\untitled24.tnz

==== Modules ==== C:\Program Files\OpenToonz\OpenToonz.exe C:\WINDOWS\SYSTEM32\ntdll.dll C:\WINDOWS\System32\KERNEL32.DLL C:\WINDOWS\System32\KERNELBASE.dll C:\WINDOWS\System32\USER32.dll C:\WINDOWS\System32\win32u.dll C:\WINDOWS\System32\GDI32.dll C:\WINDOWS\System32\gdi32full.dll C:\WINDOWS\System32\msvcp_win.dll C:\WINDOWS\System32\ucrtbase.dll C:\WINDOWS\System32\SHELL32.dll C:\WINDOWS\System32\ole32.dll C:\WINDOWS\System32\combase.dll C:\WINDOWS\System32\RPCRT4.dll C:\Program Files\OpenToonz\Qt5PrintSupport.dll C:\Program Files\OpenToonz\Qt5Xml.dll C:\WINDOWS\System32\OLEAUT32.dll C:\WINDOWS\SYSTEM32\OPENGL32.dll C:\WINDOWS\System32\msvcrt.dll C:\WINDOWS\System32\ADVAPI32.dll C:\WINDOWS\System32\sechost.dll C:\WINDOWS\System32\bcrypt.dll C:\WINDOWS\System32\COMDLG32.dll C:\WINDOWS\System32\shcore.dll C:\WINDOWS\System32\SHLWAPI.dll C:\Program Files\OpenToonz\glut64.dll C:\Program Files\OpenToonz\Qt5SerialPort.dll C:\Program Files\OpenToonz\EDSDK.dll C:\WINDOWS\System32\SETUPAPI.dll C:\Program Files\OpenToonz\colorfx.dll C:\WINDOWS\System32\WS2_32.dll C:\Program Files\OpenToonz\image.dll C:\Program Files\OpenToonz\tfarm.dll C:\Program Files\OpenToonz\tnztools.dll C:\Program Files\OpenToonz\tnzstdfx.dll C:\Program Files\OpenToonz\toonzqt.dll C:\Program Files\OpenToonz\Qt5Core.dll C:\Program Files\OpenToonz\Qt5Widgets.dll C:\Program Files\OpenToonz\Qt5Gui.dll C:\Program Files\OpenToonz\sound.dll C:\Program Files\OpenToonz\Qt5Script.dll C:\Program Files\OpenToonz\toonzlib.dll C:\Program Files\OpenToonz\tnzext.dll C:\Program Files\OpenToonz\opencv_world451.dll C:\Program Files\OpenToonz\tnzbase.dll C:\Program Files\OpenToonz\tnzcore.dll C:\Program Files\OpenToonz\Qt5OpenGL.dll C:\Program Files\OpenToonz\Qt5Multimedia.dll C:\WINDOWS\SYSTEM32\MPR.dll C:\WINDOWS\SYSTEM32\GLU32.dll C:\Program Files\OpenToonz\Qt5Network.dll C:\WINDOWS\System32\CRYPT32.dll C:\WINDOWS\SYSTEM32\dbghelp.dll C:\Program Files\OpenToonz\MSVCP140.dll C:\WINDOWS\SYSTEM32\MF.dll C:\Program Files\OpenToonz\VCRUNTIME140_1.dll C:\Program Files\OpenToonz\VCRUNTIME140.dll C:\WINDOWS\SYSTEM32\MFPlat.DLL C:\Program Files\OpenToonz\MSVCP140_1.dll C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.22621.2506_none_b43bab19638c9595\COMCTL32.dll C:\WINDOWS\SYSTEM32\WINSPOOL.DRV C:\WINDOWS\SYSTEM32\WINMM.dll C:\WINDOWS\SYSTEM32\VERSION.dll C:\WINDOWS\SYSTEM32\MSVFW32.dll C:\WINDOWS\SYSTEM32\AVIFIL32.dll C:\Program Files\OpenToonz\libmypaint-1-4-0.dll C:\Program Files\OpenToonz\glew32.dll C:\Program Files\OpenToonz\Qt5Svg.dll C:\WINDOWS\SYSTEM32\USERENV.dll C:\WINDOWS\SYSTEM32\NETAPI32.dll C:\WINDOWS\SYSTEM32\d3d11.dll C:\WINDOWS\SYSTEM32\UxTheme.dll C:\WINDOWS\SYSTEM32\dxgi.dll C:\WINDOWS\SYSTEM32\dwmapi.dll C:\Program Files\OpenToonz\CONCRT140.dll C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL C:\WINDOWS\SYSTEM32\DNSAPI.dll C:\WINDOWS\SYSTEM32\cfgmgr32.dll C:\WINDOWS\SYSTEM32\MSACM32.dll C:\Program Files\OpenToonz\libintl-8.dll C:\Program Files\OpenToonz\libjson-c-2.dll C:\WINDOWS\SYSTEM32\NETUTILS.DLL C:\WINDOWS\SYSTEM32\dbgcore.DLL C:\WINDOWS\SYSTEM32\dxcore.dll C:\Program Files\OpenToonz\libiconv-2.dll C:\WINDOWS\SYSTEM32\SRVCLI.DLL C:\WINDOWS\SYSTEM32\MFCORE.DLL C:\WINDOWS\SYSTEM32\CRYPTBASE.DLL C:\WINDOWS\System32\IMM32.DLL C:\WINDOWS\System32\NSI.dll C:\WINDOWS\SYSTEM32\kernel.appcore.dll C:\WINDOWS\System32\bcryptPrimitives.dll C:\WINDOWS\SYSTEM32\RTWorkQ.DLL C:\Program Files\OpenToonz\platforms\qwindows.dll C:\WINDOWS\SYSTEM32\WTSAPI32.dll C:\WINDOWS\SYSTEM32\windows.storage.dll C:\WINDOWS\SYSTEM32\wintypes.dll C:\WINDOWS\SYSTEM32\profapi.dll C:\WINDOWS\SYSTEM32\powrprof.dll C:\WINDOWS\SYSTEM32\UMPDC.dll C:\Program Files\OpenToonz\styles\qwindowsvistastyle.dll C:\Program Files\OpenToonz\iconengines\qsvgicon.dll C:\WINDOWS\system32\d3d9.dll C:\WINDOWS\SYSTEM32\directxdatabasehelper.dll C:\WINDOWS\SYSTEM32\msasn1.dll C:\WINDOWS\SYSTEM32\cryptnet.dll C:\WINDOWS\System32\wintrust.dll C:\WINDOWS\System32\imagehlp.dll C:\WINDOWS\SYSTEM32\CRYPTSP.dll C:\WINDOWS\system32\rsaenh.dll C:\WINDOWS\System32\MSCTF.dll C:\WINDOWS\SYSTEM32\textinputframework.dll C:\WINDOWS\SYSTEM32\CoreMessaging.dll C:\WINDOWS\SYSTEM32\CoreUIComponents.dll C:\WINDOWS\System32\clbcatq.dll C:\Windows\System32\AppXDeploymentClient.dll C:\WINDOWS\System32\DriverStore\FileRepository\nvami.inf_amd64_99c8019dbacde1b2\nvoglv64.dll C:\WINDOWS\SYSTEM32\drvstore.dll C:\WINDOWS\SYSTEM32\devobj.dll C:\WINDOWS\SYSTEM32\wldp.dll C:\WINDOWS\SYSTEM32\gpapi.dll C:\WINDOWS\System32\DriverStore\FileRepository\nvami.inf_amd64_99c8019dbacde1b2\nvgpucomp64.dll C:\WINDOWS\SYSTEM32\ntmarta.dll C:\WINDOWS\system32\nvspcap64.dll C:\WINDOWS\SYSTEM32\WINSTA.dll C:\WINDOWS\SYSTEM32\nvapi64.dll C:\WINDOWS\SYSTEM32\apphelp.dll C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_a4e86d7e8f40267a\igd10um64xe.DLL C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL C:\WINDOWS\SYSTEM32\dcomp.dll C:\WINDOWS\system32\dataexchange.dll C:\WINDOWS\system32\twinapi.appcore.dll C:\WINDOWS\system32\ApplicationTargetedFeatureDatabase.dll C:\WINDOWS\system32\dwrite.dll C:\WINDOWS\SYSTEM32\WINMMBASE.dll C:\Program Files\OpenToonz\imageformats\qgif.dll C:\Program Files\OpenToonz\imageformats\qicns.dll C:\Program Files\OpenToonz\imageformats\qico.dll C:\Program Files\OpenToonz\imageformats\qjpeg.dll C:\Program Files\OpenToonz\imageformats\qsvg.dll C:\Program Files\OpenToonz\imageformats\qtga.dll C:\Program Files\OpenToonz\imageformats\qtiff.dll C:\Program Files\OpenToonz\imageformats\qwbmp.dll C:\Program Files\OpenToonz\imageformats\qwebp.dll C:\Program Files\OpenToonz\bearer\qgenericbearer.dll C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL C:\WINDOWS\System32\netprofm.dll C:\WINDOWS\System32\npmproxy.dll C:\Program Files\OpenToonz\audio\qtaudio_windows.dll C:\WINDOWS\SYSTEM32\MMDevAPI.DLL C:\WINDOWS\SYSTEM32\wdmaud.drv C:\WINDOWS\SYSTEM32\AVRT.dll C:\WINDOWS\SYSTEM32\ksuser.dll C:\WINDOWS\SYSTEM32\AUDIOSES.DLL C:\WINDOWS\SYSTEM32\msacm32.drv C:\WINDOWS\SYSTEM32\midimap.dll C:\WINDOWS\SYSTEM32\PROPSYS.dll C:\WINDOWS\SYSTEM32\LINKINFO.dll C:\WINDOWS\System32\mswsock.dll C:\Windows\System32\rasadhlp.dll C:\WINDOWS\system32\napinsp.dll C:\WINDOWS\system32\pnrpnsp.dll C:\WINDOWS\System32\winrnr.dll C:\WINDOWS\system32\wshbth.dll C:\WINDOWS\system32\nlansp_c.dll C:\WINDOWS\System32\fwpuclnt.dll C:\WINDOWS\system32\wintab32.dll C:\WINDOWS\system32\winhttp.dll C:\WINDOWS\SYSTEM32\SspiCli.dll ==== End ====

==== Backtrace ==== 1> RtlGetLengthWithoutLastFullDosOrNtPathElement [0x7ff846ca7a8a] 2> RtlFindCharInUnicodeString [0x7ff846c4e242] 3> KiUserExceptionDispatcher [0x7ff846cd340e] 4> QObject::isWidgetType [0x7fffc6b49a74] 5> QWidgetPrivate::showChildren [0x7fffc7159f9d] 6> QWidgetPrivate::show_helper [0x7fffc715a2a4] 7> QWidgetPrivate::setVisible [0x7fffc71587b8] 8> QWidget::setVisible [0x7fffc715855e] 9> QWidgetPrivate::showChildren [0x7fffc715a0da] 10> QWidgetPrivate::show_helper [0x7fffc715a2a4] 11> QWidgetPrivate::setVisible [0x7fffc71587b8] 12> QWidget::setVisible [0x7fffc715855e] 13> TSmartPointerT::~TSmartPointerT [0x7ff7ff0f4ce2] 14> TSmartPointerT::~TSmartPointerT [0x7ff7ff51eab7] 15> TSmartPointerT::~TSmartPointerT [0x7ff7ff51e092] 16> BaseThreadInitThunk [0x7ff84641257d] 17> RtlUserThreadStart [0x7ff846c8aa58] ==== End ====

OpenToonz Version

1.7

OpenToonz Version Information

No response

Operating System

Windows

GPU

NVIDIA

Graphics Tablet

None

Bracket-H commented 7 months ago

This might be a shared 'stuff' directory issue.

Are you sharing your project between your Linux and Windows installation?

As in, even if the programs are not at the same place, maybe your configuration and/or project files are at the same location, and while I have not ever done this, your error message suggests it.

Application Dir: C:/Program Files/OpenToonz
Stuff Dir: C:\OpenToonz stuff

Note the slashes. Windows uses \ *nix uses /

And your backtrace for the crash strengthens this theory.

==== Backtrace ====
1> RtlGetLengthWithoutLastFullDosOrNtPathElement [0x7ff846ca7a8a] <ntdll.dll>
2> RtlFindCharInUnicodeString [0x7ff846c4e242] <ntdll.dll>

Those seem to be related to path decoding functions.

So, if you're sharing anything ...perhaps try arranging it differently, I know Linux can use NTFS, I use that myself here and there, so perhaps put your shared stuff on an NTFS partitition.

If it already is configured like that, then I don't know, but this seems like a path issue.

I go no good idea how to share 'safely' other than duplication of the files, but that's not a very comfortable solution. Otherwise, decide on which system you want to use for OT. That should solve it, too ...