Repository: godot
Issue: Crash when setting exported variable with setter with deferred call to a method with a script error
Labels: bug,topic:gdscript,topic:editor,confirmed,crash

### Godot version

4.0.alpha3

### System information

Fedora 35, Intel GPU

### Issue description

Backtrace:
```
================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.alpha3.official (256069eaf00be2340259f896695014d92b1e22ed)
Dumping the backtrace. Please include this when reporting the bug on https://github.com/godotengine/godot/issues
[1] /lib64/libc.so.6(+0x42750) [0x7f0ad9e01750] (??:0)
[2] /Depot/Applications/Godot/Godot_v4.0-alpha3_linux.64() [0x3eae085] (??:0)
[3] /Depot/Applications/Godot/Godot_v4.0-alpha3_linux.64() [0x40a3874] (??:0)
[4] /Depot/Applications/Godot/Godot_v4.0-alpha3_linux.64() [0x40a4d51] (??:0)
[5] /Depot/Applications/Godot/Godot_v4.0-alpha3_linux.64() [0x40b499c] (??:0)
[6] /Depot/Applications/Godot/Godot_v4.0-alpha3_linux.64() [0x292e1b8] (??:0)
[7] /Depot/Applications/Godot/Godot_v4.0-alpha3_linux.64() [0x2a542b8] (??:0)
[8] /Depot/Applications/Godot/Godot_v4.0-alpha3_linux.64() [0x1bb68d6] (??:0)
[9] /Depot/Applications/Godot/Godot_v4.0-alpha3_linux.64() [0x407c85b] (??:0)
[10] /Depot/Applications/Godot/Godot_v4.0-alpha3_linux.64() [0x40a4d14] (??:0)
[11] /Depot/Applications/Godot/Godot_v4.0-alpha3_linux.64() [0x40b4832] (??:0)
[12] /Depot/Applications/Godot/Godot_v4.0-alpha3_linux.64() [0x403e51d] (??:0)
[13] /Depot/Applications/Godot/Godot_v4.0-alpha3_linux.64() [0x16f97be] (??:0)
[14] /Depot/Applications/Godot/Godot_v4.0-alpha3_linux.64() [0x15ec158] (??:0)
[15] /Depot/Applications/Godot/Godot_v4.0-alpha3_linux.64() [0x40465f8] (??:0)
[16] /Depot/Applications/Godot/Godot_v4.0-alpha3_linux.64() [0x3ef7a1a] (??:0)
[17] /Depot/Applications/Godot/Godot_v4.0-alpha3_linux.64() [0x16f96ea] (??:0)
[18] /Depot/Applications/Godot/Godot_v4.0-alpha3_linux.64() [0x15ec158] (??:0)
[19] /Depot/Applications/Godot/Godot_v4.0-alpha3_linux.64() [0x40465f8] (??:0)
[20] /Depot/Applications/Godot/Godot_v4.0-alpha3_linux.64() [0x3ed0c44] (??:0)
[21] /Depot/Applications/Godot/Godot_v4.0-alpha3_linux.64() [0x4537005] (??:0)
[22] /Depot/Applications/Godot/Godot_v4.0-alpha3_linux.64() [0x40aa007] (??:0)
[23] /Depot/Applications/Godot/Godot_v4.0-alpha3_linux.64() [0x298792b] (??:0)
[24] /Depot/Applications/Godot/Godot_v4.0-alpha3_linux.64() [0xdea8e6] (??:0)
[25] /Depot/Applications/Godot/Godot_v4.0-alpha3_linux.64() [0xd8cf61] (??:0)
[26] /lib64/libc.so.6(+0x2d560) [0x7f0ad9dec560] (??:0)
[27] /lib64/libc.so.6(__libc_start_main+0x7c) [0x7f0ad9dec60c] (??:0)
[28] /Depot/Applications/Godot/Godot_v4.0-alpha3_linux.64() [0xda685e] (??:0)
-- END OF BACKTRACE --
================================================================
```

### Steps to reproduce

It's very hard for me to isolate what triggered this. I am just trying to convert a game from Godot 3.x to 4.0 and tackling issues one by one. At one point Godot just starting crashing every time.

By the way, it seems like there are no debug symbols in the Godot alpha builds.

### Minimal reproduction project

*Bugsquad edit:* MRP in https://github.com/godotengine/godot/issues/58468#issuecomment-1050080202