Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebRTC extension in webrtc_signaling example crashes editor #68850

Closed
benpm opened this issue Nov 18, 2022 · 1 comment
Closed

WebRTC extension in webrtc_signaling example crashes editor #68850

benpm opened this issue Nov 18, 2022 · 1 comment

Comments

@benpm
Copy link

benpm commented Nov 18, 2022

Godot version

4.0 beta 5

System information

Pop!_OS 22.04 LTS

Issue description

I'm attempting to use the WebRTC GDNative Extension with the webrtc_signaling example with Godot 4.0 beta 5.

At first, I could open the project but the extension wouldn't load, citing that the object files included with the extension were missing from ~/.local/share/lib/. After copying the files included in godot-extension-webrtc/lib into that directory and closing the editor, I can no longer open the project at all. Instead, I get this error:


================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.beta5.official (89a33d28f00fec579184fb7193790d40aa09b45b)
Dumping the backtrace. Please include this when reporting the bug on: https://github.com/godotengine/godot/issues
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7f150ea42520] (??:0)
[2] /home/ben/.local/share/applications/Godot_v4.0-beta5_linux.x86_64() [0x429d7e8] (??:0)
[3] /home/ben/.local/share/applications/Godot_v4.0-beta5_linux.x86_64() [0x43e433b] (??:0)
[4] godot::String::init_bindings() (??:0)
[5] godot::Variant::init_bindings() (??:0)
[6] godot::GDExtensionBinding::init(GDNativeInterface const*, void*, GDNativeInitialization*) (??:0)
[7] /home/ben/.local/share/applications/../lib/libwebrtc_native.linux.template_debug.x86_64.so(webrtc_extension_init+0x5d) [0x7f1508be4e3d] (??:0)
[8] /home/ben/.local/share/applications/Godot_v4.0-beta5_linux.x86_64() [0x42b69b1] (??:0)
[9] /home/ben/.local/share/applications/Godot_v4.0-beta5_linux.x86_64() [0x431a436] (??:0)
[10] /home/ben/.local/share/applications/Godot_v4.0-beta5_linux.x86_64() [0x402f792] (??:0)
[11] /home/ben/.local/share/applications/Godot_v4.0-beta5_linux.x86_64() [0x4042599] (??:0)
[12] /home/ben/.local/share/applications/Godot_v4.0-beta5_linux.x86_64() [0x408f11f] (??:0)
[13] /home/ben/.local/share/applications/Godot_v4.0-beta5_linux.x86_64() [0x4318146] (??:0)
[14] /home/ben/.local/share/applications/Godot_v4.0-beta5_linux.x86_64() [0xd9dd29] (??:0)
[15] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x7f150ea29d90] (??:0)
[16] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80) [0x7f150ea29e40] (??:0)
[17] /home/ben/.local/share/applications/Godot_v4.0-beta5_linux.x86_64() [0xdbe18e] (??:0)
-- END OF BACKTRACE --
================================================================
[1]    30336 IOT instruction (core dumped)  ~/.local/share/applications/Godot_v4.0-beta5_linux.x86_64 project.godot

I'm posting this here because it looks like some sort of unhandled error on the editor's side of things, although I've created an issue on the extension's page as well.

Steps to reproduce

  1. Unzip the provided project files
  2. Copy contents of godot-extension-webrtc/lib to ~/.local/share/lib
  3. Attempt to open project with Godot 4.0 beta 5

Minimal reproduction project

webrtc_signaling_w_extension.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants