Beef icon indicating copy to clipboard operation
Beef copied to clipboard

Fatal IDE crash when typing in file containing generics

Open hermansimensen opened this issue 2 years ago • 1 comments

Platform: Windows 10 86_64 IDE version: Latest nightly

Steps to reproduce:

  • Open the attached workspace, and try to type "public static void main" or pretty much anything
  • Press space.

The IDE will crash with this error code:

FATAL MODULE ERROR Not implemented at C:\Jenkins\workspace\Beef\IDEHelper\Compiler\BfModuleTypeUtils.cpp:15958 Module: Type: linux_test.Program.BeefCClosure<T> Method: linux_test.Program.BeefCClosure<T>.this(T callback)

linux_test.zip

hermansimensen avatar Jul 06 '23 16:07 hermansimensen

crash.zip

Crash dump attached.

I figured out that this seems to be related to the bitfield in the Closure structure and perhaps not generics as I previously thought. Commenting out the bitfield seems to prevent crashes.

hermansimensen avatar Jul 08 '23 09:07 hermansimensen

This is no longer an issue on latest build from source.

kallisto56 avatar Jan 23 '25 21:01 kallisto56