tahoma2d / tahoma2d

2D and Stop Motion Animation Software
https://tahoma2d.org
Other
350 stars 59 forks source link

Tahoma 2d crashed unexpectedly #1561

Open KeyoKenser opened 2 months ago

KeyoKenser commented 2 months ago

Bug Description

When I opened the program, the icon comes out, "that Tachoma 2d had a bug when opening" and I was looking for how to do it. I tried both with Windows and the video card, then nothing worked. There is a way to solve this problem?

Steps to reproduce

I'm know't

Relevant logs/screenshots

msedge_SSCO8rwOJg

Software Version

1.4.4

Software Version Information

Tahoma 2D 01.09.2024

Operating System

Windows 11

Graphics Card

Nvidia Geforce GTX 1660 SUPER

Drawing Tablet

Gaomon 156 Pro

manongjohn commented 2 months ago

@KeyoKenser Can you copy the crash log and post it here so i can see what it says?

manongjohn commented 2 months ago

Btw, after downloading, make sure you unzip the download and move the Tahoma2D folder to a suitable location before running it.

KeyoKenser commented 2 months ago

I will write about these failures later. I'll send you these failures in the morning.

KeyoKenser commented 2 months ago

Tahoma2D 1.4.4 (Build Aug 1 2024)

Report Date: 2024-09-01 15:39:12 Crash Reason: EXCEPTION_ACCESS_VIOLATION

Build ABI: x86_64-little_endian-llp64 Operating System: Windows 10 (10.0) OS Kernel: 10.0.22631 CPU Threads: 12

Crash File: C:\Users\USER\AppData\Local\Tahoma2D\Tahoma2D\crash\Crash-20240901-153912.log Mini Dump File: C:\Users\USER\AppData\Local\Tahoma2D\Tahoma2D\crash\Crash-20240901-153912.dmp

