godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.33k stars 21.06k forks source link

godot4.4 dev3 HttpClient ,ERROR: BUG: Unreferenced static string to 0: servers. #97798

Open bestvcboy opened 2 weeks ago

bestvcboy commented 2 weeks ago

Tested versions

godot4.4 dev3

System information

Android

Issue description

C# CODE

  public override async void _Ready()
   {
       var h1 = new System.Net.Http.HttpClient();
      var t1 = await h1.GetAsync("https://www.xxxxxx.com/l01_01_md5.txt");
}
2024-10-04 12:05:12.155   561-949   BufferQueueProducer     surfaceflinger                       I  [SurfaceView - com.example.demo1/com.godot.game.GodotApp#0](this:0xb400007e97625128,id:35,api:1,p:6970,c:561) queueBuffer: fps=0.69 dur=1451.93 max=1451.93 min=1451.93
2024-10-04 12:05:12.431  6970-7075  godot                   com.example.demo1                    E  ERROR: BUG: Unreferenced static string to 0: servers
2024-10-04 12:05:12.431  6970-7075  godot                   com.example.demo1                    E     at: unref (core/string/string_name.cpp:142)
2024-10-04 12:05:12.432  6970-7075  godot                   com.example.demo1                    E  ERROR: BUG: Unreferenced static string to 0: ShaderCompilation
2024-10-04 12:05:12.432  6970-7075  godot                   com.example.demo1                    E     at: unref (core/string/string_name.cpp:142)
2024-10-04 12:05:12.439  6970-7037  libc                    com.example.demo1                    A  FORTIFY: pthread_mutex_lock called on a destroyed mutex (0x766f930f80)
2024-10-04 12:05:12.439  6970-7075  godot                   com.example.demo1                    E  ERROR: BUG: Unreferenced static string to 0: current_animation_changed
2024-10-04 12:05:12.439  6970-7075  godot                   com.example.demo1                    E     at: unref (core/string/string_name.cpp:142)
2024-10-04 12:05:12.540   906-1049  InputDispatcher         system_server                        W  channel 'a250195 com.example.demo1/com.godot.game.GodotApp (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
2024-10-04 12:05:12.540   906-1049  InputDispatcher         system_server                        E  channel 'a250195 com.example.demo1/com.godot.game.GodotApp (server)' ~ Channel is unrecoverably broken and will be disposed!
2024-10-04 12:05:12.541   561-949   BufferQueueProducer     surfaceflinger                       I  [com.example.demo1/com.godot.game.GodotApp#0](id:23100000022,api:1,p:6970,c:561) disconnect(): api=1
2024-10-04 12:05:12.541   561-949   BufferQueueProducer     surfaceflinger                       I  [SurfaceView - com.example.demo1/com.godot.game.GodotApp#0](id:23100000023,api:1,p:6970,c:561) disconnect(): api=1
2024-10-04 12:05:12.543   906-2666  ActivityManager         system_server                        I  Process com.example.demo1 (pid 6970) has died: fg  TOP 
2024-10-04 12:05:12.543   906-2747  WindowManager           system_server                        I  WIN DEATH: Window{a250195 u0 com.example.demo1/com.godot.game.GodotApp}

Steps to reproduce

   public override async void _Ready()
   {
       var h1 = new System.Net.Http.HttpClient();
      var t1 = await h1.GetAsync("https://www.xxxxxx.com/l01_01_md5.txt");
}

Minimal reproduction project (MRP)

        var h1 = new System.Net.Http.HttpClient();
       var t1 = await h1.GetAsync("https://www.xxxxxx.com/l01_01_md5.txt");
bestvcboy commented 1 week ago

testdemo.zip