GDH icon indicating copy to clipboard operation
GDH copied to clipboard

C++ Exception: "vector too long" in GDH v5.0.0-beta.3 (tobyadd.gdh)

Open Andree315 opened this issue 10 months ago • 1 comments

When using the tobyadd.gdh mod (version v5.0.0-beta.3) in Geometry Dash (version 2.207) with Geode (version v4.3.0), I encounter a crash when using the scale tool. The game throws a C++ exception with the error message vector too long . The issue occurs specifically when I try to scale an object from zero to a positive value.

Steps to Reproduce:

  1. Launch Geometry Dash (version 2.207) with Geode (version v4.3.0) and enable the tobyadd.gdh mod.
  2. Use the scale tool and set the scale value to zero.
  3. Gradually increase the scale value to a positive number.
  4. The game crashes and throws the exception "vector too long" .

Error Message:

2025-03-12T15:21:11-0500
Whoopsies! An unhandled exception has occurred.

== Geode Information ==
Loader Version: v4.3.0
Loader Commit: 75bf0df
Bindings Commit: 0cd132db
Installed mods: 5
Outdated mods: 0
Problems: 0

== Exception Information ==
C++ Exception: class std::length_error("vector too long")
Faulty Mod: GDH v5.0.0-beta.3 (tobyadd.gdh)
Crashed thread: Main

== Stack Trace ==
 - C:\WINDOWS\system32\KERNELBASE.dll + 450c (RaiseException + 108)
 - C:\WINDOWS\SYSTEM32\VCRUNTIME140.dll + 5267 (CxxThrowException + 151)
 - C:\WINDOWS\SYSTEM32\MSVCP140.dll + 39502 (std::_Xlength_error + 34)
 - C:\Andree\GD\GeometryDash.exe + 62a01
 - C:\Andree\GD\GeometryDash.exe + 24c097
 - C:\Andree\GD\GeometryDash.exe + 2212e3
 - C:\Andree\GD\GeometryDash.exe + 11e38b
 - C:\Andree\GD\GeometryDash.exe + 1202ce
 - C:\Andree\GD\GeometryDash.exe + 11feb4
 - C:\Andree\GD\GeometryDash.exe + 12ac73
 - C:\Andree\GD\GeometryDash.exe + 12233e
 - C:\Andree\GD\libcocos2d.dll + b0f46 (cocos2d::CCTouchDispatcher::touches + 470)
 - 00000059E940E482 (Hook handler)
 - C:\Andree\GD\geode\unzipped\tobyadd.gdh\tobyadd.gdh.dll + dcf98
 - 00000059E940E482 (Hook handler)
 - C:\Andree\GD\libcocos2d.dll + 6b29d (cocos2d::CCEGLViewProtocol::handleTouchesMove + 317)
 - C:\Andree\GD\libcocos2d.dll + 76315 (cocos2d::CCEGLView::onGLFWMouseMoveCallBack + 133)
 - C:\Andree\GD\libcocos2d.dll + d6d31
 - C:\WINDOWS\system32\USER32.dll + 24fd
 - C:\WINDOWS\system32\USER32.dll + 3ccb (CallWindowProcW + 155)
 - C:\WINDOWS\SYSTEM32\OPENGL32.dll + 428fc
 - C:\WINDOWS\system32\USER32.dll + 24fd
 - C:\WINDOWS\system32\USER32.dll + 2357
 - C:\Andree\GD\libcocos2d.dll + d4548
 - C:\Andree\GD\libcocos2d.dll + 72c16 (cocos2d::CCApplication::run + 1078)
 - C:\Andree\GD\GeometryDash.exe + 4b6e32
 - C:\Andree\GD\Geode.dll + 255a9d (gdMainHook + 557 | /home/runner/work/geode/geode/loader/src/platform/windows/main.cpp:181)
 - C:\Andree\GD\GeometryDash.exe + 4b821a
 - C:\WINDOWS\system32\KERNEL32.DLL + 1412 (BaseThreadInitThunk + 34)
 - C:\WINDOWS\SYSTEM32\ntdll.dll + 15504 (RtlUserThreadStart + 52)

System Information:

  • Operating System: Windows 8.1 (64-bit)
  • Geometry Dash Version: 2.207
  • Geode Version: v4.3.0
  • Mod Version: GDH v5.0.0-beta.3

Additional Notes:

  • This error consistently occurs when using the scale tool and scaling from zero to a positive value. After the crash, the game throws the "vector too long" exception.
  • I have tried disabling other mods, but this issue happens specifically with this mod.

Please let me know if any further information is needed to help resolve this issue. Thank you!

Andree315 avatar Mar 12 '25 22:03 Andree315

It would be better if you could provide a video of the bug

TobyAdd avatar Mar 16 '25 11:03 TobyAdd