==== Backtrace ==== 1> RtlGetLengthWithoutLastFullDosOrNtPathElement [0x7ffeae567f5a] 2> RtlFindCharInUnicodeString [0x7ffeae50e642] 3> KiUserExceptionDispatcher [0x7ffeae59403e] 4> DriverProc [0x7ffe887652e3] 5> ICSendMessage [0x7ffe4676413e] 6> `anonymous namespace'::safe_ICCompressQuery {tiio_avi.cpp:1103} 7> Tiio::AviWriterProperties::AviWriterProperties {tiio_avi.cpp:1166} 8> initImageIo {tiio.cpp:213} 9> initToonzEnv {main.cpp:189} 10> main {main.cpp:586} 11> WinMain [0x7ff79b209024] 12> __scrt_common_main_seh {exe_common.inl:288} 13> BaseThreadInitThunk [0x7ffeadcc257d] 14> RtlUserThreadStart [0x7ffeae54af28] ==== End ====

==== Modules ==== C:\Users\USER\Documents\Tahoma2D\Tahoma2D.exe C:\WINDOWS\SYSTEM32\ntdll.dll C:\WINDOWS\System32\KERNEL32.DLL C:\WINDOWS\System32\KERNELBASE.dll C:\WINDOWS\SYSTEM32\apphelp.dll C:\Users\USER\Documents\Tahoma2D\Qt5Xml.dll C:\Users\USER\Documents\Tahoma2D\Qt5PrintSupport.dll C:\Users\USER\Documents\Tahoma2D\Qt5SerialPort.dll C:\WINDOWS\System32\SETUPAPI.dll C:\WINDOWS\System32\COMDLG32.dll C:\WINDOWS\System32\ucrtbase.dll C:\WINDOWS\System32\msvcrt.dll C:\WINDOWS\System32\msvcp_win.dll C:\WINDOWS\System32\ADVAPI32.dll C:\WINDOWS\System32\USER32.dll C:\WINDOWS\System32\combase.dll C:\WINDOWS\System32\sechost.dll C:\WINDOWS\System32\RPCRT4.dll C:\WINDOWS\System32\win32u.dll C:\WINDOWS\SYSTEM32\OPENGL32.dll C:\WINDOWS\System32\bcrypt.dll C:\WINDOWS\System32\GDI32.dll C:\WINDOWS\System32\shcore.dll C:\WINDOWS\System32\gdi32full.dll C:\WINDOWS\System32\SHELL32.dll C:\WINDOWS\System32\SHLWAPI.dll C:\Users\USER\Documents\Tahoma2D\freeglut.dll C:\Users\USER\Documents\Tahoma2D\EDSDK.dll C:\WINDOWS\System32\ole32.dll C:\Users\USER\Documents\Tahoma2D\colorfx.dll C:\Users\USER\Documents\Tahoma2D\libgphoto2.dll C:\Users\USER\Documents\Tahoma2D\libgphoto2_port.dll C:\WINDOWS\System32\WS2_32.dll C:\Users\USER\Documents\Tahoma2D\image.dll C:\Users\USER\Documents\Tahoma2D\tnztools.dll C:\Users\USER\Documents\Tahoma2D\tfarm.dll C:\Users\USER\Documents\Tahoma2D\tnzstdfx.dll C:\Users\USER\Documents\Tahoma2D\sound.dll C:\Users\USER\Documents\Tahoma2D\toonzqt.dll C:\Users\USER\Documents\Tahoma2D\Qt5Script.dll C:\Users\USER\Documents\Tahoma2D\toonzlib.dll C:\Users\USER\Documents\Tahoma2D\opencv_world451.dll C:\Users\USER\Documents\Tahoma2D\tnzext.dll C:\WINDOWS\System32\OLEAUT32.dll C:\Users\USER\Documents\Tahoma2D\tnzbase.dll C:\Users\USER\Documents\Tahoma2D\Qt5OpenGL.dll C:\Users\USER\Documents\Tahoma2D\tnzcore.dll C:\Users\USER\Documents\Tahoma2D\Qt5Multimedia.dll C:\Users\USER\Documents\Tahoma2D\Qt5Widgets.dll C:\Users\USER\Documents\Tahoma2D\Qt5Core.dll C:\WINDOWS\SYSTEM32\WINSPOOL.DRV C:\WINDOWS\SYSTEM32\VCRUNTIME140.dll C:\Users\USER\Documents\Tahoma2D\Qt5Network.dll C:\Users\USER\Documents\Tahoma2D\Qt5Gui.dll C:\WINDOWS\SYSTEM32\MPR.dll C:\WINDOWS\System32\CRYPT32.dll C:\WINDOWS\SYSTEM32\GLU32.dll C:\WINDOWS\SYSTEM32\dbghelp.dll C:\WINDOWS\SYSTEM32\MSVCP140.dll C:\WINDOWS\SYSTEM32\VCRUNTIME140_1.dll C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.22621.3527_none_b43b7f4b638cc64f\COMCTL32.dll C:\WINDOWS\SYSTEM32\MFPlat.DLL C:\WINDOWS\SYSTEM32\MF.dll C:\WINDOWS\SYSTEM32\WINMM.dll C:\WINDOWS\SYSTEM32\VERSION.dll C:\WINDOWS\SYSTEM32\MSVFW32.dll C:\WINDOWS\SYSTEM32\AVIFIL32.dll C:\Users\USER\Documents\Tahoma2D\libmypaint-1-4-0.dll C:\Users\USER\Documents\Tahoma2D\glew32.dll C:\Users\USER\Documents\Tahoma2D\Qt5Svg.dll C:\WINDOWS\SYSTEM32\CONCRT140.dll C:\WINDOWS\SYSTEM32\NETAPI32.dll C:\WINDOWS\SYSTEM32\UxTheme.dll C:\WINDOWS\SYSTEM32\dwmapi.dll C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL C:\WINDOWS\SYSTEM32\DNSAPI.dll C:\WINDOWS\SYSTEM32\cfgmgr32.dll C:\WINDOWS\SYSTEM32\MSACM32.dll C:\Users\USER\Documents\Tahoma2D\libintl-8.dll C:\Users\USER\Documents\Tahoma2D\libjson-c-2.dll C:\WINDOWS\SYSTEM32\NETUTILS.DLL C:\Users\USER\Documents\Tahoma2D\libiconv-2.dll C:\WINDOWS\SYSTEM32\SRVCLI.DLL C:\WINDOWS\SYSTEM32\dxcore.dll C:\WINDOWS\SYSTEM32\dbgcore.DLL C:\WINDOWS\SYSTEM32\MFCORE.DLL C:\WINDOWS\System32\IMM32.DLL C:\WINDOWS\System32\NSI.dll C:\WINDOWS\SYSTEM32\CRYPTBASE.DLL C:\WINDOWS\System32\bcryptPrimitives.dll C:\WINDOWS\SYSTEM32\kernel.appcore.dll C:\WINDOWS\SYSTEM32\RTWorkQ.DLL C:\Users\USER\Documents\Tahoma2D\platforms\qwindows.dll C:\WINDOWS\system32\wintab32.dll C:\WINDOWS\SYSTEM32\windows.storage.dll C:\WINDOWS\SYSTEM32\wintypes.dll C:\WINDOWS\SYSTEM32\profapi.dll C:\Users\USER\Documents\Tahoma2D\iconengines\qsvgicon.dll C:\WINDOWS\System32\MSCTF.dll C:\WINDOWS\SYSTEM32\textinputframework.dll C:\WINDOWS\SYSTEM32\CoreMessaging.dll C:\WINDOWS\SYSTEM32\CoreUIComponents.dll C:\WINDOWS\system32\Oleacc.dll C:\WINDOWS\System32\clbcatq.dll C:\Windows\System32\AppXDeploymentClient.dll C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_34f9511bafd21ff9\nvoglv64.dll C:\WINDOWS\SYSTEM32\WTSAPI32.dll C:\WINDOWS\SYSTEM32\msasn1.dll C:\WINDOWS\SYSTEM32\cryptnet.dll C:\WINDOWS\SYSTEM32\wldp.dll C:\WINDOWS\SYSTEM32\drvstore.dll C:\WINDOWS\SYSTEM32\devobj.dll C:\WINDOWS\System32\WINTRUST.dll C:\WINDOWS\SYSTEM32\ntmarta.dll C:\WINDOWS\System32\imagehlp.dll C:\WINDOWS\SYSTEM32\CRYPTSP.dll C:\WINDOWS\system32\rsaenh.dll C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_34f9511bafd21ff9\nvgpucomp64.dll C:\WINDOWS\system32\nvspcap64.dll C:\WINDOWS\SYSTEM32\powrprof.dll C:\WINDOWS\SYSTEM32\UMPDC.dll C:\WINDOWS\SYSTEM32\WINSTA.dll C:\WINDOWS\system32\d3d9.dll C:\WINDOWS\SYSTEM32\directxdatabasehelper.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:\WINDOWS\SYSTEM32\ff_vfw.dll C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.3672_none_2713b9d173822955\COMCTL32.dll C:\Program Files\SAM CoDeC Pack\Filters\FFDShow\ffdshow.ax C:\WINDOWS\SYSTEM32\DINPUT.dll C:\WINDOWS\SYSTEM32\SspiCli.dll C:\WINDOWS\SYSTEM32\inputhost.dll ==== End ====

manongjohn commented 2 months ago

@KeyoKenser Thank you for the log. There is a known issue with certain logitech camera related DLLs that cause T2D to crash immediately on startup.

I have a planned fix for this but need it tested by someone with this problem. Can you download this build and see if you can run it successfully? https://github.com/manongjohn/tahoma2d/actions/runs/10457090108/artifacts/1828463138

KeyoKenser commented 2 months ago

No, it didn't work for me either, and this problem isn't even related to the camera, I have a Fifa camera, not a Logitech. I tried it too and it still doesn't work.

manongjohn commented 2 months ago

No, it didn't work for me either, and this problem isn't even related to the camera, I have a Fifa camera, not a Logitech. I tried it too and it still doesn't work.

Thank you for trying it. Was there a crash log? Can you provide it also if there is one? Want to see if there is now a different causing this crash.

The problem is this DLL, which i think certain Logitech camera installations also loads: C:\WINDOWS\SYSTEM32\ff_vfw.dll Others online in other software have reported this problem also. Recommendation: Rename this file and T2D should start, unless there is another issue.

KeyoKenser commented 2 months ago

IT'S WORKING FOR ME! THANK YOU VERY MUCH FOR YOUR HELP!! I will have plans for my projects from my animated short films.

manongjohn commented 2 months ago

@KeyoKenser If i may, can I trouble you to try a change i made to my original attempt at fixing this issue? If you are willing and have a few minutes to spare, please do the following:

  1. Rename the DLL file back to C:\WINDOWS\SYSTEM32\ff_vfw.dll
  2. Open existing T2D and verify you are crashing on startup.
  3. Download this one: https://github.com/manongjohn/tahoma2d/actions/runs/10655006651/artifacts/1879549613
  4. Unzip and move to a different location than the official version you are using.
  5. Start the new one you just downloaded.
  6. Let me know if it start or not.
  7. Rename the ff_vfw.dll to move it out of the way again and resume using the official version again.
manongjohn commented 2 months ago

@KeyoKenser Oh, would you please zip up and send me anything found here: C:\Users\your-user-id\AppData\Local\Tahoma2D\Tahoma2D\crash ? I could really use DMP files which might help me find alternate ways to fix this.

KeyoKenser commented 2 months ago

So TD2 works well for me. It took only an hour for everything to be resolved well.

manongjohn commented 2 months ago

So TD2 works well for me. It took only an hour for everything to be resolved well.

That's great, but I'm trying to fix it so people don't have to do the rename workaround. I need information from people who are having this problem so I can hopefully put in a fix to avoid this problem completely. If you can provide the information I requested above, that could be really helpful and would be very appreciated.