{"action":"created","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/19337","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/19337/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/19337/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/19337/events","html_url":"https://github.com/godotengine/godot/issues/19337","id":328768649,"node_id":"MDU6SXNzdWUzMjg3Njg2NDk=","number":19337,"title":"Engine crashes when closing a scene with a Tiled-based tileset","user":{"login":"Ertain","id":3180718,"node_id":"MDQ6VXNlcjMxODA3MTg=","avatar_url":"https://avatars2.githubusercontent.com/u/3180718?v=4","gravatar_id":"","url":"https://api.github.com/users/Ertain","html_url":"https://github.com/Ertain","followers_url":"https://api.github.com/users/Ertain/followers","following_url":"https://api.github.com/users/Ertain/following{/other_user}","gists_url":"https://api.github.com/users/Ertain/gists{/gist_id}","starred_url":"https://api.github.com/users/Ertain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ertain/subscriptions","organizations_url":"https://api.github.com/users/Ertain/orgs","repos_url":"https://api.github.com/users/Ertain/repos","events_url":"https://api.github.com/users/Ertain/events{/privacy}","received_events_url":"https://api.github.com/users/Ertain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-02T18:58:21Z","updated_at":"2018-06-02T19:58:43Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"<!-- Please search existing issues for potential duplicates before filing yours:\r\nhttps://github.com/godotengine/godot/issues?q=is%3Aissue\r\n-->\r\n\r\n**Custom version:** v3.1.dev.mono.custom_build.fe82b5a\r\n<!-- Specify commit hash if non-official. -->\r\n\r\n\r\n**OS:** Linux Mint 18.3, 64-bit, Mono version 5.12.0.226, desktop\r\n<!-- Specify GPU model and drivers if graphics-related. -->\r\n\r\n\r\n**Issue description:** tried to close a scene by clicking on the \"X\" in the scenes tabs, and it crashes the editor. The nodes in question have Tiled-based tilesets attached to them.\r\n<!-- What happened, and what was expected. -->\r\n\r\n\r\n**Steps to reproduce:** Build the engine on Linux Mint 18.3 with version 5.12.0.226 of Mono (from the official Mono builds). Utilize the build script described in my Gist [seen here](https://gist.github.com/Ertain/3b22ebc12f6f9032255241d768030f1a). Then install vnen's Tiled Importer plugin. Create a couple of scenes, add some tilesets to them, and close one of the scenes.\r\n\r\n\r\n**Minimal reproduction project:** [Tileset crash example.zip](https://github.com/godotengine/godot/files/2065271/Tileset.crash.example.zip)\r\n<!-- Recommended as it greatly speeds up debugging. Drag and drop a zip archive to upload it. -->\r\n\r\nBacktrace from gdb:\r\n```\r\n#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185\r\nNo locals.\r\n#1  0x00007ffff5d82f2f in ?? () from /usr/lib/libmonosgen-2.0.so.1\r\nNo symbol table info available.\r\n#2  0x00007ffff5d831c2 in ?? () from /usr/lib/libmonosgen-2.0.so.1\r\nNo symbol table info available.\r\n#3  0x00007ffff5d98a6d in ?? () from /usr/lib/libmonosgen-2.0.so.1\r\nNo symbol table info available.\r\n#4  0x00007ffff5c40c0f in mono_domain_try_unload () from /usr/lib/libmonosgen-2.0.so.1\r\nNo symbol table info available.\r\n#5  0x0000000000c21270 in GDMono::_unload_scripts_domain () at modules/mono/mono_gd/gd_mono.cpp:656\r\nNo locals.\r\n#6  0x0000000000c21336 in GDMono::~GDMono () at modules/mono/mono_gd/gd_mono.cpp:854\r\nNo locals.\r\n#7  0x0000000000c06ac3 in memdelete<GDMono> () at core/os/memory.h:118\r\nNo locals.\r\n#8  CSharpLanguage::finish () at modules/mono/csharp_script.cpp:142\r\nNo locals.\r\n#9  0x000000000246c7d1 in ScriptServer::finish_languages () at core/script_language.cpp:114\r\nNo locals.\r\n#10 0x0000000000a510c7 in Main::cleanup () at main/main.cpp:2145\r\nNo locals.\r\n#11 0x0000000000a32d9f in main () at platform/x11/godot_x11.cpp:56\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/godotengine/godot/issues/comments/394113203","html_url":"https://github.com/godotengine/godot/issues/19337#issuecomment-394113203","issue_url":"https://api.github.com/repos/godotengine/godot/issues/19337","id":394113203,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDExMzIwMw==","user":{"login":"vnen","id":5599796,"node_id":"MDQ6VXNlcjU1OTk3OTY=","avatar_url":"https://avatars3.githubusercontent.com/u/5599796?v=4","gravatar_id":"","url":"https://api.github.com/users/vnen","html_url":"https://github.com/vnen","followers_url":"https://api.github.com/users/vnen/followers","following_url":"https://api.github.com/users/vnen/following{/other_user}","gists_url":"https://api.github.com/users/vnen/gists{/gist_id}","starred_url":"https://api.github.com/users/vnen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vnen/subscriptions","organizations_url":"https://api.github.com/users/vnen/orgs","repos_url":"https://api.github.com/users/vnen/repos","events_url":"https://api.github.com/users/vnen/events{/privacy}","received_events_url":"https://api.github.com/users/vnen/received_events","type":"User","site_admin":false},"created_at":"2018-06-02T19:58:43Z","updated_at":"2018-06-02T19:58:43Z","author_association":"MEMBER","body":"Based on the backtrace seems to be an issue with Mono, not directly related to tilesets."}}
{"actor":{"display_login":"vnen"}}