id
int64
393k
2.82B
repo
stringclasses
68 values
title
stringlengths
1
936
body
stringlengths
0
256k
βŒ€
labels
stringlengths
2
508
priority
stringclasses
3 values
severity
stringclasses
3 values
641,647,970
godot
Godot 3.2.1 Startup Crash and Missing/Broken Scenes
Godot Engine v3.2.1.stable <!-- Specify commit hash if using non-official build. --> GLES3, Intel Mesa Integrated GPU There was a crash immediately upon opening my project. Before it started crashing it reported missing/broken scenes that were correctly named and in the correct filepath that it was requesting. The backtrace is included here ``` [I] [faye@acerpred ~] godot --verbose 20:46:06 Godot Engine v3.2.1.stable.custom_build - https://godotengine.org XInput: Refreshing devices. XInput: No touch devices found. Detecting GPUs, set DRI_PRIME in the environment to override GPU detection logic. Only one GPU found, using default. XcursorGetTheme could not get cursor theme Using GLES3 video driver OpenGL ES 3.0 Renderer: Mesa Intel(R) HD Graphics 630 (KBL GT2) Audio buffer frames: 341 calculated latency: 7ms CORE API HASH: 10822102301860774635 EDITOR API HASH: 14982495073158502407 Loading resource: res://.config/godot/editor_settings-3.tres EditorSettings: Load OK! EditorSettings: Save OK! Loaded builtin certs Editing project: /home/faye/Games/Dev/Godot/RPG (::home::faye::Games::Dev::Godot::RPG) Godot Engine v3.2.1.stable.custom_build - https://godotengine.org EditorSettings: Save OK! OpenGL ES 3.0 Renderer: Mesa Intel(R) HD Graphics 630 (KBL GT2) handle_crash: Program crashed with signal 11 Dumping the backtrace. Please include this when reporting the bug on https://github.com/godotengine/godot/issues [1] /usr/lib/libc.so.6(+0x3c3e0) [0x7f08825d43e0] (??:0) [2] /usr/bin/godot() [0x1b770a4] (??:?) [3] /usr/bin/godot() [0x234cca9] (??:?) [4] /usr/bin/godot() [0x234eebd] (??:?) [5] /usr/bin/godot() [0x234d4b9] (??:?) [6] /usr/bin/godot() [0x234eebd] (??:?) [7] /usr/bin/godot() [0x12afd83] (??:?) [8] /usr/bin/godot() [0x12b1768] (??:?) [9] /usr/bin/godot() [0x9506e5] (??:0) [10] /usr/bin/godot() [0x2a866c7] (??:?) [11] /usr/bin/godot() [0x2a930d5] (??:?) [12] /usr/bin/godot() [0x2a94180] (??:?) [13] /usr/bin/godot() [0x1246c7d] (??:?) [14] /usr/bin/godot() [0x2a86034] (??:?) [15] /usr/bin/godot() [0x1bae9ba] (??:?) [16] /usr/bin/godot() [0x1bb8e10] (??:?) [17] /usr/bin/godot() [0x774a7a] (??:0) [18] /usr/bin/godot() [0x75cfc1] (??:0) [19] /usr/bin/godot() [0x74b07d] (??:0) [20] /usr/lib/libc.so.6(__libc_start_main+0xf2) [0x7f08825bf002] (??:0) [21] /usr/bin/godot() [0x74d73e] (??:0) -- END OF BACKTRACE -- ``` I'm unsure of particular steps to reproduce, but the godot project that I had this crash on is included here. The issue persisted even after deleting `.import` to try and reimport everything. [RPG.zip](https://github.com/godotengine/godot/files/4802021/RPG.zip)
bug,topic:editor,confirmed,crash
low
Critical
641,662,433
pytorch
CUDA error: out of memory when running tensorpipe test_cuda
## πŸ› Bug When running Tensorpipe's test cuda a bunch of time (using stresstests) with the internal infra, I frequently see the following error: ``` line 2453, in test_cuda > t1 = torch.rand(3, 3).cuda(0) > RuntimeError: CUDA error: out of memory > exiting process with exit code: 10 > WARNING: Logging before InitGoogleLogging() is written to STDERR > I0618 19:33:56.879187 2552243 tensorpipe_agent.cpp:808] RPC agent for worker2 is shutting down > Process 2 terminated with exit code 10, terminating remaining processes. > ERROR ``` ## To Reproduce Run tensorpipe's `test_cuda` a bunch of times on a GPU-enabled machine. ## Additional context I took a look at the GPU memory usage when running the test 10 times in parallel with `nvidia-smi` and it did look to be quite high. Although, it's unclear why this would be as this test does not do large GPU allocations, and even running it 10 times concurrently seems like it should not OOM the GPU. cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @gqchen @aazzolini @rohan-varma @xush6528 @jjlilley @osalpekar @jiayisuse @lw @beauby
triaged,module: rpc,module: tensorpipe
low
Critical
641,666,053
rust
Misleading Error Message: the trait `Foo` is not implemented for `&dyn Foo`
Here is a minimal example [[playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=3f1ec48f5216c6f700615bcd401333c8)]: ```rust pub trait Foo { fn bar(&self, _: &dyn Foo) -> bool { true } } impl Foo for u32 {} fn main() { let x = 1; let v: Vec<&dyn Foo> = vec![&1, &2, &3]; v.iter().all(|y| x.bar(y)); } ``` Which produces this error: ``` error[E0277]: the trait bound `&dyn Foo: Foo` is not satisfied --> src/main.rs:14:28 | 14 | v.iter().all(|y| x.bar(y)); | ^ the trait `Foo` is not implemented for `&dyn Foo` | = note: required for the cast to the object type `dyn Foo` ``` I find this error to be misleading because: 1) The type of `y` within the closure should be `&&dyn Foo`, not `&dyn Foo`. 2) Even though the type listed in the error message seems wrong, the trait `Foo` _should_ be implemented for `&dyn Foo` if that were the actual type of `y`. This can be fixed in a number of ways: ```rust v.iter().all(|&y| x.bar(y)); v.iter().all(|&y| x.bar(&*y)); v.iter().all(|y| x.bar(*y)); v.iter().all(|y| x.bar(&**y)); v.into_iter().all(|y| x.bar(y)); ``` All of which are consistent with `y` being of type `&&dyn Foo`, and none of which are suggested by the error message.
A-diagnostics,T-compiler,A-suggestion-diagnostics
low
Critical
641,682,406
rust
Tracking issue for moving ui tests to subdirectories
**NOTE: see https://github.com/rust-lang/rust/issues/73494#issuecomment-1500919846 for mentoring instructions.** Looking at https://github.com/rust-lang/rust/tree/master/src/test/ui, github truncates the list to just the first 1000 entries (of 1564 total entries). This is especially frustrating since github also sorts by name, not by kind, and so its truncation is cutting off whole subdirectories from the view. TODO: - [ ] We should restructure the test suite so that no one directory has more than 1000 entries - [x] We should add code to tidy to ensure that future changes do not break the above invariant. (done by #79959)
E-easy,C-cleanup,A-testsuite,E-mentor,T-compiler,C-tracking-issue,E-tedious
medium
Critical
641,708,824
pytorch
caffe2 error during compilation of PyTorch with ROCm on Archlinux
aur package: _python-pytorch-cuda-git_ `ROCM=ON` ```sh :: Downloading the latest sources for a devel package python-pytorch-cuda-git... :: Starting the build: ==> Making package: python-pytorch-git 1.3.1.r27648.02e091902f6-1 (Fri Jun 19 07:52:01 2020) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating pytorch git repo... Fetching origin ==> Validating source files with sha512sums... pytorch ... Skipped ==> Extracting sources... -> Creating working copy of pytorch git repo... Reset branch 'makepkg' ==> Starting prepare()... ==> Starting pkgver()... ==> Removing existing $pkgdir/ directory... ==> Starting build()... Building without cuda and without MKL-DNN Building wheel torch-1.3.1 -- Building version 1.3.1 cmake --build . --target install --config Release -- -j 8 make: *** No rule to make target 'install'. Stop. Traceback (most recent call last): File "setup.py", line 732, in <module> build_deps() File "setup.py", line 311, in build_deps build_caffe2(version=version, File "/home/chibo/.cache/pikaur/build/python-pytorch-git/src/pytorch-git/tools/build_pytorch_libs.py", line 62, in build_caffe2 cmake.build(my_env) File "/home/chibo/.cache/pikaur/build/python-pytorch-git/src/pytorch-git/tools/setup_helpers/cmake.py", line 345, in build self.run(build_args, my_env) File "/home/chibo/.cache/pikaur/build/python-pytorch-git/src/pytorch-git/tools/setup_helpers/cmake.py", line 141, in run check_call(command, cwd=self.build_dir, env=env) File "/usr/lib/python3.8/subprocess.py", line 364, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'install', '--config', 'Release', '--', '-j', '8']' returned non-zero exit status 2. ==> ERROR: A failure occurred in build(). Aborting... ``` cc @malfet
caffe2
low
Critical
641,724,941
create-react-app
Allow to skip verifyTypeScriptSetup
Allow users to skip verifyTypeScriptSetup by add `process.env.SKIP_VERIFY_TYPESCRIPT_SETUP === 'true'`
issue: proposal,needs triage
low
Minor
641,731,180
flutter
`dart:ffi` conflicts with `System.loadLibrary` on Android API <=23
## Summary I'm not sure if this is a Dart SDK issue or a Flutter issue. On Android API versions <=23, calling a function in the Android SDK that does `System.loadLibrary`, followed by a `dart:ffi` `DynamicLibrary.open` fails. Some examples of the former can be: - `android.media.SoundPool`, because of the static block [here](https://cs.android.com/android/platform/superproject/+/android-6.0.1_r81:frameworks/base/media/java/android/media/SoundPool.java;l=115;drc=5c768f4c8584d93fae3f5e87c8fdcc88ecfba002) - `android.webkit.CookieManager.getInstance()`, because it loads `WebViewChromiumFactoryProvider` which loads a library [here](https://source.chromium.org/chromium/chromium/src/+/44.0.2403.119:android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java;l=370;drc=9d51f6856cb4522a94d0484f0592f18ba99d95a0?originalUrl=https:%2F%2Fcs.chromium.org%2F) More info in a doc in b/159167352 ### Why this happens When calling `System.loadLibrary` on Android <=23, the Java runtime actually overrides the paths searched during a `dlopen` call ([`g_ld_library_paths`](https://cs.android.com/android/platform/superproject/+/android-6.0.1_r81:bionic/linker/linker.cpp;l=92;drc=379003621a1d2c28c18b42236d1d61ce80c1e92a)) to match that of the classloader for the caller, before calling `dlopen` on the library. When this is called by a function in the Android SDK (i.e. down the call chain of `CookieManager`), the classloader is different than that of the users application code, and this overrides the `g_ld_library_paths` to exclude the `g_ld_library_paths` of the current application / APK. `DynamicLibrary.load(β€˜libsomething.so’)` in Dart is just a thin layer around `dlopen`. This means that if it is called after the `g_ld_library_paths` are overridden, the linker will be unable to find the `libsomething.so` if this was provided from the APK. ## Steps to Reproduce https://github.com/jiahaog/ffi_android_linker_conflict/commit/a8971f405789a1181dc858e33c5d96a7d6f361ff is a minimal repro The important files are just - app/lib/main.dart - app/android/app/src/main/java/com/example/ffi_android_linker_conflict/MainActivity.java **Expected results:** <!-- what did you want to see? --> `DynamicLibrary.open` succeeds. **Actual results:** <!-- what did you see? --> <details> <summary>Logs</summary> ``` I/flutter ( 5755): ══║ EXCEPTION CAUGHT BY GESTURE β•žβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• I/flutter ( 5755): The following ArgumentError was thrown while handling a gesture: I/flutter ( 5755): Invalid argument(s): Failed to load dynamic library (dlopen failed: library "libnative_add.so" not I/flutter ( 5755): found) I/flutter ( 5755): When the exception was thrown, this was the stack: I/flutter ( 5755): #0 _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:11:55) I/flutter ( 5755): #1 new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:20:12) I/flutter ( 5755): #2 _MyHomePageState._incrementCounter (package:ffi_android_linker_conflict/main.dart:59:26) I/flutter ( 5755): #3 _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:992:19) I/flutter ( 5755): #4 _InkResponseState.build.<anonymous closure> (package:flutter/src/material/ink_well.dart:1098:38) I/flutter ( 5755): #5 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:184:24) I/flutter ( 5755): #6 TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:524:11) I/flutter ( 5755): #7 BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:284:5) I/flutter ( 5755): #8 BaseTapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:256:7) I/flutter ( 5755): #9 GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:158:27) I/flutter ( 5755): #10 GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:224:20) I/flutter ( 5755): #11 GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:200:22) I/flutter ( 5755): #12 GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:158:7) I/flutter ( 5755): #13 GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:104:7) I/flutter ( 5755): #14 GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:88:7) I/flutter ( 5755): #18 _invoke1 (dart:ui/hooks.dart:283:10) I/flutter ( 5755): #19 _dispatchPointerDataPacket (dart:ui/hooks.dart:192:5) I/flutter ( 5755): (elided 3 frames from dart:async) I/flutter ( 5755): Handler: "onTap" I/flutter ( 5755): Recognizer: I/flutter ( 5755): TapGestureRecognizer#2c717 I/flutter ( 5755): ════════════════════════════════════════════════════════════════════════════════════════════════════ ``` ``` [βœ“] Flutter (Channel master, 1.20.0-1.0.pre.118, on Mac OS X 10.15.3 19D76, locale en-US) β€’ Flutter version 1.20.0-1.0.pre.118 at /Users/jiahaog/flutter β€’ Framework revision 8665e13801 (5 hours ago), 2020-06-18 18:08:01 -0700 β€’ Engine revision b5f5e6332c β€’ Dart version 2.9.0 (build 2.9.0-17.0.dev 54481776c9) [βœ“] Android toolchain - develop for Android devices (Android SDK version 30.0.0-rc2) β€’ Android SDK at /Users/jiahaog/Library/Android/sdk β€’ Platform android-stable, build-tools 30.0.0-rc2 β€’ Java binary at: /Applications/Android Studio 3.5 Preview.app/Contents/jre/jdk/Contents/Home/bin/java β€’ Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01) β€’ All Android licenses accepted. [!] Xcode - develop for iOS and macOS (Xcode 11.3.1) β€’ Xcode at /Applications/Xcode.app/Contents/Developer β€’ Xcode 11.3.1, Build version 11C505 βœ— CocoaPods installed but not working. You appear to have CocoaPods installed but it is not working. This can happen if the version of Ruby that CocoaPods was installed with is different from the one being used to invoke it. This can usually be fixed by re-installing CocoaPods. For more info, see https://github.com/flutter/flutter/issues/14293. To re-install CocoaPods, run: sudo gem install cocoapods [βœ“] Android Studio β€’ Android Studio at /Applications/Android Studio 3.5 Preview.app/Contents β€’ Flutter plugin version 33.4.2 β€’ Dart plugin version 183.5901 β€’ Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01) [βœ“] VS Code (version 1.43.2) β€’ VS Code at /Applications/Visual Studio Code.app/Contents β€’ Flutter extension version 3.9.1 [βœ“] Connected device (1 available) β€’ Android SDK built for x86 64 β€’ emulator-5554 β€’ android-x64 β€’ Android 6.0 (API 23) (emulator) ! Doctor found issues in 1 category. ``` </details>
platform-android,engine,dependency: dart,P2,team-android,triaged-android
low
Critical
641,770,461
youtube-dl
Add Support For AAJ TAK News
<!-- ###################################################################### WARNING! IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE ###################################################################### --> ## Checklist <!-- Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl: - First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2020.06.16.1. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED. - Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser. - Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights. - Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates. - Finally, put x into all relevant boxes (like this [x]) --> - [ ] I'm reporting a new site support request - [ ] I've verified that I'm running youtube-dl version **2020.06.16.1** - [ ] I've checked that all provided URLs are alive and playable in a browser - [ ] I've checked that none of provided URLs violate any copyrights - [ ] I've searched the bugtracker for similar site support requests including closed ones ## Example URLs <!-- Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours. --> - Single video: https://www.youtube.com/watch?v=BaW_jenozKc - Single video: https://youtu.be/BaW_jenozKc - Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc ## Description <!-- Provide any additional information. If work on your issue requires account credentials please provide them or explain how one can obtain them. --> Hello YouTube-DL Please Add Support For AAJ TAK URL [ https://aajtak.intoday.in/video/pcr-coronavirus-latest-research-claims-that-july-august-will-see-a-peak-covid-19-cases-news-in-hindi-1-1202230.html ] .
site-support-request
low
Critical
641,822,976
pytorch
Conv3d with specific kernel size outputs inconsistent results between FP16 and FP32 in V100 GPU
## πŸ› Bug The Conv3d output inconsistent results between float mode and half mode, if the GPU is V100 and the conv kernel size is (3,1,1) and the input/output channel number are multiple of 8. I could repro this in PyTorch 1.2.0~PyTorch 1.5.1 with GPU V100-SXM2/PCIE 16GB/32GB ## To Reproduce repro code ``` def diff_conv_half(): import torch for ch_in in range(2, 256): for ch_out in range(2, 256): conv = torch.nn.Conv3d(ch_in, ch_out, kernel_size=(3, 1, 1), bias=False, padding=(1, 0, 0)).cuda().half() x = torch.rand(1, ch_in, 5, 7, 13).cuda().half() y_half = conv(x) conv = conv.float() x = x.float() y_full = conv(x) similarity = torch.nn.functional.cosine_similarity(y_half.float().view(1,-1), y_full.view(1,-1)).item() if (similarity < 1.0 - 1e-5): print("{0}\t{1}\t{2:.4f}".format(ch_in, ch_out, similarity)) ``` <!-- If you have a code sample, error messages, stack traces, please provide it here as well --> ## Expected behavior A part of the output looks like below. We can see, if the input channel number and the output channel number are multiple of 8, the cosine similarity of half mode and float mode is not 1.0. ``` 8 8 0.8186 8 16 0.8308 8 24 0.7656 8 32 0.7553 8 40 0.7876 8 48 0.7515 8 56 0.7431 8 64 0.7942 ... ... ... 16 8 0.6826 16 16 0.8344 16 24 0.8015 16 32 0.7959 16 40 0.8219 16 48 0.7528 16 56 0.7625 16 64 0.8010 ... ... ... ``` <!-- A clear and concise description of what you expected to happen. --> ## Environment PyTorch version: 1.5.1 Is debug build: No CUDA used to build PyTorch: 10.1 OS: Ubuntu 16.04.5 LTS GCC version: (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609 CMake version: version 3.5.1 Python version: 3.6 Is CUDA available: Yes CUDA runtime version: 10.0.130 GPU models and configuration: GPU 0: Tesla V100-PCIE-32GB Nvidia driver version: 418.87.00 cuDNN version: /usr/lib/x86_64-linux-gnu/libcudnn.so.7.4.1 Versions of relevant libraries: [pip] numpy==1.16.4 [pip] torch==1.5.1 [pip] torchvision==0.6.0a0+35d732a [conda] _pytorch_select 0.2 gpu_0 [conda] blas 1.0 mkl [conda] cudatoolkit 10.1.243 h6bb024c_0 [conda] magma-cuda100 2.5.0 1 pytorch [conda] mkl 2019.4 243 [conda] mkl-include 2019.4 243 [conda] mkl-service 2.0.2 py36h7b6447c_0 [conda] mkl_fft 1.0.12 py36ha843d7b_0 [conda] mkl_random 1.0.2 py36hd81dba3_0 [conda] numpy 1.16.4 py36h7e9f1db_0 [conda] numpy-base 1.16.4 py36hde5b4d6_0 [conda] pytorch 1.5.1 py3.6_cuda10.1.243_cudnn7.6.3_0 pytorch [conda] torchvision 0.6.1 py36_cu101 pytorch cc @ngimel @csarofeen @ptrblck
module: dependency bug,module: cudnn,module: cuda,module: convolution,triaged
low
Critical
641,834,323
flutter
CupertinoDatePickerMode.dateAndTime does not have capability to change month and year.
Current CupertinoDatePicker has different modes to choose but CupertinoDatePickerMode.dateAndTime does not have capability to change month and year. Can we have new mode to set like below to select all date fields in single widget. ![Screenshot_2020-06-16-19-57-03-579](https://user-images.githubusercontent.com/2254065/85117577-b30d5a00-b23c-11ea-8340-5e6ad936cd60.jpg)
c: new feature,framework,f: date/time picker,f: cupertino,c: proposal,P3,team-design,triaged-design
low
Minor
641,881,088
rust
User type annotations can result in different mir-opt test results in CI vs locally
In #73442, a mir-opt test that I blessed locally [was failing on CI](https://github.com/rust-lang/rust/pull/73442#issuecomment-645951636) and I could not reproduce the failure locally - this was due to the `DefId` in the user type annotations of the test shown below, which appeared to be different locally versus on CI. ```rust // compile-flags: -Z mir-opt-level=1 // Regression test for #72181, this ICE requires `-Z mir-opt-level=1` flags. use std::mem; #[derive(Copy, Clone)] enum Never {} union Foo { a: u64, b: Never } // EMIT_MIR rustc.foo.mir_map.0.mir fn foo(xs: [(Never, u32); 1]) -> u32 { xs[0].1 } // EMIT_MIR rustc.bar.mir_map.0.mir fn bar([(_, x)]: [(Never, u32); 1]) -> u32 { x } // EMIT_MIR rustc.main.mir_map.0.mir fn main() { println!("{}", mem::size_of::<Foo>()); let f = [Foo { a: 42 }, Foo { a: 10 }]; println!("{:?}", unsafe { f[0].a }); } ``` You can find my [config.toml here](https://github.com/davidtwco/veritas/blob/52a6d7ec2844df8094bd65a2ad7ca99aaa51cf72/nix/shells/rustc.nix#L7-L137) and I was running tests with `./x.py test src/test/mir-opt --stage 1` (though I couldn't reproduce with a stage2 build either). cc @rust-lang/wg-mir-opt
T-compiler,C-bug,A-reproducibility,A-mir-opt
low
Critical
641,881,722
opencv
DNN Support matrix
Just an idea: For Mesa there is a matrix that shows the OpenGL support by different vendors/drivers https://mesamatrix.net/ I dont know how complicated this would be to make it for opencv, but it would for sure help with making Layer Support transparent for CPU OPENCL and CUDA etc. mesamatrix is opensource.
category: documentation,category: dnn,effort: few weeks
low
Major
641,895,995
go
x/image/tiff: CCITT reader EOF error for tiff image
<!-- Please answer these questions before submitting your issue. Thanks! For questions please use one of our forums: https://github.com/golang/go/wiki/Questions --> ### What version of Go are you using (`go version`)? <pre> $ go version go version go1.14.4 linux/amd64 </pre> ### Does this issue reproduce with the latest release? With last `master` branch. ### What operating system and processor architecture are you using (`go env`)? <details><summary><code>go env</code> Output</summary><br><pre> $ go env GO111MODULE="on" GOARCH="amd64" GOBIN="/home/x/go/bin" GOCACHE="/home/x/.cache/go-build" GOENV="/home/x/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOOS="linux" GOPATH="/home/x/go" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr/lib/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64" GCCGO="gccgo" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build670162663=/tmp/go-build -gno-record-gcc-switches" </pre></details> ### What did you do? Tiff file used to get an error [debug_26428.zip](https://github.com/golang/go/files/4803989/debug_26428.zip) (compressed with zip, extract it for usage). Length of tiff file is: `26428` bytes. I've created test cases that can be used for `tiff` and `ccitt` package. Because it is called with `tiff.Decode()`, but error is in `ccitt.decodeEOL()`. #### tiff Copy extracted tiff to [root testdata](https://github.com/golang/image/tree/master/testdata) and copy this test case to [`tiff.reader_test.go`](https://github.com/golang/image/blob/master/tiff/reader_test.go) ```go func TestTiffDecodeOfCCITTEndOfLine(t *testing.T) { b, err := ioutil.ReadFile("../testdata/debug_26428.tiff") if err != nil { t.Fatalf("Read File: %v", err) } if _, err = Decode(bytes.NewReader(b)); err != nil { t.Errorf("Shouldn't error, but got err: %v", err) } } ``` Output: ``` --- FAIL: TestTiffDecodeOfCCITTEndOfLine (0.02s) reader_test.go:68: Shouldn't error, but got err: ccitt: missing End-of-Line ``` #### ccitt Copy extracted tiff to [`ccitt` testdata](https://github.com/golang/image/tree/master/ccitt/testdata) and copy this test to [`ccitt.reader_test.go`](https://github.com/golang/image/blob/master/ccitt/reader_test.go) Data taken from actual debugging for this file, when called with `tiff.Decode()`. ```go func TestReadEndOfLineError(t *testing.T) { f, err := os.Open("testdata/debug_26428.tiff") if err != nil { t.Fatalf("Open: %v", err) } defer f.Close() const width, height = 2481, 3508 opts := &Options{ Align: false, Invert: true, } offset := 160 n := 26268 if _, err := ioutil.ReadAll(NewReader(io.NewSectionReader(f, int64(offset), int64(n)), MSB, Group4, width, height, opts)); err != nil { t.Fatalf("Shouldn't error but got error: %v", err) } } ``` Output: ``` --- FAIL: TestReadEndOfLineError (0.03s) reader_test.go:411: Shouldn't error but got error: ccitt: missing End-of-Line ``` ### What works for this case I'm not even remotely expert on specs for TIFF and ccitt, but I've changed last return from `return errMissingEOL` to `return nil` and I'm getting correct image and everything works fine and tried in many files (mostly all scanned textual with images, and all B/W) and I've see no problems with this fix/hack. ```go // decodeEOL decodes the 12-bit EOL code 0000_0000_0001. func decodeEOL(b *bitReader) error { nBitsRead, bitsRead := uint32(0), uint64(0) for { bit, err := b.nextBit() if err != nil { if err == io.EOF { err = errMissingEOL } return err } bitsRead |= bit << (63 - nBitsRead) nBitsRead++ if nBitsRead < 12 { if bit&1 == 0 { continue } } else if bit&1 != 0 { return nil } // Unread the bits we've read, then return errMissingEOL. b.bits = (b.bits >> nBitsRead) | bitsRead b.nBits += nBitsRead // Changing from errMissingEOL to nil works for this case // return errMissingEOL return nil } } ``` ### Request Can anybody see in TIFF provided, run this tests, maybe do better "fix". Because with this applied `ccitt` test `TestRead` fails with output: ``` --- FAIL: TestRead (0.00s) reader_test.go:437: AutoDetectHeight produced different output. ``` Thanks
NeedsInvestigation
low
Critical
641,976,363
flutter
[Flutter_module] Unresolved reference: **
## Steps to Reproduce 1. Create new Empty Activity Application. 2. New flutter module. 3. Add following code to MainActivity ```kotlin val variable = Manifest.permission.ACCESS_MEDIA_LOCATION // or val variable = Build.VERSION_CODES.Q ``` 4. Build and run application. **Results:** ```java Unresolved reference: ACCESS_MEDIA_LOCATION ``` **Description:** ![image](https://user-images.githubusercontent.com/58068445/85138519-7c076a80-b275-11ea-9958-8ae3ff3cbd12.png) When the project was imported using the flutter module, a very strange problem appeared. I even created multiple projects to reproduce the problem. I finally learned that this is the problem of the content in `flutterSdkPath/packages/flutter_tools/gradle/module_plugin_loader.gradle`, When I remove it, it will not appear ```gradle g.rootProject.afterEvaluate { p -> p.subprojects { sp -> if (sp.name != 'flutter') { sp.evaluationDependsOn(':flutter') } } } ``` **Extra:** Found this problem because I cannot compile after installed [permission_handler](https://pub.dev/packages/permission_handler) plugin, reported a lot of `Unresolved reference` errors ![image](https://user-images.githubusercontent.com/58068445/85138311-216e0e80-b275-11ea-8e6d-11b9ea333829.png)
c: crash,platform-android,tool,t: gradle,a: existing-apps,P2,team-android,triaged-android
low
Critical
641,985,767
tensorflow
If TMP is not set, then the build system defaults to the wrong path
<em>Please make sure that this is a build/installation issue. As per our [GitHub Policy](https://github.com/tensorflow/tensorflow/blob/master/ISSUES.md), we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template</em> **System information** - OS Platform and Distribution (e.g., Linux Ubuntu 16.04): CentOS Linux release 7.3.1611 (Core) - Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: no - TensorFlow installed from (source or binary): source - TensorFlow version: v2.2.0 - Python version: 3.5.1 - Installed using virtualenv? pip? conda?: no, compiling from source - Bazel version (if compiling from source): 2.0.0 (it claimed that Tensorflow did not support anything higher) - GCC/Compiler version (if compiling from source): 8.2.0 - CUDA/cuDNN version: 10.1 - GPU model and memory: Tesla P100, 16280MiB **Describe the problem** **Provide the exact sequence of commands / steps that you executed before running into the problem** When building Tensorflow from source when the `TMP` environment variable is not set, then following warning is shown: ``` Auto-Configuration Warning: 'TMP' environment variable is not set, using 'C:\Windows\Temp' as default ``` Naturally, I would expect it to default to something. However, I'm on a _Linux_ computer, not a _Windows_ computer. On Linux, it should default to something sensible (e.g. `/tmp`, or the current directory), instead of `C:\Windows\Temp` - which clearly isn't going to work - as on Linux this is not a valid file/directory path. **Any other info / logs** Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. ``` Auto-Configuration Warning: 'TMP' environment variable is not set, using 'C:\Windows\Temp' as default ```
type:build/install,subtype: ubuntu/linux,TF 2.10
medium
Critical
641,999,829
react
Hiding MUI Components inside React Developer Tools
Hello, recently we've overhauled a client's website with the usage of [Material UI](https://material-ui.com/). It's been an enjoyable experience, however one thing that really irks me - given the project is pretty large and there's multiple people working on it, sometimes it gets chaotic which component is exactly what and you need to find out which component you should be working on. My general fallback was using the [React Develeloper Tools](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en) extension, however given MUI consists of ready-made JSX components, it essentially spams and halts the usefulness of the 'Components' tab. ![image](https://user-images.githubusercontent.com/17268815/85140844-25cf0300-b246-11ea-98ec-e0d37aea2707.png) Is there perhaps any way that would allow for filtering of specific packages / jsx elements inside the React Developer Tools? I know I could technically user regex to filter out a list of all the known MUI Components, but that seems bit overkill. I sadly suspect such a thing is not supported, but you never know unless you ask.
Type: Discussion,Component: Developer Tools
medium
Major
642,043,836
flutter
Allow Wrap widget to have a WrapAlignment.justify
I'm trying to create my UI where the objects inside a Wrap are justified, but it doesn't seem to be possible at the moment. This is what I currently have: ```dart import 'package:flutter/material.dart'; void main() => runApp(MyApp()); class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', debugShowCheckedModeBanner: false, theme: ThemeData( primarySwatch: Colors.blue, ), home: MyHomePage(), ); } } class MyHomePage extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( body: Center( child: Wrap( spacing: 20, runSpacing: 10, children: [ ToggleButton( title: 'Button 1', selected: false, ), ToggleButton( title: 'My second button', selected: false, ), ToggleButton( title: 'Third button', selected: false, ), ToggleButton( title: 'This is button number four', selected: false, ), ToggleButton( title: 'Final button long', selected: false, ) ], ), ), ); } } class ToggleButton extends StatefulWidget { const ToggleButton( {this.selected = false, this.title = '', this.onSelectedChanged}); final bool selected; final String title; final Function(String title, bool selected) onSelectedChanged; @override _ToggleButtonState createState() => _ToggleButtonState(); } class _ToggleButtonState extends State<ToggleButton> { bool selected; @override void initState() { selected = widget.selected; super.initState(); } @override Widget build(BuildContext context) { return Container( height: 36, child: RaisedButton( child: Row( mainAxisSize: MainAxisSize.min, children: <Widget>[ Text(widget.title), SizedBox(width: 15), IgnorePointer( child: Checkbox( materialTapTargetSize: MaterialTapTargetSize.shrinkWrap, value: selected, onChanged: (bool value) {}, ), ) ], ), color: selected ? Colors.blue : Colors.white, textColor: selected ? Colors.white : Colors.black.withAlpha(80), onPressed: () { setState(() { selected = !selected; if (widget.onSelectedChanged != null) { widget.onSelectedChanged(widget.title, selected); } }); }, ), ); } } ``` Which gives me this: [![enter image description here][1]][1] But what I'm trying to achieve is this: [![enter image description here][2]][2] Basically to have each row expand to fill the available space. Is that possible? Maybe I need to build my `ToggleButton` differently? I'm aware of the alignment: `WrapAlignment.spaceBetween` but that doesn't work, specially when your container is smaller and you end up with this: [![enter image description here][3]][3] or this: [![enter image description here][4]][4] which are both pretty ugly... So basically I'm proposing we have a WrapAlignment.justify which would solve this situation. [1]: https://i.stack.imgur.com/ac6Js.png [2]: https://i.stack.imgur.com/biDoH.png [3]: https://i.stack.imgur.com/coqbL.png [4]: https://i.stack.imgur.com/xRbN7.png
c: new feature,framework,a: quality,c: proposal,P3,team-framework,triaged-framework
low
Critical
642,046,381
TypeScript
Type inference with conditional for array fails for literal
<!-- 🚨 STOP 🚨 STOP 🚨 STOP 🚨 Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section! Please help us by doing the following steps before logging an issue: * Search: https://github.com/Microsoft/TypeScript/search?type=Issues * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ Please fill in the *entire* template below. --> <!-- Please try to reproduce the issue with the latest published version. It may have already been fixed. For npm: `typescript@next` This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly --> **TypeScript Version:** 3.9.2 <!-- Search terms you tried before logging this (so others can find this issue more easily) --> **Search Terms:** typescript infer array type conditional literal **Code** ```ts function func<T>(opt: { value: T; arrayValue: T extends any[] ? T : T[]; }) {} func({ value: [1, 2, 3], arrayValue: [1, 2, 3], }); // throws error const obj = { value: [1, 2, 3], arrayValue: [1, 2, 3], }; func(obj); ``` **Expected behavior:** No error is thrown. **Actual behavior:** The commented function call throws the following error: ``` Type 'number[]' is not assignable to type 'number'.(2322) input.ts(2, 3): The expected type comes from property 'value' which is declared here on type '{ value: number; arrayValue: number[]; }' ``` **Playground Link:** https://www.typescriptlang.org/play/#code/GYVwdgxgLglg9mABKSAeAKgPgBRwA5QBciA3gFCKIBuAhgDYgCmx6A3BYjQE5c0CeANXpMWiRgA8ojMABMAzpzB8A2gF1EAfkTpELNewC+ASlIGyZFBGzlKtBs0TKAjABpEAJjcBmVS47deQWEHZzdPRB8-Y3MIBDkoRDgAIwArRABeUg47EUdXD29ffx5+IXtiUIKIooN2C3ArZJSjdiA **Related Issues:** <!-- Did you find other bugs that looked similar? -->
Needs Investigation
low
Critical
642,051,963
go
cmd/compile: optimize xor to complement
<!-- Please answer these questions before submitting your issue. Thanks! For questions please use one of our forums: https://github.com/golang/go/wiki/Questions --> ### What version of Go are you using (`go version`)? <pre> $ go version go version go1.14.4 linux/amd64 </pre> ### Does this issue reproduce with the latest release? Yes. ### What operating system and processor architecture are you using (`go env`)? <details><summary><code>go env</code> Output</summary><br><pre> $ go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/home/jadenw/.cache/go-build" GOENV="/home/jadenw/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/home/jadenw/GOPATH" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr/lib/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64" GCCGO="gccgo" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build102234605=/tmp/go-build -gno-record-gcc-switches" </pre></details> ### What did you do? Tried to flip bits in a large section of a bitmap using `^= ^uint64(0)` in a loop. ### What did you expect to see? The compiler treats this as a bitwise complement operation. ### What did you see instead? The compiler emits an xor against a constant, and treats it differently than a bitwise complement. https://godbolt.org/z/vxQyD3 If I understand correctly, this could be solved by adding the following rule to `generic.rules`: ``` (Xor(64|32|16|8) (Const(64|32|16|8) [-1]) x) => (Com(64|32|16|8) x) ```
Performance,NeedsInvestigation,compiler/runtime
low
Critical
642,058,066
flutter
iOS will show 2 LaunchScreen when localized
#### Summary: I want to localize the LaunchScreen with different images, LaunchScreen will show 2 times. First localized (Chinese) and Second Default(English). #### Steps to Reproduce: 1. Add a new LaunchScreen-ZH.storyboard with a Logo image centered to support Chinese language. 2. add ```"UILaunchStoryboardName" = "LaunchScreen-ZH";``` to the file "ios/zh-Hans.lproj/InfoPlist.strings" 3. Set System Language to Simplified Chinese 4. Install and boot the app. Demo project: https://github.com/shily/iOSLaunchScreenBug #### Expected Results: The LaunchScreen will boot with a Chinese Logo and then to MainScreen #### Actual Results: App boot with localized LaunchScreen-ZH.storyboard and then switch to Default LaunchScreen.storyboard before switch to Main.storyboard #### Environments: Devices: > iPhone 7 with iOS 12.4 > iPhone 6s with iOS 12.4 > Simulator iPhone 6s with iOS 12.4 Flutter version: dev & stable channel both have the problem <pre> [βœ“] Flutter (Channel dev, 1.20.0-0.0.pre, on Mac OS X 10.15.5 19F101, locale en-CN) β€’ Flutter version 1.20.0-0.0.pre at /Users/penguin/sdk/flutter β€’ Framework revision d9653445f4 (10 days ago), 2020-06-09 18:43:03 -0400 β€’ Engine revision e8c13aa012 β€’ Dart version 2.9.0 (build 2.9.0-14.0.dev 5c1376615e) β€’ Pub download mirror https://pub.flutter-io.cn β€’ Flutter download mirror https://storage.flutter-io.cn [βœ“] Android toolchain - develop for Android devices (Android SDK version 29.0.3) β€’ Android SDK at /Users/penguin/Library/Android/sdk β€’ Platform android-29, build-tools 29.0.3 β€’ ANDROID_HOME = /Users/penguin/Library/Android/sdk β€’ Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java β€’ Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593) β€’ All Android licenses accepted. [βœ“] Xcode - develop for iOS and macOS (Xcode 11.5) β€’ Xcode at /Applications/Xcode.app/Contents/Developer β€’ Xcode 11.5, Build version 11E608c β€’ CocoaPods version 1.9.3 [βœ“] Android Studio (version 4.0) β€’ Android Studio at /Applications/Android Studio.app/Contents β€’ Flutter plugin version 46.0.2 β€’ Dart plugin version 193.7361 β€’ Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593) </pre> <pre> [βœ“] Flutter (Channel stable, v1.17.4, on Mac OS X 10.15.5 19F101, locale en-CN) β€’ Flutter version 1.17.4 at /Users/penguin/sdk/flutter β€’ Framework revision 1ad9baa8b9 (2 days ago), 2020-06-17 14:41:16 -0700 β€’ Engine revision ee76268252 β€’ Dart version 2.8.4 [βœ“] Android toolchain - develop for Android devices (Android SDK version 29.0.3) β€’ Android SDK at /Users/penguin/Library/Android/sdk β€’ Platform android-29, build-tools 29.0.3 β€’ ANDROID_HOME = /Users/penguin/Library/Android/sdk β€’ Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java β€’ Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593) β€’ All Android licenses accepted. [βœ“] Xcode - develop for iOS and macOS (Xcode 11.5) β€’ Xcode at /Applications/Xcode.app/Contents/Developer β€’ Xcode 11.5, Build version 11E608c β€’ CocoaPods version 1.9.3 [βœ“] Android Studio (version 4.0) β€’ Android Studio at /Applications/Android Studio.app/Contents β€’ Flutter plugin version 46.0.2 β€’ Dart plugin version 193.7361 β€’ Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593) </pre> ![Screen Shot](https://user-images.githubusercontent.com/2040481/85150253-e378e680-b284-11ea-924f-d2d075b0cf05.gif)
platform-ios,engine,a: internationalization,e: OS-version specific,has reproducible steps,P2,team-ios,triaged-ios,found in release: 3.13,found in release: 3.15
low
Critical
642,063,418
rust
rustc uses insane amounts of memory when compiling a function that loads 1500+ function pointers from a DLL
For my use-case, I'm trying to load a lot of function pointers from a .dll file using the `libloading` crate. However, I can't compile a `load_my_dll()` function if I have more than maybe 1000 function pointers, because rustc uses an insane amount of memory for compilation: ![test](https://user-images.githubusercontent.com/12084016/85151466-19ea3d80-b254-11ea-999a-e98fd0787558.gif) I can pretty much watch my computer lock up in real time because it runs out of memory (see the pie in the lower left corner). I've built a test-case here: https://github.com/fschutt/libloading-loadtest Look in the `generate.py` file, I've currently set it to 2000 function pointers, but that's not even a lot. Larger DLLs will likely need 5000 - 30000 function pointers. Clone the repository and run `cargo check`. After you wait a while, the memory usage will go up dramatically. This bug also happens on nightly. I think this may have to do with how verbose the code output of generics are. Is there a way to fix it from my side? ### Meta `rustc --version --verbose`: ``` rustc 1.44.1 (c7087fe00 2020-06-17) binary: rustc commit-hash: c7087fe00d2ba919df1d813c040a5d47e43b0fe7 commit-date: 2020-06-17 host: x86_64-unknown-linux-gnu release: 1.44.1 LLVM version: 9.0 ```
I-compiletime,T-compiler,A-inference,I-compilemem,C-bug
low
Critical
642,082,241
flutter
Better stacktrace and less polluted logs in Android Studio
*@pulstar commented on Jun 18, 2020, 9:02 PM UTC:* ## Use case This kind of error messages and stacktrace when compiling a Flutter application gives absolutely no clue where the problem really is... ``` ════════ Exception caught by widgets library ══════════ The following assertion was thrown building Listener: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 1960 pos 12: '_elements.contains(element)': is not true. The relevant error-causing widget was: SingleChildScrollView file:///C:/some_project/lib/src/some_file.dart:2393:12 When the exception was thrown, this was the stack: #2 _InactiveElements.remove (package:flutter/src/widgets/framework.dart:1960:12) #3 Element._retakeInactiveElement (package:flutter/src/widgets/framework.dart:3405:29) ... Normal element mounting (7 frames) #10 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14) #11 Element.updateChild (package:flutter/src/widgets/framework.dart:3211:20) ... ``` ## Proposal Everytime I see the file "framework.dart" in the logs I know I am in serious trouble... A better stacktrace should include the files and lines that the execution take place. The only file and line that is shown in the log belong to a parent widget that is not causing the error. Also, the logs in the run tab are becoming a lot polluted... It is hard to find anything relevant among so many messages. Why the logcat tab always show the message "Please configure Android SDK"? The SDK is already configured. The logcat sometimes work, but mostly of time it doesn't. Sometimes, when the IDE marks some code with a red line, when I try to see what is by placing the mouse cursor above it, it display a message VERY FAST and I can't read what is there... :-( *This issue was moved by [stevemessick](https://github.com/stevemessick) from [flutter/flutter-intellij#4637](https://github.com/flutter/flutter-intellij/issues/4637).*
c: new feature,tool,c: proposal,P3,team-tool,triaged-tool
low
Critical
642,085,666
rust
Terrible code generation with a zillion bounds checks.
This is probably a duplicate of something. In psychon/x11rb#491 we have a function that looks like: ```rust pub fn try_parse_request(header: RequestHeader, value: &[u8]) -> Result<Self, ParseError> { if header.minor_opcode != LATCH_LOCK_STATE_REQUEST { return Err(ParseError::ParseError); } let (device_spec, remaining) = DeviceSpec::try_parse(value)?; let (affect_mod_locks, remaining) = u8::try_parse(remaining)?; let (mod_locks, remaining) = u8::try_parse(remaining)?; let (lock_group, remaining) = bool::try_parse(remaining)?; let (group_lock, remaining) = u8::try_parse(remaining)?; let group_lock = group_lock.try_into()?; let (affect_mod_latches, remaining) = u8::try_parse(remaining)?; let remaining = remaining.get(1..).ok_or(ParseError::InsufficientData)?; let remaining = remaining.get(1..).ok_or(ParseError::InsufficientData)?; let (latch_group, remaining) = bool::try_parse(remaining)?; let (group_latch, remaining) = u16::try_parse(remaining)?; let _ = remaining; Ok(LatchLockStateRequest { device_spec, affect_mod_locks, mod_locks, lock_group, group_lock, affect_mod_latches, latch_group, group_latch, }) } ``` Basically, it takes a byte stream in a wire format and parses it into an in-memory struct. The generated assembly looks like ```asm _ZN5x11rb8protocol3xkb21LatchLockStateRequest17try_parse_request17hb503842b081124b2E: movq %rdi, %rax shrq $40, %rsi cmpb $5, %sil jne .LBB4888_13 cmpq $2, %rcx jb .LBB4888_16 je .LBB4888_16 cmpq $3, %rcx je .LBB4888_16 cmpq $4, %rcx je .LBB4888_16 cmpb $0, 4(%rdx) setne %sil cmpq $5, %rcx je .LBB4888_16 movb 5(%rdx), %dil cmpb $4, %dil jae .LBB4888_13 cmpq $6, %rcx je .LBB4888_16 cmpq $7, %rcx je .LBB4888_16 cmpq $8, %rcx je .LBB4888_16 cmpq $9, %rcx je .LBB4888_16 andq $-2, %rcx cmpq $10, %rcx jne .LBB4888_12 .LBB4888_16: movb $0, 1(%rax) movb $1, %cl movb %cl, (%rax) retq .LBB4888_13: movb $1, 1(%rax) movb $1, %cl movb %cl, (%rax) retq .LBB4888_12: movzwl (%rdx), %ecx movb 2(%rdx), %r8b movb 3(%rdx), %r9b movb 6(%rdx), %r10b cmpb $0, 9(%rdx) movzwl 10(%rdx), %edx movw %cx, 2(%rax) movw %dx, 4(%rax) movb %r8b, 6(%rax) movb %r9b, 7(%rax) movb %sil, 8(%rax) movb %dil, 9(%rax) movb %r10b, 10(%rax) setne 11(%rax) xorl %ecx, %ecx movb %cl, (%rax) retq ``` LBB4888_16 is the ParseError::InsufficientData return and LBB4888_13 is the ParseError::ParseError return. The compiler really should be able to consolidate the adjacent bounds checks. And although much smaller, not condensing the adjacent `jb`/`je`s is a comically easy missed optimization. ### Meta <!-- If you're using the stable version of the compiler, you should also check if the bug also exists in the beta or nightly versions. --> `rustc --version --verbose`: ``` rustc 1.46.0-nightly (e55d3f9c5 2020-06-18) binary: rustc commit-hash: e55d3f9c5213fe1a25366450127bdff67ad1eca2 commit-date: 2020-06-18 host: x86_64-unknown-linux-gnu release: 1.46.0-nightly LLVM version: 10.0 ```
A-LLVM,I-slow,T-compiler,C-bug
low
Critical
642,193,414
go
proposal: reflect: allow creation of recursive types atomically
### Background and introduction The proposal in #39528 has been criticised for the fact that it would introduce "incomplete" instances of `reflect.Type`. This alternative proposal addresses that shortcoming: here, newly created recursive `reflect.Type`s can emerge only through a single function, `reflect.Bind`. This new function either returns a `reflect.Type` which can be used with the same expectations as any other `reflect.Type`, or it panics (hence, "atomically"). The remainder of the `reflect` API is not affected. This convenience comes at the cost of building a partially parallel infrastructure to describe the type to be newly created. The central component is a new interface `reflect.TypeDesc` instances of which are immutable descriptions of a type (or type-to-be) and a number of functions for the construction of such descriptions. ### Proposal We provide the proposal in the form of go source code. For orientation, the following new objects parallel existing objects in the `reflect` package: | New | Existing | |:-----------|:-------------| | DescArray | Array | | DescChan | Chan | | DescFunc | Func | | DescInterface | Interface | | DescInvalid | Invalid | | DescKind | Kind | | DescMap | Map | | DescPtr | Ptr | | DescSlice | Slice | | DescStruct | Struct | | DescribeArray | ArrayOf | | DescribeChan | ChanOf | | DescribeFunc | FuncOf | | DescribeMap | MapOf | | DescribePtr | PtrTo | | DescribeSlice | SliceOf | | DescribeStruct | StructOf | | MethodDesc | Method | | StructFieldDesc | StructField | | TypeDesc | Type | The following new objects have no parallel: | New | |:--------| | Bind | | Complete | | DescComplete | | DescIncomplete | | DescribeInterface | | Incomplete | Proposal as go code: ```go // A DescKind represents the specific kind of type description that a TypeDesc // represents. The zero DescKind is not a valid type description kind. type DescKind uint const ( DescInvalid = DescKind(Invalid) DescArray = DescKind(Array) DescChan = DescKind(Chan) DescFunc = DescKind(Func) DescInterface = DescKind(Interface) DescMap = DescKind(Map) DescPtr = DescKind(Ptr) DescSlice = DescKind(Slice) DescStruct = DescKind(Struct) DescIncomplete DescKind = (1 << 5) - 2 DescComplete DescKind = (1 << 5) - 1 ) // String returns the name of dk. func (dk DescKind) String() string // TypeDesc represents a description of a (possibly incomplete) type. A type // description is a safe way to describe the layout of a (possibly recursive) // type with the Complete, Incomplete, DescribeArray, DescribeChan, // DescribeFunc, DescribeInterface, DescribeMap, DescribePtr, DescribeSlice, // and DescribeStruct functions before the actual Type is created with Bind. type TypeDesc interface { // ChanDir returns a channel description's direction. // It panics if the description kind is not DescChan. ChanDir() ChanDir // Elem returns the element type description for this type description. // It panics if the description kind is not DescArray, DescChan, DescMap, // DescPtr, or DescSlice. Elem() TypeDesc // Field returns a struct type description's i'th field description. // It panics if the description kind is not DescStruct. // It panics if i is not in the range [0, NumField()). Field(i int) StructFieldDesc // FieldByName returns the struct field description with the given name // and a boolean indicating if the field description was found. // It panics if the description kind if not DescStruct. FieldByName(name string) (StructFieldDesc, bool) // Key returns a map type description's key type description. // It panics if the description kind is not DescMap. Key() TypeDesc // Kind returns the specific description kind of this type description. Kind() DescKind // In returns the type description of a function type descriptions's i'th // input parameter. // It panics if the description kind is not DescFunc. // It panics if i is not in the range [0, NumIn()). In(i int) TypeDesc // IsVariadic reports whether a function type description's final input // parameter is a "..." parameter. If so, td.In(td.NumIn() - 1) returns the // parameter's implicit actual type description []T. // // For concreteness, if td describes func(x int, y ... float64), then // // td.NumIn() == 2 // td.In(0) is a reflect.TypeDesc for "int" // td.In(1) is a reflect.TypeDesc for "[]float64" // td.IsVariadic() == true // // IsVariadic panics if the description kind is not DescFunc. IsVariadic() bool // Len returns the length property of an array description. // It panics if the description kind is not DescArray. Len() int // Method returns the i'th method description in the type description's // method description set. // It panics if the description kind is not DescInterface, // or if i is not in the range [0, NumMethod()). // // In particular, Method does not work on descriptions with kind DescStruct. // Method returns only method descriptions explicitly added with // DescribeInterface, not methods implicitly acquired through embedded fields. // // The returned method description describes the method signature, without a // receiver. The Func field is nil. // // There is no guarantee that the methods of the resulting type will have the // same sort order as in the description. Method(int) MethodDesc // MethodByName returns the method description for the method with that name // in the type descriptions's method description set and a boolean indicating // if the method was found. // It panics if the description kind is not DescInterface. // // The returned method description describes the method signature, without a // receiver. The Func field is nil. MethodByName(string) (MethodDesc, bool) // Name returns the name of the described type. // It panics if the description kind is not DescIncomplete. Name() string // NumField returns a struct type description's field description count. // It panics if the description kind is not DescStruct. NumField() int // NumIn returns a function type description's input parameter count. // It panics if the description type is not DescFunc. NumIn() int // NumMethod returns the number of method descriptions in the type // description's method set. // It panics if the description kind is not DescInterface. NumMethod() int // NumOut returns a function type description's output parameter count. // It panics if the description kind is not DescFunc. NumOut() int // PkgPath returns the designated package path in a description of an // incomplete type. It panics if the description kind is not DescIncomplete. PkgPath() string // Out returns the type description of a function type description's i'th // output parameter. // It panics if the description kind is not DescFunc. // It panics if i is not in the range [0, NumOut()). Out(i int) TypeDesc // Underlying returns the actual type underlying this type description. // It panics if the description kind is not DescComplete. Underlying() Type } // StructFieldDesc describes a struct field. type StructFieldDesc struct { // Name is the field name. It must start with an uppercase letter. Name string // Type is the description of the field type. Type TypeDesc // Tag is the field tag string. Tag StructTag // Anonymous indicates whether or not this struct field description // describes an embedded field. Anonymous bool } // MethodDesc describes a method. type MethodDesc struct { // Name is the method name. It must start with an uppercase letter. Name string // Type describes the method type. // // For interface descriptions, Type should describe the signature of the // method. // // For descriptions of incomplete types, Type should describe a function // whose first argument is the receiver. Type TypeDesc // Func is nil if this description describes an interface method. // // For descriptions of methods of incomplete types, Func is the method // implementation with receiver, arguments and return values in terms of // reflect.Value. // Methods for incomplete types are not implemented yet. Func func(recv Value, in []Value) []Value } // Incomplete creates a type description for an incomplete named type. // It panics if name is not a valid identifier starting with an uppercase // letter. The package name may be empty but it is recommended that each // package use a unique string here (such as its fully qualified package name) // to avoid naming clashes with other packages. func Incomplete(pkgName, name string) TypeDesc // Complete creates a description of the given already complete type. func Complete(typ Type) TypeDesc // DescribeArray creates a description of an array type with the given count and // element type described by elem. // It panics if elem's description kind is DescIncomplete. func DescribeArray(count int, elem TypeDesc) TypeDesc // DescribeChan creates a description of a channel type with the given // direction and element type described by t. // // The gc runtime currently imposes a limit of 64 kB on channel element types. // If t is not of description kind DescIncomplete and describes a type whose // size is equal to or exceeds this limit, DescribeChan panics. If t describes // an incomplete type, a later call to Bind will panic if the resulting type // would violate this limit. func DescribeChan(dir ChanDir, t TypeDesc) TypeDesc // DescribeFunc creates a description of the function type with the argument // and result types described by in and out. // // The variadic argument controls whether the description of a variadic function // is returned. If variadic is true and in[len(in)-1] does not represent a // slice (i. e., is either of description kind DescSlice, or DescComplete and // describes a slice type), DescribeFunc panics. func DescribeFunc(in, out []TypeDesc, variadic bool) TypeDesc // DescribeInterface creates a description of the interface type with the // methods described by methods. func DescribeInterface(methods []MethodDesc) TypeDesc // DescribeMap creates a description of the map type with key and // element types described by key and elem, respectively. // It panics if key's description kind is DescIncomplete. // // Map key types must be comparable (i. e., implement Go's == operator). // DescribeMap does not perform this check, but a later call to Bind will // panic if the resulting type would not be a valid key type. func DescribeMap(key, elem TypeDesc) TypeDesc // DescribePtr creates a description of the pointer type with element type // described by t. func DescribePtr(t TypeDesc) TypeDesc // DescribeSlice creates a description of the slice type with element type // described by t. func DescribeSlice(t TypeDesc) TypeDesc // DescribeStruct creates a description of the struct type with the fields // described by fields. func DescribeStruct(fields []StructFieldDesc) TypeDesc // Bind creates a new type by binding the type name given by incomp to the type // described by def. // // The methods argument must be nil. A later version may lift this restriction. // // It panics if the (package name, name) combination given incomp has been used // to create a type with Bind before. This does not mean the name of the // resulting type is unique as this restriction only applies to types created // with Bind. // // It panics if the description kind of def is DescIncomplete, or if def // indirectly references a description of an incomplete type other than incomp, // or if a resulting type would be illegal for some reason (for example, a // channel type whose element size would be too big, or a map key type not // implementing Go's == operator). func Bind(incomp, def TypeDesc, methods []Method) Type ``` ### Open questions * The proposal above does not explicitly allow creation of interfaces with embedded interfaces. If deemed necessary, the `DescribeInterface` function can get an additional `embedded []TypeDesc` parameter. This would allow the creation of interfaces with unexported methods if the embedded interfaces have unexported methods.
Proposal,Proposal-Hold
medium
Critical
642,207,339
flutter
Flutter build dashboard taking 60-90% CPU when idle
Noticed while monitoring the dashboard on engine sheriff duty this week. Haven't dug into what's causing this amount of CPU but it's very reproducible. Unclear whether this is a Flutter Web issue, a dashboard client-side issue, or a combination of the two. Repro steps: 1. In Chome, select Window > Task Manager 2. Open https://flutter-dashboard.appspot.com/#/build 3. Let the dashboard sit idle. ![image](https://user-images.githubusercontent.com/351029/85177840-d252ba00-b231-11ea-9597-638f9f2304a3.png)
platform-web,P2,team-web,triaged-web
low
Major
642,217,005
go
x/tools/gopls: bad completion with syntax errors
### What version of Go, VS Code & VS Code Go extension are you using? - Run `go version` to get version of Go - go version go1.14.3 darwin/amd64 - Run `code -v` or `code-insiders -v` to get version of VS Code or VS Code Insiders - 1.46.0 - a5d1cc28bb5da32ec67e86cc50f84c67cc690321 - x64 - Check your installed extensions to get the version of the VS Code Go extension - 0.14.4 full code: ```go package main import "fmt" type result struct { value interface{} err error } func getResult() (interface{}, error) { return "test", nil } func main() { var res result res.value, res.err = getResult() fmt.Println(res) } ``` <img width="472" alt="1" src="https://user-images.githubusercontent.com/11925432/85103547-7b50e300-b239-11ea-9dad-f3c84634f946.png"> When I type "res.", I expect "err" will appear. But now the code completion stop working, I have to type "err" manually. Please fix the bug, thanks.
help wanted,gopls,Tools,gopls/parsing
low
Critical
642,223,019
TypeScript
Prototype assignment should take the type of the initializer and not require a literal
This is a feature request based on actual VS customer code. **TypeScript Version:** 3.9.2 **Search Terms:** ES5 class javascript prototype assignment constructor function **Expected behavior:** In the example below, the prototype for `test.class` should include properties from `testPrototype`. **Actual behavior:** Per @sandersn this pattern is recognized in the binder and only uses syntactic information, therefore does not use the type information from `testPrototype` . <!-- Did you find other bugs that looked similar? --> **Related Issues:** #39167 from same user code. Also #33454 maybe? **Code** ```ts var test = {}; test.testPrototype = { add: function (i) { } } test.class = function (name) { function getName() { return name; } this.name = getName(); } test.class.prototype = test.testPrototype; var t = new test.class("test"); t.name t.add // EXPECTED: Binds to `add` from the prototype, ACTUAL: doesn't // // Same pattern works when a literal is assigned to the prototype: // var test2 = {}; test2.class = function (name) { function getName() { return name; } this.name = getName(); } // replaced `test.testPrototype` with a literal test2.class.prototype = { add: function (i) { } }; var t2 = new test2.class("test"); t2.name t2.add // ACTUAL: `add` bound correctly ``` <details><summary><b>Compiler Options</b></summary> ```json { "compilerOptions": { "noImplicitAny": true, "strictFunctionTypes": true, "strictPropertyInitialization": true, "strictBindCallApply": true, "noImplicitThis": true, "noImplicitReturns": true, "alwaysStrict": true, "esModuleInterop": true, "checkJs": true, "allowJs": true, "declaration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "moduleResolution": 2, "target": "ES2017", "jsx": "React", "module": "ESNext" } } ``` </details> **Playground Link:** [Provided](https://www.typescriptlang.org/v2/en/play?useJavaScript=true#code/G4QwTgBALgpgzlCBeCBvAvgbgFCwQOjygAUwB7KCgTwAcZk1sJmIQATNgLggDMBXAHYBjKAEsyAiAApRASkYsI6bMtzwo+IQBsQcOA37CxE6QJABbGPNTYmLQyPGSA5jCgA5CzCnW7i5mBufGCSZpY4iqqKUAAWonD4YfQorh5ePjiqRJo6evg05JRQtMnQ6oTqpBTUdJgQtqCQiCgCMADuZQTaunBSAEREfbI4Gkm4+OxsEAD00xAAogAaxPMAwgAq8wAi3ABCogJs+pQQAAaTp7zk5tAx9AXVxXQANBAAghsAqm8AMtxsZHgAgA5FBbNhZhC5gBlLwQGggKCwEIQNpkMAAa30bTukhAEC0omRIC0EHirD0omcrSmJ1i90KNRgnChDXAnSgACYGBgcGoEJycj0DIJHCYpElfH5eKLjC43J5LD4FP4AkEUUkIiwoixYvFEnCUgr0sMVLZZhBAjQdEIYFNTtkiFUiiVLm0iTFWASiTAwCT6kRBd08g8XXQedLJtwHHLpHIVcxlFh6thGtBuS12hyg7legN1EMRoKxlyJhwZnMPutvn8zhcIAAjMiCKZCdGBERaKjYIA)
Suggestion,Awaiting More Feedback
low
Critical
642,231,802
flutter
unpin-shelf version and determine cause of test break
The latest version of shelf broke a test that verifies that the tool does not serve files outside of the project root directory. Update again and figure out what changed. Version was pinned in https://github.com/flutter/flutter/pull/59832
team,tool,P2,team-tool,triaged-tool
low
Minor
642,239,474
godot
TouchScreenButton ignores touches above or left of its visual boundaries
<!-- Please search existing issues for potential duplicates before filing yours: https://github.com/godotengine/godot/issues?q=is%3Aissue --> https://github.com/godotengine/godot/issues/35711 seems similar, but I believe it describes a different issue. **Godot version:** <!-- Specify commit hash if using non-official build. --> v3.2.1.stable.official **OS/device including version:** <!-- Specify GPU model, drivers, and the backend (GLES2, GLES3, Vulkan) if graphics-related. --> Windows 8 desktop **Issue description:** <!-- What happened, and what was expected. --> I created a circular TouchScreenButton whose CollisionShape2D extended beyond its visual boundaries. The CollisionShape2D is positioned correctly when collision shapes are made visible. However, the TouchScreenButton ignores clicks in the top half of its collision shape. It also incorrectly registers clicks below the boundaries of its collision shape -- it behaves as though the collision shape is offset. **Steps to reproduce:** Create a TouchScreenButton. Define a CollisionShape2D which exceeds it boundaries. Then, touch different parts of the collision shape -- touches near the top or left of the collision shape are ignored, but touches beyond the bottom or right of the collision shape are registered, even touches outside the collision shape. **Minimal reproduction project:** <!-- A small Godot project which reproduces the issue. Drag and drop a zip archive to upload it. --> [touchscreen-bug.zip](https://github.com/godotengine/godot/files/4806843/touchscreen-bug.zip)
bug,topic:input,topic:gui
low
Critical
642,248,506
rust
Fall back to more verbose error when 'expected' and 'found' are the same
In some cases (#71723, #73520), we emit an error of the form 'expected A, found A', where the 'expected' and 'found' cases are character-for-character identical. We could make these messages much less confusing by detecting the case where the formatted 'expected' and 'found' values are identical, and fallback to explicitly printing lifetimes when this happens. While this could result in more verbose error messages, it should help point users in the right direction. Currently, there's absolutely no indication that these issues result from a lifetime mismatch - users must either learn this from experience, or read the compiler internals.
A-diagnostics,A-lifetimes,T-compiler,D-confusing
low
Critical
642,250,828
vscode
Fail to load timeline info when activate timeline view using keyboard shortcut
<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- Please search existing issues to avoid creating duplicates. --> <!-- Also please test using the latest insiders build to make sure your issue has not already been fixed: https://code.visualstudio.com/insiders/ --> <!-- Use Help > Report Issue to prefill these. --> - VSCode Version: 1.47.0-insider (user setup) - OS Version: Windows_NT x64 10.0.19041 Steps to Reproduce: 1. Add the following keyboard binding { "key": "ctrl+alt+t", "command": "files.openTimeline", } 1. Move timeline view to the panel 1. Make sure you unpin the current timeline 1. Press ctrl+alt+t 1. The timeline view automatically pins the current timeline and fails to load any timeline information. ![image](https://user-images.githubusercontent.com/211268/85184054-27e39280-b243-11ea-8e04-d5d059e65575.png) Note that I cannot repro this issue if I switch to the timeline view with a mouse click.
bug,timeline
low
Critical
642,251,953
scrcpy
Scrcpy slow
Finally I managed to get in, only now it’s very slow, impossible to move
driver
medium
Major
642,256,826
pytorch
Refactor the adaptive avg pool code
#40271 introduces the adaptive avg pool. There is some code that could be reused by 2d and 3d. However, it requires refactoring of the 2d codebase -- that's why it is not done in the original PR. This issue is to track the progress of that refactoring. cc @jerryzh168 @jianyuh @raghuramank100 @jamesr66a @vkuzo @jgong5 @Xia-Weiwen @leslie-fang-intel @mikaylagawarecki @dzhulgakov
oncall: quantization,good first issue,low priority,triaged,module: pooling
medium
Major
642,257,289
pytorch
Too many labels in the repo
Was going through all the labels -- can we remove the ones that are not used or used extremely rarely? Also, I could not find labels that would mark an issue "easy" or "beginner friendly" -- those could be taken over by the beginners in the community
triaged,module: infra
low
Minor
642,269,719
flutter
Remove --experimental-emit-debug-metadata flag from frontend_server/tool when possible
Remove --experimenal-emit-debug-metadata flag from frontend_server/tool once metadata is no longer experimental and is always produced by the frontend server.
tool,P2,team-tool,triaged-tool
low
Critical
642,269,824
rust
Debugger support for Rust async/await
It would be very nice if a debugger could show things like - The set of active async tasks, similar to the list of threads in a program - #73524 A "backtrace" of a given async task - The state of any OS objects (files, sockets, etc) a task is blocking on - The origin of an async task (where it was spawned), with possible backtrace captured at that point This is a "meta issue" to track features and ideas like this. ## Prior art - [Zero-cost async stack traces](https://docs.google.com/document/d/13Sy_kBIJGP0XT34V1CV3nkWya4TwYx9L3Yv45LdGB6Q/edit) in Javascript
A-async-await,AsyncAwait-Triaged
low
Critical
642,270,603
godot
Godot exits when material is in copied project that references missing custom visual shader node
**Godot version:** 3.2.2.rc1.official **OS/device including version:** Windows 10 Pro GLES2 **Issue description:** I copied my project to a different location, and one of my materials references a .gd custom visual shader node that I have since removed. When starting up Godot in this copied project (after importing it), it crashes with the log inside of crash_error_log.txt, inside of the attached project. This behavior wasn't seen in the original project. I'm guessing that there's some backing shader/material cache that the file is being loaded from, and now that the project has been copied, it needs to reload the custom visual shader node .gd to recreate the new cache entry. **Steps to reproduce:** 1. Import and open the attached project. 2. It should crash approximately 2 seconds after it opens with a log similar to the attached. 3. Rename Clay.material to Clay.material_ 4. The project should now open without incident. **Minimal reproduction project:** [CrashTest.zip](https://github.com/godotengine/godot/files/4807072/CrashTest.zip)
bug,topic:import,crash
low
Critical
642,273,929
rust
External backtraces for async tasks
It would be nice if debuggers supported printing a backtrace of await points within an async stack machine. In particular, if I have a reference to an async task, my debugger should be able to read the state of all (nested) generators compiled into that object, and turn that into something that looks like a stack trace (except, of course, there is no actual stack). See #73522 for a more general discussion of debugger support for async/await. ## Prior art Javascript has [async stack traces](https://docs.google.com/document/d/13Sy_kBIJGP0XT34V1CV3nkWya4TwYx9L3Yv45LdGB6Q/edit), but AIUI, it is really solving a different problem. In Javascript, awaiting something is the equivalent of spawning an async task in Rust and then awaiting completion of that task: if you set and hit breakpoint _inside_ an async function, you won't have any context on what's calling that function from a "normal" stack backtrace. This is not the case for Rust: the stack trace from inside a poll function shows you all the futures that polled you inside your task. (However, such a technique would be useful for seeing across task boundaries.) The problem we are really trying to solve in this issue is an _external_ backtrace: I should be able to peer into the state of an async task that isn't running and inspect the "stack" of Futures in it (both async fns and hand-rolled futures, ideally). ## Trees, not stacks A complication with the backtrace analogy is that in general, we are dealing with trees of futures (think `select!()`), not stacks. This means that in addition to making sure the debugger has all the information it needs, we'll need to experiment with different ways of presenting that information in the various debugging environments. I hope some prior art will be informative here. ## Implementation history - Emit line info for generator variants #73460
A-async-await,AsyncAwait-Triaged
low
Critical
642,277,408
rust
`cargo +nightly-i686-pc-windows-msvc build` crashes with very little info on what caused the error
I'm attempting to build a small project I've been working on for 32-bit systems, it builds fine on 64-bit but after some quick porting rustc just crashes and outputs that the process didn't return successfully. All the code I was attempting to compile can be found in [this repo](https://github.com/super-continent/win32-dll-test) I'm unsure what the actual cause of the bug is, as the output data with the `-vv` flag added only outputs the commands used to compile, no ICE or anything else, unsure what to make of it. `rustc --version --verbose`: ``` rustc 1.46.0-nightly (e55d3f9c5 2020-06-18) binary: rustc commit-hash: e55d3f9c5213fe1a25366450127bdff67ad1eca2 commit-date: 2020-06-18 host: i686-pc-windows-msvc release: 1.46.0-nightly LLVM version: 10.0 ```
I-crash,A-codegen,T-compiler,O-windows-msvc,C-bug,O-x86_32
low
Critical
642,305,489
terminal
Arrow-down menu in tab row should display both profiles and currently opened windows.
# Description of the new feature/enhancement Currently, drop-down at the end of tab row is displaying configured profiles and settings/feedback/about commands. It would be nice if it would have additional section at the top listing currently opened tabs, to ease switching/locating them.
Issue-Feature,Area-UserInterface,Area-Settings,Product-Terminal
low
Minor
642,305,812
terminal
'+' at the second-last place in tab row should be removed.
## Description of the new feature/enhancement '+' button at the second-last place in tab row is quite redundant and can be removed. It just duplicates default profile, which can be also accessed from arrow-down menu. Whenever I go to open a new tab, I have particular profile in mind, and it tends to be non-default one (which, typically, would be already running in the window)
Issue-Feature,Area-UserInterface,Area-Settings,Product-Terminal
low
Minor
642,327,076
flutter
Add Automatic Responsiveness.
Flutter is awesome as it is true cross platform for android, ios and web. Wouldn't it be more awesome if programmers don't have to bother about responsiveness across different size of screens? I think flutter dev team is smart enough to implement **AI, ML, DL** techniques to add **_automatic responsiveness_** on flutter apps. Flutter has awesome responsive apps and thousands of responsive open source projects. It's time to look at automatic responsiveness and build model of responsiveness coding which would help the **AI, ML, DL** algorithms to be trained fast and we get the automatic responsiveness feature as soon as possible.
c: new feature,framework,c: proposal,P3,team-framework,triaged-framework
low
Major
642,351,658
godot
Asyncronous scene loading breaks gradients
**Godot version:** 3.2.1 **OS/device including version:** seems irrelevant (GLES2, GLES3 @ android & win7) **Issue description:** when scene is loaded asynchronously gradients doesn't respect custom `width` property value and always use the default value 2048. When scene is loaded in a normal synchronous way (e.g. with `load()` or when scene is embedded into another scene) all is fine. **Steps to reproduce:** see MRP. `bSync` variable in `underlay.gd` controls the way scene with gradient is loaded. [Test2.zip](https://github.com/godotengine/godot/files/4807724/Test2.zip)
bug,topic:core
low
Minor
642,372,745
godot
CSG function _update_shape() is not documented
**Your Godot version:** 3.2.1 stable official, on Windows 10 **Issue description:** [CSGShape _update_shape()](https://github.com/godotengine/godot/blob/master/modules/csg/csg_shape.cpp) is not documented. When dealing with CSG from code, it looks like this is a very important function (examples of people using and discussing about this function [here](https://github.com/godotengine/godot/issues/29275), [here](https://github.com/godotengine/godot/issues/33138) and [here](https://github.com/godotengine/godot/issues/19232)) . Without it, many things are not possible, so why it is not documented? **URL to the documentation page (if already existing):** https://docs.godotengine.org/en/3.2/classes/class_csgshape.html?rtd_search=_update_shape#class-csgshape-method-get-meshes *Bugsquad edit: Transferred to the main repository as this issue pertains to the class reference.*
topic:core,documentation
low
Critical
642,376,616
godot
Scene not updating when instanced in other scene
<!-- Please search existing issues for potential duplicates before filing yours: https://github.com/godotengine/godot/issues?q=is%3Aissue --> **Godot version:** <!-- Specify commit hash if using non-official build. --> 3.2.1 stable official **OS/device including version:** <!-- Specify GPU model, drivers, and the backend (GLES2, GLES3, Vulkan) if graphics-related. --> **Issue description:** <!-- What happened, and what was expected. --> I have a scene which instances a child scene. I then edited that child scene and it didn't update in the instance I have of it in the other scene even after I saved. **Steps to reproduce:** ![doesntUpdate](https://user-images.githubusercontent.com/53994293/85202900-d0dbcd00-b2d7-11ea-93b1-f51fe690516a.gif) **Minimal reproduction project:** <!-- A small Godot project which reproduces the issue. Drag and drop a zip archive to upload it. --> [doesntUpdate.zip](https://github.com/godotengine/godot/files/4807951/doesntUpdate.zip)
bug,topic:editor,needs testing
medium
Major
642,383,852
godot
Callback from animation tree gets called forever if in the end of an animation
<!-- Please search existing issues for potential duplicates before filing yours: https://github.com/godotengine/godot/issues?q=is%3Aissue --> **Godot version:** <!-- Specify commit hash if using non-official build. --> 3.2.1 stable **OS/device including version:** <!-- Specify GPU model, drivers, and the backend (GLES2, GLES3, Vulkan) if graphics-related. --> Windows 7, Intel 64bit, GLES2 **Issue description:** <!-- What happened, and what was expected. --> If an animation comes from AnimationTree, and the track has a callback in the end of the animation, that callback will be called in repetition forever. If the animation is called from the AnimationPlayer directly it doesn't happen. If the callback is not in the end of animation, it doesn't happen as well. Only happens when called from AnimationTree and the key is in the end of animation. Tested with state machine root only. **Steps to reproduce:** - Create AnimationPlayer - Create animation - Add callback track - Add keyframe invoking a callback *in the end of the animation duration* - Create AnimationTree - Setup for the AnimationPlayer and state machine - Add the animation as start animation callback will be called in infinite loop **Minimal reproduction project:** <!-- A small Godot project which reproduces the issue. Drag and drop a zip archive to upload it. --> In the example below two callbacks are set. The only difference is callback 1 key frame is in the middle of animation, callback 2 is in the end. Callback 1 gets called only once, callback 2 gets called forever. [AnimCallbackTest.zip](https://github.com/godotengine/godot/files/4808006/AnimCallbackTest.zip)
bug,topic:core
low
Minor
642,401,723
rust
Use `dataflow::ResultsCursor` in borrowck
Having a `ResultsCursor` stored in `MirBorrowckCtxt` would allow accessing the flow state at arbitrary points in error reporting and make using the usual mir visitor possible.
C-enhancement,A-borrow-checker,T-compiler
low
Critical
642,410,985
go
x/tools/cmd/present2md: code blocks only output one level of indentation
<!-- Please answer these questions before submitting your issue. Thanks! For questions please use one of our forums: https://github.com/golang/go/wiki/Questions --> ### What version of Go are you using (`go version`)? <pre> $ go version go version go1.14.2 linux/amd64 </pre> ### Does this issue reproduce with the latest release? This isn't an issue with the go core. I _did_ install the latest version of `present` with `go get -u golang.org/x/tools/cmd/present2md` ### What operating system and processor architecture are you using (`go env`)? <details><summary><code>go env</code> Output</summary><br><pre> $ go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/home/autarch/.cache/go-build" GOENV="/home/autarch/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GONOPROXY="github.com/ActiveState" GONOSUMDB="github.com/ActiveState" GOOS="linux" GOPATH="/home/autarch/go" GOPRIVATE="github.com/ActiveState" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr/lib/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64" GCCGO="gccgo" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build349158934=/tmp/go-build -gno-record-gcc-switches" </pre></details> ### What did you do? I ran the tool to convert some slides. ### What did you expect to see? For code blocks that are part of a list, Markdown requires that there be extra indentation. So for example with a top-level list, you need two levels of indentation for a code block (8 spaces or 2 tabs). For a second level list you need three levels of indentation, etc. Alternatively, CommonMark supports [fenced code blocks](https://spec.commonmark.org/0.29/#fenced-code-blocks), which work without any indentation in all contexts. ### What did you see instead? All code blocks are output with just one level of indentation, meaning any code block in a list was no longer formatted correctly. Rather than trying to get the indentation right, I'd suggest just outputting a fenced code block. This is a lot simpler to edit later since you never have to fiddle with the indentation.
NeedsInvestigation,Tools
low
Critical
642,417,127
rust
Add `core::panic::Location::{end_line,end_column}`?
Method chains no longer share a single span, which makes the location reported by `Location::caller()` *much* more useful when chaining unwraps. The next step to improve their fidelity will be to allow `Location` to encode the "end span" of a call, and to expose that to users somehow. Probably in the Debug/Display impls to start.
T-libs-api,C-feature-request
low
Critical
642,419,008
rust
function-like procedural macros: no dead_code warning on created code (e.g. "function is never used" warning)
**Problem**: I got no **"function is never used" warning** (dead_code) on code generated by function-like procedural macros _I dare say this is a bug but I'm fairly new to **procedural macros** and maybe I'm doing something wrong. After quite a lot of searching I was unable to figure out if that was really the case so I decided to open an issue._ **Ref**: https://doc.rust-lang.org/reference/procedural-macros.html * **Cargo.toml**: ```rust $ cat Cargo.toml [package] name = "aux" version = "0.1.0" edition = "2018" [lib] proc-macro = true ``` * **src/lib.rs**: ```rust $ cat src/lib.rs use proc_macro::TokenStream; #[proc_macro] pub fn make_dummy(_item: TokenStream) -> TokenStream { "fn dummy() {}".parse().unwrap() } ``` * **src/main.rs**: ```rust $ cat src/main.rs aux::make_dummy!(); fn dummy2() {} fn main() { println!("hello"); } ``` **Expected**: with the previous code I expected two **function is never used** warnings: * The first one for the generated ```fn dummy() {}``` code * The second one for ```fn dummy2() {}``` code **Instead**: I just got a warning on **dummy2()** but nothing on **dummy()**: ```rust $ cargo build Compiling aux v0.1.0 (/var/tmp/aux) warning: function is never used: `dummy2` --> src/main.rs:2:4 | 2 | fn dummy2() {} | ^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: 1 warning emitted Finished dev [unoptimized + debuginfo] target(s) in 0.23s ``` Expanded code: both **dummy()** and **dummy2()** are there, but there's only a build warning on **dummy2()**: ```rust $ cargo expand --bin aux Checking aux v0.1.0 (/var/tmp/aux) Finished check [unoptimized + debuginfo] target(s) in 0.06s #![feature(prelude_import)] #[prelude_import] use std::prelude::v1::*; #[macro_use] extern crate std; fn dummy() {} fn dummy2() {} fn main() { { ::std::io::_print(::core::fmt::Arguments::new_v1( &["hello\n"], &match () { () => [], }, )); }; } ``` **rustc version**: I checked with the following versions of the compiler with same result: * **rustc 1.44.1**: ``` $ rustc --version --verbose rustc 1.44.1 (c7087fe00 2020-06-17) binary: rustc commit-hash: c7087fe00d2ba919df1d813c040a5d47e43b0fe7 commit-date: 2020-06-17 host: x86_64-unknown-linux-gnu release: 1.44.1 LLVM version: 9.0 ``` * **rustc 1.46.0-nightly**: ``` $ rustc --version --verbose rustc 1.46.0-nightly (feb3536eb 2020-06-09) binary: rustc commit-hash: feb3536eba10c2e4585d066629598f03d5ddc7c6 commit-date: 2020-06-09 host: x86_64-unknown-linux-gnu release: 1.46.0-nightly LLVM version: 10.0 ```
A-lints,T-compiler,C-bug,A-proc-macros
low
Critical
642,420,329
excalidraw
no drawing controls work
https://www.loom.com/share/23dd8a324de74e9797aff8c49d57f6b9 The app works fine for sometime and then this happens. all controls stop working.. can't select anything draw anything.
bug
low
Minor
642,450,866
opencv
dnn::readNet error with IE backend
Win10, CMake 3.18, VS 2017, CUDA 10.2, OpenVINO rev. ae9e0510f008220a297130c45e30bfc7fcf27b04. dnn::readNet raise an exception ```` Dims and format are inconsistent. E:\Lib_prebuild\OpenVino\openvino\inference-engine\src\inference_engine\ie_layouts.cpp:276 E:\Lib_prebuild\OpenVino\openvino\inference-engine\include\details/ie_exception_conversion.hpp:62 ```` Model: `face-detection-adas-0001`. This exception appears in Release and Debug build. TF and Caffe models work fine with this IE backend. List of IE files in PATH folder (Debug build): <details> ```` cache.json clDNNPlugind.dll format_readerd.dll GNAPlugind.dll HeteroPlugind.dll inference_engined.dll inference_engine_c_apid.dll inference_engine_ir_readerd.dll inference_engine_legacyd.dll inference_engine_lp_transformationsd.dll inference_engine_onnx_readerd.dll inference_engine_preprocd.dll inference_engine_transformationsd.dll interpreter_backendd.dll MKLDNNPlugind.dll MultiDevicePlugind.dll myriadPlugind.dll ngraphd.dll ngraph_backendd.dll onnx_importerd.dll opencv_c_wraperd.dll pcie-ma248x.elf plugins.xml template_extensiond.dll usb-ma2450.mvcmd usb-ma2x8x.mvcmd ```` </details> Last working build configuration which I tried with this model is OpenCV 412 and OpenVINO 2019_R1.1_InferenceEngine_23780.
category: dnn
low
Critical
642,454,949
opencv
OpenCV.JS WASM build fails. Generator error. Unable to resolve face::Facemark for face_FacemarkKazemi
OpenCV => 4.3.0 Operating System / Platform => Ubuntu Added face module. opencv_js.config.py : face = {'': ['createFacemarkLBF', 'createFacemarkAAM', 'createFacemarkKazemi', 'drawFacemarks'],\ 'Facemark': ['fit', 'loadModel'], \ 'FacemarkLBF': [], \ 'FacemarkAAM': [], \ 'FacemarkKazemi': [], \ } JS enabled for face module. <pre>100%] <font color="#3465A4"><b>Generating bindings.cpp</b></font> cd /home/svg/opencv/build_wasm/modules/js &amp;&amp; /usr/bin/python2.7 /home/svg/opencv/modules/js/src/embindgen.py /home/svg/opencv/modules/js/../python/src2/hdr_parser.py /home/svg/opencv/build_wasm/modules/js/bindings.cpp /home/svg/opencv/build_wasm/modules/js/headers.txt /home/svg/opencv/modules/js/src/core_bindings.cpp Generator error: unable to resolve base face::Facemark for face_FacemarkKazemi make[3]: *** [modules/js/CMakeFiles/opencv_js.dir/build.make:143: modules/js/bindings.cpp] Error 255 make[3]: Leaving directory &apos;/home/svg/opencv/build_wasm&apos; make[2]: *** [CMakeFiles/Makefile2:3856: modules/js/CMakeFiles/opencv_js.dir/all] Error 2 make[2]: Leaving directory &apos;/home/svg/opencv/build_wasm&apos; make[1]: *** [CMakeFiles/Makefile2:3825: modules/js/CMakeFiles/opencv.js.dir/rule] Error 2 make[1]: Leaving directory &apos;/home/svg/opencv/build_wasm&apos; make: *** [Makefile:691: opencv.js] Error 2 Traceback (most recent call last): File &quot;./platforms/js/build_js.py&quot;, line 284, in &lt;module&gt; builder.build_opencvjs() File &quot;./platforms/js/build_js.py&quot;, line 202, in build_opencvjs execute([&quot;make&quot;, &quot;-j&quot;, str(multiprocessing.cpu_count()), &quot;opencv.js&quot;]) File &quot;./platforms/js/build_js.py&quot;, line 23, in execute raise Fail(&quot;Child returned: %s&quot; % retcode) __main__.Fail: Child returned: 2 </pre>
feature,category: build/install,category: contrib,category: javascript (js)
low
Critical
642,459,345
vscode
Alt+Backspace to delete previous character without smart indentation-aware deletion
<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- Please search existing issues to avoid creating duplicates. --> <!-- Describe the feature you'd like. --> Sometimes, you want to move a block of code left, but pressing backspace moves it to the last tabstop. I suggest that pressing Alt+Backspace doesn't do this, and just removes one character.
feature-request,editor-autoindent
low
Minor
642,481,552
godot
Tilemap horizontal line flicker due to texture atlas not having gaps between tiles (fixed in 4.x)
**Godot version:** 3.2.1 stable **OS/device including version:** OS: Windows 10 x64 GPU Model: GTX 1080 Drivers: 442.74 Backend: GLES2 / GLES3 **Issue description:** Tilemaps intermittently flicker between the expected result and a set of horizontal lines: ![tile-glitch-repro](https://user-images.githubusercontent.com/1253239/85215338-1d261c00-b36f-11ea-9ca3-1aacb8f4f04b.gif) The flicker occurs roughly ~4x more frequently than the gif was able to capture. Expected behavior is for tilemaps to remain visually stable. **Steps to reproduce:** Create a scene with several layered tilemaps and scroll a Camera2D node around it. **Notes:** This behaviour doesn't occur when the affected scene is nested inside its own Viewport node and displayed via a ViewportTexture plugged into a TextureRect. I've included an example setup and details inside the reproduction project. **Minimal reproduction project:** [tilemap_bug_repro.zip](https://github.com/godotengine/godot/files/4808837/tilemap_bug_repro.zip)
bug,topic:rendering,confirmed,topic:2d
low
Critical
642,531,304
opencv
Cannot upload by imread() files containing char "–" in name
##### System information (version) - OpenCV => opencv-python 4.2.0.34 - Operating System / Platform => Windows-10-10.0.18362-SP0 - Compiler => Visual Studio 1.46.1, Python 3.7.4 32-bit ##### Detailed description When I upload file containing in name char `–` U+2013 : EN DASH by `cv2.imread()`, file is not uploaded. Example of invalid name: `Artboard 1 copy 11 – 10.png` ##### Steps to reproduce [Png files](https://gofile.io/d/PuhqVl) Code: ``` # This one works img1 = cv2.imread("images/referance/Artboard 1 copy 11 1.png") height, width, channel = img1.shape print(height, width, channel) # This one does not img2 = cv2.imread("images/referance/Artboard 1 copy 11 – 10.png") height, width, channel = img2.shape print(height, width, channel) ``` ##### Terminal output (powershell) ``` 1280 720 3 Traceback (most recent call last): File "wrong_path.py", line 8, in <module> height, width, channel = img2.shape AttributeError: 'NoneType' object has no attribute 'shape' ```
duplicate,category: python bindings
low
Critical
642,539,888
godot
Godot 3.2.1mono had an error while building project solution on Ubuntu Studio 18.04 32bit
**Godot version:** 3.2.1-mono **OS/device including version:** Linux (Ubuntu Studio 18.04, 32bit), GLES2 **Issue description:** I tried to run that script (script is used by scene, that i wanted to run) in godot, but 'The build method threw an exception'. Here's mono build log and as i can see, Godot has been looking for libraries in paths, that doesn't exists (that's why I am reporting this as an Issue) ``` Config attempting to parse: '/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/etc/mono/config'. (in domain Mono, info) Config attempting to parse: '/home/godot/.mono/config'. (in domain Mono, info) Image addref mscorlib[0xf14b290] (asmctx DEFAULT) -> /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/mscorlib.dll[0xf192740]: 2 (in domain Mono, info) Prepared to set up assembly 'mscorlib' (/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/mscorlib.dll) (in domain Mono, info) AOT: image '/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/mscorlib.dll.so' not found: /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/mscorlib.dll.so: cannot open shared object file: No such file or directory (in domain Mono, info) AOT: image '/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/aot-cache/x86/mscorlib.dll.so' not found: /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/aot-cache/x86/mscorlib.dll.so: cannot open shared object file: No such file or directory (in domain Mono, info) Assembly mscorlib[0xf14b290] added to domain GodotEngine.RootDomain, ref_count=1 (in domain Mono, info) Assembly mscorlib[0xf14b290] added to domain GodotEngine.Domain.Scripts, ref_count=2 (in domain Mono, info) Image addref GodotSharp[0xf200110] (asmctx DEFAULT) -> /home/godot/Pulpit/SonadowRPG/.mono/assemblies/Debug/GodotSharp.dll[0xf1fe930]: 3 (in domain Mono, info) Prepared to set up assembly 'GodotSharp' (/home/godot/Pulpit/SonadowRPG/.mono/assemblies/Debug/GodotSharp.dll) (in domain Mono, info) Assembly GodotSharp[0xf200110] added to domain GodotEngine.Domain.Scripts, ref_count=1 (in domain Mono, info) Loading reference 0 of /home/godot/Pulpit/SonadowRPG/.mono/assemblies/Debug/GodotSharp.dll asmctx DEFAULT, looking for mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Config attempting to parse: ''. (in domain Mono, info) Assembly Ref addref GodotSharp[0xf200110] -> mscorlib[0xf14b290]: 3 (in domain Mono, info) Image addref GodotSharpEditor[0xf203570] (asmctx DEFAULT) -> /home/godot/Pulpit/SonadowRPG/.mono/assemblies/Debug/GodotSharpEditor.dll[0xf2074f0]: 3 (in domain Mono, info) Prepared to set up assembly 'GodotSharpEditor' (/home/godot/Pulpit/SonadowRPG/.mono/assemblies/Debug/GodotSharpEditor.dll) (in domain Mono, info) Assembly GodotSharpEditor[0xf203570] added to domain GodotEngine.Domain.Scripts, ref_count=1 (in domain Mono, info) Loading reference 0 of /home/godot/Pulpit/SonadowRPG/.mono/assemblies/Debug/GodotSharpEditor.dll asmctx DEFAULT, looking for mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Assembly Ref addref GodotSharpEditor[0xf203570] -> mscorlib[0xf14b290]: 4 (in domain Mono, info) Loading reference 2 of /home/godot/Pulpit/SonadowRPG/.mono/assemblies/Debug/GodotSharp.dll asmctx DEFAULT, looking for System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Image addref System[0xf20fda0] (asmctx DEFAULT) -> /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/System.dll[0xf2093b0]: 2 (in domain Mono, info) Prepared to set up assembly 'System' (/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/System.dll) (in domain Mono, info) Assembly System[0xf20fda0] added to domain GodotEngine.Domain.Scripts, ref_count=1 (in domain Mono, info) Assembly Ref addref GodotSharp[0xf200110] -> System[0xf20fda0]: 2 (in domain Mono, info) Loading reference 0 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/System.dll asmctx DEFAULT, looking for mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Assembly Ref addref System[0xf20fda0] -> mscorlib[0xf14b290]: 5 (in domain Mono, info) Loading reference 2 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/System.dll asmctx DEFAULT, looking for System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (in domain Mono, info) Image addref System.Configuration[0xf26cae0] (asmctx DEFAULT) -> /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/System.Configuration.dll[0xf2641b0]: 2 (in domain Mono, info) Prepared to set up assembly 'System.Configuration' (/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/System.Configuration.dll) (in domain Mono, info) Assembly System.Configuration[0xf26cae0] added to domain GodotEngine.Domain.Scripts, ref_count=1 (in domain Mono, info) Assembly Ref addref System[0xf20fda0] -> System.Configuration[0xf26cae0]: 2 (in domain Mono, info) Loading reference 0 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/System.Configuration.dll asmctx DEFAULT, looking for mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Assembly Ref addref System.Configuration[0xf26cae0] -> mscorlib[0xf14b290]: 6 (in domain Mono, info) Loading reference 2 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/System.Configuration.dll asmctx DEFAULT, looking for System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Assembly Ref addref System.Configuration[0xf26cae0] -> System[0xf20fda0]: 3 (in domain Mono, info) Loading reference 1 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/System.Configuration.dll asmctx DEFAULT, looking for System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Image addref System.Xml[0xf2705a0] (asmctx DEFAULT) -> /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/System.Xml.dll[0xf27d200]: 2 (in domain Mono, info) Prepared to set up assembly 'System.Xml' (/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/System.Xml.dll) (in domain Mono, info) Assembly System.Xml[0xf2705a0] added to domain GodotEngine.Domain.Scripts, ref_count=1 (in domain Mono, info) Assembly Ref addref System.Configuration[0xf26cae0] -> System.Xml[0xf2705a0]: 2 (in domain Mono, info) Loading reference 0 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/System.Xml.dll asmctx DEFAULT, looking for mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Assembly Ref addref System.Xml[0xf2705a0] -> mscorlib[0xf14b290]: 7 (in domain Mono, info) DllImport attempting to load: '/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/../lib/libmono-native.so'. (in domain Mono, info) DllImport loaded library '/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/../lib/libmono-native.so'. (in domain Mono, info) DllImport searching in: '/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/../lib/libmono-native.so' ('/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/../lib/libmono-native.so'). (in domain Mono, info) Searching for 'SystemNative_GetNonCryptographicallySecureRandomBytes'. (in domain Mono, info) Probing 'SystemNative_GetNonCryptographicallySecureRandomBytes'. (in domain Mono, info) Found as 'SystemNative_GetNonCryptographicallySecureRandomBytes'. (in domain Mono, info) DllImport searching in: '/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/../lib/libmono-native.so' ('/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/../lib/libmono-native.so'). (in domain Mono, info) Searching for 'SystemNative_Stat2'. (in domain Mono, info) Probing 'SystemNative_Stat2'. (in domain Mono, info) Found as 'SystemNative_Stat2'. (in domain Mono, info) DllImport searching in: '/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/../lib/libmono-native.so' ('/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/../lib/libmono-native.so'). (in domain Mono, info) Searching for 'SystemNative_LStat2'. (in domain Mono, info) Probing 'SystemNative_LStat2'. (in domain Mono, info) Found as 'SystemNative_LStat2'. (in domain Mono, info) DllImport searching in: '/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/../lib/libmono-native.so' ('/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/../lib/libmono-native.so'). (in domain Mono, info) Searching for 'SystemNative_ConvertErrorPlatformToPal'. (in domain Mono, info) Probing 'SystemNative_ConvertErrorPlatformToPal'. (in domain Mono, info) Found as 'SystemNative_ConvertErrorPlatformToPal'. (in domain Mono, info) Loading reference 2 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/System.Xml.dll asmctx DEFAULT, looking for System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Assembly Ref addref System.Xml[0xf2705a0] -> System[0xf20fda0]: 4 (in domain Mono, info) Loading reference 3 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/System.dll asmctx DEFAULT, looking for System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Assembly Ref addref System[0xf20fda0] -> System.Xml[0xf2705a0]: 3 (in domain Mono, info) Image addref GodotTools[0xf408050] (asmctx DEFAULT) -> /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.dll[0xf4211a0]: 2 (in domain Mono, info) Prepared to set up assembly 'GodotTools' (/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.dll) (in domain Mono, info) Assembly GodotTools[0xf408050] added to domain GodotEngine.Domain.Scripts, ref_count=1 (in domain Mono, info) Image addref GodotTools.ProjectEditor[0xf31f3d0] (asmctx DEFAULT) -> /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.ProjectEditor.dll[0xf43f1c0]: 2 (in domain Mono, info) Prepared to set up assembly 'GodotTools.ProjectEditor' (/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.ProjectEditor.dll) (in domain Mono, info) Assembly GodotTools.ProjectEditor[0xf31f3d0] added to domain GodotEngine.Domain.Scripts, ref_count=1 (in domain Mono, info) Assembly Loader probing location: '/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/Sonadow RPG.dll'. (in domain Mono, info) Assembly Loader probing location: '/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5//Facades/Sonadow RPG.dll'. (in domain Mono, info) Assembly Loader probing location: '/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/Sonadow RPG.exe'. (in domain Mono, info) Assembly Loader probing location: '/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5//Facades/Sonadow RPG.exe'. (in domain Mono, info) Loading reference 1 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.dll asmctx DEFAULT, looking for GodotSharpEditor, Version=1.0.7374.18184, Culture=neutral, PublicKeyToken=null (in domain Mono, info) Assembly Ref addref GodotTools[0xf408050] -> GodotSharpEditor[0xf203570]: 2 (in domain Mono, info) Loading reference 1 of /home/godot/Pulpit/SonadowRPG/.mono/assemblies/Debug/GodotSharpEditor.dll asmctx DEFAULT, looking for GodotSharp, Version=1.0.7374.16783, Culture=neutral, PublicKeyToken=null (in domain Mono, info) Assembly Ref addref GodotSharpEditor[0xf203570] -> GodotSharp[0xf200110]: 2 (in domain Mono, info) Loading reference 2 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.dll asmctx DEFAULT, looking for GodotSharp, Version=1.0.7374.18182, Culture=neutral, PublicKeyToken=null (in domain Mono, info) Assembly Ref addref GodotTools[0xf408050] -> GodotSharp[0xf200110]: 3 (in domain Mono, info) Loading reference 0 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.dll asmctx DEFAULT, looking for mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Assembly Ref addref GodotTools[0xf408050] -> mscorlib[0xf14b290]: 8 (in domain Mono, info) Loading reference 5 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.dll asmctx DEFAULT, looking for GodotTools.IdeConnection, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null (in domain Mono, info) Image addref GodotTools.IdeConnection[0x12729c90] (asmctx DEFAULT) -> /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.IdeConnection.dll[0x12729160]: 2 (in domain Mono, info) Prepared to set up assembly 'GodotTools.IdeConnection' (/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.IdeConnection.dll) (in domain Mono, info) Assembly GodotTools.IdeConnection[0x12729c90] added to domain GodotEngine.Domain.Scripts, ref_count=1 (in domain Mono, info) Assembly Ref addref GodotTools[0xf408050] -> GodotTools.IdeConnection[0x12729c90]: 2 (in domain Mono, info) Loading reference 0 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.IdeConnection.dll asmctx DEFAULT, looking for mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Assembly Ref addref GodotTools.IdeConnection[0x12729c90] -> mscorlib[0xf14b290]: 9 (in domain Mono, info) Loading reference 6 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.dll asmctx DEFAULT, looking for System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Image addref System.Core[0xf400a90] (asmctx DEFAULT) -> /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/System.Core.dll[0x1276a1f0]: 2 (in domain Mono, info) Prepared to set up assembly 'System.Core' (/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/System.Core.dll) (in domain Mono, info) Assembly System.Core[0xf400a90] added to domain GodotEngine.Domain.Scripts, ref_count=1 (in domain Mono, info) Assembly Ref addref GodotTools[0xf408050] -> System.Core[0xf400a90]: 2 (in domain Mono, info) Loading reference 0 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/System.Core.dll asmctx DEFAULT, looking for mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Assembly Ref addref System.Core[0xf400a90] -> mscorlib[0xf14b290]: 10 (in domain Mono, info) Loading reference 4 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.dll asmctx DEFAULT, looking for System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Assembly Ref addref GodotTools[0xf408050] -> System[0xf20fda0]: 5 (in domain Mono, info) DllImport searching in: '/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/../lib/libmono-native.so' ('/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/../lib/libmono-native.so'). (in domain Mono, info) Searching for 'SystemNative_MkDir'. (in domain Mono, info) Probing 'SystemNative_MkDir'. (in domain Mono, info) Found as 'SystemNative_MkDir'. (in domain Mono, info) DllImport attempting to load: 'libc.so.6'. (in domain Mono, info) DllImport error loading library '/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/libc.so.6': '/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/libc.so.6: cannot open shared object file: No such file or directory'. (in domain Mono, info) DllImport error loading library '/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/libc.so.6.so': '/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/libc.so.6.so: cannot open shared object file: No such file or directory'. (in domain Mono, info) DllImport error loading library '/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/libc.so.6.so': '/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/libc.so.6.so: cannot open shared object file: No such file or directory'. (in domain Mono, info) DllImport error loading library '/home/godot/Pulpit/lib/libc.so.6': '/home/godot/Pulpit/lib/libc.so.6: cannot open shared object file: No such file or directory'. (in domain Mono, info) DllImport error loading library '/home/godot/Pulpit/lib/libc.so.6.so': '/home/godot/Pulpit/lib/libc.so.6.so: cannot open shared object file: No such file or directory'. (in domain Mono, info) DllImport error loading library '/home/godot/Pulpit/lib/libc.so.6.so': '/home/godot/Pulpit/lib/libc.so.6.so: cannot open shared object file: No such file or directory'. (in domain Mono, info) DllImport loaded library 'libc.so.6'. (in domain Mono, info) DllImport searching in: 'libc.so.6' ('libc.so.6'). (in domain Mono, info) Searching for 'uname'. (in domain Mono, info) Probing 'uname'. (in domain Mono, info) Found as 'uname'. (in domain Mono, info) DllImport searching in: 'libc.so.6' ('libc.so.6'). (in domain Mono, info) Searching for 'getifaddrs'. (in domain Mono, info) Probing 'getifaddrs'. (in domain Mono, info) Found as 'getifaddrs'. (in domain Mono, info) DllImport searching in: 'libc.so.6' ('libc.so.6'). (in domain Mono, info) Searching for 'freeifaddrs'. (in domain Mono, info) Probing 'freeifaddrs'. (in domain Mono, info) Found as 'freeifaddrs'. (in domain Mono, info) Loading reference 1 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.IdeConnection.dll asmctx DEFAULT, looking for System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Assembly Ref addref GodotTools.IdeConnection[0x12729c90] -> System[0xf20fda0]: 6 (in domain Mono, info) Loading reference 1 of /home/godot/Pulpit/SonadowRPG/.mono/assemblies/Debug/GodotSharp.dll asmctx DEFAULT, looking for System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Assembly Ref addref GodotSharp[0xf200110] -> System.Core[0xf400a90]: 3 (in domain Mono, info) Loading reference 3 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.dll asmctx DEFAULT, looking for GodotTools.ProjectEditor, Version=1.0.7374.18192, Culture=neutral, PublicKeyToken=null (in domain Mono, info) Assembly Ref addref GodotTools[0xf408050] -> GodotTools.ProjectEditor[0xf31f3d0]: 2 (in domain Mono, info) Loading reference 0 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.ProjectEditor.dll asmctx DEFAULT, looking for mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Assembly Ref addref GodotTools.ProjectEditor[0xf31f3d0] -> mscorlib[0xf14b290]: 11 (in domain Mono, info) Loading reference 2 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.ProjectEditor.dll asmctx DEFAULT, looking for Microsoft.Build, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (in domain Mono, info) Image addref Microsoft.Build[0x140d6fe0] (asmctx DEFAULT) -> /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/Microsoft.Build.dll[0x1402e2d0]: 2 (in domain Mono, info) Prepared to set up assembly 'Microsoft.Build' (/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/Microsoft.Build.dll) (in domain Mono, info) Assembly Microsoft.Build[0x140d6fe0] added to domain GodotEngine.Domain.Scripts, ref_count=1 (in domain Mono, info) Assembly Ref addref GodotTools.ProjectEditor[0xf31f3d0] -> Microsoft.Build[0x140d6fe0]: 2 (in domain Mono, info) Loading reference 0 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/Microsoft.Build.dll asmctx DEFAULT, looking for mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Assembly Ref addref Microsoft.Build[0x140d6fe0] -> mscorlib[0xf14b290]: 12 (in domain Mono, info) Loading reference 3 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/Microsoft.Build.dll asmctx DEFAULT, looking for System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Assembly Ref addref Microsoft.Build[0x140d6fe0] -> System[0xf20fda0]: 7 (in domain Mono, info) Loading reference 2 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/Microsoft.Build.dll asmctx DEFAULT, looking for System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Assembly Ref addref Microsoft.Build[0x140d6fe0] -> System.Xml[0xf2705a0]: 4 (in domain Mono, info) Loading reference 4 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.ProjectEditor.dll asmctx DEFAULT, looking for GodotTools.Core, Version=1.0.7374.18191, Culture=neutral, PublicKeyToken=null (in domain Mono, info) Image addref GodotTools.Core[0x13f65440] (asmctx DEFAULT) -> /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.Core.dll[0x13ffca80]: 2 (in domain Mono, info) Prepared to set up assembly 'GodotTools.Core' (/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.Core.dll) (in domain Mono, info) Assembly GodotTools.Core[0x13f65440] added to domain GodotEngine.Domain.Scripts, ref_count=1 (in domain Mono, info) Assembly Ref addref GodotTools.ProjectEditor[0xf31f3d0] -> GodotTools.Core[0x13f65440]: 2 (in domain Mono, info) Loading reference 0 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.Core.dll asmctx DEFAULT, looking for mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Assembly Ref addref GodotTools.Core[0x13f65440] -> mscorlib[0xf14b290]: 13 (in domain Mono, info) Loading reference 1 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/Microsoft.Build.dll asmctx DEFAULT, looking for Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (in domain Mono, info) Image addref Microsoft.Build.Framework[0x1412a380] (asmctx DEFAULT) -> /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/Microsoft.Build.Framework.dll[0x141b0640]: 2 (in domain Mono, info) Prepared to set up assembly 'Microsoft.Build.Framework' (/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/Microsoft.Build.Framework.dll) (in domain Mono, info) Assembly Microsoft.Build.Framework[0x1412a380] added to domain GodotEngine.Domain.Scripts, ref_count=1 (in domain Mono, info) Assembly Ref addref Microsoft.Build[0x140d6fe0] -> Microsoft.Build.Framework[0x1412a380]: 2 (in domain Mono, info) Loading reference 1 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.ProjectEditor.dll asmctx DEFAULT, looking for System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Assembly Ref addref GodotTools.ProjectEditor[0xf31f3d0] -> System.Core[0xf400a90]: 4 (in domain Mono, info) Loading reference 1 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/System.Core.dll asmctx DEFAULT, looking for System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Assembly Ref addref System.Core[0xf400a90] -> System[0xf20fda0]: 8 (in domain Mono, info) Loading reference 4 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/Microsoft.Build.dll asmctx DEFAULT, looking for System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Assembly Ref addref Microsoft.Build[0x140d6fe0] -> System.Core[0xf400a90]: 5 (in domain Mono, info) Loading reference 1 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.Core.dll asmctx DEFAULT, looking for System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Assembly Ref addref GodotTools.Core[0x13f65440] -> System[0xf20fda0]: 9 (in domain Mono, info) Assembly mscorlib[0xf14b290] added to domain GodotEngine.Domain.CheckApiAssemblies, ref_count=14 (in domain Mono, info) Image addref GodotSharp[0x13005e30] (asmctx REFONLY) -> /home/godot/Pulpit/SonadowRPG/.mono/assemblies/Debug/GodotSharp.dll[0x1412d6e0]: 3 (in domain Mono, info) Prepared to set up assembly 'GodotSharp' (/home/godot/Pulpit/SonadowRPG/.mono/assemblies/Debug/GodotSharp.dll) (in domain Mono, info) Assembly GodotSharp[0x13005e30] added to domain GodotEngine.Domain.CheckApiAssemblies, ref_count=1 (in domain Mono, info) Loading reference 0 of /home/godot/Pulpit/SonadowRPG/.mono/assemblies/Debug/GodotSharp.dll asmctx REFONLY, looking for mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Assembly Ref addref GodotSharp[0x13005e30] -> mscorlib[0xf14b290]: 15 (in domain Mono, info) Image addref GodotSharpEditor[0x12fd6100] (asmctx REFONLY) -> /home/godot/Pulpit/SonadowRPG/.mono/assemblies/Debug/GodotSharpEditor.dll[0x13f10d30]: 3 (in domain Mono, info) Prepared to set up assembly 'GodotSharpEditor' (/home/godot/Pulpit/SonadowRPG/.mono/assemblies/Debug/GodotSharpEditor.dll) (in domain Mono, info) Assembly GodotSharpEditor[0x12fd6100] added to domain GodotEngine.Domain.CheckApiAssemblies, ref_count=1 (in domain Mono, info) Loading reference 0 of /home/godot/Pulpit/SonadowRPG/.mono/assemblies/Debug/GodotSharpEditor.dll asmctx REFONLY, looking for mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Assembly Ref addref GodotSharpEditor[0x12fd6100] -> mscorlib[0xf14b290]: 16 (in domain Mono, info) GC_MAJOR_SWEEP: major size: 1040K in use: 465K (in domain Mono, info) GC_MAJOR: (user request) time 31.26ms, stw 34.04ms los size: 1024K in use: 64K (in domain Mono, info) GC_MAJOR_SWEEP: major size: 1040K in use: 171K (in domain Mono, info) GC_MAJOR: (user request) time 5.28ms, stw 6.72ms los size: 1024K in use: 64K (in domain Mono, info) GC_MAJOR_SWEEP: major size: 1040K in use: 170K (in domain Mono, info) GC_MAJOR: (user request) time 9.58ms, stw 10.23ms los size: 1024K in use: 64K (in domain Mono, info) GC_MINOR: (user request) time 3.35ms, stw 5.65ms promoted 0K major size: 1040K in use: 170K los size: 1024K in use: 64K (in domain Mono, info) Unloading domain GodotEngine.Domain.CheckApiAssemblies[0x132f4d20], assembly mscorlib[0xf14b290], ref_count=16 (in domain Mono, info) Unloading domain GodotEngine.Domain.CheckApiAssemblies[0x132f4d20], assembly GodotSharp[0x13005e30], ref_count=1 (in domain Mono, info) Unloading assembly GodotSharp [0x13005e30]. (in domain Mono, info) Unloading image data-0x9952d010 [0x13fc15d0]. (in domain Mono, info) Unloading image /home/godot/Pulpit/SonadowRPG/.mono/assemblies/Debug/GodotSharp.dll [0x1412d6e0]. (in domain Mono, info) Unloading domain GodotEngine.Domain.CheckApiAssemblies[0x132f4d20], assembly GodotSharpEditor[0x12fd6100], ref_count=1 (in domain Mono, info) Unloading assembly GodotSharpEditor [0x12fd6100]. (in domain Mono, info) Unloading image data-0x142b1c60 [0x13d84690]. (in domain Mono, info) Unloading image /home/godot/Pulpit/SonadowRPG/.mono/assemblies/Debug/GodotSharpEditor.dll [0x13f10d30]. (in domain Mono, info) GC_MAJOR_SWEEP: major size: 1040K in use: 169K (in domain Mono, info) GC_MAJOR: (user request) time 8.86ms, stw 9.79ms los size: 1024K in use: 64K (in domain Mono, info) Loading reference 3 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.ProjectEditor.dll asmctx DEFAULT, looking for DotNet.Glob, Version=2.1.1.0, Culture=neutral, PublicKeyToken=b68cc888b4f632d1 (in domain Mono, info) Image addref DotNet.Glob[0x13d39330] (asmctx DEFAULT) -> /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/DotNet.Glob.dll[0x13f10d30]: 2 (in domain Mono, info) Prepared to set up assembly 'DotNet.Glob' (/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/DotNet.Glob.dll) (in domain Mono, info) Assembly DotNet.Glob[0x13d39330] added to domain GodotEngine.Domain.Scripts, ref_count=1 (in domain Mono, info) Assembly Ref addref GodotTools.ProjectEditor[0xf31f3d0] -> DotNet.Glob[0x13d39330]: 2 (in domain Mono, info) Loading reference 0 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/DotNet.Glob.dll asmctx DEFAULT, looking for mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Assembly Ref addref DotNet.Glob[0x13d39330] -> mscorlib[0xf14b290]: 14 (in domain Mono, info) Loading reference 2 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/DotNet.Glob.dll asmctx DEFAULT, looking for System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Assembly Ref addref DotNet.Glob[0x13d39330] -> System.Core[0xf400a90]: 6 (in domain Mono, info) DllImport searching in: '/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/../lib/libmono-native.so' ('/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/../lib/libmono-native.so'). (in domain Mono, info) Searching for 'SystemNative_GetReadDirRBufferSize'. (in domain Mono, info) Probing 'SystemNative_GetReadDirRBufferSize'. (in domain Mono, info) Found as 'SystemNative_GetReadDirRBufferSize'. (in domain Mono, info) DllImport searching in: '/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/../lib/libmono-native.so' ('/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/../lib/libmono-native.so'). (in domain Mono, info) Searching for 'SystemNative_OpenDir'. (in domain Mono, info) Probing 'SystemNative_OpenDir'. (in domain Mono, info) Found as 'SystemNative_OpenDir'. (in domain Mono, info) DllImport searching in: '/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/../lib/libmono-native.so' ('/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/../lib/libmono-native.so'). (in domain Mono, info) Searching for 'SystemNative_ReadDirR'. (in domain Mono, info) Probing 'SystemNative_ReadDirR'. (in domain Mono, info) Found as 'SystemNative_ReadDirR'. (in domain Mono, info) DllImport searching in: '/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/../lib/libmono-native.so' ('/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/../lib/libmono-native.so'). (in domain Mono, info) Searching for 'SystemNative_CloseDir'. (in domain Mono, info) Probing 'SystemNative_CloseDir'. (in domain Mono, info) Found as 'SystemNative_CloseDir'. (in domain Mono, info) DllImport searching in: '/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/../lib/libmono-native.so' ('/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/../lib/libmono-native.so'). (in domain Mono, info) Searching for 'SystemNative_ReadLink'. (in domain Mono, info) Probing 'SystemNative_ReadLink'. (in domain Mono, info) Found as 'SystemNative_ReadLink'. (in domain Mono, info) Loading reference 8 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.dll asmctx DEFAULT, looking for GodotTools.BuildLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null (in domain Mono, info) Image addref GodotTools.BuildLogger[0x14016a40] (asmctx DEFAULT) -> /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.BuildLogger.dll[0x140165a0]: 2 (in domain Mono, info) Prepared to set up assembly 'GodotTools.BuildLogger' (/home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.BuildLogger.dll) (in domain Mono, info) Assembly GodotTools.BuildLogger[0x14016a40] added to domain GodotEngine.Domain.Scripts, ref_count=1 (in domain Mono, info) Assembly Ref addref GodotTools[0xf408050] -> GodotTools.BuildLogger[0x14016a40]: 2 (in domain Mono, info) Loading reference 0 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.BuildLogger.dll asmctx DEFAULT, looking for mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) Assembly Ref addref GodotTools.BuildLogger[0x14016a40] -> mscorlib[0xf14b290]: 15 (in domain Mono, info) Loading reference 1 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Tools/GodotTools.BuildLogger.dll asmctx DEFAULT, looking for Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (in domain Mono, info) Assembly Ref addref GodotTools.BuildLogger[0x14016a40] -> Microsoft.Build.Framework[0x1412a380]: 3 (in domain Mono, info) Loading reference 0 of /home/godot/Pulpit/Godot_v3.2.1-stable_mono_x11_32/GodotSharp/Mono/lib/mono/4.5/Microsoft.Build.Framework.dll asmctx DEFAULT, looking for mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (in domain Mono, info) ``` **Steps to reproduce:** Attach this script (from test.cs.zip file) to the scene and run **Minimal reproduction project:** Script, i tried to run is here: [test.cs.zip](https://github.com/godotengine/godot/files/4809315/test.cs.zip)
bug,topic:dotnet
low
Critical
642,543,652
TypeScript
Build mode ignores inherited --pretty flag when run through lerna
<!-- 🚨 STOP 🚨 STOP 🚨 STOP 🚨 Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section! Please help us by doing the following steps before logging an issue: * Search: https://github.com/Microsoft/TypeScript/search?type=Issues * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ Please fill in the *entire* template below. --> <!-- Please try to reproduce the issue with the latest published version. It may have already been fixed. For npm: `typescript@next` This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly --> **TypeScript Version:** 39.4 <!-- Search terms you tried before logging this (so others can find this issue more easily) --> **Search Terms:** build pretty **"Code"** I am currently in the process of converting a project to a monorepo. Here I noticed that `tsc -b` seems to ignore the `--pretty` flag defined in a parent tsconfig when its run through lerna (with the stream flag set to true). The project is set up as follows `tsconfig.json`: pretty => true `tsconfig.build.json`: extends from tsconfig.json `package/package-name/tsconfig.build.json`: extends from `../../tsconfig.build.json` `package/package-name/package.json` defines the npm scripts ```json "scripts": { "prebuild": "gulp prebuild", "build": "tsc -b tsconfig.build.json", } ``` The pretty flag only works sometimes: If I manually execute `npm run build` in the package dir, the tsc output **is** pretty. If I execute `lerna run build --scope=package-name`, the tsc output is **NOT** pretty. If I execute `lerna exec --scope=package-name -- npm run build`, the tsc output **is** pretty. If I manually add the `--pretty` flag to the npm script (`"tsc -b tsconfig.build.json --watch --pretty"`), the tsc output **is** pretty in all the cases. Although this might be caused by lerna, I suspect this is actually a bug in TypeScript, because the `prebuild` output from `gulp` is colored (pretty) in all the cases I mentioned and manually adding the flag also works. **Expected behavior:** CLI output is "pretty" **Actual behavior:** It is not **Playground Link:** not applicable **Related Issues:** https://github.com/microsoft/TypeScript/issues/30282
Bug
low
Critical
642,553,919
go
x/mobile: function with alias type as argument or return value cannot be exported
<!-- Please answer these questions before submitting your issue. Thanks! For questions please use one of our forums: https://github.com/golang/go/wiki/Questions --> ### What version of Go are you using (`go version`)? <pre> $ go version go version go1.14.4 darwin/amd64 </pre> ### Does this issue reproduce with the latest release? Yes ### What operating system and processor architecture are you using (`go env`)? <details><summary><code>go env</code> Output</summary><br><pre> $ go env GOARCH="amd64" GOOS="darwin" </pre></details> ### What did you do? 1. Create a demo pkg at ~/go/src/demo 2. Add ~/go/src/demo/model/model.go ``` package model type IntSet struct { } ``` 3. Add ~/go/src/demo/demo.go ``` package demo import "demo/model" type IntSet = model.IntSet func NewIntSet() *IntSet { return new(IntSet) } ``` 4. Generate bindings `gomobile bind -target=ios demo` <!-- If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link on play.golang.org is best. --> ### What did you expect to see? Generate bindings: ``` @class DemoIntSet; @interface DemoIntSet ... ... FOUNDATION_EXPORT DemoIntSet* _Nullable DemoNewIntSet(void); ``` ### What did you see instead? ``` @class DemoIntSet; @interface DemoIntSet ... ... // skipped function NewIntSet with unsupported parameter or return types ``` I guess gobind doesn't use `demo.IntSet` as `demo.NewIntSet`'s return value type, still use `model.IntSet` which is not exported. To fix this issue, I have to define a new type like `type IntSet model.IntSet`, in this way, it requires to rewrite all methods because now `demo.IntSet` is a new type. This brings lots of work.
NeedsInvestigation,mobile
low
Critical
642,569,310
godot
Curve2D Get Closest Offset incorrect between final two baked points
**Godot version:** 3.2.2.rc2 **OS/device including version:** Linux Mint 18.3 Cinnamon 64-bit **Issue description:** Expectation: Get_closest_offset finds closest offset anywhere on path. Actual result: Get_closest_offset fails to correctly find closest offset between final two baked points. ![Curve2DGetOffsetBug_Screen](https://user-images.githubusercontent.com/64640811/85226507-be44bf00-b3cf-11ea-8535-ce256fdc1dc6.png) **Steps to reproduce:** - Download the attached project. There are three demo scenes, 2, 3 and 4. Both have a path that starts at the top and goes clockwise. Baked points are shown as red circles. - Run Demo2.tscn. - This is a demonstration of the issue in a real use case. Each frame, the sprite's offset along the path is calculated by passing its currrent position into get_closest_offset. That offset is then increased, and passed into interpolate_baked to position the sprite further along the path. - Use the up/down arrow keys to change the speed (hold shift to go faster). - Notice how (when going CW) the sprite gets stuck between the last two points. If you increase the speed it inches further, until it finally gets over. Going CCW the same happens in reverse. - Try moving the last point over the starting point to complete the loop. Now (when going CCW) the sprite appears to get stuck crossing the start (again, until you increase the speed). - Run Demo3.tscn (pictured above). - Use the mouse to control the blue sprite. The green sprite will be positioned at the closest point on the baked curve using get_closest_offset. - Try tracing the red line with the mouse. Notice how the green sprite tracks the mouse perfectly, except between the final two points, where the closer you get to the end, the more the sprite falls behind. - Run Demo4.tscn. - This demonstrates that get_closest_offset is at fault, and not interpolate_baked. The yellow sprite is positioned with a steadily increasing offset fed into interpolate_baked. Get_closest_offset is not used. Notice how the motion is as expected. **Minimal reproduction project:** [Curve2DGetOffsetBug.zip](https://github.com/godotengine/godot/files/4809512/Curve2DGetOffsetBug.zip) **Video:** [Curve2DGetOffsetBug_Videos.zip](https://github.com/godotengine/godot/files/4809517/Curve2DGetOffsetBug_Videos.zip) Or on youtube: [Demo2](https://youtu.be/NEk4hjDIvZQ), [Demo3](https://youtu.be/MYBGTcfSR9g), [Demo4](https://youtu.be/pFe-3vRNKGE)
bug,topic:core,confirmed
low
Critical
642,575,376
flutter
[animations] OpenContainer - Add closedElevationColor
<!-- Thank you for using Flutter! If you are looking for support, please check out our documentation or consider asking a question on Stack Overflow: * https://flutter.dev/ * https://api.flutter.dev/ * https://stackoverflow.com/questions/tagged/flutter?sort=frequent If you have found a bug or if our documentation doesn't have an answer to what you're looking for, then fill our the template below. Please read our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports --> ## Use case Currently `OpenContainer` has `closedElevation` which is elevation of the container while it is closed, but there's no option to change the color of it. By default it's black. ## Proposal In `_OpenContainerState`'s build widget we only set elevation's property at `Material` widget. If `shadowColor` property is not given, then by default it will be set to black. ```dart @override Widget build(BuildContext context) { return _Hideable( key: _hideableKey, child: GestureDetector( onTap: widget.tappable ? openContainer : null, child: Material( clipBehavior: Clip.antiAlias, color: widget.closedColor, elevation: widget.closedElevation, shadowColor: widget.closedElevationColor, /// This part is requested. shape: widget.closedShape, child: Builder( key: _closedBuilderKey, builder: (BuildContext context) { return widget.closedBuilder(context, openContainer); }, ), ), ), ); } ```
c: new feature,package,p: animations,team-ecosystem,P3,triaged-ecosystem
low
Critical
642,581,268
godot
class_name import Root Type breaks when script is moved
<!-- Please search existing issues for potential duplicates before filing yours: https://github.com/godotengine/godot/issues?q=is%3Aissue --> **Godot version:** <!-- Specify commit hash if using non-official build. --> 3.2.1.stable.custom_build.f0a489cf4 **OS/device including version:** <!-- Specify GPU model, drivers, and the backend (GLES2, GLES3, Vulkan) if graphics-related. --> Linux 5.6.15-arch1-1 **Issue description:** <!-- What happened, and what was expected. --> 1. Create a "MyClass.gd" with `class_name MyClass` 2. Create a scene in Blender, export to `.escn` 3. In the import settings, change the Root Type to `MyClass` 4. Create an interited `.tscn` from the `.escn` 5. Move "MyClass.gd" to a subfolder 6. Try to open the `.tscn` again 7. See error about "Broken dependencies" (you can't ctrl+c this BTW) **Steps to reproduce:** 1. Open the example 2. Move "MyClass.gd" to "new folder" 3. Open "Example.tscn" Note that Cube.gd is just attached to a node normally, and if you move that one, godot sorts out dependencies just fine. **Minimal reproduction project:** <!-- A small Godot project which reproduces the issue. Drag and drop a zip archive to upload it. --> [example.zip](https://github.com/godotengine/godot/files/4809690/example.zip)
bug,topic:core,usability,topic:import
low
Critical
642,587,805
pytorch
Tracking output dimensions of the convolutional layers
## πŸš€ Feature Tracking the current **dimensions of the output** during **convolution operations** which can be then used to specify the input dimensions for **first** linear layer. . ## Motivation I always get frustrated when it comes to specify the input dimensions for the first linear layer when I am using **convolutional layers** before that layer. I need to manually keep track of the dimensions. Or I need to run the code by putting some random value ( which may not be the expected value) for input to the linear layer and find out the correct value by looking at the error. ## Pitch Basic idea is to add a feature (a function) which can **keep track of the dimensions** and then use that function, by calling it, to **get the correct input size** ( for the first linear layer ). So that we don't have to keep track of the dimension ourselves. ## Alternatives Alternative solution would be to store these dimensions automatically ( similar to the automatic differentiation functionality ). ## Additional context I am ready to work on this feature for months and gain all the advance knowledge I need. cc @ezyang @bhosmer @smessmer @ljk53
module: internals,triaged
low
Critical
642,593,273
godot
AnimationTree seek nodes don't reset after preview in editor
**Godot version:** 3.2.1.stable.official **OS/device including version:** Ubuntu 18.04 **Issue description:** When adding a seek node to an AnimationNodeBlend in an AnimationTree, the value of the position parameter resets to `-1` after the initial seek (as it is supposed to), but when previewing this in the editor by toggling the `Active` property of the AnimationTree, the value does not reset; meaning any seek values that were setup need to be reconfigured every time the animation is previewed in the editor. **Steps to reproduce:** - Add an AnimationTree - Set the tree root to be an AnimationNodeBlend - Add an Animation node linked to a Seek node and set the position parameter to a positive value (e.g. 0.5) - Enable the Active property of the AnimationTree to start a preview of the animation in the editor - Disable the Active property of the AnimationTree to stop the preview After doing this, the seek parameter in the editor will remain at `-1` as per the screenshot below (meaning you would need to make note of the value of all seek nodes before previewing so they can be reconfigured): ![image](https://user-images.githubusercontent.com/49003204/85229620-b17d9680-b3e2-11ea-8541-a1bb5fdd1f68.png)
bug,topic:editor,topic:animation
low
Minor
642,597,085
TypeScript
Generic of abstract class should be inferrable from abstract property implemented in subclass
<!-- 🚨 STOP 🚨 𝗦𝗧𝗒𝗣 🚨 𝑺𝑻𝑢𝑷 🚨 Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Please help us by doing the following steps before logging an issue: * Search: https://github.com/Microsoft/TypeScript/search?type=Issues * Read the FAQ, especially the "Common Feature Requests" section: https://github.com/Microsoft/TypeScript/wiki/FAQ --> ## Search Terms - generic - abstract class - abstract property - type inference <!-- List of keywords you searched for before creating this issue. Write them down here so that others can find this suggestion more easily --> ## Suggestion, Use Case and Examples As of typescript 3.9.3, if I write a code like the following: ```ts abstract class SomeMapper<T extends string> { private someMap = new Map<number, T>(); protected abstract readonly rndText: T; getSome(num: number) { return this.someMap.get(num)!; } } function rndGender(): 'male' | 'female' { return Math.random() > 0.5 ? 'male' : 'female'; } class Gender extends SomeMapper<'male' | 'female' /* need to provide this explicitly */> { readonly rndText = rndGender(); constructor() { super(); } } const gen = new Gender(); const some = gen.getSome(1); ``` I have to make sure I always provide the generic to the SomeMapper class, and if I ever update the type of `rndText` in `Gender` class, I'll have to go and update the generic as well every time. The only way as of now to make this kinda auto-infer the generic, is to write it like this: ```ts class Gender extends SomeMapper<Gender['rndText']> { readonly rndText = rndGender(); constructor() { super(); } } ``` However this is not the most elegant way and can get very dirty with complicated type (for example [check this](https://www.typescriptlang.org/play/#code/IYIwzgLgTsDGEAJYBthjAgygewLYFMBZYABxPygB4AVBfADwnwDsATDSKAS2YHMA+BAG8AUAnEIS3AG7AmCMHiKkEAXgTN8AdwTESlZgFdcICgBoE1fgAoAlAG4xEqdibx8rBKE5xEUfMCs2MzIAJ4IyNi81AxMUABcCNYQjInUtmqC0thcrI5O4rz4EDgE1ka4iRWmUBmiEg0I-hCGUMwIEAAWXGAAdIoEer1FEOXGtgCEjg0AviJzAPQLlp34CEWa3LDrxRjY0hRIeCTIXLByHl5sCKxcUBDhzNhaIihoGADiLKyHsd8YpWUZAolAACsAYAQ4mBKF82BQANoAcki0T+UCRAF1+AiAAzY4QFJoBIIhcKomKMQ7qawbRJI3DAZD4JEIAA+CCRADN8IzmUiMqpBLBgopmb1UbSWA4RESRcxOIZ4NgoHZCY0JGBDORVTLZvNZfLIDt2upNDo4T9dY4jYgBmt1BthsVAdYAIwyoA)), and typescript should be able to do this on its own, similar to what it does with generics in functions. So the ideal behaviour should be simply like this: ```ts // Below line should not error: Generic type 'SomeMapper<T>' requires 1 type argument(s). // Should auto infer the generic from property rndText class Gender extends SomeMapper { readonly rndText = rndGender(); constructor() { super(); } } ``` ## Checklist My suggestion meets these guidelines: * [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code * [x] This wouldn't change the runtime behavior of existing JavaScript code * [x] This could be implemented without emitting different JS based on the types of the expressions * [x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.) * [x] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).
Suggestion,Awaiting More Feedback
low
Critical
642,597,310
flutter
PlatformException when trying to create flutter webview in existing app using FlutterFragment, Trying to create a platform view of unregistered type: plugins.flutter.io/webview
An error occurs when trying to create a **FlutterFragment** from a native android application: _MainActivity.java:_ ``` private void prepareButton(MainActivity context) { final String link = "http://flutter.dev"; mInvokeFlutterView = findViewById(R.id.invoke_flutter_view); mInvokeFlutterView.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { prepareEngine(link); } }); } private void prepareEngine(String link) { FragmentManager fragmentManager = getSupportFragmentManager(); if (fragmentManager != null) { flutterFragment = (FlutterFragment) fragmentManager .findFragmentByTag(TAG_FLUTTER_FRAGMENT); if (flutterFragment == null) { flutterFragment = FlutterFragment.withNewEngine() .initialRoute(link)Trace log:Trace log: .build(); fragmentManager .beginTransaction() .replace( R.id.flutter_view, flutterFragment, TAG_FLUTTER_FRAGMENT ) .commit(); } } } ``` _main.dart:_ ``` import 'dart:ui'; import 'package:flutter/material.dart'; import 'web_view_container.dart'; void main() { print ("main()->${window.defaultRouteName}"); runApp(chooseWidget(window.defaultRouteName)); } Widget chooseWidget(String url) { return FlutterActivityWrapper(url); } class FlutterActivityWrapper extends StatefulWidget { String _link; FlutterActivityWrapper(this._link); @override createState() => _FlutterActivityWrapperState(); } class _FlutterActivityWrapperState extends State<FlutterActivityWrapper> { @override void initState() { print('_FlutterActivityWrapperState.initState'); super.initState(); } @override Widget build(BuildContext context) { return MaterialApp( debugShowCheckedModeBanner: false, home: WebViewContainer(widget._link /*widget.__link*/), ); } } ``` _web_view_container.dart:_ ``` import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:webview_flutter/webview_flutter.dart'; import 'dart:async'; class WebViewContainer extends StatefulWidget { final url; WebViewContainer(this.url){ print ('WebViewContainer->$url'); } @override createState() => _WebViewContainerState(this.url); } class _WebViewContainerState extends State<WebViewContainer> { var _url; bool _progress = false; final _key = UniqueKey(); _WebViewContainerState(this._url); WebViewController _controller;webview_flutter: ^ 0.3.22 + 1 bool _enableJS = true; //true; final Completer<WebViewController> _controllerCompleter = Completer<WebViewController>(); @override void initState() { print('_WebViewContainerState.initState'); super.initState(); } Future<void> _onWillPop(BuildContext context) async { print("onwillpop"); if (await _controller.canGoBack()) { _controller.goBack(); } else { setState(() { _enableJS = false; }); SystemChannels.platform.invokeMethod<void>('SystemNavigator.pop'); return Future.value(false); } } @override Widget build(BuildContext context) { print ("_WebViewContainerState.build->$_url"); return WillPopScope( onWillPop: () => _onWillPop(context), child: Scaffold( appBar: AppBar( titleSpacing: 0.0, title: Row( mainAxisAlignment: MainAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.center, children: <Widget>[ IconButton( icon: Icon(Icons.keyboard_backspace), onPressed: () { _onWillPop(context); } ), Text ("FLUTTER WEB VIEW"), ] ), ), body: Column( children: [ Center( child: _progress ? new SizedBox( height: 64.0, width: 64.0, child: new CircularProgressIndicator( value: null, strokeWidth: 8.0, ), ) : SizedBox.shrink() ), Expanded( child: WebView( key: _key, javascriptMode: _enableJS ? JavascriptMode.unrestricted : JavascriptMode.disabled, initialUrl: _url, onWebViewCreated: _onWebViewCreated, onPageFinished: _onPageFinished, ) ) ], ), )); } void _onWebViewCreated(WebViewController controller) { print("------- OnWebViewCreated -------"); _controllerCompleter.future.then((value) => _controller = value); _controllerCompleter.complete(controller); setState(() { _progress = true; }); } void _onPageFinished(String url) { print("------- _onPageFinished -------"); setState(() { _progress = false; }); } } ``` Used by **webview_flutter: ^ 0.3.22 + 1** _Trace log:_ ``` I/flutter: main()->http://flutter.dev I/flutter: _FlutterActivityWrapperState.initState I/flutter: WebViewContainer->http://flutter.dev I/flutter: _WebViewContainerState.initState I/flutter: _WebViewContainerState.build->http://flutter.dev E/flutter: [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: PlatformException(error, java.lang.IllegalStateException: Trying to create a platform view of unregistered type: plugins.flutter.io/webview at io.flutter.plugin.platform.PlatformViewsController$1.createPlatformView(PlatformViewsController.java:97) at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:95) at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:59) at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:226) at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85) at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:631) at android.os.MessageQueue.nativePollOnce(Native Method) at android.os.MessageQueue.next(MessageQueue.java:326) at android.os.Looper.loop(Looper.java:170) at android.app.ActivityThread.main(ActivityThread.java:6991) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:884) , null) #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:569:7) #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:156:18) <asynchronous suspension> #2 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:329:12) #3 AndroidViewController._create (package:flutter/src/services/platform_views.dart:633:54) #4 AndroidViewController.setSize (package:flutter/src/services/platform_views.dart:550:14) #5 RenderAndroidView._sizePlatformView (package:flutter/src/rendering/platform_view.dart:175:29) #6 RenderAndroidView.performResize (package:flutter/src/rendering/platform_view.dart:156:5) #7 RenderObject.layout (package:flutter/src/rendering/object.dart:1746:9) #8 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13) #9 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7) #10 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13) #11 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7) #12 RenderFlex.performLayout (package:flutter/src/rendering/flex.dart:808:17) #13 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7) #14 MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:171:11) #15 _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:484:7) #16 MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:240:7) #17 RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:399:14) #18 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7) #19 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13) #20 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7) #21 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13) #22 _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1248:11) #23 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7) #24 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13) #25 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7) #26 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13) #27 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7) #28 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13) #29 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7) #30 RenderProxyBoxMixin.performLayout (packa ``` _Flutter doctor:_ ``` micrcx@micrcx-desktop:~/AndroidStudioProjects/TestFlutterView/web_viewer$ ./../../../flutter/bin/flutter doctor -v [βœ“] Flutter (Channel stable, v1.17.3, on Linux, locale en_IL) β€’ Flutter version 1.17.3 at /home/micrcx/flutter β€’ Framework revision b041144f83 (2 weeks ago), 2020-06-04 09:26:11 -0700 β€’ Engine revision ee76268252 β€’ Dart version 2.8.4 [βœ“] Android toolchain - develop for Android devices (Android SDK version 29.0.3) β€’ Android SDK at /home/micrcx/Android/Sdk β€’ Platform android-29, build-tools 29.0.3 β€’ Java binary at: /home/micrcx/android-studio/jre/bin/java β€’ Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593) β€’ All Android licenses accepted. [βœ“] Android Studio (version 4.0) β€’ Android Studio at /home/micrcx/android-studio β€’ Flutter plugin version 46.0.2 β€’ Dart plugin version 193.7361 β€’ Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593) [βœ“] VS Code (version 1.46.1) β€’ VS Code at /usr/share/code β€’ Flutter extension version 3.9.1 [βœ“] Connected device (1 available) β€’ LG H870 β€’ LGH870f90ccfe β€’ android-arm64 β€’ Android 9 (API 28) β€’ No issues found! ``` **PS.The detected error maybe is close to the bug https://github.com/flutter/flutter/issues/25714, but appears in a different context.** PPS. The most interesting thing is that the same code when using **FlutterActivity** is executed without problems.
c: crash,platform-android,a: existing-apps,a: platform-views,p: webview,package,has reproducible steps,P2,found in release: 2.2,found in release: 2.5,team-android,triaged-android
low
Critical
642,622,794
rust
Version mismatch between Rust's bundled musl libc and system musl may cause linking errors with native libraries
When attempting to compile a project using `jemallocator` on the [rust:1.44.1-alpine3.12](https://hub.docker.com/layers/rust/library/rust/1.44.1-alpine3.12/images/sha256-84783d5b9c9de0f38943e74d83eac5006728f5f3238ae73710ee519841629353?context=explore) container, linking fails with `jemalloc/src/jemalloc.c:700: undefined reference to 'secure_getenv'`. This error appears to caused by Alpine 3.12's system libc using `musl` v1.1.24, while [Rust is bundling `musl` v1.1.22 in `liblibc`](https://github.com/rust-lang/rust/blob/1.44.1/src/ci/docker/scripts/musl.sh#L27). `secure_getenv` was [added to `musl` in v1.1.24](https://git.musl-libc.org/cgit/musl/tree/WHATSNEW#n2127). `jemalloc`'s configure script detects that the function is available in `/usr/lib/libc.a`, but linking `jemalloc-sys` to `liblibc-2c7c7c631d98bf98.rlib` fails as that symbol is not present in the bundled `musl` v1.1.22. This problem does not occur with `rustc 1.46.0-nightly (f455e46ea 2020-06-20)` as the bundled `musl` has since [been upgraded to v1.1.24](https://github.com/rust-lang/rust/blob/349f6bfb11d73ebb6a272f9a3d00883484f8218c/src/ci/docker/scripts/musl.sh#L27). ```sh # rustc 1.44.1 (c7087fe00 2020-06-17) $ nm liblibc-2c7c7c631d98bf98.rlib | grep secure_getenv # rustc 1.46.0-nightly (f455e46ea 2020-06-20) $ nm liblibc-484d9d5b8731d696.rlib | grep secure_getenv secure_getenv.lo: 0000000000000000 T secure_getenv ``` I tried this code: **main.rs** ```rust #[global_allocator] static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc; fn main() { println!("Hello, world!"); } ``` **Cargo.toml** ```toml [package] name = "jemalloc-test" version = "0.1.0" edition = "2018" [dependencies] jemallocator = "0.3.2" ``` I expected to see this happen: I am able to successfully build my Rust program against `jemallocator` when using the `x86_64-unknown-linux-musl` toolchain. Instead, this happened: Linking fails with error: ``` $ cargo build Compiling jemalloc-sys v0.3.2 Compiling jemallocator v0.3.2 Compiling jemalloc-test v0.1.0 (/builds/jemalloc-test) error: linking with `cc` failed: exit code: 1 | = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-Wl,--eh-frame-hdr" "-m64" "-nostdlib" "/usr/local/rustup/toolchains/1.44.1-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/crt1.o" "/usr/local/rustup/toolchains/1.44.1-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/crti.o" "-L" "/usr/local/rustup/toolchains/1.44.1-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib" "/builds/jemalloc-test/target/debug/deps/jemalloc_test-050cc2446a85ff95.1087d6qndg68890c.rcgu.o" "/builds/jemalloc-test/target/debug/deps/jemalloc_test-050cc2446a85ff95.1kvg0wjvhta83ld3.rcgu.o" "/builds/jemalloc-test/target/debug/deps/jemalloc_test-050cc2446a85ff95.1n71sjocmlbcmon6.rcgu.o" "/builds/jemalloc-test/target/debug/deps/jemalloc_test-050cc2446a85ff95.1xg437nr24obd7aj.rcgu.o" "/builds/jemalloc-test/target/debug/deps/jemalloc_test-050cc2446a85ff95.2dui9fjyjsndk8r7.rcgu.o" "/builds/jemalloc-test/target/debug/deps/jemalloc_test-050cc2446a85ff95.2wy03b0phibcju1j.rcgu.o" "/builds/jemalloc-test/target/debug/deps/jemalloc_test-050cc2446a85ff95.3voluc358azwt9b5.rcgu.o" "/builds/jemalloc-test/target/debug/deps/jemalloc_test-050cc2446a85ff95.4fd7yruqsunwarts.rcgu.o" "/builds/jemalloc-test/target/debug/deps/jemalloc_test-050cc2446a85ff95.xpgnzo2ky9bi8lg.rcgu.o" "-o" "/builds/jemalloc-test/target/debug/deps/jemalloc_test-050cc2446a85ff95" "/builds/jemalloc-test/target/debug/deps/jemalloc_test-050cc2446a85ff95.43ziwmxfggfxt0ho.rcgu.o" "-Wl,--gc-sections" "-no-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/builds/jemalloc-test/target/debug/deps" "-L" "/builds/jemalloc-test/target/debug/build/jemalloc-sys-714dd49d1b0c21a8/out/build/lib" "-L" "/usr/local/rustup/toolchains/1.44.1-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib" "-Wl,-Bstatic" "/builds/jemalloc-test/target/debug/deps/libjemallocator-5fbb8bbe4039c248.rlib" "/builds/jemalloc-test/target/debug/deps/libjemalloc_sys-5f5b441c50e8fbc2.rlib" "/builds/jemalloc-test/target/debug/deps/liblibc-2a90658ea36ddb59.rlib" "-Wl,--start-group" "/usr/local/rustup/toolchains/1.44.1-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-1e989660c7e0239b.rlib" "/usr/local/rustup/toolchains/1.44.1-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libpanic_unwind-d8f51de00a920e83.rlib" "/usr/local/rustup/toolchains/1.44.1-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libhashbrown-5da8b29606049f2e.rlib" "/usr/local/rustup/toolchains/1.44.1-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc_std_workspace_alloc-45709aa0b2aa6591.rlib" "/usr/local/rustup/toolchains/1.44.1-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libbacktrace-adb67d3710b6e7c3.rlib" "/usr/local/rustup/toolchains/1.44.1-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libbacktrace_sys-7ef0bf860ae4794b.rlib" "/usr/local/rustup/toolchains/1.44.1-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc_demangle-24976b1c64c2eb52.rlib" "/usr/local/rustup/toolchains/1.44.1-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libunwind-8bfad4e4aaac5889.rlib" "/usr/local/rustup/toolchains/1.44.1-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libcfg_if-967450a8cca946f9.rlib" "/usr/local/rustup/toolchains/1.44.1-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/liblibc-2c7c7c631d98bf98.rlib" "/usr/local/rustup/toolchains/1.44.1-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/liballoc-2f3283fe87bacf1c.rlib" "/usr/local/rustup/toolchains/1.44.1-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc_std_workspace_core-930355d52951d06e.rlib" "/usr/local/rustup/toolchains/1.44.1-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libcore-8ff867d27d5a1b9e.rlib" "-Wl,--end-group" "/usr/local/rustup/toolchains/1.44.1-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libcompiler_builtins-3270e1187f690bd6.rlib" "-Wl,-Bdynamic" "-lpthread" "-static" "/usr/local/rustup/toolchains/1.44.1-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/crtn.o" = note: /usr/lib/gcc/x86_64-alpine-linux-musl/9.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: /builds/jemalloc-test/target/debug/deps/libjemalloc_sys-5f5b441c50e8fbc2.rlib(jemalloc.pic.o): in function `jemalloc_secure_getenv': /builds/jemalloc-test/target/debug/build/jemalloc-sys-714dd49d1b0c21a8/out/build/../jemalloc/src/jemalloc.c:700: undefined reference to `secure_getenv' collect2: error: ld returned 1 exit status error: aborting due to previous error error: could not compile `jemalloc-test`. ``` ### Meta `rustc --version --verbose`: ``` rustc 1.44.1 (c7087fe00 2020-06-17) binary: rustc commit-hash: c7087fe00d2ba919df1d813c040a5d47e43b0fe7 commit-date: 2020-06-17 host: x86_64-unknown-linux-musl release: 1.44.1 LLVM version: 9.0 ``` This may have the same root cause as #61328, though only one symbol is missing in this case. I don't know if there's a way to prevent this, but a warning would be useful it the version mismatch can be detected. I also didn't come across any documentation on how Rust bundles its own `libc` other than notes in issues. Is this specific to the `musl` toolchain? It would be useful to have this noted somewhere, perhaps in the [2018 edition notes](https://doc.rust-lang.org/edition-guide/rust-2018/platform-and-target-support/musl-support-for-fully-static-binaries.html).
A-linkage,O-musl,C-bug
low
Critical
642,637,532
excalidraw
Collaborator state changes do not always cause re-render
Collaborator state changes do not always cause a re-render when it should. An example of this is when a collaborator joins, the original user wont see their avatar until they do an action themselves like clicking the canvas (causing a re-render). Haven't investigated too much but this is probably due to the state using an ES6 Map, which is mutating. A possible solution might be to update this to a standard hash object and update the state in an immutable fashion.
bug,collaboration
low
Minor
642,659,843
go
cmd/go: get incorrectly rejects go-import/go-source meta tags with unquoted name attr
<!-- Please answer these questions before submitting your issue. Thanks! For questions please use one of our forums: https://github.com/golang/go/wiki/Questions --> ### What version of Go are you using (`go version`)? <pre> $ go version go version go1.14.4 linux/amd64 </pre> ### Does this issue reproduce with the latest release? Yes. ### What operating system and processor architecture are you using (`go env`)? <details><summary><code>go env</code> Output</summary><br><pre> $ go env GOARCH="amd64" GOBIN="/home/user/bin" GOCACHE="/home/user/.cache/go-build" GOENV="/home/user/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/home/user" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/home/user/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/home/user/go/pkg/tool/linux_amd64" GCCGO="gccgo" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="/dev/null" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build389226641=/tmp/go-build -gno-record-gcc-switches" </pre></details> ### What did you do? <!-- If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link on play.golang.org is best. --> This issue affecting us has been fixed via a workaround, so I can't post a working reproducer, but the previously it could have been replicated by doing the following. `GOPROXY=direct go get gonum.org/v1/gonum` ### What did you expect to see? Downloading the module. ### What did you see instead? ``` $ GOPROXY=direct go get gonum.org/v1/gonum go get gonum.org/v1/gonum: unrecognized import path "gonum.org/v1/gonum": reading https://gonum.org/v1/gonum?go-get=1: 404 Not Found ``` ### Additional information This was brought to [golang-nuts](https://groups.google.com/d/msg/golang-nuts/1kewLH-Vack/dDyuAW5_BwAJ) and [Gophers' slack](https://gophers.slack.com/archives/C029RQSEE/p1592699134083700) where the issue was suggested to be that the the name attribute of the meta tag was unquoted. Ensuring that the attribute remains quoted did resolve [the superficial issue](https://github.com/gonum/website/issues/9), however on [raising this with the author of the minifier that removes the quotes](https://github.com/tdewolff/minify/issues/309) (a dependency of hugo), the quotes are apparently not required. This is confirmed by checking the following html [here](https://validator.w3.org/nu/#textarea) (note that go-import is not quoted). ``` <!doctype html><html lang=en-us> <head> <meta name=go-import content="domain.tld git https://github.com/domain/pkg"> <title>Title</title> </head> ``` Also ref gohugoio/hugo#7415
NeedsFix
low
Critical
642,703,455
vscode
View undo/redo history visually or an indicator or a counter
Dear VSCode, Thank you very much for this project. Although, the feature we might need is the Undo/Redo `history` like in the VS2019 or Photoshop, for example: | Visual Studio 2019 | Photoshop | |:-:|---| | ![image](https://i.imgur.com/NOyJ37s.png)| ![](https://i.imgur.com/LMUv2pn.png) | or at least colored/highlighted `buttons`(without any history list) or `counters` (these numbers below show the number of `Undo`ings the coder did (or number of `Redo` available to restore)): ![](https://i.imgur.com/IxhaFfi.png) or an `indicator` if any **Redo** is available. The reason of this request is that without it the VSCode forces you to recheck if any edits have undone after returning to the project by clicking `Ctrl+Shift+Z`/`Ctrl+Y` and `Ctrl+Z` repeatedly etc. to **ensure** and not lose the undo/redo history by an accident. In short, the there are 3 ways to implement. ``` 1. The Undo/Redo history window(like on 1 picture above) 2. A global or per file Redo available counter(like on 2 picture above) 3. A global or per file Redo indication (Redo exists or not) ``` Just, imagine a situation: ``` You are coding a big code. 1. Ctrl+Z in one file so to view some code you rewrote. 2. Open/View different file. 3. Forget that you Undo first one 4. Return to first one 5. Write 1 char or reformat/beatify it accidentally 6. The whole Redo history of first file is **GONE** ... oops (what if full block of such or even more?!) ``` So, this request might eliminate this problem. It might be already nearly implemented: The `Undo/Redo` might already is stored in some `object map` or such, so just iterate through and do stuff. I.e. show the map in list or length of each `map` per file. Interesting [link](http://www.dr-qubit.org/undo-tree.html) which shows how might Emacs have such "feature". Best regards
feature-request,undo-redo
high
Critical
642,797,039
vscode
Git - git sync issue on an empty repo
- VSCode Version: 1.46.1 - OS Version: macOS 10.15.5 Steps to Reproduce: ```sh # create empty repo test1 git clone https://.../test1.git test1_01 git clone https://.../test1.git test1_02 cd test1_01 code ./ # add 1.txt -> commit -> sync cd ../test1_02 code ./ # click sync: I expect changes will be synced ```
bug,help wanted,git
low
Major
642,888,709
excalidraw
Export PDF
### Feature: At the moment, when we export something, it's usually in the form of an image or an SVG. What I'm proposing is an extra option of exporting it to PDF. ### Suggestion: The transformation from SVG to PDF isn't that complicated, this feature shouldn't cause too much overhead to implement if you just transform the SVG into PDF format.
enhancement,pdf
medium
Critical
642,898,377
flutter
[macos] Transparent FlutterViewController
I am trying to make a transparent app in macOS but the Flutter view has a black background I can't remove. I set the window and the view within the view controller to have a red background but it still shows black ```swift class MainFlutterWindow: NSWindow { override func awakeFromNib() { let flutterViewController = FlutterViewController.init() flutterViewController.view.layer?.backgroundColor = CGColor(red: 1, green: 0, blue: 0, alpha: 1.0); self.backgroundColor = .red; let windowFrame = self.frame self.contentViewController = flutterViewController self.setFrame(windowFrame, display: true) super.awakeFromNib() } } ``` Probably because FlutterView is set to be Opaque here [FlutterView.mm#L47](https://github.com/flutter/engine/blob/c3e9c14586566ae1afc28c560176e74f0af65c29/shell/platform/darwin/macos/framework/Source/FlutterView.mm#L47)
c: new feature,engine,platform-mac,customer: crowd,a: desktop,P3,team-macos,triaged-macos
high
Critical
642,927,412
ant-design
Select menu should overlap trigger as little as possible
## Reproduce Reproduce: https://codesandbox.io/s/wizardly-dawn-5fukg?file=/index.js or https://codesandbox.io/s/delicate-shape-e35hq?file=/index.js <img width="645" alt="image" src="https://user-images.githubusercontent.com/507615/85273690-7fd30100-b4b0-11ea-9318-88fb1343db94.png"> <img width="662" alt="image" src="https://user-images.githubusercontent.com/507615/85273698-83ff1e80-b4b0-11ea-9ef0-8cc836f2fc82.png"> <img width="649" alt="image" src="https://user-images.githubusercontent.com/507615/85274864-1ce26980-b4b2-11ea-922d-3886a7ae98b8.png"> <img width="412" alt="image" src="https://user-images.githubusercontent.com/507615/85274761-f7556000-b4b1-11ea-9d51-eda1398b4765.png"> The dropdown menu will overlap select trigger, **user cannot input any text now**. ## Solution 1. When **there is space** for dorpdown menu in popup container, show dropdown menu just below(or upon) the select trigger. <img width="658" alt="image" src="https://user-images.githubusercontent.com/507615/85274159-29b28d80-b4b1-11ea-83a0-eae56a991f3b.png"> <img width="657" alt="image" src="https://user-images.githubusercontent.com/507615/85274827-0fc57a80-b4b2-11ea-9983-7b0616282fe1.png"> 2. When **there isn't space** for dorpdown menu in popup container, reduce dropdown menu `max-height`. <img width="262" alt="image" src="https://user-images.githubusercontent.com/507615/85274488-9af24080-b4b1-11ea-8d57-0e8764d4e041.png"> <img width="285" alt="image" src="https://user-images.githubusercontent.com/507615/85274413-7b5b1800-b4b1-11ea-8c4b-3faad0b4e031.png"> 3. Also we should provide `autoAdjustOverflow: boolean` to Select, allow to turn off auto adjust feature. Like Tooltip's `autoAdjustOverflow`: https://github.com/ant-design/ant-design/pull/6661 ## Related issues: - #12402: [select with search enabled] select dropdown menu is misplaced and will overlap the input component - #12070: Provide prop `autoAdjustOverflow` to turn off automatic adjust popup placement when popup is off screen
Inactive,improvement
low
Major
642,934,294
flutter
Too many different d: unknown option: -target error when anaconda is also installed
Hi, I am trying to build my ios for submission but suprisingly when I build from xcode and run on my phone or emulator no error. Then I go to visual code terminal and run this command flutter build ios --release --no-codesign I get few different error example some times is this ``` Xcode's output: ↳ ld: unknown option: -target location_permissions-coaigneefjjdkbaiiroewrsqusfe note: Using new build system note: Building targets in parallel note: Planning build note: Constructing build description warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 4.3, but the range of supported deployment target versions is 8.0 to 13.5.99. (in target 'OneSignal' from project 'Pods') ``` Then I run flutter clean then again I run build command I get this error ``` Xcode's output: ↳ ld: unknown option: -target Pods-OneSignalNotificationServiceExtension-coaigneefjjdkbaiiroewrsqusfe note: Using new build system note: Building targets in parallel note: Planning build note: Constructing build description warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 4.3, but the range of supported deployment target versions is 8.0 to 13.5.99. (in target 'OneSignal' from project 'Pods') ``` So how to resolve this issue of this ios build
c: crash,platform-ios,tool,P3,team-ios,triaged-ios
medium
Critical
643,029,348
pytorch
[discussion] Expressing tensor dimension semantics / constraints through typing / constraints blocks. Constraints block could be scripted/traced and help for tracing/script execution and codegen
Editor's note: See https://github.com/pytorch/pytorch/issues/26889 for direct type system approaches. This issue is to discuss use of `assert` to direct type refinement, either in mypy, or also in TorchScript. ---- It could be nice to be able to type arguments e.g. as `torch.Tensor['BCHW']` or `torch.Tensor['*C']` or `torch.LongTensor['?2']` even for user code self-documentation purposes (e.g. like one can specify dimension semantics when exporting to ONNX). Typing information may come in different forms: maybe even some generic API for expressing frequent constraints such as "two tensors should have same first dimensions", "these two tensors should have exactly same shapes" or "these two two tensors should have broadcastable shapes". I understand that expressing these different constraints may be a difficult task, but maybe this was already tackled somehow in functional programming community (parametrized types) and ["design by contract"](https://en.wikipedia.org/wiki/Design_by_contract) paradigm (e.g. Code Contracts integrated in C# language). Maybe some reduced / concise way that is already useful can be found **UPD**: It would also be nice to trace/script these constraints and use them for codegen and execution to eliminate unneccessary checks and select better kernels. "expressing shaping information a bit similar to #40373. E.g. allowing tracing some constraints like assert size(X, 1) == size(Y, 2) and size(X, 2) == 64 and ndim(Z) == 3 etc and then using them for compilation/optimization (in my example in #40373 I annotate tensors with strings like BTC and BC and then check that similarly named dimensions of different tensors agree)" cc @ezyang @bhosmer @smessmer @ljk53
module: internals,feature,triaged
medium
Critical
643,065,142
terminal
ITerm2-like terminal autocomplete
# Description of the new feature/enhancement Provide autocomplete by the terminal (not the shell) based on previous output (comparable to the iTerm2 'Autocomplete' feature described [here](https://www.iterm2.com/features.html#autocomplete)). ![inShell](https://user-images.githubusercontent.com/934246/85293467-a89dcb00-b49d-11ea-923f-fbc80b9461ae.png) This feature does not require any knowledge about the current command but works just by inspecting the existing output as shown by the terminal. It uses the word currently being typed (based on the output and the cursor position) to provide autocompletion proposals. Therefore, it is independent of the shell and works also for other console applications that allow input, e.g., editors. ![inNano](https://user-images.githubusercontent.com/934246/85293548-ce2ad480-b49d-11ea-9597-602144e17e4f.png) A request for this feature has been mentioned [here]( https://github.com/microsoft/terminal/issues/3121#issuecomment-581756164) but I don't think it has been recognised as a different feature from the issue it was mentioned in. # Proposed technical implementation details A possible approach could be based on a set of characters that separate words. First, identify the currently typed word by going backward from the cursor to the first non-word character. Second, perform a backwards search for words with the same prefix (and stop after a certain number of proposals or amount of text searched to ensure quick and helpful feedback). Note that in the iTerm2 implementation 'word' encompasses a whole path, i.e., both `/` and `\` are treated as a word character, which I found very helpful. [edited to highlight treatment of paths]
Issue-Feature,Area-TerminalControl,Area-Extensibility,Product-Terminal
medium
Major
643,096,056
go
go/ast: unexpected associations for comments in empty function/loop bodies
Comments that are placed inside empty function or loop bodies are associated with statements after the body, hence statements outside of the scope the comments are in. I would expect them to be associated with the function or loop declaration. This snipped demonstrates the issue: package main func main() { } func foo() { // inside empty function, associated with function bar below } func bar() { i := 1 for i < 2 { // inside empty for, associated with if i == 3 } // after empty for loop, this, however, is associated with for loop above if i == 3 { // inside empty if, associated with i = 4 } i = 4 } And here you can find code to reproduce the issue: https://play.golang.org/p/m4j-OTbdi-L As @griesemer mentioned in #20744, the comment association heuristic is not straight forward to implement. Thus, I am wondering whether the above shown associations are intentional or whether this is a bug. Thanks for the clarification! <pre> $ go version go version go1.14.2 darwin/amd64 </pre> <details><summary><code>go env</code> Output</summary><br><pre> $ go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/Users/.../Library/Caches/go-build" GOENV="/Users/.../Library/Application Support/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOINSECURE="" GONOPROXY="" GONOSUMDB="" GOOS="darwin" GOPATH="/Users/.../go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr/local/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64" GCCGO="gccgo" AR="ar" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="/Users/.../go.mod" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/yb/hqncynqs0b5_3hyxcjpdsyr00000gr/T/go-build447564702=/tmp/go-build -gno-record-gcc-switches -fno-common" </pre></details>
NeedsInvestigation
low
Critical
643,170,954
flutter
create a json metadata file with the available options to `flutter create`
There is a discussion about refactoring the `flutter create` command to use sub-commands (`flutter create plugin`, `flutter create app`, ...) instead of options (`flutter create --template plugin`, `flutter create --template app`, ...). If we do something like this, the IDEs will need to be updated to know about the new invocation style. We have an opportunity to improve the general integration of IDEs with `flutter create` here. For the new `flutter create` command: - IDEs will need to know the min SDK version that supports the refactored command - and will need to update the various wizard pages for the new commands and options; that info if currently hard-coded in the UIs I'd like to move off of a hard-coded solution. We can't currently query `flutter create` for the options as the initial run of the flutter tool could be very long - on the order of minutes. That wouldn't work for a project wizard style UI. Instead, we could do something like have the available flutter create options encoded in a json file in the Flutter SDK. That file could be validated on every commit, so you know it wouldn't get out of date with the create options. The workflow could then be: - user installs the flutter plugin (in IntelliJ or VS Code) - they select 'create new project' - we show a page, where the user can optionally install the flutter sdk - that gets provisioned to disk - we query the metadata json file in the sdk to see what the options to `flutter create` are - we display additional wizard pages, based on the types of projects available - after the user selection, we then call `flutter create foo_bar`; that may cause additional parts of the flutter sdk to be downloaded (but these slow parts can happen in a progress dialog or similar) cc @jonahwilliams @stevemessick @DanTup @cyanglaz
tool,P3,team-tool,triaged-tool
low
Major
643,182,191
flutter
Navigator.popUntil shows intermediate pages during animation
## Steps to Reproduce 1. Have an app setup with bottom navigation, where each page is nested in its own `Navigator`. For example: ``` dart import 'dart:math'; import 'package:flutter/material.dart'; void main() { runApp(MyApp()); } class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: ThemeData( primarySwatch: Colors.blue, visualDensity: VisualDensity.adaptivePlatformDensity, ), home: MyHomePage(), ); } } class MyHomePage extends StatefulWidget { MyHomePage(); @override _MyHomePageState createState() => _MyHomePageState(); } class _MyHomePageState extends State<MyHomePage> { var _navKey = GlobalKey<NavigatorState>(); @override Widget build(BuildContext context) { return Scaffold( body: Navigator( key: _navKey, onGenerateRoute: (settings) => MaterialPageRoute( settings: settings, builder: (context) => Page(), ), ), bottomNavigationBar: BottomNavigationBar( currentIndex: 0, items: [ BottomNavigationBarItem( icon: Icon(Icons.home), title: Text("Home"), ), BottomNavigationBarItem( icon: Icon(Icons.map), title: Text("Map"), ), ], ), ); } } class Page extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( body: Container( color: Color((Random().nextDouble() * 0xFFFFFF).toInt()) .withOpacity(1.0), child: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ RaisedButton( child: Text("Next"), onPressed: () => Navigator.of(context).push(MaterialPageRoute( builder: (context) => Page()), ), ), RaisedButton( child: Text("Pop all"), onPressed: () => Navigator.of(context).popUntil((route) => route.isFirst), ), ], ), ), ), ); } } ``` 2. Run in an iOS simulator (the issue is more obvious with default iOS push animations, but exists on Android) 3. Enable slow animations in Flutter Inspector (not required, but makes the issue easier to see) 4. Click "Next" a few times to add pages to the `Navigator` 5. Click "Pop all" **Expected results:** Only the top-most page is visible during the "pop" animation. **Actual results:** <!-- what did you see? --> All intermediate pages are visible during the "pop" animation. Example: ![ezgif com-video-to-gif](https://user-images.githubusercontent.com/272996/85306445-7b8cf080-b47c-11ea-84cd-45b94ee04dee.gif) <details> <summary>Logs</summary> Code tags did not work (were interrupted several times), so here's a pastebin of `flutter run --verbose` : [https://pastebin.com/qUE1tJEv](https://pastebin.com/qUE1tJEv) ``` cadair-macbook:pop_until_bug cadair$ flutter analyze Analyzing pop_until_bug... No issues found! (ran in 2.6s) ``` ``` cadair-macbook:pop_until_bug cadair$ flutter doctor -v [βœ“] Flutter (Channel master, 1.20.0-1.0.pre.132, on Mac OS X 10.15.5 19F101, locale en-CA) β€’ Flutter version 1.20.0-1.0.pre.132 at /Volumes/ESSD/Workplace/sdks/flutter β€’ Framework revision 5995661777 (3 days ago), 2020-06-19 16:15:58 -0700 β€’ Engine revision 676cd566f7 β€’ Dart version 2.9.0 (build 2.9.0-17.0.dev 7e72c9ae7e) [βœ“] Android toolchain - develop for Android devices (Android SDK version 29.0.0) β€’ Android SDK at /Volumes/ESSD/Workplace/sdks/android β€’ Platform android-29, build-tools 29.0.0 β€’ ANDROID_HOME = /Volumes/ESSD/Workplace/sdks/android β€’ Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java β€’ Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405) β€’ All Android licenses accepted. [βœ“] Xcode - develop for iOS and macOS (Xcode 11.5) β€’ Xcode at /Applications/Xcode.app/Contents/Developer β€’ Xcode 11.5, Build version 11E608c β€’ CocoaPods version 1.8.3 [βœ“] Chrome - develop for the web β€’ Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [βœ“] Android Studio (version 3.5) β€’ Android Studio at /Applications/Android Studio.app/Contents β€’ Flutter plugin version 38.2.3 β€’ Dart plugin version 191.8423 β€’ Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405) [βœ“] IntelliJ IDEA Ultimate Edition (version 2018.1.1) β€’ IntelliJ at /Applications/IntelliJ IDEA.app β€’ Flutter plugin version 24.2.2 β€’ Dart plugin version 181.4445.29 [!] VS Code (version 1.46.0) β€’ VS Code at /Applications/Visual Studio Code.app/Contents βœ— Flutter extension not installed; install from https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter [βœ“] Connected device (3 available) β€’ iPhone 11 Pro β€’ F1E292A0-A407-45E2-8E01-6C70244B936C β€’ ios β€’ com.apple.CoreSimulator.SimRuntime.iOS-13-5 (simulator) β€’ Web Server β€’ web-server β€’ web-javascript β€’ Flutter Tools β€’ Chrome β€’ chrome β€’ web-javascript β€’ Google Chrome 83.0.4103.106 ! Doctor found issues in 1 category. ``` </details>
platform-ios,framework,a: animation,f: routes,has reproducible steps,P2,found in release: 3.3,found in release: 3.7,team-ios,triaged-ios
low
Critical
643,191,359
ant-design
Setting header impossible for the expandIcon-s column
- [x] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate. ### What problem does this feature solve? * [x] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate. ### Reproduction link ![Edit on CodeSandbox](https://camo.githubusercontent.com/416c7a7433e9d81b4e430b561d92f22ac4f15988/68747470733a2f2f636f646573616e64626f782e696f2f7374617469632f696d672f706c61792d636f646573616e64626f782e737667) (https://codesandbox.io/s/l2rdq) ### Steps to reproduce open link above (or see on the official documentation [https://ant.design/components/table/#components-table-demo-expand] ). And note that first special "[ ] column" hasn't any header. ### What is expected? When designing an "AntD Table expandable" following API on [https://ant.design/components/table/#components-table-demo-expand] i get a PLUS [ ] icon-button drawn beside the row i want to expand the details for (following the API props like expandable={{expandedRowRender: .... }} The icon-buttons are put in an autonomous column: i would like customize the column with an explicative ad-hoc Header! ### What is actually happening? AntD doesn't provide APIs for customizing the column with an explicative ad-hoc Header (like EXPAND FOR DETAILS) A terrible (and graphic) solution could be seen with a Header DETAILS on https://codesandbox.io/s/sleepy-hermann-up8qf?file=/index.css:0-83 with an ad-hoc CSS, lacking of elegance and scalability and dangerously connected to the current inner architecture...but you can see the graphic result and test better solutions thanks to CodeSandBox. Environment Info antd 4.3.4 React 16.13.1a System windows 10 Browser chrome 83 ### What does the proposed API look like? AntD doesn't provide APIs for customizing the column with an explicative ad-hoc Header (like EXPAND FOR DETAILS) Similarly to expandIcon Customize row expand Icon. Ref example Function(props):ReactNode - and coherent to naming like expandIconColumnIndex, **I would propose** expandIconColumnHeader Customize expand Icons column header. Function(props):ReactNode See also https://codesandbox.io/s/sleepy-hermann-up8qf?file=/index.css:0-83 <!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
πŸ’‘ Feature Request,Inactive
low
Major
643,204,461
go
cmd/compile: unnecessary bounds check in a loop passed as a closure
<!-- Please answer these questions before submitting your issue. Thanks! For questions please use one of our forums: https://github.com/golang/go/wiki/Questions --> ### What version of Go are you using (`go version`)? <pre> $ go version go version go1.13.10 darwin/amd64 </pre> ### Does this issue reproduce with the latest release? Yes, using `amd64 gc (tip)` on go.godbolt.org. ### What operating system and processor architecture are you using (`go env`)? <details><summary><code>go env</code> Output</summary><br><pre> $ go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/Users/jordan/Library/Caches/go-build" GOENV="/Users/jordan/Library/Application Support/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GONOPROXY="" GONOSUMDB="" GOOS="darwin" GOPATH="/Users/jordan/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr/local/Cellar/[email protected]/1.13.10_1/libexec" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/local/Cellar/[email protected]/1.13.10_1/libexec/pkg/tool/darwin_amd64" GCCGO="gccgo" AR="ar" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/kz/_525lwtd4f7cxsb_qzwp0mv00000gn/T/go-build573559598=/tmp/go-build -gno-record-gcc-switches -fno-common" </pre></details> ### What did you do? I loaded the following program into go.godbolt.org: ``` package foo func run(f func ()) { f() } func foo(c []int64, n int, v int64) { run(func() { _ = c[n-1] for i := 0; i < n; i++ { c[i] = v } }) } ``` https://go.godbolt.org/z/iPaz7f ### What did you expect to see? I expected that the bounds check for `c[i]` would be eliminated because of the early bounds check triggered by `c[n-1]`, the way that it would if the inner loop wasn't sent as a closure to `run`. This should be possible because `c` doesn't get assigned to within the closure. ### What did you see instead? The compiler emits a bounds check for `c[i]`.
Performance,NeedsInvestigation,compiler/runtime
low
Critical
643,207,720
svelte
Store is not being updated synchronously / store value is incorrect
**Describe the bug** Store value is not up-to-date if using a `$` subscription inside a subscription function. **To Reproduce** 1. Open [this REPL](https://svelte.dev/repl/a1110f77ded84950b2706760713cdf51?version=3.23.2). 2. Open your browser console. 3. Click on "Increment" a few times. 4. Click on "Cause reset". 5. Check your console. For a real life example look at [this REPL](https://svelte.dev/repl/62bcce156ab948b69a8dae228fd73d13?version=3.23.2). ![image](https://user-images.githubusercontent.com/6671521/85380947-2cab8d80-b546-11ea-816d-e38cb39281d2.png) **Expected behavior** Value should be in sync. **Severity** Blocking
bug
medium
Critical
643,217,974
pytorch
Add batched torch.combinations
## πŸš€ Feature I would like `torch.combinations` to support a batch of vectors. So, the signature would change from: `torch.combinations(input, r=2, with_replacement=False)` to `torch.combinations(input, r=2, with_replacement=False, dim=0)`. For example, if the input tensor has shape `[n, d]` and `dim=0`, the resulting tensor would have shape `[n', d, r]`. The dimension with number of elements per combination (i.e. `r`) is added to the end. The value of `n'` depends on `with_replacement` (e.g. would be n choose r in the case of `with_replacement=False`). ## Motivation I have a tensor of n samples with d features each. I am interested in computing the Hodges-Lehmann estimate of the median on each feature (independently). I am not sure how to do this efficiently right now, but with the proposed addition, it would just be the following: ```python matrix = .... # n x d tensor medians = torch.combinations(matrix).mean(-1).median(0).values ``` I'm sure there are many other use cases for this as well. ## Alternatives If there is an efficient way to accomplish this with the current available methods, please let me know as it would make this feature request unnecessary. The semantics on the default dimension and where the extra dimension is added could also changed based on convenience/efficiency concerns.
triaged,enhancement,module: batching,function request
low
Major
643,253,449
godot
Intensive CPU/GPU usage when displaying animated content in the editor scene
___ ***Bugsquad note:** This issue has been confirmed several times already. No need to confirm it further.* ___ <!-- Please search existing issues for potential duplicates before filing yours: https://github.com/godotengine/godot/issues?q=is%3Aissue --> **Godot version:** - 3.2.1.stable.official - 3.2.2.rc3 **OS/device including version:** <!-- Specify GPU model, drivers, and the backend (GLES2, GLES3, Vulkan) if graphics-related. --> - OS: macOS Catalina 10.15.5 - Hardware: - macbook Pro 13' 2015 + Intel Iris Graphics 6100 + 8 GB RAM + i5 Dual Core - macbook Pro 13' 2018 + Intel Iris Plus Graphics 655 + 16 GB RAM + i5 Quad Core **Issue description:** When using AnimatedTexture(s) the editor seems to put a lot of load in the CPU, whose fans start to work intensively (they can become very loud in both macs). As you can see in the following GIF, the CPU usage is around 20% and GPU ~35% even if the IDE is idle: ![Jun-22-2020 19-00-46](https://user-images.githubusercontent.com/122741/85317955-81f08c00-b4bf-11ea-80b6-f5c60db50285.gif) I don't know if this is a CPU or GPU issue. You can also see that the Idle Wake-ups are higher than normal (I don't know if that's some indicator for this issue). Only when the node having the animations is hidden, the hardware load starts to normalize. This is maybe related to https://github.com/godotengine/godot/issues/30115 , but I am not sure, that's why I created this ticket. **Steps to reproduce:** - Create a new project (2D, GLES3) - Create a new AnimatedTexture with some frames, assigning images to them. - Use it in a new TileSet resource (not sure if this is related or not), as single tile. - Draw some tiles in a new TileMap node, using the animated tile you created. - Wait some minutes with the IDE playing the animations of your animated tiles // or continue working with the IDE and the scene having the animations. **This issue only affects the IDE. The game itself doesn't seem to have this problem when running.** **Minimal reproduction project:** <!-- A small Godot project which reproduces the issue. Drag and drop a zip archive to upload it. --> [godot-issue-39758.zip](https://github.com/godotengine/godot/files/4814789/godot-issue-39758.zip) PS: Would be nice and convenient to be able to stop playing animated textures (or animations in general) in the IDE. A button or a checkbox in the menu or in the IDE settings.
bug,topic:editor,confirmed,performance
high
Critical
643,259,663
flutter
Web engine: audit `List<Foo?>` usages after NNBD syntax migration
Most element types in lists can be made non-null. However, the first pass (https://github.com/flutter/engine/pull/19172) left some of them nullable. We should follow-up and make them non-null where possible.
engine,platform-web,a: null-safety,P2,team-web,triaged-web
low
Minor
643,261,186
flutter
Switch frontend_server snapshot to Dart SDK vended version
The flutter/engine additions to the frontend_server are entirely gone at this point: https://github.com/flutter/engine/blob/master/flutter_frontend_server/lib/server.dart Now that the Dart SDK is building it, we could save some upload/download time and simplify the engine code base too. - [x] The Flutter CLI should stop using the flutter_frontend_server from the Engine build. - [ ] Remove internal usage: b/233000852, b/305121780 - [ ] Reland https://github.com/flutter/engine/pull/46863 and https://github.com/flutter/engine/pull/46842 - [ ] The Engine recipes should stop packaging the flutter_frontend_server (https://flutter-review.googlesource.com/c/recipes/+/30240) - [ ] The flutter_frontend_server should be removed from the Engine.
P2,c: tech-debt,team-engine,triaged-engine
low
Minor
643,294,667
rust
Support for ARMv8.3+ targets
Currently, a blocker in a project of mine - [Crabapple](https://github.com/Crabapple-iOS/Crabapple) - is the lack of native arm64e support in Rust. The `aarch64-apple-ios` target only emits arm64 (ARMv8) code, which will not work within an arm64e (ARMv8.3+) environment due to it's lack of awareness of Pointer Authentication, leading to segfaults when trying to access a signed pointer. It is currently possible to work around this, by using a backtrace=false rustc, compiling with `--emit=llvm-ir -Clto`, and running the resulting IR through an arm64e-aware LLVM (such as [apple/llvm-project](https://github.com/apple/llvm-project)). Pointer authentication may be worked around by [linking to an FFI function that runs ptrauth_strip](https://github.com/Crabapple-iOS/librustsupport/blob/master/library.m#L19-L22). This may require LLVM changes if done, and quite possibly a new target (`arm64e-apple-ios`, `aarch64-apple-ios-armv83`, etc)
A-LLVM,T-compiler,C-feature-request,C-tracking-issue,O-AArch64,O-apple
medium
Critical
643,321,831
go
x/tools/internal/stack: hyphenated identifiers not supported
### Does this issue reproduce with the latest release? Yes (verified by looking at the source code) ### What did you do? Run the stack tool on a dump file created when a Go process got a SIGABRT. ### What did you expect to see? A single summary to be printed for all the goroutine stack traces. ### What did you see instead? Multiple summaries were displayed. This makes it hard to determine, for example, the callstack that is most common in the dump file. The reason is that the "package" and "function" parts of the regexp in "reCall" in https://github.com/golang/tools/blob/master/internal/stack/parse.go do not include a hyphen. However, the compiler can use hyphens for internally generated function names as discussed in https://stackoverflow.com/questions/32925344/why-is-there-a-fm-suffix-when-getting-a-functions-name-in-go.
NeedsInvestigation,Tools
low
Minor
643,352,932
rust
Formal support for linking rlibs using a non-Rust linker
I'm working on a major existing C++ project which hopes to dip its toes into the Rusty waters. We: - Use a non-Cargo build system with static dependency rules (and 40000+ targets) - Sometimes build a single big binary; sometimes lots of shared objects, unit test executables, etc. - each containing various parts of our dependency tree. - Perform final linking using an existing C++ toolchain (based on LLVM 11 as it happens) - Want to have a few Rust components scattered throughout a very deep dependency tree, which may eventually roll up into one or multiple binaries We can't: - Switch from our existing linker to `rustc` for final linking. C++ is the boss in our codebase; we're not ready to make the commitment to put Rust in charge of our final linking. - Create a Rust `staticlib` for each of our Rust components. This works if we're using Rust in only one place. For any binary containing several Rust components, there would be binary bloat and potentially violations of the one-definition-rule, by duplication of the Rust stdlib and any diamond dependencies. - Create a single Rust `staticlib` containing all our Rust components, then link that into every binary. That monster static library would depend on many C++ symbols, which wouldn't be present in some circumstances. We can either: 1. Create a Rust `staticlib` for each of our _output_ binaries, using `rustc` and an auto-generated `.rs` file containing lots of `extern crate` statements. Or, 2. Pass the `rlib` for each Rust component directly into the final C++ linking procedure. The first approach is officially supported, but is hard because: - We need to create a Rust `staticlib` as part of our _C++_ tool invocations. This is awkward in our build system. Our C++ targets don't keep track of Rust compiler flags (`--target`, etc.) and in general it just feels weird to be doing Rust stuff in C++ targets. - Specifically, we need to invoke a Python wrapper script to consider invoking `rustc` to make a `staticlib` for every single one of our C++ link targets. For most of our targets (especially unit test targets) there will be no `rlibs` in their dependency tree, so it will be a no-op. But the presence of this wrapper script will make Rust adoption appear intrusive, and of course will have some small actual performance cost. - For those link targets which _do_ include Rust code, we'll delay invocation of the main linker whilst we build a Rust static library. The second approach is not officially supported. An `rlib` is an internal implementation format within Rust, and its only client is `rustc`. It is naughty to pass them directly into our own linker command line. But it does, currently, work. It makes our build process much simpler and makes use of Rust less disruptive. Because external toolchains are not expected to consume `rlib`s, some magic is required: - The final C++ linker needs to pull in all the Rust stdlib `rlib`s, which would be easy apart from the fact they contain the symbol metadata hash in their names. - We need to remap `__rust_alloc` to `__rdl_alloc` etc. But obviously the bigger concern is that this is not a supported model, and Rust is free to break the `rlib` format at any moment. Is there any appetite for making this a supported model for those with mixed C/C++/Rust codebases? I'm assuming the answer may be 'no' because it would tie Rust's hands for future `rlib` format changes. But just in case: how's about the following steps? 1. [The Linkage section of the Rust reference](https://doc.rust-lang.org/reference/linkage.html) is enhanced to list the two _current_ strategies for linking C++ and Rust. Either: - Use `rustc` as the final linker; or - Build a Rust `staticlib` or `cdylib` then pass that to your existing final linker (I think this would be worth explicitly explaining anyway, so unless anyone objects, I may raise a PR) 2. A new `rustc --print stdrlibs` (or similar) which will output the names of all the standard library rlibs (not just their directory, which is already possible with `target-libdir`) 3. Some kind of new `rustc` option which generates a `rust-dynamic-symbols.o` file (or similar) containing the codegen which is otherwise done by `rustc` at final link-time (e.g. symbols to call `__rdl_alloc` from `__rust_alloc`, etc.) 4. The Linkage section of the book is enhanced to list this as a third supported workflow. (You can use whatever linker you want, but make sure you link to `rust-dynamic-symbols.o` and everything output by `rustc --print stdrlibs`) 5. Somehow, we add some tests to ensure this workflow doesn't break. A few related issues: * #64191 wants to split the compile and link phases of rustc. This discussion has spawned from there. * @dtolnay's marvellous https://github.com/dtolnay/cxx is not quite as optimal as it could be, because users can't use `-Wl,--start-group`, `-Wl,--end-group` on the linker line. (Per https://github.com/rust-lang/rust/issues/64191#issuecomment-629418541) * the difficulties of using the `staticlib`-per-C++-target model happen to be magnified by #73047 @japaric @alexcrichton @retep998 @dtolnay I believe this may be the sort of thing you may wish to comment upon! I'm sure you'll come up with reasons why this is even harder than I already think. Thanks very much in advance.
A-linkage
high
Major
643,392,621
pytorch
New ProcessGroups created with dist.new_group may leak memory
## πŸ› Bug The script pasted below shows an example of how if we repeatedly create a group with `dist.new_group()` and then run `del` and `gc.collect()` in a loop, the memory usage of the process slowly increases which can eventually cause an OOM. There may be leaked resources that aren't properly cleaned up in the destruction of these process groups. This also seems to happen for both the NCCL and GLOO backends. I would expect that if we create and then delete a bunch of process groups, memory usage stays roughly constant. ## To Reproduce Run the following script: ``` import os import psutil import torch.multiprocessing as mp import torch.distributed as dist import gc def get_mb(): process = psutil.Process(os.getpid()) return process.memory_info().rss * 1e-6 def test_mem(rank): dist.init_process_group("gloo", rank=rank, world_size=2) mem = get_mb() if rank == 0: print(f"Rank {rank} mem usage: {mem}") for i in range(10000): group = dist.new_group() mb = get_mb() if rank == 0: print(f"Rank {rank} pid: {os.getpid()}: Mem usage mb: {mb}") del group gc.collect() if __name__ == '__main__': os.environ["MASTER_ADDR"] = "localhost" os.environ["MASTER_PORT"] = "29500" mp.spawn(test_mem, args=(), nprocs=2, join=True) ``` One can also check the memory with `ps -aux`. ## Expected behavior The memory usage stays roughly constant. ## Environment PyTorch master cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @xush6528 @osalpekar @jiayisuse @agolynski
oncall: distributed,module: memory usage,triaged,better-engineering
low
Critical
643,399,782
TypeScript
duplicate Object.defineProperty when code emit with re-export a rename
<!-- 🚨 STOP 🚨 STOP 🚨 STOP 🚨 Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section! Please help us by doing the following steps before logging an issue: * Search: https://github.com/Microsoft/TypeScript/search?type=Issues * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ Please fill in the *entire* template below. --> <!-- Please try to reproduce the issue with the latest published version. It may have already been fixed. For npm: `typescript@next` This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly --> **TypeScript Version:** Version 4.0.0-dev.20200621 <!-- Search terms you tried before logging this (so others can find this issue more easily) --> **Search Terms:** **Code** ```ts import { dfSumFloat } from 'random-extra'; export { dfSumFloat as create } from 'random-extra'; export function randomSumFloat(size: number, sum?: number, min?: number, max?: number) { return dfSumFloat(size, sum, min, max)() } export default randomSumFloat ``` **Expected behavior:** no `Object.defineProperty(exports, "create"` x2 **Actual behavior:** ```ts "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.randomSumFloat = exports.create = void 0; const random_extra_1 = require("random-extra"); Object.defineProperty(exports, "create", { enumerable: true, get: function () { return random_extra_1.dfSumFloat; } }); var random_extra_2 = require("random-extra"); Object.defineProperty(exports, "create", { enumerable: true, get: function () { return random_extra_2.dfSumFloat; } }); function randomSumFloat(size, sum, min, max) { return random_extra_1.dfSumFloat(size, sum, min, max)(); } exports.randomSumFloat = randomSumFloat; exports.default = randomSumFloat; //# sourceMappingURL=index.js.map ``` **Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior --> https://www.typescriptlang.org/v2/en/play?target=6&module=1&ts=4.0.0-dev.20200621#code/JYWwDg9gTgLgBAbzgEwGYGUCuIBiAbCAQ3gF85UoIQ4ByKQgO2SoFoBTADxnpoG4AoTpFiIUGbPiLxCAZzgBjKG2Js4ZClVr0mrTt0J9+gjsPipMDeTGAQGcbcxBZcBYgAoZwAF5sAXHAZsACM2KAAaOBlsAH5-QJAQ8LgQYAZYgODQiJBCDnT4xIBKfgR+AEglGEwoOzRnSXdPHwiokGzU7NzCt2KSIyFoeGQ2VEJMPHgHKnrXGCA **Related Issues:** <!-- Did you find other bugs that looked similar? -->
Bug
low
Critical
643,400,707
flutter
Slight improvement to pubspec version comments
In the pubspec file, the following comment is automatically generated: ``` # The following defines the version and build number for your application. # A version number is three numbers separated by dots, like 1.2.43 # followed by an optional build number separated by a +. # Both the version and the builder number may be overridden in flutter # build by specifying --build-name and --build-number, respectively. # In Android, build-name is used as versionName while build-number used as versionCode. # Read more about Android versioning at https://developer.android.com/studio/publish/versioning # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html version: 1.0.0+1 ``` Some terminology in the explanation is difficult to track. Twice near the beginning of the comment, the terms "version" and "build number" are mentioned twice. Later it is stated that "In Android, build-name is used as versionName while build-number used as versionCode". This then begs the question as to whether the Flutter pubspec "version" has any relation to how the Android version is determined. To answer that question, one must take "build-name" and realize that it corresponds to the aforementioned "--build-name" flag, and then the reader needs to further recognize that the "--build-name" flag corresponds to the aforementioned term "version". Then you need to repeat this logical chaining to go from "versionCode" to "build-number" to "--build-number" to "build number". Considering the criticality of correctly marking the version information for a packaged app, it might be a good idea to find a more concise and unambiguous explanation for the "version" property in the pubspec. One idea would be to include a shorter explanation, but then show a literal Android example and a literal iOS example within the comment for the purpose of illustrating the "version" property applied in practice. That might suffice for a complete understanding.
tool,d: api docs,c: proposal,P3,team-tool,triaged-tool
low
Minor
643,404,110
PowerToys
Remove Show window hack used to fix settings blank dialog
The code introduced in #4428 to fix #3384 should be removed once the fix is made in WPF Xaml Islands.
Product-Settings,External Dependency,Status-Blocked,Issue-Task
low
Minor
643,410,048
flutter
MaterialBanner updates
Material Spec on Baners: https://material.io/components/banners The MaterialBanner needs some updates to match spec: - [x] conditional elevation - [x] enter and exit animation support - [ ] Scroll behavior - SliverMaterialBanner? - [ ] should be like a SliverPersistentHeader when placed in a scroll view, first position - [ ] animation in and out should animate the rest of the contents in the scroll view It should also be integrated with the `ScaffoldMessenger` to: - [x] manage how many are presented (there should only be one at a time, similar to SnackBar), - [x] control the animation in and out (show, hide, remove) - [x] animate out from under the static AppBar
framework,a: animation,f: material design,a: fidelity,f: scrolling,a: quality,P3,team-design,triaged-design
low
Major
643,410,269
flutter
Fix all "Double-quoted include in framework header, expected angle-bracketed instead" warnings
Xcode 14 beta 1 is shipping with clang version 12.0.0 (clang-1200.0.22.7). First opening a newly created Flutter app suggests setting `CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER=YES`. ``` Warns when a quoted include is used instead of a framework style include in a framework header. ``` Turning it on spews warnings for all the places Flutter framework is using a project (quote) include instead of a framework (angle bracket) import. While we're at it, can we switch all these from `include`s to `import`s? ``` Flutter.h:54:10: warning: double-quoted include "FlutterAppDelegate.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterAppDelegate.h" ^~~~~~~~~~~~~~~~~~~~~~ <Flutter/FlutterAppDelegate.h> FlutterAppDelegate.h:10:10: warning: double-quoted include "FlutterMacros.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterMacros.h" ^~~~~~~~~~~~~~~~~ <Flutter/FlutterMacros.h> FlutterAppDelegate.h:11:10: warning: double-quoted include "FlutterPlugin.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterPlugin.h" ^~~~~~~~~~~~~~~~~ <Flutter/FlutterPlugin.h> FlutterPlugin.h:11:10: warning: double-quoted include "FlutterBinaryMessenger.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterBinaryMessenger.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~ <Flutter/FlutterBinaryMessenger.h> FlutterBinaryMessenger.h:10:10: warning: double-quoted include "FlutterMacros.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterMacros.h" ^~~~~~~~~~~~~~~~~ <Flutter/FlutterMacros.h> FlutterPlugin.h:12:10: warning: double-quoted include "FlutterChannels.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterChannels.h" ^~~~~~~~~~~~~~~~~~~ <Flutter/FlutterChannels.h> FlutterChannels.h:8:10: warning: double-quoted include "FlutterBinaryMessenger.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterBinaryMessenger.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~ <Flutter/FlutterBinaryMessenger.h> FlutterChannels.h:9:10: warning: double-quoted include "FlutterCodecs.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterCodecs.h" ^~~~~~~~~~~~~~~~~ <Flutter/FlutterCodecs.h> FlutterCodecs.h:9:10: warning: double-quoted include "FlutterMacros.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterMacros.h" ^~~~~~~~~~~~~~~~~ <Flutter/FlutterMacros.h> FlutterPlugin.h:13:10: warning: double-quoted include "FlutterCodecs.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterCodecs.h" ^~~~~~~~~~~~~~~~~ <Flutter/FlutterCodecs.h> FlutterPlugin.h:14:10: warning: double-quoted include "FlutterPlatformViews.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterPlatformViews.h" ^~~~~~~~~~~~~~~~~~~~~~~~ <Flutter/FlutterPlatformViews.h> FlutterPlatformViews.h:10:9: warning: double-quoted include "FlutterCodecs.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #import "FlutterCodecs.h" ^~~~~~~~~~~~~~~~~ <Flutter/FlutterCodecs.h> FlutterPlatformViews.h:11:9: warning: double-quoted include "FlutterMacros.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #import "FlutterMacros.h" ^~~~~~~~~~~~~~~~~ <Flutter/FlutterMacros.h> FlutterPlugin.h:15:10: warning: double-quoted include "FlutterTexture.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterTexture.h" ^~~~~~~~~~~~~~~~~~ <Flutter/FlutterTexture.h> FlutterTexture.h:11:10: warning: double-quoted include "FlutterMacros.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterMacros.h" ^~~~~~~~~~~~~~~~~ <Flutter/FlutterMacros.h> Flutter.h:55:10: warning: double-quoted include "FlutterBinaryMessenger.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterBinaryMessenger.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~ <Flutter/FlutterBinaryMessenger.h> Flutter.h:56:10: warning: double-quoted include "FlutterCallbackCache.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterCallbackCache.h" ^~~~~~~~~~~~~~~~~~~~~~~~ <Flutter/FlutterCallbackCache.h> FlutterCallbackCache.h:10:10: warning: double-quoted include "FlutterMacros.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterMacros.h" ^~~~~~~~~~~~~~~~~ <Flutter/FlutterMacros.h> Flutter.h:57:10: warning: double-quoted include "FlutterChannels.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterChannels.h" ^~~~~~~~~~~~~~~~~~~ <Flutter/FlutterChannels.h> Flutter.h:58:10: warning: double-quoted include "FlutterCodecs.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterCodecs.h" ^~~~~~~~~~~~~~~~~ <Flutter/FlutterCodecs.h> Flutter.h:59:10: warning: double-quoted include "FlutterDartProject.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterDartProject.h" ^~~~~~~~~~~~~~~~~~~~~~ <Flutter/FlutterDartProject.h> FlutterDartProject.h:10:10: warning: double-quoted include "FlutterMacros.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterMacros.h" ^~~~~~~~~~~~~~~~~ <Flutter/FlutterMacros.h> Flutter.h:60:10: warning: double-quoted include "FlutterEngine.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterEngine.h" ^~~~~~~~~~~~~~~~~ <Flutter/FlutterEngine.h> FlutterEngine.h:11:10: warning: double-quoted include "FlutterBinaryMessenger.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterBinaryMessenger.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~ <Flutter/FlutterBinaryMessenger.h> FlutterEngine.h:12:10: warning: double-quoted include "FlutterDartProject.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterDartProject.h" ^~~~~~~~~~~~~~~~~~~~~~ <Flutter/FlutterDartProject.h> FlutterEngine.h:13:10: warning: double-quoted include "FlutterMacros.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterMacros.h" ^~~~~~~~~~~~~~~~~ <Flutter/FlutterMacros.h> FlutterEngine.h:14:10: warning: double-quoted include "FlutterPlugin.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterPlugin.h" ^~~~~~~~~~~~~~~~~ <Flutter/FlutterPlugin.h> FlutterEngine.h:15:10: warning: double-quoted include "FlutterTexture.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterTexture.h" ^~~~~~~~~~~~~~~~~~ <Flutter/FlutterTexture.h> Flutter.h:61:10: warning: double-quoted include "FlutterHeadlessDartRunner.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterHeadlessDartRunner.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <Flutter/FlutterHeadlessDartRunner.h> FlutterHeadlessDartRunner.h:10:10: warning: double-quoted include "FlutterBinaryMessenger.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterBinaryMessenger.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~ <Flutter/FlutterBinaryMessenger.h> FlutterHeadlessDartRunner.h:11:10: warning: double-quoted include "FlutterDartProject.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterDartProject.h" ^~~~~~~~~~~~~~~~~~~~~~ <Flutter/FlutterDartProject.h> FlutterHeadlessDartRunner.h:12:10: warning: double-quoted include "FlutterEngine.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterEngine.h" ^~~~~~~~~~~~~~~~~ <Flutter/FlutterEngine.h> FlutterHeadlessDartRunner.h:13:10: warning: double-quoted include "FlutterMacros.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterMacros.h" ^~~~~~~~~~~~~~~~~ <Flutter/FlutterMacros.h> Flutter.h:62:10: warning: double-quoted include "FlutterMacros.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterMacros.h" ^~~~~~~~~~~~~~~~~ <Flutter/FlutterMacros.h> Flutter.h:63:10: warning: double-quoted include "FlutterPlatformViews.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterPlatformViews.h" ^~~~~~~~~~~~~~~~~~~~~~~~ <Flutter/FlutterPlatformViews.h> Flutter.h:64:10: warning: double-quoted include "FlutterPlugin.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterPlugin.h" ^~~~~~~~~~~~~~~~~ <Flutter/FlutterPlugin.h> Flutter.h:65:10: warning: double-quoted include "FlutterPluginAppLifeCycleDelegate.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterPluginAppLifeCycleDelegate.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <Flutter/FlutterPluginAppLifeCycleDelegate.h> FlutterPluginAppLifeCycleDelegate.h:8:10: warning: double-quoted include "FlutterPlugin.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterPlugin.h" ^~~~~~~~~~~~~~~~~ <Flutter/FlutterPlugin.h> Flutter.h:66:10: warning: double-quoted include "FlutterTexture.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterTexture.h" ^~~~~~~~~~~~~~~~~~ <Flutter/FlutterTexture.h> Flutter.h:67:10: warning: double-quoted include "FlutterViewController.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterViewController.h" ^~~~~~~~~~~~~~~~~~~~~~~~~ <Flutter/FlutterViewController.h> FlutterViewController.h:11:10: warning: double-quoted include "FlutterBinaryMessenger.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterBinaryMessenger.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~ <Flutter/FlutterBinaryMessenger.h> FlutterViewController.h:12:10: warning: double-quoted include "FlutterDartProject.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterDartProject.h" ^~~~~~~~~~~~~~~~~~~~~~ <Flutter/FlutterDartProject.h> FlutterViewController.h:13:10: warning: double-quoted include "FlutterEngine.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterEngine.h" ^~~~~~~~~~~~~~~~~ <Flutter/FlutterEngine.h> FlutterViewController.h:14:10: warning: double-quoted include "FlutterMacros.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterMacros.h" ^~~~~~~~~~~~~~~~~ <Flutter/FlutterMacros.h> FlutterViewController.h:15:10: warning: double-quoted include "FlutterPlugin.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterPlugin.h" ^~~~~~~~~~~~~~~~~ <Flutter/FlutterPlugin.h> FlutterViewController.h:16:10: warning: double-quoted include "FlutterTexture.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header] #include "FlutterTexture.h" ^~~~~~~~~~~~~~~~~~ <Flutter/FlutterTexture.h> ```
platform-ios,engine,a: quality,P3,team-ios,triaged-ios
medium
Major
643,410,598
pytorch
Cannot re-initialize CUDA in forked subprocess
## πŸ› Bug I am getting CUDA re-initialize error. I am using below code to generate synthetic dataset on GPU. To perform distributed training I am using [official PyTorch distributed training helper](https://github.com/pytorch/pytorch/blob/master/torch/distributed/launch.py) script. ``` import random import torch import torch.utils.data as data class DummyDataset(data.Dataset): def __init__(self, num_classes): super(DummyDataset, self).__init__() # Create tensor on GPU self.tensor = torch.randn(3, 224, 224, device=torch.device('cuda')) self.num_classes = num_classes def __getitem__(self, index): torch.manual_seed(index) random.seed(index) return self.tensor, \ random.randint(0, self.num_classes - 1) ``` It throws following error ``` in execute class_targets) in enumerate(train_dataset_loader): File "/usr/local/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 345, in __next__ data = self._next_data() File "/usr/local/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 856, in _next_data return self._process_data(data) File "/usr/local/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 881, in _process_data data.reraise() File "/usr/local/lib/python3.6/site-packages/torch/_utils.py", line 394, in reraise raise self.exc_type(msg) RuntimeError: Caught RuntimeError in DataLoader worker process 0. Original Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop data = fetcher.fetch(index) File "/usr/local/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 47, in fetch return self.collate_fn(data) File "/usr/local/lib/python3.6/site-packages/torch/utils/data/_utils/collate.py", line 79, in default_collate return [default_collate(samples) for samples in transposed] File "/usr/local/lib/python3.6/site-packages/torch/utils/data/_utils/collate.py", line 79, in <listcomp> return [default_collate(samples) for samples in transposed] File "/usr/local/lib/python3.6/site-packages/torch/utils/data/_utils/collate.py", line 53, in default_collate storage = elem.storage()._new_shared(numel) File "/usr/local/lib/python3.6/site-packages/torch/storage.py", line 126, in _new_shared return cls(size) File "/usr/local/lib/python3.6/site-packages/torch/cuda/__init__.py", line 477, in _lazy_new _lazy_init() File "/usr/local/lib/python3.6/site-packages/torch/cuda/__init__.py", line 195, in _lazy_init "Cannot re-initialize CUDA in forked subprocess. " + msg) RuntimeError: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method ``` I tried to follow the workaround mentioned in this [discussion](https://discuss.pytorch.org/t/runtimeerror-cannot-re-initialize-cuda-in-forked-subprocess-to-use-cuda-with-multiprocessing-you-must-use-the-spawn-start-method/14083/6) and changed my `DummyDataSet` class as follows ``` import random import torch torch.multiprocessing.set_start_method('spawn')# good solution !!!! import torch.utils.data as data class DummyDataset(data.Dataset): def __init__(self, num_classes): super(DummyDataset, self).__init__() # Create tensor on GPU self.tensor = torch.randn(3, 224, 224, device=torch.device('cuda')) self.num_classes = num_classes def __getitem__(self, index): time.sleep(0.1);# !!!!!! In order to test, should be have virtual process time !!!!!! torch.manual_seed(index) random.seed(index) return self.tensor, \ random.randint(0, self.num_classes - 1) ``` This gives another error ``` File "/pytorch_sample/dummy_data.py", line 3, in <module> torch.multiprocessing.set_start_method('spawn')# good solution !!!! File "/usr/local/lib/python3.6/multiprocessing/context.py", line 242, in set_start_method raise RuntimeError('context has already been set') RuntimeError: context has already been set Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 761, in _try_get_data data = self._data_queue.get(timeout=timeout) File "/usr/local/lib/python3.6/queue.py", line 173, in get self.not_empty.wait(remaining) File "/usr/local/lib/python3.6/threading.py", line 299, in wait gotit = waiter.acquire(True, timeout) File "/usr/local/lib/python3.6/site-packages/torch/utils/data/_utils/signal_handling.py", line 66, in handler _error_if_any_worker_fails() RuntimeError: DataLoader worker (pid 1108) exited unexpectedly with exit code 1. Details are lost due to multiprocessing. Rerunning with num_workers=0 may give better error trace. ```` I am ## Environment ``` Collecting environment information... PyTorch version: 1.4.0a0 Is debug build: No CUDA used to build PyTorch: 10.0 OS: Ubuntu 16.04.6 LTS GCC version: (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609 CMake version: version 3.5.1 Python version: 3.6 Is CUDA available: Yes CUDA runtime version: 10.0.130 GPU models and configuration: GPU 0: Tesla V100-SXM2-32GB GPU 1: Tesla V100-SXM2-32GB GPU 2: Tesla V100-SXM2-32GB GPU 3: Tesla V100-SXM2-32GB GPU 4: Tesla V100-SXM2-32GB GPU 5: Tesla V100-SXM2-32GB GPU 6: Tesla V100-SXM2-32GB GPU 7: Tesla V100-SXM2-32GB Nvidia driver version: 440.33.01 cuDNN version: /usr/lib/x86_64-linux-gnu/libcudnn.so.7.6.5 Versions of relevant libraries: [pip3] numpy==1.18.4 [pip3] torch==1.4.0a0 [pip3] torchvision==0.5.0a0 [conda] Could not collect ``` ## Additional context <!-- Add any other context about the problem here. --> cc @ngimel @SsnL @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @xush6528 @osalpekar
oncall: distributed,module: dataloader,module: cuda,triaged
high
Critical
643,414,674
flutter
App does not react to theme changes when it is in the background
When switching to dark mode in the control centre, my flutter app does not switch immediately to dark mode unless I exit the control center. Doctor summary (to see all details, run flutter doctor -v): [βœ“] Flutter (Channel master, 1.20.0-1.0.pre.132, on Mac OS X 10.15.5 19F101, locale en-GB) [βœ“] Android toolchain - develop for Android devices (Android SDK version 30.0.0) [βœ“] Xcode - develop for iOS and macOS (Xcode 11.5) [βœ“] Android Studio (version 4.0) [βœ“] Connected device (2 available)
platform-ios,framework,f: material design,a: fidelity,has reproducible steps,P2,found in release: 2.10,found in release: 2.13,team-design,triaged-design
low
Major
643,429,224
flutter
Add package for SF Symbols 2
iOS 14 is coming with rounder SF Symbols 2 https://developer.apple.com/sf-symbols/ Once it's out, explore how to make it usable as a package that replaces cupertino_icons. Could deprecate https://github.com/flutter/flutter/issues/33916 and https://github.com/flutter/flutter/issues/16102
c: new feature,platform-ios,a: fidelity,f: cupertino,package,e: OS-version specific,P3,team-ios,triaged-ios
medium
Major
643,431,378
flutter
[web][ios-safari] unskip faling method in surface_test
When adding ios-safari tests (iOS13, iPhone 11) one method failed in https://github.com/flutter/engine/blob/master/lib/web_ui/test/engine/surface/surface_test.dart <details><summary>Logs</summary> ``` 00:07 +177 ~27 -1: test/engine/surface/surface_test.dart: Surface reparents DOM element when updated [E] Assertion failed org-dartlang-sdk:///lib/_internal/js_runtime/lib/js_helper.dart 1326:37 wrapException org-dartlang-sdk:///lib/_internal/js_runtime/lib/js_helper.dart 2845:30 assertHelper ../../../packages/ui/src/engine/surface/scene_builder.dart 95:9 pushTransform ../../../packages/ui/src/engine/surface/scene_builder.dart 77:27 pushTransform surface_test.dart 157:11 call ../../../packages/test_api/src/backend/declarer.dart 172:23 <fn> org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 315:19 <fn> org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 340:23 call ../../../packages/stack_trace/src/stack_zone_specification.dart 141:25 call ../../../packages/stack_trace/src/stack_zone_specification.dart 209:14 _run ../../../packages/stack_trace/src/stack_zone_specification.dart 141:14 call org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 291:19 call org-dartlang-sdk:///lib/async/zone.dart 1198:46 _rootRunUnary org-dartlang-sdk:///lib/async/zone.dart 1099:34 runUnary org-dartlang-sdk:///lib/async/future_impl.dart 109:29 call org-dartlang-sdk:///lib/async/future_impl.dart 725:32 _Future._propagateToListeners org-dartlang-sdk:///lib/async/future_impl.dart 529:5 _completeWithValue org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 211:7 complete org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 268:3 _asyncReturn ../../../packages/test_api/src/backend/declarer.dart 297:3 <fn> org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 315:19 <fn> org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 340:23 call ../../../packages/stack_trace/src/stack_zone_specification.dart 141:25 call ../../../packages/stack_trace/src/stack_zone_specification.dart 209:14 _run ../../../packages/stack_trace/src/stack_zone_specification.dart 141:14 call org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 291:19 call org-dartlang-sdk:///lib/async/zone.dart 1198:46 _rootRunUnary org-dartlang-sdk:///lib/async/zone.dart 1099:34 runUnary org-dartlang-sdk:///lib/async/future_impl.dart 109:29 call org-dartlang-sdk:///lib/async/future_impl.dart 725:32 _Future._propagateToListeners org-dartlang-sdk:///lib/async/future_impl.dart 393:9 call ../../../packages/stack_trace/src/stack_zone_specification.dart 209:14 _run ../../../packages/stack_trace/src/stack_zone_specification.dart 119:48 call org-dartlang-sdk:///lib/async/zone.dart 1190:12 _rootRun org-dartlang-sdk:///lib/async/zone.dart 1092:34 run org-dartlang-sdk:///lib/async/zone.dart 997:7 runGuarded org-dartlang-sdk:///lib/async/zone.dart 1037:23 call org-dartlang-sdk:///lib/async/schedule_microtask.dart 41:12 _microtaskLoop org-dartlang-sdk:///lib/async/schedule_microtask.dart 50:5 _startMicrotaskLoop org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 49:9 call org-dartlang-sdk:///lib/_internal/js_runtime/lib/js_helper.dart 2020:14 invokeClosure org-dartlang-sdk:///lib/_internal/js_runtime/lib/js_helper.dart 2052:1 <fn> ===== asynchronous gap =========================== org-dartlang-sdk:///lib/async/zone.dart 345:30 _wrapJsFunctionForAsync org-dartlang-sdk:///lib/async/zone.dart 1190:12 _rootRun org-dartlang-sdk:///lib/async/zone.dart 1092:34 run org-dartlang-sdk:///lib/async/zone.dart 1630:10 _runZoned org-dartlang-sdk:///lib/async/zone.dart 1550:10 runZoned ../../../packages/test_api/src/backend/invoker.dart 243:5 waitForOutstandingCallbacks ../../../packages/test_api/src/backend/declarer.dart 170:33 call org-dartlang-sdk:///lib/async/zone.dart 1190:12 _rootRun org-dartlang-sdk:///lib/async/zone.dart 1092:34 run org-dartlang-sdk:///lib/async/zone.dart 1630:10 _runZoned org-dartlang-sdk:///lib/async/zone.dart 1550:10 runZoned ../../../packages/test_api/src/backend/declarer.dart 169:13 <fn> org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 315:19 <fn> org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 340:23 call ../../../packages/stack_trace/src/stack_zone_specification.dart 141:25 call ../../../packages/stack_trace/src/stack_zone_specification.dart 209:14 _run ../../../packages/stack_trace/src/stack_zone_specification.dart 141:14 call org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 245:3 _asyncStartSync ../../../packages/test_api/src/backend/declarer.dart 155:11 call ../../../packages/test_api/src/backend/invoker.dart 400:19 <fn> org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 315:19 <fn> org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 340:23 call ../../../packages/stack_trace/src/stack_zone_specification.dart 141:25 call ../../../packages/stack_trace/src/stack_zone_specification.dart 209:14 _run ../../../packages/stack_trace/src/stack_zone_specification.dart 141:14 call org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 245:3 _asyncStartSync ../../../packages/test_api/src/backend/invoker.dart 400:32 call org-dartlang-sdk:///lib/async/future.dart 175:26 call ../../../packages/stack_trace/src/stack_zone_specification.dart 209:14 _run ../../../packages/stack_trace/src/stack_zone_specification.dart 119:48 call org-dartlang-sdk:///lib/async/zone.dart 1182:46 _rootRun org-dartlang-sdk:///lib/async/zone.dart 1092:34 run org-dartlang-sdk:///lib/async/zone.dart 997:7 runGuarded org-dartlang-sdk:///lib/async/zone.dart 1037:23 call ../../../packages/stack_trace/src/stack_zone_specification.dart 209:14 _run ../../../packages/stack_trace/src/stack_zone_specification.dart 119:48 call org-dartlang-sdk:///lib/async/zone.dart 1190:12 _rootRun org-dartlang-sdk:///lib/async/zone.dart 1092:34 run org-dartlang-sdk:///lib/async/zone.dart 1021:23 call org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 131:9 call org-dartlang-sdk:///lib/_internal/js_runtime/lib/js_helper.dart 2018:14 invokeClosure org-dartlang-sdk:///lib/_internal/js_runtime/lib/js_helper.dart 2052:1 <fn> ===== asynchronous gap =========================== org-dartlang-sdk:///lib/async/zone.dart 345:30 _wrapJsFunctionForAsync ../../../packages/test_api/src/backend/invoker.dart 400:19 <fn> org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 315:19 <fn> org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 340:23 call ../../../packages/stack_trace/src/stack_zone_specification.dart 141:25 call ../../../packages/stack_trace/src/stack_zone_specification.dart 209:14 _run ../../../packages/stack_trace/src/stack_zone_specification.dart 141:14 call org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 245:3 _asyncStartSync ../../../packages/test_api/src/backend/invoker.dart 400:32 call org-dartlang-sdk:///lib/async/future.dart 175:26 call ../../../packages/stack_trace/src/stack_zone_specification.dart 209:14 _run ../../../packages/stack_trace/src/stack_zone_specification.dart 119:48 call org-dartlang-sdk:///lib/async/zone.dart 1182:46 _rootRun org-dartlang-sdk:///lib/async/zone.dart 1092:34 run org-dartlang-sdk:///lib/async/zone.dart 997:7 runGuarded org-dartlang-sdk:///lib/async/zone.dart 1037:23 call ../../../packages/stack_trace/src/stack_zone_specification.dart 209:14 _run ../../../packages/stack_trace/src/stack_zone_specification.dart 119:48 call org-dartlang-sdk:///lib/async/zone.dart 1190:12 _rootRun org-dartlang-sdk:///lib/async/zone.dart 1092:34 run org-dartlang-sdk:///lib/async/zone.dart 1021:23 call org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 131:9 call org-dartlang-sdk:///lib/_internal/js_runtime/lib/js_helper.dart 2018:14 invokeClosure org-dartlang-sdk:///lib/_internal/js_runtime/lib/js_helper.dart 2052:1 <fn> ===== asynchronous gap =========================== org-dartlang-sdk:///lib/async/zone.dart 345:30 _wrapJsFunctionForAsync org-dartlang-sdk:///lib/async/future.dart 175:26 call ../../../packages/stack_trace/src/stack_zone_specification.dart 209:14 _run ../../../packages/stack_trace/src/stack_zone_specification.dart 119:48 call org-dartlang-sdk:///lib/async/zone.dart 1182:46 _rootRun org-dartlang-sdk:///lib/async/zone.dart 1092:34 run org-dartlang-sdk:///lib/async/zone.dart 997:7 runGuarded org-dartlang-sdk:///lib/async/zone.dart 1037:23 call ../../../packages/stack_trace/src/stack_zone_specification.dart 209:14 _run ../../../packages/stack_trace/src/stack_zone_specification.dart 119:48 call org-dartlang-sdk:///lib/async/zone.dart 1190:12 _rootRun org-dartlang-sdk:///lib/async/zone.dart 1092:34 run org-dartlang-sdk:///lib/async/zone.dart 1021:23 call org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 131:9 call org-dartlang-sdk:///lib/_internal/js_runtime/lib/js_helper.dart 2018:14 invokeClosure org-dartlang-sdk:///lib/_internal/js_runtime/lib/js_helper.dart 2052:1 <fn> ===== asynchronous gap =========================== org-dartlang-sdk:///lib/async/zone.dart 1036:22 bindCallbackGuarded org-dartlang-sdk:///lib/async/timer.dart 52:37 Timer.Timer org-dartlang-sdk:///lib/async/timer.dart 89:9 Future.Future ../../../packages/test_api/src/backend/invoker.dart 399:21 <fn> org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 315:19 <fn> org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 340:23 call ../../../packages/stack_trace/src/stack_zone_specification.dart 141:25 call ../../../packages/stack_trace/src/stack_zone_specification.dart 209:14 _run ../../../packages/stack_trace/src/stack_zone_specification.dart 141:14 call org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 245:3 _asyncStartSync ../../../packages/test_api/src/backend/invoker.dart 388:38 call org-dartlang-sdk:///lib/async/zone.dart 1190:12 _rootRun org-dartlang-sdk:///lib/async/zone.dart 1092:34 run org-dartlang-sdk:///lib/async/zone.dart 1630:10 _runZoned org-dartlang-sdk:///lib/async/zone.dart 1550:10 runZoned ../../../packages/test_api/src/backend/invoker.dart 387:9 call ../../../packages/test_api/src/backend/invoker.dart 438:7 call ../../../packages/stack_trace/src/chain.dart 101:16 call org-dartlang-sdk:///lib/async/zone.dart 1190:12 _rootRun org-dartlang-sdk:///lib/async/zone.dart 1092:34 run org-dartlang-sdk:///lib/async/zone.dart 1630:10 _runZoned org-dartlang-sdk:///lib/async/zone.dart 1550:10 runZoned ../../../packages/stack_trace/src/chain.dart 99:5 Chain.capture ../../../packages/test_api/src/backend/invoker.dart 385:11 _onRun ../../../packages/test_api/src/backend/live_test_controller.dart 197:5 _run ../../../packages/test_api/src/remote_listener.dart 263:7 call org-dartlang-sdk:///lib/async/zone.dart 1190:12 _rootRun org-dartlang-sdk:///lib/async/zone.dart 1092:34 run org-dartlang-sdk:///lib/async/zone.dart 1630:10 _runZoned org-dartlang-sdk:///lib/async/zone.dart 1550:10 runZoned ../../../packages/test_api/src/remote_listener.dart 262:5 _runLiveTest org-dartlang-sdk:///lib/async/zone.dart 1198:46 _rootRunUnary org-dartlang-sdk:///lib/async/zone.dart 1099:34 runUnary org-dartlang-sdk:///lib/async/zone.dart 1005:7 runUnaryGuarded org-dartlang-sdk:///lib/async/stream_impl.dart 357:5 _sendData org-dartlang-sdk:///lib/async/stream_impl.dart 285:7 _add org-dartlang-sdk:///lib/async/stream_controller.dart 811:19 _sendData org-dartlang-sdk:///lib/async/stream_controller.dart 682:7 _add org-dartlang-sdk:///lib/async/stream_controller.dart 624:5 add org-dartlang-sdk:///lib/async/zone.dart 1206:12 _rootRunUnary org-dartlang-sdk:///lib/async/zone.dart 1099:34 runUnary org-dartlang-sdk:///lib/async/zone.dart 1005:7 runUnaryGuarded org-dartlang-sdk:///lib/async/stream_impl.dart 357:5 _sendData org-dartlang-sdk:///lib/async/stream_impl.dart 285:7 _add org-dartlang-sdk:///lib/async/stream_controller.dart 811:19 _sendData org-dartlang-sdk:///lib/async/stream_controller.dart 682:7 _add org-dartlang-sdk:///lib/async/stream_controller.dart 624:5 add org-dartlang-sdk:///lib/async/stream_controller.dart 903:5 add ../../../packages/stream_channel/src/guarantee_channel.dart 19:29 call org-dartlang-sdk:///lib/async/zone.dart 1384:9 runUnaryGuarded org-dartlang-sdk:///lib/async/stream_impl.dart 357:5 _sendData org-dartlang-sdk:///lib/async/stream_impl.dart 285:7 _add org-dartlang-sdk:///lib/async/stream_controller.dart 811:19 _sendData org-dartlang-sdk:///lib/async/stream_controller.dart 682:7 _add org-dartlang-sdk:///lib/async/stream_controller.dart 624:5 add org-dartlang-sdk:///lib/async/zone.dart 1384:9 runUnaryGuarded org-dartlang-sdk:///lib/async/stream_impl.dart 357:5 _sendData org-dartlang-sdk:///lib/async/stream_impl.dart 285:7 _add org-dartlang-sdk:///lib/async/stream_controller.dart 811:19 _sendData org-dartlang-sdk:///lib/async/stream_controller.dart 682:7 _add org-dartlang-sdk:///lib/async/stream_controller.dart 624:5 add org-dartlang-sdk:///lib/async/stream_controller.dart 903:5 add org-dartlang-sdk:///lib/async/zone.dart 1384:9 runUnaryGuarded org-dartlang-sdk:///lib/async/stream_impl.dart 357:5 _sendData org-dartlang-sdk:///lib/async/stream_impl.dart 285:7 _add org-dartlang-sdk:///lib/async/stream_controller.dart 811:19 _sendData org-dartlang-sdk:///lib/async/stream_controller.dart 682:7 _add org-dartlang-sdk:///lib/async/stream_controller.dart 624:5 add org-dartlang-sdk:///lib/async/zone.dart 1384:9 runUnaryGuarded org-dartlang-sdk:///lib/async/stream_impl.dart 357:5 _sendData org-dartlang-sdk:///lib/async/stream_impl.dart 285:7 _add org-dartlang-sdk:///lib/async/stream_controller.dart 811:19 _sendData org-dartlang-sdk:///lib/async/stream_controller.dart 682:7 _add org-dartlang-sdk:///lib/async/stream_controller.dart 624:5 add org-dartlang-sdk:///lib/async/stream_controller.dart 903:5 add ../../../packages/stream_channel/src/guarantee_channel.dart 19:29 call org-dartlang-sdk:///lib/html/dart2js/html_dart2js.dart 37188:40 call org-dartlang-sdk:///lib/_internal/js_runtime/lib/js_helper.dart 2020:14 invokeClosure org-dartlang-sdk:///lib/_internal/js_runtime/lib/js_helper.dart 2052:1 <fn> ===== asynchronous gap =========================== org-dartlang-sdk:///lib/async/zone.dart 345:30 _wrapJsFunctionForAsync org-dartlang-sdk:///lib/async/zone.dart 1190:12 _rootRun org-dartlang-sdk:///lib/async/zone.dart 1092:34 run org-dartlang-sdk:///lib/async/zone.dart 1630:10 _runZoned org-dartlang-sdk:///lib/async/zone.dart 1550:10 runZoned ../../../packages/test_api/src/backend/invoker.dart 387:9 call ../../../packages/test_api/src/backend/invoker.dart 438:7 call ../../../packages/stack_trace/src/chain.dart 101:16 call org-dartlang-sdk:///lib/async/zone.dart 1190:12 _rootRun org-dartlang-sdk:///lib/async/zone.dart 1092:34 run org-dartlang-sdk:///lib/async/zone.dart 1630:10 _runZoned org-dartlang-sdk:///lib/async/zone.dart 1550:10 runZoned ../../../packages/stack_trace/src/chain.dart 99:5 Chain.capture ../../../packages/test_api/src/backend/invoker.dart 385:11 _onRun ../../../packages/test_api/src/backend/live_test_controller.dart 197:5 _run ../../../packages/test_api/src/remote_listener.dart 263:7 call org-dartlang-sdk:///lib/async/zone.dart 1190:12 _rootRun org-dartlang-sdk:///lib/async/zone.dart 1092:34 run org-dartlang-sdk:///lib/async/zone.dart 1630:10 _runZoned org-dartlang-sdk:///lib/async/zone.dart 1550:10 runZoned ../../../packages/test_api/src/remote_listener.dart 262:5 _runLiveTest org-dartlang-sdk:///lib/async/zone.dart 1198:46 _rootRunUnary org-dartlang-sdk:///lib/async/zone.dart 1099:34 runUnary org-dartlang-sdk:///lib/async/zone.dart 1005:7 runUnaryGuarded org-dartlang-sdk:///lib/async/stream_impl.dart 357:5 _sendData org-dartlang-sdk:///lib/async/stream_impl.dart 285:7 _add org-dartlang-sdk:///lib/async/stream_controller.dart 811:19 _sendData org-dartlang-sdk:///lib/async/stream_controller.dart 682:7 _add org-dartlang-sdk:///lib/async/stream_controller.dart 624:5 add org-dartlang-sdk:///lib/async/zone.dart 1206:12 _rootRunUnary org-dartlang-sdk:///lib/async/zone.dart 1099:34 runUnary org-dartlang-sdk:///lib/async/zone.dart 1005:7 runUnaryGuarded org-dartlang-sdk:///lib/async/stream_impl.dart 357:5 _sendData org-dartlang-sdk:///lib/async/stream_impl.dart 285:7 _add org-dartlang-sdk:///lib/async/stream_controller.dart 811:19 _sendData org-dartlang-sdk:///lib/async/stream_controller.dart 682:7 _add org-dartlang-sdk:///lib/async/stream_controller.dart 624:5 add org-dartlang-sdk:///lib/async/stream_controller.dart 903:5 add ../../../packages/stream_channel/src/guarantee_channel.dart 19:29 call org-dartlang-sdk:///lib/async/zone.dart 1384:9 runUnaryGuarded org-dartlang-sdk:///lib/async/stream_impl.dart 357:5 _sendData org-dartlang-sdk:///lib/async/stream_impl.dart 285:7 _add org-dartlang-sdk:///lib/async/stream_controller.dart 811:19 _sendData org-dartlang-sdk:///lib/async/stream_controller.dart 682:7 _add org-dartlang-sdk:///lib/async/stream_controller.dart 624:5 add org-dartlang-sdk:///lib/async/zone.dart 1384:9 runUnaryGuarded org-dartlang-sdk:///lib/async/stream_impl.dart 357:5 _sendData org-dartlang-sdk:///lib/async/stream_impl.dart 285:7 _add org-dartlang-sdk:///lib/async/stream_controller.dart 811:19 _sendData org-dartlang-sdk:///lib/async/stream_controller.dart 682:7 _add org-dartlang-sdk:///lib/async/stream_controller.dart 624:5 add org-dartlang-sdk:///lib/async/stream_controller.dart 903:5 add org-dartlang-sdk:///lib/async/zone.dart 1384:9 runUnaryGuarded org-dartlang-sdk:///lib/async/stream_impl.dart 357:5 _sendData org-dartlang-sdk:///lib/async/stream_impl.dart 285:7 _add org-dartlang-sdk:///lib/async/stream_controller.dart 811:19 _sendData org-dartlang-sdk:///lib/async/stream_controller.dart 682:7 _add org-dartlang-sdk:///lib/async/stream_controller.dart 624:5 add org-dartlang-sdk:///lib/async/zone.dart 1384:9 runUnaryGuarded org-dartlang-sdk:///lib/async/stream_impl.dart 357:5 _sendData org-dartlang-sdk:///lib/async/stream_impl.dart 285:7 _add org-dartlang-sdk:///lib/async/stream_controller.dart 811:19 _sendData org-dartlang-sdk:///lib/async/stream_controller.dart 682:7 _add org-dartlang-sdk:///lib/async/stream_controller.dart 624:5 add org-dartlang-sdk:///lib/async/stream_controller.dart 903:5 add ../../../packages/stream_channel/src/guarantee_channel.dart 19:29 call org-dartlang-sdk:///lib/html/dart2js/html_dart2js.dart 37188:40 call org-dartlang-sdk:///lib/_internal/js_runtime/lib/js_helper.dart 2020:14 invokeClosure org-dartlang-sdk:///lib/_internal/js_runtime/lib/js_helper.dart 2052:1 <fn> ``` </details>
a: tests,framework,engine,platform-web,has reproducible steps,P2,browser: safari-ios,found in release: 3.3,found in release: 3.7,team-web,triaged-web
low
Critical