### Godot version

4.0.2

### System information

Linux 6.3.4-arch1-1
pipewire 0.3.71 (with pipewire-pulse)



### Issue description

When double-clicking on an audio file in the file explorer, Godot crashes.

```
(gdb) bt
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007f3722f8d2d3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007f3722f3da08 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x00007f3722f26538 in __GI_abort () at abort.c:79
#4  0x00005607e81bfaa8 in handle_crash (sig=<optimized out>) at platform/linuxbsd/crash_handler_linuxbsd.cpp:141
#5  <signal handler called>
#6  0x00005607ea0e4d66 in AudioStreamEditor::_draw_preview (this=0x56080a6490d0) at ./core/templates/vector.h:52
#7  0x00005607ea0e920f in call_with_variant_args_helper<AudioStreamEditor>(AudioStreamEditor*, void (AudioStreamEditor::*)(), Variant const**, Callable::CallError&, IndexSequence<>) (p_method=<optimized out>, r_error=..., p_instance=<optimized out>, 
    p_args=<optimized out>) at ./core/variant/binder_common.h:293
#8  call_with_variant_args<AudioStreamEditor> (p_instance=<optimized out>, p_method=<optimized out>, p_argcount=-291670784, r_error=..., p_args=<optimized out>) at ./core/variant/binder_common.h:407
#9  CallableCustomMethodPointer<AudioStreamEditor>::call (this=0x560803dd6920, p_arguments=<optimized out>, p_argcount=-291670784, r_return_value=..., r_call_error=...) at ./core/object/callable_method_pointer.h:104
#10 0x00005607ec6c6d7a in Callable::callp (this=<optimized out>, p_arguments=0x5607f34b4e70, p_argcount=-291670784, r_return_value=..., r_call_error=...) at core/variant/callable.cpp:50
#11 0x00005607eca890e6 in Object::emit_signalp (this=0x56080c7dc110, p_name=..., p_args=0x0, p_argcount=0) at core/object/object.cpp:1046
#12 0x00005607ea7b9ddc in Object::emit_signal<>(StringName const&) (this=0x56080c7dc110, p_name=...) at ./core/object/object.h:869
#13 CanvasItem::_redraw_callback (this=0x56080c7dc110) at scene/main/canvas_item.cpp:136
#14 0x00005607e99949af in call_with_variant_args_helper<CanvasItem>(CanvasItem*, void (CanvasItem::*)(), Variant const**, Callable::CallError&, IndexSequence<>) (p_method=<optimized out>, r_error=..., p_instance=<optimized out>, p_args=<optimized out>)
    at ./core/variant/binder_common.h:293
#15 call_with_variant_args<CanvasItem> (p_instance=<optimized out>, p_method=<optimized out>, p_argcount=-291670784, r_error=..., p_args=<optimized out>) at ./core/variant/binder_common.h:407
#16 CallableCustomMethodPointer<CanvasItem>::call (this=0x56080c72c050, p_arguments=<optimized out>, p_argcount=-291670784, r_return_value=..., r_call_error=...) at ./core/object/callable_method_pointer.h:104
#17 0x00005607ec6c6d7a in Callable::callp (this=<optimized out>, p_arguments=0x5607f34b4e70, p_argcount=-291670784, r_return_value=..., r_call_error=...) at core/variant/callable.cpp:50
#18 0x00005607eca7f925 in MessageQueue::_call_function (this=<optimized out>, p_callable=..., p_args=p_args@entry=0x7f371b9f20f8, p_argcount=0, p_show_error=false) at core/object/message_queue.cpp:229
#19 0x00005607eca7fc0c in MessageQueue::flush (this=0x5607ee9d71b0) at core/object/message_queue.cpp:275
#20 0x00005607ea85808c in SceneTree::physics_process (this=0x5607f23a1640, p_time=<error reading variable: That operation is not available on integers of more than 8 bytes.>) at scene/main/scene_tree.cpp:430
#21 0x00005607e823f31b in Main::iteration () at main/main.cpp:3131
#22 0x00005607e81cb38d in OS_LinuxBSD::run (this=0x7ffddeb8c910) at platform/linuxbsd/os_linuxbsd.cpp:889
#23 0x00005607e81bf69c in main (argc=<optimized out>, argv=<optimized out>) at platform/linuxbsd/godot_linuxbsd.cpp:73
```

### Steps to reproduce

1. Open the example project
2. Double-click `land.wav`

### Minimal reproduction project

[example.zip](https://github.com/godotengine/godot/files/11594375/example.zip)

_seek_to(mb->get_position().x);
		}
		_dragging = mb->is_pressed();
	}
	const Ref<InputEventMouseMotion> mm = p_event;
	if (mm.is_valid()) {
		if (_dragging) {
			_seek_to(mm->get_position().x);
		}
		if (_beat_len_dragging) {
			_set_beat_len_to(mm->get_position().x);
		}
		if (stream->get_bpm() > 0) {
			int main_size = get_theme_font_size(SNAME("main_size"), SNAME("EditorFonts"));
			Ref<Font> beat_font = get_theme_font(SNAME("main"), SNAME("EditorFonts"));
			int y_ofs = beat_font->get_height(main_size) + 4 * EDSCALE;
			if (mm->get_position().y < y_ofs) {
				int new_hovering_beat = _get_beat_at_pos(mm->get_position().x);
				if (new_hovering_beat != _hovering_beat) {
					_hovering_beat = new_hovering_beat;
					_indicator->queue_redraw();
				}
			} else if (_hovering_beat != -1) {
				_hovering_beat = -1;
				_indicator->queue_redraw();
			}
		}
	}
}
int AudioStreamImportSettings::_get_beat_at_pos(real_t p_x) {