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 |
---|---|---|---|---|---|---|
455,965,511 | vue | Add context to warn message when adding reactive properties to an instance at runtime | ### What problem does this feature solve?
The ` [Vue warn]: Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option.` message doesn't provide any insight about the component being affected or the property being set. Having those in place would make the deubbing way more easier.
### What does the proposed API look like?
` [Vue warn]: Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option. Property being added: 'propertyName'.
<component trace>`
<!-- generated by vue-issues. DO NOT REMOVE --> | improvement,warnings | low | Major |
455,983,908 | rust | Projecting to an associated constant fails but with wrong reason | When you have:
```rust
trait Tr {
const C: usize = 0;
fn fun(x: [u8; Self::C]) -> [u8; 0] { x }
}
```
you get the usual problem:
```
error[E0599]: no associated item named `C` found for type `Self` in the current scope
--> src/lib.rs:3:26
|
3 | fn fun(x: [u8; Self::C]) -> [u8; 0] { x }
| ^ associated item not found in `Self`
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `C`, perhaps you need to implement it:
candidate #1: `Tr`
```
That this errors is *right*. However, it fails for the wrong reason.
What should happen here is that `Self::C` is seen as an opaque constant the value of which you don't get to assume in `fun`'s body. Therefore you should get a type error:
```
error[E0308]: mismatched types
--> src/lib.rs:L:C
|
L | fn fun(x: [u8; Self::C]) -> [u8; 0] { x }
| ^ expected [u8; 0], found [u8; Self::C]
|
= note: expected type `[u8; 0]`
found type `[u8; Self::C]`
```
cc https://github.com/rust-lang/rust/pull/61812
cc https://github.com/rust-lang/rust/issues/29661 | A-type-system,E-needs-test,A-associated-items,T-compiler,C-bug,A-lazy-normalization,T-types | low | Critical |
455,988,429 | pytorch | [FR] faster reduce sum on expanded/unfolded tensors | `bmm`, `tensordot`, and `einsum` all do some sort of `reshape` followed by one or more `mm`s. This makes doing reduction over arbitrary dimensions of large expanded/unfolded tensors slow, as the `reshape`s copy the data.
In a real research project, we have a case where one wants to do `'bshk,bhksc->bhsc'`, where the second input tensor has a huge `k` but `sc` is unfolded from a single contiguous tensor (e.g., a custom 1d conv via unfold + reduce sum). Then all three options wants to permute and reshape to perform a matmul, and end up copying the 2nd input tensor, and could lead to OOM.
But that isn't necessary, if only we have kernels to do general dot product.
cc @jianyuh @nikitaved @pearu @mruberry @heitorschueroff @walterddr @IvanYashchuk @xwang233 @Lezcano @VitalyFedyunin @ngimel @vincentqb @vishwakftw | module: performance,triaged,module: linear algebra,function request | low | Major |
456,012,473 | flutter | google_maps_flutter InfoWindow snippet of Marker | <!-- 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
`InfoWindow` element inside the Marker of GoogleMaps plugin (google_maps_flutter) should allow user to style the text. Currently it only accepts STRING. I have a requirement where I need to display text which looks like a hyperlink e.g. blue underlined text. Irrespective of my needs, it would the plugin more versatile to accept Text() element instead of just String. In our case we need to provide an option to the user to chose "Direction" from the link which should take them to the next page where they can provide "To\From" location and hit the "Direction" button to get a direction from point A to B
<!--
Please tell us the problem you are running into that led to you wanting
a new feature.
Is your feature request related to a problem? Please give a clear and
concise description of what the problem is.
Describe alternative solutions you've considered. Is there a package
on pub.dev/flutter that already solves this?
-->
## Proposal
the "title" and "snippet" elements inside the InfoWindow element of the Marker should be Text() or even better if it's a Widget instead of plain string. This will allow users to either have an image or Text. Ideally would like an option for a hyperlink.
<!--
Briefly but precisely describe what you would like Flutter to be able to do.
Consider attaching images showing what you are imagining.
Does this have to be provided by Flutter directly, or can it be provided
by a package on pub.dev/flutter? If so, maybe consider implementing and
publishing such a package rather than filing a bug.
-->
#google_maps_flutter #Marker #InfoWindow | p: maps,package,c: proposal,team-ecosystem,P3,triaged-ecosystem | low | Critical |
456,012,589 | pytorch | Missing header files for prebuilt libtorch | ## 🐛 Bug
Caffe headers are missing in both the latest stable release and nightly
https://download.pytorch.org/libtorch/cu100/libtorch-shared-with-deps-latest.zip
https://download.pytorch.org/libtorch/nightly/cu100/libtorch-shared-with-deps-latest.zip
## To Reproduce
Steps to reproduce the behavior:
Go into `/libtorch/include/caffe2/utils/`, open `math.h`
It is including non-existent headers like
```
#include "caffe2/utils/math/broadcast.h"
#include "caffe2/utils/math/elementwise.h"
#include "caffe2/utils/math/reduce.h"
#include "caffe2/utils/math/transpose.h"
#include "caffe2/utils/math/utils.h"
```
which causes my legacy caffe2 code to fail to compile
## Expected behavior
Please include the proper header files in the zip, my code was working with an old caffe2 build.
## Environment
- PyTorch Version (e.g., 1.0): 1.1 and latest
- OS (e.g., Linux): Linux
- How you installed PyTorch (`conda`, `pip`, source): by downloading pre-built binaries
- Build command you used (if compiling from source): not applicable
- Python version: 3.6
- CUDA/cuDNN version: 10
- GPU models and configuration: Titan X
| caffe2 | low | Critical |
456,024,064 | nvm | nvm on nixos and bash hashing | Bug/something when install node version on NixOS
NVM seemed to install fine on NixOS but when:
- Operating system and version: nixos
```
[root@ip-172-31-18-139:~]# cat /etc/os-release
NAME=NixOS
ID=nixos
VERSION="19.03.172286.8ea36d73256 (Koi)"
VERSION_CODENAME=koi
VERSION_ID="19.03.172286.8ea36d73256"
PRETTY_NAME="NixOS 19.03.172286.8ea36d73256 (Koi)"
LOGO="nix-snowflake"
HOME_URL="https://nixos.org/"
SUPPORT_URL="https://nixos.org/nixos/support.html"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
```
- `nvm debug` output:
```
nvm debug
nvm --version: v0.34.0
$SHELL: /run/current-system/sw/bin/bash
$SHLVL: 1
$HOME: /root
$NVM_DIR: '$HOME/.nvm'
$PATH: $HOME/bin:/run/wrappers/bin:$HOME/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/etc/profiles/per-user$HOME/bin
$PREFIX: ''
$NPM_CONFIG_PREFIX: ''
$NVM_NODEJS_ORG_MIRROR: ''
$NVM_IOJS_ORG_MIRROR: ''
shell version: 'GNU bash, version 4.4.23(1)-release (x86_64-unknown-linux-gnu)'
uname -a: 'Linux 4.19.35 #1-NixOS SMP Wed Apr 17 06:38:55 UTC 2019 x86_64 GNU/Linux'
OS version: NixOS 19.03.172286.8ea36d73256 (Koi)
curl: /run/current-system/sw/bin/curl, curl 7.64.0 (x86_64-pc-linux-gnu) libcurl/7.64.0 OpenSSL/1.0.2r zlib/1.2.11 libssh2/1.8.1 nghttp2/1.36.0
wget: not found
git: not found
grep: /run/current-system/sw/bin/grep, grep (GNU grep) 3.3
awk: /run/current-system/sw/bin/awk, GNU Awk 4.2.1, API: 2.0
sed: /run/current-system/sw/bin/sed, sed (GNU sed) 4.7
cut: /run/current-system/sw/bin/cut, cut (GNU coreutils) 8.30
basename: /run/current-system/sw/bin/basename, basename (GNU coreutils) 8.30
rm: /run/current-system/sw/bin/rm, rm (GNU coreutils) 8.30
mkdir: /run/current-system/sw/bin/mkdir, mkdir (GNU coreutils) 8.30
xargs: /run/current-system/sw/bin/xargs, xargs (GNU findutils) 4.6.0
nvm current: none
which node: which: no node in ($HOME/bin:/run/wrappers/bin:$HOME/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/etc/profiles/per-user$HOME/bin)
which iojs: which: no iojs in ($HOME/bin:/run/wrappers/bin:$HOME/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/etc/profiles/per-user$HOME/bin)
which npm: which: no npm in ($HOME/bin:/run/wrappers/bin:$HOME/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/etc/profiles/per-user$HOME/bin)
npm config get prefix: The program ‘npm’ is currently not installed. You can install it by typing:
nix-env -iA nixos.nodejs
npm root -g: The program ‘npm’ is currently not installed. You can install it by typing:
nix-env -iA nixos.nodejs
```
So I did this:
```
[root@ip-172-31-18-139:~]# nvm install 11
Downloading and installing node v11.15.0...
Downloading https://nodejs.org/dist/v11.15.0/node-v11.15.0-linux-x64.tar.xz...
####################################################################################################################################################################################################################################### 100.0%
Computing checksum with sha256sum
Checksums matched!
-bash: hash: hashing disabled #### <<<<<<<< ! here is where it got weird
/usr/bin/env: ‘node’: No such file or directory
nvm is not compatible with the npm config "prefix" option: currently set to ""
Run `nvm use --delete-prefix v11.15.0` to unset it.
```
See `here is where it got weird` above | installing node,needs followup | medium | Critical |
456,038,745 | TypeScript | Empty function suggestion returned in completionInfo result | <!-- 🚨 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 `typescript@next`. It may have already been fixed. -->
**TypeScript Version:** 3.6.0-dev.20190613
<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:**
- completionInfo
- suggestion
- completions
**Code**
For the TS:
```ts
function() |
```
Place cursor at the `|` and trigger suggestions
**Bug:**
The `completionInfo` request returns a completion item with an empty name:
```
{
"name": "",
"kind": "function",
"kindModifiers": "",
"sortText": "0"
},
```
**Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior -->
**Related Issues:** <!-- Did you find other bugs that looked similar? -->
| Bug | low | Critical |
456,038,842 | go | x/playground: if Imports is checked, run 'go mod tidy' when the Format button is pressed | [CL 177421](https://golang.org/cl/177421) added formatting for `go.mod` files in the Playground.
However, that isn't really enough to result in a reproducible build: as noted in https://github.com/golang/go/issues/31944#issuecomment-501527897, unresolved dependencies are re-resolved whenever the cache is invalidated, which is difficult to predict.
One simple fix to add stability would be to have the existing `Imports` checkbox trigger a `go mod tidy` after running `goimports`. That would make the versions in use much clearer in the code and more stable over time, without the need for humans to manually resolve and copy over their `go.mod` files.
CC @dmitshur @ysmolsky | help wanted,NeedsInvestigation,FeatureRequest,modules | low | Minor |
456,061,204 | flutter | Change Column & Row widgets to align specific children with CrossAxisAlignment/MainAxisAlignment | ## Use case
Generally, I find myself using Column and Row a lot, and jumping through a lot of hoops that don't really help the cohesion of my app (hard coding padding that could break with different screen sizes) to align Widgets within Column/Row's children parameter differently than is specified in crossAxisAlignment/mainAxisAlignment.
## Proposal
In short I'd like to change Column/Row to specify MainAxisAlignment/CrossAxisAlignment for individual children, rather than every single child. (While keeping the option to align every single child the same).
I'm not sure what the best way of going about this would be. Ideas are welcome. | c: new feature,framework,c: API break,P3,team-framework,triaged-framework | low | Minor |
456,068,411 | flutter | [google_maps_flutter] animateCamera doesn't work correctly inside onMapCreated on iOS | The animateCamera doesn't work on iOS simulator at first but it works if we trigger something like rotating or pinch zoom etc on simulator. the moveCamera function works correctly. | platform-ios,p: maps,package,has reproducible steps,P2,found in release: 1.22,found in release: 2.0,found in release: 2.2,team-ios,triaged-ios | low | Critical |
456,105,579 | flutter | There does not appear to be a way to use an IDE to run an Android app that includes Flutter and uses a local engine. | There does not appear to be a way to use an IDE to run an Android app that includes Flutter and uses a local engine. | c: new feature,team,platform-android,tool,P3,team-android,triaged-android | low | Minor |
456,133,888 | rust | `use Trait::{};` acts as `use Trait;` | ```rust
mod m {
pub trait Tr {
fn method(&self) {}
}
impl<T> Tr for T {}
}
use m::Tr::{};
fn main() {
// Expected behavior: error, `Tr` is not in scope.
// Actual behavior: not an error.
0u8.method();
}
```
The regression was introduced in https://github.com/rust-lang/rust/commit/c57f0a7201860eb87ad8df1f3e63ea1ed03dcb40 (Rust 1.31). | A-resolve,P-medium,T-compiler,regression-from-stable-to-stable,C-bug | low | Critical |
456,161,652 | pytorch | typo and missing return statements | ## 🐛 Bug
1. On the current master (556af7c19), building causes a lot of unnecessary spam from `ThrowInTheTowelIfGradientIsCalled` and `GradientNotImplementedYet`.
2. A lambda in the ideep third party module is missing a trailing `;`. This appears to be corrected in the upstream version of ideep.
3. A return statement is missing in `Eigen/src/Core/arch/GPU/PacketMathHalf.h` in the eigen third party module.
The attached patches clean these up.
[pytorch_main.txt](https://github.com/pytorch/pytorch/files/3290023/pytorch_main.txt)
[pytorch_third_party_eigen.txt](https://github.com/pytorch/pytorch/files/3290024/pytorch_third_party_eigen.txt)
[pytorch_third_party_ideep.txt](https://github.com/pytorch/pytorch/files/3290025/pytorch_third_party_ideep.txt)
Notes: Building from source on Debian (mostly unstable, some experimental) with a fresh clone; building directly in `pytorch/build` with `ccmake ..` (to specify CUDA_HOST_COMPILER and some other variables) and `make -j8` prior to installing with `python3 setup.py install`. | module: build,triaged,module: third_party | low | Critical |
456,166,883 | godot | [Mono] Signals do not work with params keyword | **Godot version:**
3.1.1
**OS/device including version:**
Windows 10
**Issue description:**
Signals do not work with params keyword
**Steps to reproduce:**
```
this.Connect("text_changed", this, "Log");
...
public void Log(params string[] value) { }
```
`Log()` is called with an empty array (default when no parameters are added)
**Minimal reproduction project:**
[Signal.zip](https://github.com/godotengine/godot/files/3292765/Signal.zip)
| enhancement,topic:dotnet | low | Minor |
456,183,339 | vue-element-admin | 控制台一直报错 |
## Bug report(问题描述)
点击左侧sidebar空白地方的时候会报错
#### Steps to reproduce(问题复现步骤)
进入系统首页 点击sidebar不是菜单的地方,会报错
#### Screenshot or Gif(截图或动态图)

#### Other relevant information(格外信息)
- Your OS: mac
- Node.js version:
- vue-element-admin version:4.2.1
| need repro :mag_right: | low | Critical |
456,203,303 | go | os: don't waste extra threads for opening files | <!-- Please answer these questions before submitting your issue. Thanks! -->
### What version of Go are you using (`go version`)?
<pre>
$ go version
go version go1.12.6 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"
GOBIN=""
GOCACHE="/Users/aklimov/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/aklimov/Git/golang"
GOPROXY=""
GORACE=""
GOROOT="/Users/aklimov/Git/brew/Cellar/go/1.12.6/libexec"
GOTMPDIR=""
GOTOOLDIR="/Users/aklimov/Git/brew/Cellar/go/1.12.6/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
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/3h/0nn80rp973b08bd0r56g5pd80000gn/T/go-build873614728=/tmp/go-build -gno-record-gcc-switches -fno-common"
</pre></details>
### What did you do?
1. I've built the program shown below,
2. ran `mkfifo pipe` and
3. ran `GOMAXPROCS=1 lldb theprogramshownbelow`.
```go
package main
import (
"fmt"
"os"
"runtime"
"time"
)
func main() {
for i := runtime.NumCPU() * 2; i > 0; i-- {
go openPipe()
}
for {
time.Sleep(time.Second)
}
}
func openPipe() {
p, errOpen := os.Open("./pipe")
fmt.Printf("os.Open(\"./pipe\"): %#v\n", errOpen)
p.Close()
for {
time.Sleep(time.Second)
}
}
```
### What did you expect to see?
Not much more threads than one.
### What did you see instead?
11 threads including a lot of hanging in the `open(2)` syscall. | NeedsInvestigation | low | Critical |
456,249,556 | kubernetes | Add serialization fixtures for kube-aggregator (APIService type) | Follow up from #78309
Add compatibility testing for the kube-aggregator API (APIService type)
Some special-case fuzzing will be required for the rawextension fields
/sig api-machinery
/priority important-soon
/assign | priority/important-soon,sig/api-machinery,kind/feature,lifecycle/frozen | low | Minor |
456,250,130 | kubernetes | Add serialization fixtures for meta APIs (PartialObjectMetadata, Table types) | Follow up from #78309
Add compatibility testing for the meta APIs (PartialObjectMetadata, Table types)
Some special-case fuzzing will be required for the rawextension fields
/sig api-machinery
/priority important-soon
/assign | priority/important-soon,sig/api-machinery,kind/feature,lifecycle/frozen | low | Minor |
456,260,717 | pytorch | Use of word "elements" in `torch.utils.data` samplers | ## 📚 Documentation
In `torch.utils.data` Samplers' [documentation](https://pytorch.org/docs/stable/data.html) I find the use of word "element" confusing.
For example, the description of `torch.utils.data.SequentialSampler` says:
> Samples elements sequentially, always in the same order.
`torch.utils.data.SequentialSampler` doesn't return elements of an object, but indices of those elements. This also applies to other samplers and is not clear from documentation.
The unfortunate example of `torch.utils.data.BatchSampler` only magnifies this confusion.
`list(BatchSampler(SequentialSampler(range(10)), batch_size=3, drop_last=False))`
`[[0, 1, 2], [3, 4, 5], [6, 7, 8], [9]]`
`list(BatchSampler(SequentialSampler(range(10)), batch_size=3, drop_last=True))`
`[[0, 1, 2], [3, 4, 5], [6, 7, 8]]` | module: docs,triaged | low | Minor |
456,292,631 | pytorch | cumsum cuda numerical instability | ## 🐛 Bug
Calling cumsum on a CUDA vector of nonnegative values can result in a vector with local maxima.
For CPU vectors, cumsum works as expected.
## To Reproduce
The example vector I found has 500 elements, so pastebin:
https://pastebin.com/4npHpd95
## Expected behavior
Calling cumsum on a vector of nonnegative values should result in a vector of ascending values.
## Environment
- PyTorch Version (e.g., 1.0): 1.1
- OS (e.g., Linux): Ubuntu 16.04
- How you installed PyTorch (`conda`, `pip`, source): pip3
- Python version: 3.5.2
- CUDA/cuDNN version: 9.0.176/7501
- GPU models and configuration: 2 x GTX 1080 Ti
| module: numerical-stability,module: cuda,triaged | low | Critical |
456,370,643 | pytorch | Linker errors when building project with OpenCV | ## 🐛 Bug
I'm trying to add libtorch to a working project. CMake configure throws no errors but when I try to build the project, it throws a lot of linking errors with OpenCV.
Then I tried to run the example code in [Installing C++ Distrbutions of Pytorch](https://pytorch.org/cppdocs/installing.html) and then it throws a different set of errors.
## To Reproduce
Steps to reproduce the behavior:
Code to reproduce the linking errors:
```
#include "opencv2/opencv.hpp"
#include "boost/filesystem.hpp"
int main(int argc, char** argv) {
std::vector<cv::String> images;
cv::glob("/home/madrogue/images/*.png",images);
for (auto& image:images){
cv::Mat temp = cv::imread(image,cv::IMREAD_GRAYSCALE);
cv::pyrDown(temp, temp);
boost::filesystem::path p(image);
cv::imwrite("/home/madrogue/reduced/" + p.filename().string(),temp);
}
return 0;
}
```
Code to reproduce the general errors:
```
#include <torch/torch.h>
#include <iostream>
int main() {
torch::Tensor tensor = torch::rand({2, 3});
std::cout << tensor << std::endl;
}
```
## Expected behavior
Libtorch should be added without linking errors with OpenCV.
## Environment
- PyTorch Version (e.g., 1.0): 1.1
- OS (e.g., Linux): Ubuntu 18.04
- How you installed PyTorch (`conda`, `pip`, source): libtorch
- Python version: 3.6.7
- CUDA/cuDNN version: 10.0
- GPU models and configuration: Nvidia GeForce GTX 960
- Any other relevant information: CLion 2019.1.4 OpenCV 4.1
## Additional context
Linking errors with OpenCV
```
====================[ Build | dcv_Runner | Release ]========================
/home/madrogue/dep/clion-2019.1/bin/cmake/linux/bin/cmake --build /home/madrogue/computer-vision/otro_anpr/anpr/cmake-build-release --target dcv_Runner -- -j 4
Scanning dependencies of target dcv_Runner
[ 0%] Building CXX object runner/CMakeFiles/dcv_Runner.dir/Runner.cpp.o
[100%] Linking CXX executable dcv_Runner
CMakeFiles/dcv_Runner.dir/Runner.cpp.o: In function `main':
Runner.cpp:(.text.startup+0xb9): undefined reference to `cv::glob(std::string, std::vector<std::string, std::allocator<std::string> >&, bool)'
Runner.cpp:(.text.startup+0x111): undefined reference to `cv::imread(std::string const&, int)'
Runner.cpp:(.text.startup+0x276): undefined reference to `cv::imwrite(std::string const&, cv::_InputArray const&, std::vector<int, std::allocator<int> > const&)'
collect2: error: ld returned 1 exit status
runner/CMakeFiles/dcv_Runner.dir/build.make:99: recipe for target 'runner/dcv_Runner' failed
make[3]: *** [runner/dcv_Runner] Error 1
CMakeFiles/Makefile2:472: recipe for target 'runner/CMakeFiles/dcv_Runner.dir/all' failed
make[2]: *** [runner/CMakeFiles/dcv_Runner.dir/all] Error 2
CMakeFiles/Makefile2:484: recipe for target 'runner/CMakeFiles/dcv_Runner.dir/rule' failed
make[1]: *** [runner/CMakeFiles/dcv_Runner.dir/rule] Error 2
Makefile:196: recipe for target 'dcv_Runner' failed
make: *** [dcv_Runner] Error 2
```
Error when running the installing example found in [Installing C++ Distrbutions of Pytorch](https://pytorch.org/cppdocs/installing.html):
```
====================[ Build | dcv_Runner | Release ]========================
/home/madrogue/dep/clion-2019.1/bin/cmake/linux/bin/cmake --build /home/madrogue/computer-vision/otro_anpr/anpr/cmake-build-release --target dcv_Runner -- -j 4
Scanning dependencies of target dcv_Runner
[ 0%] Building CXX object runner/CMakeFiles/dcv_Runner.dir/Runner.cpp.o
[100%] Linking CXX executable dcv_Runner
/usr/bin/ld: CMakeFiles/dcv_Runner.dir/Runner.cpp.o: undefined reference to symbol '_ZN3c106Symbol14fromQualStringERKSs'
//home/madrogue/dep/libtorch/lib/libcaffe2.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
runner/CMakeFiles/dcv_Runner.dir/build.make:84: recipe for target 'runner/dcv_Runner' failed
make[3]: *** [runner/dcv_Runner] Error 1
CMakeFiles/Makefile2:472: recipe for target 'runner/CMakeFiles/dcv_Runner.dir/all' failed
make[2]: *** [runner/CMakeFiles/dcv_Runner.dir/all] Error 2
CMakeFiles/Makefile2:484: recipe for target 'runner/CMakeFiles/dcv_Runner.dir/rule' failed
make[1]: *** [runner/CMakeFiles/dcv_Runner.dir/rule] Error 2
Makefile:196: recipe for target 'dcv_Runner' failed
make: *** [dcv_Runner] Error 2
```
| module: build,triaged | low | Critical |
456,384,563 | rust | rustc fails when including some C++ libs because of wasm32 linker fatal warnings | rustc is now passing the argument `--fatal-warnings` to lld on wasm32 (wasm-ld). This appears to have been added in https://github.com/rust-lang/rust/pull/54258
While I agree with the sentiment in the comment "Rust code should never have warnings, and warnings are often indicative of bugs, let's prevent them", unfortunately the same cannot apparently be said of C++ code.
I am currently getting bitten by "harmless" warnings due to a bug in LLVM: https://bugs.llvm.org/show_bug.cgi?id=40412
Unfortunately, because rustc is passing `--fatal-warnings` to wasm-ld, these warnings are not harmless to me but rather prevent me from linking the C++ library into my rust project.
I looked for an override such as `--no-fatal-warnings` but there does not appear to be one. Could we perhaps add an option to rustc such that the `--fatal-warnings` option can be suppressed (maybe via RUSTFLAGS) in cases where for whatever reason we run into otherwise harmless LLVM warnings? | A-linkage,A-LLVM,T-compiler,O-wasm,C-bug | low | Critical |
456,394,000 | rust | Recycle storage after move | We should experiment with "re-allocating" storage for a local after it's moved from if it gets re-initialized. This would enable more optimizations, but could have some potential fallout.
EDIT: See [this comment](https://github.com/rust-lang/rust/issues/61849#issuecomment-507897665) for further explanation of what kinds of optimizations this would enable.
Quoth @RalfJung, from https://github.com/rust-lang/rust/issues/59123#issuecomment-501990026:
> Currently, the following (entirely safe) code will definitely return `true`:
>
> ```rust
> let mut x = String::new();
> let addr_x = &x as *const _ as usize;
> drop(x);
> // later
> x = String::new();
> let addr_x2 = &x as *const _ as usize;
> return addr_x == addr_x2;
> ```
>
> If we want to do optimizations like yours here (and I am totally sympathetic to that), we have to explain in the "Rust Abstract Machine" (and in Miri) why this program might return `false`. And the answer cannot be "there is UB", because this is safe code.
>
> This is a topic that @nikomatsakis, @eddyb and me have touched on several times already, without ever hashing out a full plan. But in the current state of affairs, the only mechanism we have to "defeat" pointer equality tests like the above is to make sure that this is not the same allocation any more.
>
> So, one thing we might do is to do `StorageDead(x); StorageLive(x);` immediately after every move. This "re-allocates" `x` and thus definitely kills any existing pointers and also "defeats" pointer comparisons. The immediate `StorageLive` is to keep the liveness state in sync in both branches of a conditional (which might or might not be relevant -- unfortunately LLVM's semantics for these intrinsics is less than clear). I guess the `StorageLive` could be moved down in cases where there is no merging control flow, which should give you your optimization in many cases.
It is possible to do a subset of the optimization discussed in #59123 without this, but this would help cover more cases, in this optimization and others.
cc @cramertj @eddyb @nikomatsakis @RalfJung | I-slow,C-enhancement,T-lang,T-compiler,I-heavy,C-optimization | medium | Major |
456,401,202 | go | cmd/go: 'go mod edit' can add requirements that it can't remove | `go mod edit -require` can be used to add versions that don't match the major version of the corresponding module.
Unfortunately, the major-version validation happens early during parsing, so `go mod edit -droprequire` cannot subsequently drop those requirements.
```
example.com$ gotip mod init example.com
go: creating new go.mod: module example.com
example.com$ gotip version
go version devel +9838f4df Fri Jun 14 18:41:07 2019 +0000 linux/amd64
example.com$ gotip mod edit -require golang.org/x/[email protected]
example.com$ gotip mod edit -droprequire golang.org/x/text
go: errors parsing go.mod:
/tmp/tmp.5UPKq2KvZc/example.com/go.mod:5: invalid module: golang.org/x/text should be v0 or v1, not v2 (v2.0.0)
example.com$ cat go.mod
module example.com
go 1.13
require golang.org/x/text v2.0.0
example.com$
```
CC @jayconrod
See also #30513, #26454. | NeedsFix,modules | low | Critical |
456,487,202 | flutter | Explore sharing the same plugin instance between FlutterEngines | Somewhat related to #33288. I think @dnfield talked about possible ways of having all 'UI' isolate instances also share the same plugin isolate so they can share the same instance. | c: new feature,engine,dependency: dart,a: existing-apps,c: proposal,P3,a: plugins,team-engine,triaged-engine | low | Minor |
456,490,444 | flutter | in_app_purchase example update | Example app needs to...
1. Show how to implement required app store restore button and apply result.
2. How to parse validation data to check if subscription is still valid in dart.
These two things are all that is preventing me from submitting my flutter app to the apple store. Tough to get the mindset when information in the read me and the example app seem to disagree on variables and some read me items aren't part of the example. I've done storekit in ios successfully using SwiftyStorekit when I was IOS only, but this example and read me have left me more confused then when I started. | d: examples,p: in_app_purchase,package,team-ecosystem,P2,triaged-ecosystem | low | Major |
456,499,977 | deno | console.log not show private members of javascript |
test.ts
```typescript
class Foo
{
private foo= 8;
}
console.log( new Foo, );
// expect: Foo { foo: 8 }
// actually: Foo { foo: 8 }
```
test.js
```javascript
class Foo
{
#foo= 8;
}
console.log( new Foo, );
// expect: Foo { #foo: 8 }
// actually: Foo {}
```
| cli,suggestion | low | Major |
456,507,119 | pytorch | C++ ABI - Coupling different libraries issue | ## ❓ Questions and Help
Hello,
I am trying to couple PyTorch and OpenFOAM, an opensource CFD code. I am using C++ api of pytorch.
When I try to compile two libraries together, I have to set abi flag (-D_GLIBCXX_USE_CXX11_ABI). If I set it to 1, I have the following compilation error.
undefined reference to `c10::Error::Error(c10::SourceLocation, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
I cannot set it to 0 (zero) either, as I cannot compile OpenFOAM libraries with that flag.
Could you please tell me a way by which I can compile the code with both the flags (1 and 0)?
| module: build,triaged | low | Critical |
456,508,208 | TypeScript | PropertyDecorator factory with generic type is not so intelligent | <!-- 🚨 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 `typescript@next`. It may have already been fixed. -->
**TypeScript Version:** 3.5.1
<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:**
**Code**
```ts
export const Reactive = <T, K extends keyof T>(
setter?: (this: T, value?: T[K]) => boolean | void,
) => (target: T, propertyKey: K) => {
// do something
};
class Test {
@Reactive(function(name) {
// error
})
name: string
}
```
**Expected behavior:**
Automatically detect `this` should be type of `Test`, and `name` should be type of `string`
**Actual behavior:**
Argument of type '"name"' is not assignable to parameter of type 'never'.
**Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior -->
[Playground Link](https://www.typescriptlang.org/play/index.html#src=export%20const%20Reactive%20%3D%20%3CT%2C%20K%20extends%20keyof%20T%3E(%0D%0A%20%20setter%3F%3A%20(this%3A%20T%2C%20value%3F%3A%20T%5BK%5D)%20%3D%3E%20boolean%20%7C%20void%2C%0D%0A)%20%3D%3E%20(target%3A%20T%2C%20propertyKey%3A%20K)%20%3D%3E%20%7B%0D%0A%20%20%2F%2F%20do%20something%0D%0A%7D%3B%0D%0A%0D%0A%0D%0Aclass%20Test%20%7B%0D%0A%20%20%40Reactive(function%20(name)%20%7B%0D%0A%20%20%20%20console.log(this%2C%20name)%0D%0A%20%20%7D)%0D%0A%20%20name%3A%20string%3B%0D%0A%7D%0D%0A)
**Related Issues:** <!-- Did you find other bugs that looked similar? -->
| Needs Investigation | low | Critical |
456,513,584 | nvm | Installing node from source fails in configure because of --latest-npm option | - Operating system and version: macOS 10.13.4
- `nvm debug` output:
<details>
```
nvm --version: v0.34.0
$TERM_PROGRAM: iTerm.app
$SHELL: /bin/bash
$SHLVL: 1
$HOME: /Users/jcayzac
$NVM_DIR: '$HOME/.nvm'
$PATH: $HOME/.rbenv/shims:$HOME/.prefix/bin:$HOME/.cargo/bin:$HOME/.go/bin:/usr/local/opt/go/libexec/bin:$HOME/Library/Android/sdk/tools:$HOME/Library/Android/sdk/tools/bin:$HOME/Library/Android/sdk/platform-tools:/usr/local/share/dotnet:/Library/Frameworks/Mono.framework/Versions/Current/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin
$PREFIX: ''
$NPM_CONFIG_PREFIX: ''
$NVM_NODEJS_ORG_MIRROR: ''
$NVM_IOJS_ORG_MIRROR: ''
shell version: 'GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin17)'
uname -a: 'Darwin 17.7.0 Darwin Kernel Version 17.7.0: Wed Feb 27 00:43:23 PST 2019; root:xnu-4570.71.35~1/RELEASE_X86_64 x86_64'
OS version: Mac 10.13.6 17G6030
curl: /usr/bin/curl, curl 7.54.0 (x86_64-apple-darwin17.0) libcurl/7.54.0 LibreSSL/2.0.20 zlib/1.2.11 nghttp2/1.24.0
wget: /usr/local/bin/wget, GNU Wget 1.20.3 built on darwin17.7.0.
git: /usr/local/bin/git, git version 2.22.0
grep: /usr/bin/grep (grep --color), grep (BSD grep) 2.5.1-FreeBSD
awk: /usr/local/bin/awk, GNU Awk 5.0.0, API: 2.0 (GNU MPFR 4.0.2, GNU MP 6.1.2)
sed: illegal option -- -
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
sed: /usr/bin/sed,
cut: illegal option -- -
usage: cut -b list [-n] [file ...]
cut -c list [file ...]
cut -f list [-s] [-d delim] [file ...]
cut: /usr/bin/cut,
bash: basename: --: invalid option
basename: usage: basename string [suffix]
basename: basename is a shell builtin,
rm: illegal option -- -
usage: rm [-f | -i] [-dPRrvW] file ...
unlink file
rm: /bin/rm,
mkdir: illegal option -- -
usage: mkdir [-pv] [-m mode] directory ...
mkdir: /bin/mkdir,
xargs: illegal option -- -
usage: xargs [-0opt] [-E eofstr] [-I replstr [-R replacements]] [-J replstr]
[-L number] [-n number [-x]] [-P maxprocs] [-s size]
[utility [argument ...]]
xargs: /usr/bin/xargs,
nvm current: none
which node:
which iojs:
which npm:
npm config get prefix: bash: npm: command not found
npm root -g: bash: npm: command not found
```
</details>
- `nvm ls` output:
<details>
```sh
v10.9.0
[0;34m v12.0.0[0m
[0;34mdefault[0m [0;90m->[0m [0;34mnode[0m ([0;90m->[0m [0;34mv12.0.0[0m)
[0;34mnode[0m [0;90m->[0m [0;34mstable[0m ([0;90m->[0m [0;34mv12.0.0[0m) [0;37m(default)[0m
[0;34mstable[0m [0;90m->[0m [0;34m12.0[0m ([0;90m->[0m [0;34mv12.0.0[0m) [0;37m(default)[0m
[1;31miojs[0m [0;90m->[0m [1;31mN/A[0m [0;37m(default)[0m
[1;31munstable[0m [0;90m->[0m [1;31mN/A[0m [0;37m(default)[0m
[1;33mlts/*[0m [0;90m->[0m [1;33mlts/dubnium[0m ([0;90m->[0m [1;31mN/A[0m)
[1;33mlts/argon[0m [0;90m->[0m [1;31mv4.9.1[0m ([0;90m->[0m [1;31mN/A[0m)
[1;33mlts/boron[0m [0;90m->[0m [1;31mv6.17.1[0m ([0;90m->[0m [1;31mN/A[0m)
[1;33mlts/carbon[0m [0;90m->[0m [1;31mv8.16.0[0m ([0;90m->[0m [1;31mN/A[0m)
[1;33mlts/dubnium[0m [0;90m->[0m [1;31mv10.16.0[0m ([0;90m->[0m [1;31mN/A[0m)
```
</details>
- How did you install `nvm`? install script
- What steps did you perform?
```sh
. ~/nvm/nvm.sh --no-use
nvm install -s node --latest-npm --reinstall-packages-from=node
```
- What happened?
```
$>./configure --prefix=/Users/jcayzac/.nvm/versions/node/v12.4.0 --latest-npm<
Usage: configure [options]
configure: error: no such option: --latest-npm
nvm: install v12.4.0 failed!
```
- What did you expect to happen?
Successful install
| installing node,bugs | low | Critical |
456,518,406 | vscode | Builtin support for reading files from their zip archives | Rel: #17271
Note: This is now possible (although non-builtin) using the [ZipFS extension](https://marketplace.visualstudio.com/items?itemName=arcanis.vscode-zipfs#:~:text=This%20extension%20adds%20support%20into,edit%20files%20from%20your%20cache.)
## High-level
It would be useful for VSCode to be able to read files even when they're stored within zip archives. Opening `/foo/bar.zip/package.json` would succeed. Read-only is likely fine, at least for a first iteration.
## Motivation
- This feature isn't unheard of. Both vim and [emacs](https://www.gnu.org/software/emacs/manual/html_node/emacs/File-Archives.html) support reading files from zip archives (they even go a bit farther by allowing to also edit them, but we might not want to have to deal with the UI complexity for now).
- Package managers are experimenting with virtual install folders. Being able to read third-party files from the archives that contain them will be important to provide a good developer experience (particularly for the "ctrl+click on a symbol to go to its definition" workflow). Zip will be used by Yarn because of its good random access properties.
## Suggested Implementation
- The Yarn project ships a [wasm build](https://github.com/yarnpkg/berry/tree/master/packages/berry-libzip) of the libzip as an external package. This would make it easy to use a battle-tested zip library at little cost.
- The size cost would be around ~300KB for the Zip implementation (which could be reused for other purposes - there's a bunch of things that could use Zip support down the road).
- You might actually already have a library able to do that?
## Why not an extension
- I've started working on an extension to help with that ([vscode-zipfs](https://github.com/yarnpkg/berry/tree/master/packages/vscode-zipfs)), but it cannot be integrated as well as I'd like. In particular, it doesn't work with the ctrl+click workflow I mentionned, and running `code /foo/bar.zip/package.json` cannot open the right file. I believe a builtin integration could provide a seamless integration, which would be beneficial to the users.
| feature-request,file-explorer | high | Critical |
456,535,966 | create-react-app | Feedback wanted: New Hot Reloading | I’m working on hot reloading again. Got a very raw alpha version working. It preserves state but only for function components. Works with Hooks.
You can try the alpha version (**not production ready, super experimental**):
### Trying in a New Project (NOT FOR PRODUCTION)
```
npx create-react-app demo --scripts-version wonky-scripts
```
### Trying in an Existing Project (NOT FOR PRODUCTION)
1. Replace `react-scripts` dependency with `[email protected]`
2. Keep `scripts` the same
3. Delete `node_modules/.cache`
4. Run Yarn/npm
5. Start the project and try editing your React components
### What It Looks Like
It’s expected that it will work something like on this gif: https://twitter.com/dan_abramov/status/1139876172903395329
### Constraints (Library Authors, Read This!)
If your Hook or Component doesn't work with hot reload, keep in mind that:
* `useMemo` and `useCallback` caches are dropped on every edit (otherwise there wouldn't be a way to edit them 😅). If this breaks your code, consider `useRef` which gives you a semantics guarantee about not getting re-created. Like [here](https://github.com/alexreardon/use-memo-one). Usually there's a way to restructure the code to be more resilient.
* Same goes for `useEffect`. During hot reload, dependency array will be ignored, and even effects with `[]` dependencies will re-run. If this breaks your component or Hook, there's likely a way to restructure it to fix this. As a bonus, this will make it easier for you to later add more dependencies to it if needed.
* However, state and refs get preserved between edits. (As an escape hatch for quickly editing mounting animations and similar, note that users can add `// @hot reset` to the file they're editing, and this will force state reset. This is not a final syntax but we'll document some way to do it.)
If you need help getting your library working, please post in this thread.
### Known issues
- [ ] Hot reload gets stuck if you save a file without changing it
- [ ] Editing a file that declares Context doesn't preserve state, currently you need to move Context definition to another module and import it
- [ ] Errors after hot reload don't always get reported (e.g. try importing a non-existent component and then adding a file without exports)
- [ ] Lint warnings are confusingly duplicated on save
- [ ] Some libraries don't work with it (**please post which ones in this thread**)
### Please Share Feedback!
In this thread I’d love to hear first feedback from the brave folks who are willing to try this version on their projects. (Remember: it’s NOT usable in production, it’s just an experiment. This is why it has a funny name.)
Does it work for you? Can you make a gif of how it feels in your app, assuming it’s not a secret?
Thanks!
| issue: announcement | high | Critical |
456,542,834 | terminal | Feature Request: Dedicated serial port connection settings | # Summary of the new feature/enhancement
It would be awesome if you could add tabs like ssh connection, Telnet connection and Serial port connection.
For example

This is the list now on my PC, Imagine 3 new tabs with there 3 new options
Moreover, if you decide to implement the previous request, see if its easy to "remember" past connections, or better to save them with name, to show as tabs with the predefined connection details(of ssh and telnet)
EDIT___
There is a way to make this happen though, but its not solid and easy to implement. You can install openSSH from optional features, and then add a new profile


It works... I leave this feature request open in order for you to decide if you want to implement it without the need to add new profile, or add it as a How-To guide if you think that's the best way to do this. | Issue-Feature,Help Wanted,Area-Extensibility,Product-Terminal | medium | Critical |
456,547,170 | TypeScript | Codefix: convert `Type[]` to `readonly Type[]` | ## Search Terms
codefix readonlyarray readonly array immutable
## Suggestion
It'd be nice to have a codefix for converting non-readonly arrays to readonly.
## Use Cases
When converting/refactoring code to be more immutable/`readonly`-friendly, it's a bit of a pain to manually add these annotations.
## Examples
Given this:
```ts
function takesArrays(items: /*| |*/string[], moreItems: /*| |*/string[]) { /* ... */ }
```
...having a codefix to make one or all parameters `readonly` would be useful:
```ts
function takesArrays(items: readonly string[], moreItems: readonly string[]) { /* ... */ }
```
## 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 | Minor |
456,551,963 | pytorch | How about add torch::end for slicing in c++ frontend | ## 🚀 Feature
Add static const variable that means end of the tensor.
## Motivation
Reference slice function's definition
https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/core/Tensor.h#L527
In c++ slicing the whole tensor with step 2
```
tensor.slice(/*dim=*/0, /*start=*/0, /*end=*/9223372036854775807, /*step=*/2);
```
If torch::end exists and is set 9223372036854775807.
```
tensor.slice(/*dim=*/0, /*start=*/0, /*end=*/torch::end, /*step=*/2);
```
## Pitch
Improve readability and keep clear intention. | module: internals,feature,triaged | low | Minor |
456,555,462 | flutter | Accessing AsyncSnapshot.data should throw if there's an error | ### Steps to reproduce
Run the following app:
```dart
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
Stream<int> get stream async* {
throw StateError('error');
}
@override
Widget build(BuildContext context) {
return Directionality(
textDirection: TextDirection.ltr,
child: StreamBuilder<int>(
stream: stream,
builder: (BuildContext context, AsyncSnapshot<int> snapshot) {
return Text('${snapshot.data}');
},
),
);
}
}
```
### Expected behavior
You expect the `StateError` to show up in the console logs.
### Actual behavior
The exception is swallowed. | framework,c: API break,dependency: dart,has reproducible steps,P2,found in release: 3.3,found in release: 3.7,team-framework,triaged-framework | low | Critical |
456,565,175 | pytorch | torch::zeros is slow for small tensors (C++) | ## 🐛 Bug
For small 1d tensors (smaller than about 4000), setting each element to zero with an accessor is faster than using make_zeros.
Benchmarking code (uses https://github.com/google/benchmark):
```
#pragma clang diagnostic push
#pragma ide diagnostic ignored "cert-err58-cpp"
#include <benchmark/benchmark.h>
#include <torch/torch.h>
static void BM_AccessorZero2d(benchmark::State& state) {
auto options = torch::TensorOptions().dtype(torch::kFloat32);
for(auto _ : state) {
auto empty = torch::empty({state.range(0), state.range(0)}, options);
auto accessor = empty.accessor<float, 2>();
for(int i = 0; i < state.range(0); ++i) {
for(int j = 0; j < state.range(0); ++j) {
accessor[i][j] = 0;
}
}
}
}
BENCHMARK(BM_AccessorZero2d)->Range(1, 50000);
static void BM_MakeZeros2d(benchmark::State& state) {
auto options = torch::TensorOptions().dtype(torch::kFloat32);
for (auto _ : state) {
torch::zeros({state.range(0), state.range(0)}, options);
}
}
BENCHMARK(BM_MakeZeros2d)->Range(1, 50000);
static void BM_AccessorZero(benchmark::State& state) {
auto options = torch::TensorOptions().dtype(torch::kFloat32);
for (auto _ : state) {
auto empty = torch::empty({state.range(0)}, options);
auto accessor = empty.accessor<float, 1>();
for(int i=0; i<state.range(0); ++i) {
accessor[i] = 0;
}
}
}
BENCHMARK(BM_AccessorZero)->Range(1, 50000);
static void BM_MakeZeros(benchmark::State& state) {
auto options = torch::TensorOptions().dtype(torch::kFloat32);
for (auto _ : state) {
torch::zeros({state.range(0)}, options);
}
}
BENCHMARK(BM_MakeZeros)->Range(1, 50000);
BENCHMARK_MAIN();
#pragma clang diagnostic pop
```
And here are the results:
```
Results:
Run on (12 X 3600 MHz CPU s)
CPU Caches:
L1 Data 32K (x6)
L1 Instruction 32K (x6)
L2 Unified 256K (x6)
L3 Unified 15360K (x1)
Load Average: 1.03, 1.64, 2.00
------------------------------------------------------------------
Benchmark Time CPU Iterations
------------------------------------------------------------------
BM_AccessorZero2d/1 559 ns 559 ns 1221153
BM_AccessorZero2d/8 614 ns 614 ns 1154875
BM_AccessorZero2d/64 2404 ns 2404 ns 290513
BM_AccessorZero2d/512 88699 ns 88698 ns 7957
BM_AccessorZero2d/4096 27946856 ns 27947340 ns 25
BM_AccessorZero2d/32768 1799065774 ns 1799064893 ns 1
BM_AccessorZero2d/50000 4031161980 ns 4031154712 ns 1
BM_MakeZeros2d/1 1503 ns 1503 ns 466054
BM_MakeZeros2d/8 1492 ns 1492 ns 459766
BM_MakeZeros2d/64 1936 ns 1936 ns 358106
BM_MakeZeros2d/512 11142 ns 10945 ns 71892
BM_MakeZeros2d/4096 7404616 ns 7116580 ns 99
BM_MakeZeros2d/32768 388659886 ns 374048021 ns 2
BM_MakeZeros2d/50000 839755289 ns 818242038 ns 1
BM_AccessorZero/1 578 ns 578 ns 1220794
BM_AccessorZero/8 575 ns 575 ns 1186077
BM_AccessorZero/64 620 ns 620 ns 1113125
BM_AccessorZero/512 781 ns 781 ns 914935
BM_AccessorZero/4096 1853 ns 1853 ns 386530
BM_AccessorZero/32768 10718 ns 10719 ns 66042
BM_AccessorZero/50000 16424 ns 16424 ns 42340
BM_MakeZeros/1 1491 ns 1491 ns 451186
BM_MakeZeros/8 1458 ns 1458 ns 479606
BM_MakeZeros/64 1465 ns 1465 ns 473993
BM_MakeZeros/512 1539 ns 1539 ns 455206
BM_MakeZeros/4096 1933 ns 1933 ns 358675
BM_MakeZeros/32768 5305 ns 5305 ns 134382
BM_MakeZeros/50000 7662 ns 7662 ns 90926
```
As you can see, for small 1d tensors make_zero is sometime almost 3x slower than using an accessor. For 2d tensors, make_zeros is still slower for very small tensors.
## Environment
PyTorch version: 1.1.0a0+de582e2
Is debug build: No
CUDA used to build PyTorch: 10.0.130
OS: Ubuntu 18.04.2 LTS
GCC version: (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
CMake version: version 3.14.0
Python version: 3.7
Is CUDA available: Yes
CUDA runtime version: 10.0.130
GPU models and configuration: GPU 0: GeForce GTX TITAN X
Nvidia driver version: 418.56
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.6.0.21
/usr/lib/x86_64-linux-gnu/libcudnn.so.7.5.1
Versions of relevant libraries:
[pip3] numpy==1.13.3
[conda] _tflow_select 2.3.0 mkl
[conda] blas 1.0 mkl
[conda] magma-cuda10 2.4.0 1 cpbotha
[conda] mkl 2019.3 199
[conda] mkl-include 2019.3 199
[conda] mkl_fft 1.0.12 py37ha843d7b_0
[conda] mkl_random 1.0.2 py37hd81dba3_0
[conda] mkldnn 0.16.1 0 mingfeima
[conda] tensorflow 1.13.1 mkl_py37h54b294f_0
[conda] tensorflow-base 1.13.1 mkl_py37h7ce6ba3_0
[conda] torch 1.1.0a0+de582e2 pypi_0 pypi
| module: performance,module: cpp,triaged | low | Critical |
456,566,608 | rust | Missing diagnostic for non-sized type of `ptr::null_mut` | I tried this code:
```rust
trait Trait {}
// Make sure casts between thin-pointer <-> fat pointer obey RFC401
fn main() {
let a: *mut (dyn Trait + 'static) = 0 as *mut _; //~ ERROR casting
let x: *mut (dyn Trait + 'static) = std::ptr::null_mut();
}
```
When I ran this on rustc 1.32.0, I got this error message:
```rust
error[E0277]: the size for values of type `(dyn Trait + 'static)` cannot be known at compilation time
--> src/lib.rs:6:41
|
6 | let x: *mut (dyn Trait + 'static) = std::ptr::null_mut();
| ^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
|
= help: the trait `std::marker::Sized` is not implemented for `(dyn Trait + 'static)`
= note: to learn more, visit <https://doc.rust-lang.org/book/second-edition/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
= note: required by `std::ptr::null_mut`
error[E0606]: casting `usize` as `*mut (dyn Trait + 'static)` is invalid
--> src/lib.rs:5:41
|
5 | let a: *mut (dyn Trait + 'static) = 0 as *mut _; //~ ERROR casting
| ^^^^^^^^^^^
error: aborting due to 2 previous errors
Some errors occurred: E0277, E0606.
For more information about an error, try `rustc --explain E0277`.
```
But when I ran this on rustc nightly, I got this error message:
```rust
error[E0606]: casting `usize` as `*mut (dyn Trait + 'static)` is invalid
--> src/lib.rs:5:41
|
5 | let a: *mut (dyn Trait + 'static) = 0 as *mut _; //~ ERROR casting
| ^^^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0606`.
```
## Meta
```
% rustc +1.32.0 -Vv
rustc 1.32.0 (9fda7c223 2019-01-16)
binary: rustc
commit-hash: 9fda7c2237db910e41d6a712e9a2139b352e558b
commit-date: 2019-01-16
host: x86_64-unknown-linux-gnu
release: 1.32.0
LLVM version: 8.0
```
```
% rustc +nightly -Vv
rustc 1.37.0-nightly (0e4a56b4b 2019-06-13)
binary: rustc
commit-hash: 0e4a56b4b04ea98bb16caada30cb2418dd06e250
commit-date: 2019-06-13
host: x86_64-unknown-linux-gnu
release: 1.37.0-nightly
LLVM version: 8.0
```
| A-diagnostics,T-compiler,C-bug | low | Critical |
456,577,683 | godot | Mono godot_icall from Rpc from _Input causes crash | **Godot version:**
e21f808530b02a393a46d597afe89b4fbf886bb6
**OS/device including version:**
Arch Linux
**Issue description:**
This is a weird one. If you do an icall from within an RPC call from within an _Input, you get a crash.
This behavior was not present in official 3.1 builds, but it is present in current master mono builds.
I hit this a number of times in my game High Hat. I was also able to reproduce it in a sample project.
```
carter@beemo ~/Repro_MonoCrash> godot.x11.opt.tools.64.mono
Godot Engine v3.2.dev.mono.custom_build.ee58126cd - https://godotengine.org
OpenGL ES 2.0 Renderer: GeForce GTX 1070/PCIe/SSE2
Mono: Logfile is: /home/carter/.local/share/godot/mono/mono_logs/2019_06_15 14.19.00 (19749).txt
ERROR: mono_log_callback: Mono: FATAL ERROR, ABORTING! Logfile: /home/carter/.local/share/godot/mono/mono_logs/2019_06_15 14.19.00 (19749).txt
At: modules/mono/mono_gd/gd_mono_log.cpp:75.
=================================================================
Native Crash Reporting
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
/proc/self/maps:
00400000-00780000 r--p 00000000 103:05 1180805 /home/carter/code/godot/bin/godot.x11.opt.tools.64.mono
00780000-02dfd000 r-xp 00380000 103:05 1180805 /home/carter/code/godot/bin/godot.x11.opt.tools.64.mono
02dfd000-0405f000 r--p 029fd000 103:05 1180805 /home/carter/code/godot/bin/godot.x11.opt.tools.64.mono
0405f000-04127000 r--p 03c5e000 103:05 1180805 /home/carter/code/godot/bin/godot.x11.opt.tools.64.mono
04127000-0413f000 rw-p 03d26000 103:05 1180805 /home/carter/code/godot/bin/godot.x11.opt.tools.64.mono
0413f000-04157000 rw-p 00000000 00:00 0
04394000-0835a000 rw-p 00000000 00:00 0 [heap]
40731000-408c1000 rwxp 00000000 00:00 0
40be1000-40bf1000 rwxp 00000000 00:00 0
40bfa000-40cac000 rw-p 00000000 00:00 0
4108c000-4109c000 rwxp 00000000 00:00 0
41316000-41326000 rwxp 00000000 00:00 0
41837000-41839000 r-xs 00000000 00:2c 726867 /tmp/.glEE5j7S (deleted)
41c28000-41c38000 rwxp 00000000 00:00 0
7fc467fff000-7fc46c000000 rw-p 00000000 00:00 0
7fc46c000000-7fc46c021000 rw-p 00000000 00:00 0
7fc46c021000-7fc470000000 ---p 00000000 00:00 0
7fc474000000-7fc474021000 rw-p 00000000 00:00 0
7fc474021000-7fc478000000 ---p 00000000 00:00 0
7fc478000000-7fc478021000 rw-p 00000000 00:00 0
7fc478021000-7fc47c000000 ---p 00000000 00:00 0
7fc47c000000-7fc47c021000 rw-p 00000000 00:00 0
7fc47c021000-7fc480000000 ---p 00000000 00:00 0
7fc4831ff000-7fc4833ff000 rw-s 00000000 00:06 18956 /dev/nvidiactl
7fc4833ff000-7fc4837ff000 rw-s 00000000 00:06 18956 /dev/nvidiactl
=================================================================
Basic Fault Adddress Reporting
=================================================================
Memory around native instruction pointer (0x7fc4a700282f):0x7fc4a700281f d2 4c 89 ce bf 02 00 00 00 b8 0e 00 00 00 0f 05 .L..............
0x7fc4a700282f 48 8b 8c 24 08 01 00 00 64 48 33 0c 25 28 00 00 H..$....dH3.%(..
0x7fc4a700283f 00 44 89 c0 75 19 48 81 c4 10 01 00 00 5b c3 66 .D..u.H......[.f
0x7fc4a700284f 90 48 8b 15 e9 75 18 00 f7 d8 64 89 02 eb ba 67 .H...u....d....g
=================================================================
Native stacktrace:
=================================================================
0x7fc4a75cd49a - /usr/lib/libmonosgen-2.0.so.1 : (null)
0x7fc4a7562fce - /usr/lib/libmonosgen-2.0.so.1 : (null)
0x7fc4a792f4d0 - /usr/lib/libpthread.so.0 : (null)
0x7fc4a700282f - /usr/lib/libc.so.6 : gsignal
0x7fc4a6fed672 - /usr/lib/libc.so.6 : abort
0x2b63c16 - godot.x11.opt.tools.64.mono : (null)
0x7fc4a77b9e2c - /usr/lib/libmonosgen-2.0.so.1 : (null)
0x7fc4a77ba253 - /usr/lib/libmonosgen-2.0.so.1 : monoeg_g_logv
0x7fc4a77ba310 - /usr/lib/libmonosgen-2.0.so.1 : monoeg_g_log
0x7fc4a77b11a5 - /usr/lib/libmonosgen-2.0.so.1 : (null)
0x7fc4a77b2697 - /usr/lib/libmonosgen-2.0.so.1 : (null)
0x7fc4a77b2715 - /usr/lib/libmonosgen-2.0.so.1 : mono_threads_enter_gc_safe_region_unbalanced
0x408bef0b - Unknown
=================================================================
Telemetry Dumper:
=================================================================
Pkilling 0x7fc4a4263700 from 0x7fc4a5adbdc0
Pkilling 0x7fc49df58700 from 0x7fc4a5adbdc0
Entering thread summarizer pause from 0x7fc4a5adbdc0
Finished thread summarizer pause from 0x7fc4a5adbdc0.
debugger-agent: Unable to listen on 78
Waiting for dumping threads to resume
Debug info from gdb:
=================================================================
External Debugger Dump:
=================================================================
[New LWP 19750]
[New LWP 19753]
[New LWP 19754]
[New LWP 19755]
[New LWP 19756]
[New LWP 19757]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x00007fc4a792ee52 in waitpid () from /usr/lib/libpthread.so.0
Id Target Id Frame
* 1 Thread 0x7fc4a5adbdc0 (LWP 19749) "godot.x11.opt.t" 0x00007fc4a792ee52 in waitpid () from /usr/lib/libpthread.so.0
2 Thread 0x7fc4a83f8700 (LWP 19750) "godot.x11.opt.t" 0x00007fc4a792d506 in do_futex_wait.constprop () from /usr/lib/libpthread.so.0
3 Thread 0x7fc4a4a0c700 (LWP 19753) "godot.x11.opt.t" 0x00007fc4a792d506 in do_futex_wait.constprop () from /usr/lib/libpthread.so.0
4 Thread 0x7fc4a43c9700 (LWP 19754) "godot.x11.opt.t" 0x00007fc4a792e960 in nanosleep () from /usr/lib/libpthread.so.0
5 Thread 0x7fc4a4388700 (LWP 19755) "godot.x11.opt.t" 0x00007fc4a7092908 in nanosleep () from /usr/lib/libc.so.6
6 Thread 0x7fc49d7ff700 (LWP 19756) "SGen worker" 0x00007fc4a792abac in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
7 Thread 0x7fc4a4263700 (LWP 19757) "Finalizer" 0x00007fc4a792d506 in do_futex_wait.constprop () from /usr/lib/libpthread.so.0
Thread 7 (Thread 0x7fc4a4263700 (LWP 19757)):
#0 0x00007fc4a792d506 in do_futex_wait.constprop () from /usr/lib/libpthread.so.0
#1 0x00007fc4a792d608 in __new_sem_wait_slow.constprop.0 () from /usr/lib/libpthread.so.0
#2 0x00007fc4a7742b0a in ?? () from /usr/lib/libmonosgen-2.0.so.1
#3 0x00007fc4a76ee93c in ?? () from /usr/lib/libmonosgen-2.0.so.1
#4 0x00007fc4a7924a92 in start_thread () from /usr/lib/libpthread.so.0
#5 0x00007fc4a70c5cd3 in clone () from /usr/lib/libc.so.6
Thread 6 (Thread 0x7fc49d7ff700 (LWP 19756)):
#0 0x00007fc4a792abac in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1 0x00007fc4a7794144 in ?? () from /usr/lib/libmonosgen-2.0.so.1
#2 0x00007fc4a7924a92 in start_thread () from /usr/lib/libpthread.so.0
#3 0x00007fc4a70c5cd3 in clone () from /usr/lib/libc.so.6
Thread 5 (Thread 0x7fc4a4388700 (LWP 19755)):
#0 0x00007fc4a7092908 in nanosleep () from /usr/lib/libc.so.6
#1 0x00007fc4a70be1b8 in usleep () from /usr/lib/libc.so.6
#2 0x0000000002cd8297 in JoypadLinux::monitor_joypads() ()
#3 0x0000000002534de5 in ThreadPosix::thread_callback(void*) ()
#4 0x00007fc4a7924a92 in start_thread () from /usr/lib/libpthread.so.0
#5 0x00007fc4a70c5cd3 in clone () from /usr/lib/libc.so.6
Thread 4 (Thread 0x7fc4a43c9700 (LWP 19754)):
#0 0x00007fc4a792e960 in nanosleep () from /usr/lib/libpthread.so.0
#1 0x0000000000bbd8eb in OS_Unix::delay_usec(unsigned int) const [clone .constprop.12479] ()
#2 0x0000000002597bf4 in AudioDriverPulseAudio::thread_func(void*) ()
#3 0x0000000002534de5 in ThreadPosix::thread_callback(void*) ()
#4 0x00007fc4a7924a92 in start_thread () from /usr/lib/libpthread.so.0
#5 0x00007fc4a70c5cd3 in clone () from /usr/lib/libc.so.6
Thread 3 (Thread 0x7fc4a4a0c700 (LWP 19753)):
#0 0x00007fc4a792d506 in do_futex_wait.constprop () from /usr/lib/libpthread.so.0
#1 0x00007fc4a792d608 in __new_sem_wait_slow.constprop.0 () from /usr/lib/libpthread.so.0
#2 0x0000000002482dbd in SemaphorePosix::wait() [clone .part.0] ()
#3 0x000000000120a2b3 in VisualServerScene::_gi_probe_bake_thread() ()
#4 0x0000000002534de5 in ThreadPosix::thread_callback(void*) ()
#5 0x00007fc4a7924a92 in start_thread () from /usr/lib/libpthread.so.0
#6 0x00007fc4a70c5cd3 in clone () from /usr/lib/libc.so.6
Thread 2 (Thread 0x7fc4a83f8700 (LWP 19750)):
#0 0x00007fc4a792d506 in do_futex_wait.constprop () from /usr/lib/libpthread.so.0
#1 0x00007fc4a792d608 in __new_sem_wait_slow.constprop.0 () from /usr/lib/libpthread.so.0
#2 0x0000000002482dbd in SemaphorePosix::wait() [clone .part.0] ()
#3 0x0000000000d10d84 in _IP_ResolverPrivate::_thread_function(void*) ()
#4 0x0000000002534de5 in ThreadPosix::thread_callback(void*) ()
#5 0x00007fc4a7924a92 in start_thread () from /usr/lib/libpthread.so.0
#6 0x00007fc4a70c5cd3 in clone () from /usr/lib/libc.so.6
Thread 1 (Thread 0x7fc4a5adbdc0 (LWP 19749)):
#0 0x00007fc4a792ee52 in waitpid () from /usr/lib/libpthread.so.0
#1 0x00007fc4a75cd71a in ?? () from /usr/lib/libmonosgen-2.0.so.1
#2 0x00007fc4a7562fce in ?? () from /usr/lib/libmonosgen-2.0.so.1
#3 <signal handler called>
#4 0x00007fc4a700282f in raise () from /usr/lib/libc.so.6
#5 0x00007fc4a6fed672 in abort () from /usr/lib/libc.so.6
#6 0x0000000002b63c16 in mono_log_callback(char const*, char const*, char const*, int, void*) ()
#7 0x00007fc4a77b9e2c in ?? () from /usr/lib/libmonosgen-2.0.so.1
#8 0x00007fc4a77ba253 in monoeg_g_logv () from /usr/lib/libmonosgen-2.0.so.1
#9 0x00007fc4a77ba310 in monoeg_g_log () from /usr/lib/libmonosgen-2.0.so.1
#10 0x00007fc4a77b11a5 in ?? () from /usr/lib/libmonosgen-2.0.so.1
#11 0x00007fc4a77b2697 in ?? () from /usr/lib/libmonosgen-2.0.so.1
#12 0x00007fc4a77b2715 in mono_threads_enter_gc_safe_region_unbalanced () from /usr/lib/libmonosgen-2.0.so.1
#13 0x00000000408bef0b in ?? ()
#14 0x00007fc49d8bfc70 in ?? ()
#15 0x00007fc49d8bfc20 in ?? ()
#16 0x0000000000000000 in ?? ()
[Inferior 1 (process 19749) detached]
=================================================================
Managed Stacktrace:
=================================================================
at <unknown> <0xffffffff>
at Godot.GD:godot_icall_GD_print <0x000ba>
at Godot.GD:Print <0x001af>
at Root:DoSomething <0x00107>
at <Module>:runtime_invoke_void__this___int <0x000db>
at <unknown> <0xffffffff>
at Godot.NativeCalls:godot_icall_2_552 <0x000f3>
at Godot.Node:Rpc <0x000cb>
at Root:_Input <0x00233>
at <Module>:runtime_invoke_void__this___object <0x000d8>
=================================================================
fish: “godot.x11.opt.tools.64.mono” terminated by signal SIGABRT (Abort)
```
**Steps to reproduce:**
* Create an _Input() function
* Make an RPC call from within the _Input function
* Call a method in the RPC call that makes a Godot.NativeCalls:godot_icall_XXX (ex: GD.Print)
**Minimal reproduction project:**
[Repro_MonoCrash.zip](https://github.com/godotengine/godot/files/3293562/Repro_MonoCrash.zip)
| bug,topic:dotnet,crash | low | Critical |
456,578,122 | godot | RichTextLabel + tag [table] = all bags | **Godot version: 3.1.1**
**All OS**

In the RichTextLabel component, everything that is between the tags: {table} and {/table} - this is one big bug! What works outside of tags {table} and {/table}, inside tags does not work!
1. Determining column width does not work correctly. The right edge is uneven. Sometimes letters climb under the scrolbar.
2. The definition of the table length does not work correctly. The vertical scrolbar reaches its lowest point when a few more paragraphs of text remain below.
3. Sometimes when scrolling down, the text simply disappears (completely)!
4. A single carriage return indent above a few lines.
5. Tag: {fill} in the table is processed incorrectly. Compound irregularity of the right paragraph margin.
[Demo.zip](https://github.com/godotengine/godot/files/3293565/Demo.zip)
| bug,topic:gui | low | Critical |
456,592,450 | opencv | Implement MoltenVK (enables Vulkan support for Mac OS/iOS) | ##### Detailed description
As Apple already deprecated OpenCL, the only way to use GPU acceleration in the future is either through the Intel OpenVINO (what only supports Intel GPU's) or through Vulkan with help of [MultenVK](https://github.com/KhronosGroup/MoltenVK).
MultenVK can automatically and transparently convert SPIR-V shaders to MSL at runtime with the help of the Runtime Shader Conversion.
[The installation and usage is quite straight forward](https://github.com/KhronosGroup/MoltenVK/blob/master/Docs/MoltenVK_Runtime_UserGuide.md#install)
OpenCV DNN will be the only framework next to Apple's own CoreML framework that can utilize Metal GPU acceleration, while OpenCV will also be compatible with other platforms!
As Vulkan support is still only experimental, I will try to implement MoltenVK and see if things work, if it does it will incentivize people to contribute to Vulkan support as it will also replace OpenCL on Mac.
There are only a [few limitations ](https://github.com/KhronosGroup/MoltenVK/blob/master/Docs/MoltenVK_Runtime_UserGuide.md#known-moltenvk-limitations) with MoltenVK so it should be able to work. | feature,priority: low,platform: ios/osx,effort: ∞ | low | Minor |
456,609,063 | TypeScript | Module.exports = {} not recognized by IntelliSense | TypeScript version: 3.5.1
The CommonJS construct `module.exports = {}` does not provide import suggestions in JS files via VSCode IntelliSense.
IntelliSense provides a *TS error* handle on the `module.exports = {}` construct:
> File is a CommonJS module; it may be converted to an ES6 module.ts(80001)
Pressing the **Quick Fix** option converts the exports to ES6 format. After this, IntelliSense import suggestions work in other scripts.
What also works is formatting the export as follows:
```lang-js
module.exports.showText = showtext;
```
My files are:
**lib.js**
```lang-js
function showText() {
console.log('Text');
}
module.exports = {
showText: showText,
}
```
**myCode.js**
```lang-js
showTe...; // <- no import suggestion provided
```
Project structure:
```
./lib.js
./myCode.js
```
I would like to get the IntelliSense import suggestion without change of the `module.exports = {}` construct (I do not have the authorization to do this for the entire project code base).
I am not using a jsconfig.json file. | Suggestion,Awaiting More Feedback | low | Critical |
456,627,796 | godot | Editor falls back to GLES2 if GLES3 is not supported, and it's confusing that the dropdown shows "GLES2" when the configured render is still "GLES3" in settings | <!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->
**Godot version:**
3.1.1
<!-- Specify commit hash if non-official. -->
**OS/device including version:**
Windows 7 Ultimate SP1 x64
Acer Aspire 4738, Intel(R) HD Graphics
<!-- Specify GPU model and drivers if graphics-related. -->
**Issue description:**
The game won't run after Godot attempts to use GLES3, though the IDE still says GLES2.
<!-- What happened, and what was expected. -->
**Steps to reproduce:**
Open an GLES3 project in a device that only runs GLES2.
**Minimal reproduction project:**
[Godot GLES bug.zip](https://github.com/godotengine/godot/files/3294017/Godot.GLES.bug.zip) (just a node2D in GLES3)
[Video demonstration](https://vimeo.com/342542032)
<!-- Recommended as it greatly speeds up debugging. Drag and drop a zip archive to upload it. --> | enhancement,topic:editor,confirmed,usability | low | Critical |
456,629,917 | TypeScript | Merge same function signatures for intersection types | <!-- 🚨 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 `typescript@next`. It may have already been fixed. -->
**TypeScript Version:** 3.6.0-dev.20190611
<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:** function signature merge
**Code**
```ts
interface X {
name: string;
method(): void;
}
interface Y {
index: number;
method(): void;
}
var z: X & Y;
z.method(); // <--- Put your cursor here
```
**Expected behavior:** IntelliSense should ideally show only one signature.
**Actual behavior:** It shows two exactly same signatures. Not harming, but weird.
**Playground Link:** https://www.typescriptlang.org/play/#src=interface%20X%20%7B%20%0D%0A%20%20%20%20name%3A%20string%3B%0D%0A%20%20%20%20method()%3A%20void%3B%0D%0A%7D%0D%0A%0D%0Ainterface%20Y%20%7B%20%0D%0A%20%20%20%20index%3A%20number%3B%0D%0A%20%20%20%20method()%3A%20void%3B%0D%0A%7D%0D%0A%0D%0Avar%20z%3A%20X%20%26%20Y%3B%0D%0A%0D%0Az.method()
| Suggestion,Awaiting More Feedback | low | Critical |
456,665,357 | ant-design | `<Typography>` should offer default styles for `<table>` inside it | - [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?
Pages of copy (e.g., legal pages) look beautiful, just by using `<Typography>` and standard markup inside, with no custom CSS required.
Except for `<table>` which doesn't get any styling at all and looks lame.
Using the `<Table>` react component is overkill when you just want a table with simple copy inside it, and may be the styling is a bit "too much" for a simple table and will look jarring against the beautiful copy.
### What does the proposed API look like?
No API, just some extra LESS like:
```
.antd-typography table { border: 1px solid @typography-table-border-color; }
.antd-typography table th { font-weight: 700; }
```
^^^ Anyway I just made that CSS up, not real examples I recommend
<!-- generated by ant-design-issue-helper. DO NOT REMOVE --> | help wanted,💡 Feature Request,Inactive | low | Minor |
456,669,491 | pytorch | Logging mode for saying when tensor broadcast occurs | ## 🚀 Feature
<!-- A clear and concise description of the feature proposal -->
```python
torch.disable_broadcast()
# raise errors instead of doing broadcast underneath.
```
## Motivation
<!-- Please outline the motivation for the proposal. Is your feature request related to a problem? e.g., I'm always frustrated when [...]. If this is related to another GitHub issue, please link here too -->
Broadcast is very convenient and efficient in many scenarios, but it also introduces extra careless bugs which are hard to locate.
It should be great if I can disable the broadcast mechanism (or force the Tensor size check) at debugging time.
## Pitch
<!-- A clear and concise description of what you want to happen. -->
## Alternatives
<!-- A clear and concise description of any alternative solutions or features you've considered, if any. -->
## Additional context
<!-- Add any other context or screenshots about the feature request here. -->
| module: internals,feature,module: molly-guard,triaged | low | Critical |
456,673,014 | create-react-app | Add support for eslint-plugin-jest | For typical development while using create-react-app, inevitability there will be a time when developers accidentally commit stuff like `fit` or `fdescribe` - I would like CRA to have built in support for eslint-plugin-jest and set those as warnings so they can be caught as hard errors in CI. | issue: proposal | low | Critical |
456,680,070 | rust | `for` loop desugaring treats the loop's trailing expression in unusual way | Namely, it's treated as a semicolon-less statement in a middle of the block.
```rust
// Like this:
fn main() {
{ 0 } // <- semicolon-less statement in a middle of the block
()
}
```
- "Semicolon-less" means that its type should unify with `()` (https://github.com/rust-lang/rust/pull/61753).
- "In a middle of the block" means that it's not treated as trailing and its lifetime is not extended from the block outwards. That means "does not live long enough" errors like [these](https://github.com/rust-lang/rust/pull/61753#issuecomment-502306283) do not happen (a minimized test case would be appreciated).
This is unusual because
- No other block construction or loop does this.
- The desugared form cannot be written in source code (it will either need a semicolon, or will be considered trailing).
Git blame says that the behavior was introduced by @Zoxc in https://github.com/rust-lang/rust/pull/42265.
We cannot remove this behavior because it appears to be useful and code will break if it's removed.
We can, however, use it in other block constructions for which the block's trailing expression does not represent its result.
| Block construction | Trailing expression is the result |
| ------------- | ------------- |
| `if cond { ... } [else { ... }]` | Yes |
| `if let pat = expr { ... } [else { ... }]` | Yes |
| `while cond { ... }` | No |
| `while let pat = expr { ... }` | No |
| `for pat in expr { ... }` | No |
| `loop { ... }` | No |
| `[unsafe] { ... }` | Yes |
| `async { ... }` | ??? |
| `try { ... }` | Yes | | T-lang,T-compiler,C-bug | low | Critical |
456,756,209 | youtube-dl | New option to keep original subtitles file after conversion (or update readme) | <!--
######################################################################
WARNING!
IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################
-->
## Checklist
- [X] I'm reporting a feature request
- [X] I've verified that I'm running youtube-dl version **2019.06.08**
- [X] I've searched the bugtracker for similar feature requests including closed ones
## Description
Currently, there is no specific option to keep the original subtitles file after a conversion. It is deleted by default. Nonetheless, the original subtitles file can be retained if the "--keep-video" option is used – this doesn't seem to be documented. However, that will cause the original video file to be kept if remuxing is also specified. It doesn't seem possible to keep the original video file but not the original subtitles files and vice-versa.
A separate "keep original subtitles file" option would address this. However, I guess FFmpeg might not have a separate option for this so, alternatively, the readme.md could be altered to make clear that the original video and subtitles files will be kept. That is, "--keep-video" will keep the original subtitles file after conversion and/or the original video file after remuxing. | request | low | Critical |
456,763,934 | vscode | Menu widget rendered in greyscale | Version: 1.35.1 (user setup)
Commit: c7d83e57cd18f18026a8162d042843bda1bcf21f
Date: 2019-06-12T14:30:02.622Z
Electron: 3.1.8
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.18362
I also double checked that the problem is on the Insider's Build.
**Steps to Reproduce:**
1. Observe text on screen. It should have gray subpixel rendering.

2. Open menu bar.
3. Observe text on screen. It should have RGB subpixel rendering.

This issue occurs on all text (except the menu bar submenus). I noticed it, because the text rendering looks better, but only when the menu bar was open! I would prefer all of it to use RGB subpixel rendering, like my other applications.
**Does this issue occur when all extensions are disabled?:** Yes
| bug,help wanted,font-rendering,menus,chromium,lcd-text-rendering | medium | Critical |
456,787,375 | vscode | Make proxy settings machine scoped | I believe the proxy settings we have are scoped to machine and so they should be tagged as Machine scoped. | debt,proxy,under-discussion | low | Minor |
456,789,427 | create-react-app | Console clearing removes CRA’s own warnings | react-scripts start continuous scrollback clearing (#2495) clears the warnings CRA itself prints. Here is a visual demonstration slowed down:

On a faster setup it is near impossible to read the warning before it disappears.
Platform: node 10.15.3, npm 6.9.0
Search terms: clear, console, warning, 2495.
### Steps to Reproduce
1. npx create-react-app my-app foo --typescript
2. cd foo
3. Delete allowSyntheticDefaultImports option in tsconfig.json
4. npm start
### Expected Behavior
Ideally react-scripts would not clear the scrollback (#2495) and let the user see the logs of what happened in the past. Given the resolution of that issue this is unlikely.
Alternatively, react-scripts should take a lot of care to not clear its own warnings.
| issue: proposal | medium | Major |
456,816,632 | godot | Tile Painting UI Icon not highlighted | **Godot version:**
3.1.1
**Issue description:**
When I flip the tile, there is no indicator that the tile is already flipped.
This is shown be default
<img width="164" alt="Screen Shot 2019-06-17 at 3 48 42 PM" src="https://user-images.githubusercontent.com/2648571/59591096-9f09b680-9117-11e9-9b93-ebff3da3e047.png">
This is shown when I flipped
<img width="158" alt="Screen Shot 2019-06-17 at 3 48 47 PM" src="https://user-images.githubusercontent.com/2648571/59591150-b21c8680-9117-11e9-840f-d23d9711d7a1.png">
I guess the flip icon should be highlighted like 3.0 | enhancement,topic:editor,usability | low | Minor |
456,851,220 | vscode | Extensions using the "type" command (for ex. Vim) have poor performance due to being single-threaded with other extensions | I don't know if this is a known/accepted issue, but I've had a number of users complain of poor performance in the editor when using my extension along with the Vim extension.
This appears to be because the Vim extension uses the `type` command to handle keypresses (in the extension host). This means if pressing a key triggers a command that blocks in another extension (for example the first character press can trigger code completion, which if the list is 20,000 items can block the thread for a little while while they're build + serialised) the typing in the editor is really sluggish.
You can easily reproduce this by making an extension that blocks for 1s when asked for completions:
```ts
context.subscriptions.push(vscode.languages.registerCompletionItemProvider({ scheme: "file" }, {
provideCompletionItems(document: vscode.TextDocument, position: vscode.Position, token: vscode.CancellationToken, context: vscode.CompletionContext): vscode.ProviderResult<vscode.CompletionItem[] | vscode.CompletionList> {
console.log('Completion request');
var start = Date.now();
let i = 0;
while (Date.now() < start + 10000) {
// Block for a second...
i++;
}
return [new vscode.CompletionItem(`aaaItem (${i} iterations)`)];
},
}));
```
If you run this and enabled the Vim plugin, when you start typing on a newline (which triggers completion), the characters you type won't appear for a while.
Of course, extensions should try to avoid blocking the extension host as much as possible, but sometimes it's unavoidable (for ex. assembling and serialising a huge number of completion items). It's not clear where users should raise bugs, since in isolation neither extension is really doing anything wrong.
I don't know what the fix is (separate extension host for type-handling extensions might work, but that might also be a huge task), but I couldn't find any issues discussing this and figured it was worth some discussion (even if only to have the information described in one place we can point people to that hit these issue). | feature-request,VIM,perf | high | Critical |
456,852,102 | storybook | context.parameters.fileName is different in static build | **Describe the bug**
When using `context` the `parameters.fileName` is the actual path (e.g. /folder/Button-story.js) in development but will switch to a number (e.g. 1021) in static production build.
**To Reproduce**
Steps to reproduce the behavior:
Output context in production build.
**Expected behavior**
context should be the same in development and production
**Code snippets**
```javascript
export const withNotes = makeDecorator({
wrapper: (context) => {
console.log(context.parameters.fileName);
});
```
**System:**
- Version: 5.1.8
| bug,core | low | Critical |
456,881,755 | scrcpy | [Suggestion] Put user-friendly name of device in window name | For testing purpose
`shell getprop ro.product.model` returns models as **SM-G960F** (Galaxy S9) for samsung devices.
Things like Motorola return readable user-friendly names, i.e. **Motorola E4 Plus**.
But sometimes they don't: **XT1635-02** (Motorola Z Play).
I remember all models which i work with by heart. But eye catches easily when you have window named **Samsung Galaxy S6 Edge+ (SM-G928F)**
`shell settings get secure bluetooth_name` returns almost on every device (Galaxy S4 mini is still GT-9195. But it's initially called like that so doesn't matter) its name if it wasn't changed by user.
**How reasonable is getting the name from settings?**
It's kind of slow. Or maybe i'm doing that wrong. Because if you make loop which gets info about all connected devices
```
#!/bin/bash
for serial in $(adb devices | awk 'NR>1{print $1}');
do
echo $(adb -s $serial shell settings get secure bluetooth_name | sed "s/\\r//g")
done
```
it would work significantly slower than
```
#!/bin/bash
for serial in $(adb devices | awk 'NR>1{print $1}');
do
echo $(adb -s $serial shell getprop ro.product.model | sed "s/\\r//g")
done
```
| feature request | low | Major |
456,905,756 | create-react-app | [Documentation] --use-npm & --scripts-version | - [X] I have checked the issues & could't find the mentioned below.
There should be mention of the following;
- `--use-npm` in the documentation, if someone want's to opt out of `yarn` to use `npm` instead.
- How to use `--scripts-version` when over-riding with your own custom react-scripts.
> npx create-react-app `--scripts-version` CUSTOM_SCRIPT_PATH my-project-name `--use-npm`
I am more than happy to make a PR for this. (I would need some guideance though :)) | issue: proposal,tag: documentation | low | Major |
456,914,277 | pytorch | Batch Normalization axis | ## 🚀 Feature
Make it possible to specify the axis on which to perform Batch Normalization.
## Motivation
Right now batch normalization is geared towards convolution layers which have typically a layout of NxCxWxH (in the context of 2D batch normalization). But there are other scenarios possible (for example to apply BN to a RNN) where the features are located at a different axis. The current solution doesn't cater for those scenarios.
## Pitch
Adding the axis makes batch normalization more generic applicable to a wide variety of use cases and is inline with other ML frameworks. Default could still be axis=1 so NxCxWxH is handled as is currently the case but other cases are now also supported.
## Alternatives
The only workaround right now it to shift the different axis before the BN and then move them back again after. Not the most elegant solution.
| triaged,module: batching,function request,module: norms and normalization | low | Major |
456,930,248 | create-react-app | Uncaught TypeError: Super expression must either be null or a function, not undefined | <!--
PLEASE READ THE FIRST SECTION :-)
-->
### Is this a bug report?
Yes
### Did you try recovering your dependencies?
Yes
### Which terms did you search for in User Guide?
Yes i do
### Environment
System:
OS: macOS 10.14.5
CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
Binaries:
Node: 8.11.3 - /usr/local/bin/node
Yarn: 1.15.2 - /usr/local/bin/yarn
npm: 5.7.1 - /usr/local/bin/npm
Browsers:
Chrome: 74.0.3729.169
Firefox: 64.0.2
Safari: 12.1.1
npmPackages:
react: ^16.8.6 => 16.8.6
react-dom: ^16.8.6 => 16.8.6
react-scripts: 3.0.1 => 3.0.1
npmGlobalPackages:
create-react-app: Not Found
### Steps to Reproduce
1. Create the build for production
2. Server the build with serve
3. Enter on the url that serve give for my
### Expected Behavior
Server the build with a normal behave ( normal means the same that i have on a development build )
### Actual Behavior
<!--
Did something go wrong?
Is something broken, or not behaving as you expected?
Please attach screenshots if possible! They are extremely helpful for diagnosing issues.
-->
Yes, the app give a this error:
**Uncaught TypeError: Super expression must either be null or a function, not undefined**

Here inside the error:

### Reproducible Demo
1. Create a react app with cra
2. Install this library https://github.com/dexma/ui-components
3. Make a build to production
4. Server the build with serve npm package
COMMENT:
I solved this problem putting _**keep_fnames: true**_ on the minimizer plugin TerserPlugin options.
If you pass true to keep_fnames you prevent the compressor from discarding function names. Useful for code relying on Function.prototype.name
| issue: needs investigation | low | Critical |
456,986,105 | node | http2: sessionError vs aborted | A little confusion regarding the 'sessionError' on http2 servers.
I'm getting a lot of `sessionError`s with `ECONNRESET`. This feels more like clients killing their connections, i.e. `aborted` rather than an server/session error?
I believe currently we are handling most cases where a incoming connection is unexpectedly closed we emit `aborted` events rather than `error`?
Or is there something else that could cause such an error?
Is this a potential bug? | http2 | low | Critical |
457,030,171 | youtube-dl | Support for online channel M3 on MTVA Archívum (HU) | <!--
######################################################################
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 2019.06.08. 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])
-->
- [x] I'm reporting a new site support request
- [x] I've verified that I'm running youtube-dl version **2019.06.08**
- [x] I've checked that all provided URLs are alive and playable in a browser
- [x] I've checked that none of provided URLs violate any copyrights
- [x] 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://archivum.mtva.hu/m3/M3-R3FOU0FJU2pyWjVhL3NYOGppSXl3ZDBHRnZ6UitFSE4vdDhyNDgwbHpEcz0
- Single video: https://archivum.mtva.hu/m3/M3-czJjVW85bFBxZXJDcnh2QWx3R0JLN1hzeTJ2Ti9rWHZTK2ZSK1h5b1NiUT0
## Description
<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->
MTVA (Media Services and Support Trust Fund) is Hungary's state-owned national public-service broadcasting organization, and it's the successor of MTV (state television service) and MR (state radio service). Its archives provide paid access to media, but they recently incorporated the public channel M3.
M3 was an archive channel airing old programming from MTVA's archives, but as of June 1, 2019, it stopped airing as a traditional TV station, and became an online station on MTVA's archive site:
https://archivum.mtva.hu/m3/
According to the site, M3 now follows an online airing schedule where there is a currently airing program, and any program in the schedule is available for 2 hours prior and 8 hours after streaming, giving a 10-hour window for people to access and replay a certain program which is on the schedule.
There are (Hungarian) subtitles provided at least for some of the programs.
On the video pages, the titles are displayed like this:
Lejátszóban: (In the player:)
[program title]
[episode title]
The links provided were available and playable at the time of filing this request.
The programs are available without a registration, and I don't know if the site uses georestriction. | site-support-request,Good first issue | low | Critical |
457,035,153 | youtube-dl | Support for MédiaKlikk (HU) | <!--
######################################################################
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 2019.06.08. 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])
-->
- [x] I'm reporting a new site support request
- [x] I've verified that I'm running youtube-dl version **2019.06.08**
- [x] I've checked that all provided URLs are alive and playable in a browser
- [x] I've checked that none of provided URLs violate any copyrights
- [x] 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.mediaklikk.hu/video/izorzok-toalmas/
- Single video: https://www.mediaklikk.hu/video/honfoglalo-2019-06-03-i-adas/
- Single video: https://www.mediaklikk.hu/video/eletkerek-2019-04-19-i-adas/
- Playlist/show page: https://www.mediaklikk.hu/musor/izorzok/
## Description
<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->
MédiaKlikk is the free VOD video platform of MTVA.
MTVA (Media Services and Support Trust Fund) is Hungary's state-owned national public-service broadcasting organization, and it's the successor of MTV (state television service) and MR (state radio service).
The programs are available without a registration, and I don't know if the site uses georestriction. | site-support-request | low | Critical |
457,052,853 | TypeScript | Tooltips / IntelliSense: Don't resolve type aliases (aka "semantic sugar") set explicitly | We have defined a bunch of "semantic sugar" type aliases like:

**Status quo (bad):** VS Code is resolving these along the alias chain in tooltips and IntelliSense suggestions (which kinda makes non-sense of the type alias in the first place)
(c.f. hovered tooltip over `this.url` at bottom)
**Better:** Let VS Code show `UrlString` as type here instead of `string` to aid developers with semantic sugar as of what type of string to expect.
**Alternative:** Show both, i.e. `BufferingWebSocket.url: UrlString (= string)`. | Suggestion,Experience Enhancement | high | Critical |
457,093,573 | rust | Mention editions when emitting 2015 exclusive errors | The difference between edition defaults for new projects between `cargo` and `rustc` can lead to confusion, particularly for newcomers. All errors that would only happen on one edition should mention the discrepancy. We made an effort to have lints for 2015 to 2018 migration, but we were more lax on clarifying diagnostics when following 2018 guides when `rustc` is ran under 2015. Things like nll discrepancies (seen in https://github.com/rust-lang/rust/issues/61855, moot point once we enable nll in 2015) come to mind, while things like `let async = 6;` (pass in 2015, "error: expected pattern, found reserved keyword `async`" without any mention of editions in 2018) which do not mention editions at all (it should recommend using `r#raw_idents` always, explain it was accepted in 2015 edition but it's being run in 2018). | C-enhancement,A-lints,A-diagnostics,T-compiler,A-docs,WG-epoch,A-edition-2018 | low | Critical |
457,094,151 | flutter | Allow postMessage to return a JS promise to send a message from JS running in a WebView to the application's Dart code | Internal: b/343558780
Currently the way to send a message from JS running in a WebView to the application's Dart code is by calling t [JavaScriptChannel](https://pub.dev/documentation/webview_flutter/latest/webview_flutter/WebView/javascriptChannels.html)'s `postMessage` method which has no return value. A response can be sent back from the Dart code to the JS code by calling [evaluateJavascript](https://pub.dev/documentation/webview_flutter/latest/platform_interface/WebViewPlatformController/evaluateJavascript.html).
User's have expressed interest in making it easier to get a response from a `postMessage`, the propose solution would be to have the `postMessage` return a javascript promise and have some convenient wrapper code on the Dart side that takes and return value and calls `evaluateJavascript` to complete the returned promise.
Not having this feature isn't blocking any use case(users can still explicitly call `evaluateJavascript` to "return" a value, and users an even implement the mechanism described above externally to the webview plugin).
#### Availability of JS Promise
According to https://caniuse.com/#feat=promises promise is available starting iOS 8.0 which is what Flutter supports, and starting Android API 20(which is what webview currently support, though technically we can make it support API 19). | c: new feature,customer: dream (g3),p: webview,package,c: proposal,team-ecosystem,P2,triaged-ecosystem | low | Major |
457,101,619 | create-react-app | Proposal: Allow for service worker update without closing app | Relates to #3534
## Proposal
Developers should be able to manually update their service worker on request
## Current Behavior
Service workers update lazily, sometimes on navigation. Sometimes when the app reloads. In the case of an iOS PWA, the answer it VERY unpredictable. As of iOS 12.2, the app context is frozen and resumes whenever you reopen, which means your service worker will likely not be updated until the app unloads itself which could be anywhere between 24 hours and 2 weeks.
## Working example
- With minimal tweaks, I was able to get this working in my own project
- I added an "immediate" option to the serviceWorker.register config
- For my iOS PWA, I used the page visibility api to call serviceWorker.register({immediate: true}) whenever the page becomes active again. Works like a charm.
Modifications to the register function
```ts
export function register(config?: Config) {
if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {
// The URL constructor is available in all browsers that support SW.
const publicUrl = new URL(
(process as { env: { [key: string]: string } }).env.PUBLIC_URL,
window.location.href
);
if (publicUrl.origin !== window.location.origin) {
// Our service worker won't work if PUBLIC_URL is on a different origin
// from what our page is served on. This might happen if a CDN is used to
// serve assets; see https://github.com/facebook/create-react-app/issues/2374
return;
}
// PULL OUT THIS FUNCTION SO IT CAN BE REUSED
const doRegister = () => {
const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;
if (isLocalhost) {
// This is running on localhost. Let's check if a service worker still exists or not.
checkValidServiceWorker(swUrl, config);
// Add some additional logging to localhost, pointing developers to the
// service worker/PWA documentation.
navigator.serviceWorker.ready.then(() => {
console.log(
'This web app is being served cache-first by a service ' +
'worker. To learn more, visit https://bit.ly/CRA-PWA'
);
});
} else {
// Is not localhost. Just register service worker
registerValidSW(swUrl, config);
}
};
// EITHER CALL REGISTER IMMEDIATELY, OR WAIT FOR WINDOW LOAD (CURRENT BEHAVIOR)
if (config && config.immediate) {
doRegister();
} else {
window.addEventListener('load', doRegister);
}
}
}
```
```ts
function registerValidSW(swUrl: string, config?: Config) {
if (config && config.immediate) {
// TO MY SURPRISE, THESE TWO LINES RE-TRIGGERED ALL OF THE APPROPRIATE BEHAVIOR
navigator.serviceWorker.getRegistration(swUrl).then(registration => {
registration && registration.update();
});
} else {
navigator.serviceWorker
.register(swUrl)
.then(registration => {
//... REST IS THE SAME
})
```
## Why?
Usually I wouldn't bother proposing stuff like this, but it only adds about 6 new lines of code (rerranges a bit more) and gives the developer more control over the update cycle of their app.
| issue: proposal | medium | Major |
457,102,117 | TypeScript | Issues with Pick causes tsc (on Node12/Win10?) to hang. | <!-- 🚨 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 `typescript@next`. It may have already been fixed. -->
**TypeScript Version:** 3.5.2
<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:** Pick, mapped types
**Problem:** Unfortunately, I've not been able to reproduce outside my project in small whittled down samples, but the problem causes `tsc` to ***hang*** and as a result really needs to be investigated. The idea is as follows: I have an interface `StoreState` which has (among other properties some of which use mapped types) a property called `windows`. Therefore, the type `Pick<StoreState, 'windows'>` should be equivalent to `{ windows: StoreState['windows'] }`. Within the content of one of my files, I cast a variable as the latter type and it works like a charm.
```
const { windows } = state as { windows: StoreState['windows'] };
```
However if instead I try to clean the code up by using the `Pick`, it causes the tsc process (and VS code if it's open to that file and I attempt to hover) to hang, take up tons of memory (node/tsc were at over 2gb before I killed it) and never complete the compilation.
Stranger still is that within the same project, but in a different file, I write the following with no issue.
```
const { windows }: Pick<StoreState, 'windows'> = ...
```
Due to corporate rules I can't simply upload this project to github, however if someone directly from microsoft (i.e. @RyanCavanaugh) sends me a private message, I could send them a zip file of the source, pointing out where to find the issue. I'm well aware that no one in this forum is interested in my app (especially at this nascent phase in its buildout), but I'm not risking getting fired in order to file a bug when I have an acceptable workaround.
| Needs Investigation | low | Critical |
457,136,727 | go | runtime: respect SA_RESETHAND when forwarding to non-Go signal handler | <!-- Please answer these questions before submitting your issue. Thanks! -->
### What version of Go are you using (`go version`)?
<pre>
go version go1.10.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>
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/jim/go"
GORACE=""
GOROOT="/usr/lib/go-1.10"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go-1.10/pkg/tool/linux_amd64"
GCCGO="/usr/bin/gccgo"
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-build690985833=/tmp/go-build -gno-record-gcc-switches"
</pre></details>
### What did you do?
- 1. Compile a library using -buildmode=c-shared
- 2. Trap SIGSEGV in a C program with a handler which will reraise SIGSEGV
- 3. Load the library against the C program using dlopen
- 4. Cause the C program to SEGSIGV by dereference a NULL pointer
src file: [infinitesignalloop.gz](https://github.com/golang/go/files/3298547/infinitesignalloop.gz)
to compile: uncompress src file to GOPATH and run `make`
to reproduce: just run `./trap_signal before`
<!--
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?
The program should crash finally with the default system segfault handler be called.
```
trap SIGSEGV before dlopen ./libdummycgo.so
Received Segmentation fault ...
Segmentation fault (core dumped)
```
### What did you see instead?
A infinite sighandling loop has happen.
```
trap SIGSEGV before dlopen ./libdummycgo.so
Received Segmentation fault ...
Received Segmentation fault ...
... // infinite loop
Received Segmentation fault ...
Killed
```
Following the code with gdb, it seems that Go signal handler raises SIGSEGV again to invoke the C handler, then C handler reraise SIGSEGV, which is catched by Go signal handler again, and then repeat and repeat.
As doc [https://golang.org/pkg/os/signal/#hdr-Go_programs_that_use_cgo_or_SWIG](url) said in section **Go programs that use cgo or SWIG** (not in section **Non-Go programs that call Go code**)
> If the Go signal handler is invoked on a non-Go thread not running Go code, the handler generally forwards the signal to the non-Go code, as follows. If the signal is SIGPROF, the Go handler does nothing. Otherwise, the Go handler removes itself, unblocks the signal, and raises it again, to invoke any non-Go handler or default system handler. If the program does not exit, the Go handler then reinstalls itself and continues execution of the program.
And if we trap SIGSEGV after load the library (just run `./trap_signal after`), there C program will just crash with system default handler called as expected.
Some more tests shows above issue exist for all synchronize signals (SIGBUS, SIGFPE, and SIGSEGV).
When not use dlopen to load the library, instead to link the library against to a C program as following,
- 1. Compile a library using -buildmode=c-shared
- 2. Trap SIGSEGV in a C program with a handler which will reraise SIGSEGV
- 3. Link the library against the C program
- 4. Cause the C program to SEGSIGV by dereference a NULL pointer
and then run the C program, it will crash with default segfault handler called.
| NeedsFix | low | Critical |
457,168,777 | pytorch | nn.TransformerLayer | A generic pytorch transformer layer
## 🚀 Feature
input:
a 2-dim Tensor [x_{00}, x_{01}, ... x_{0m_1}, x_{10}, ... x_{1m_1}, ... x_{km_k}]; each x is a vector.
and either (or both, but they should match):
* a 1-dim Tensor of offsets [o_0, ..., o_k ]
* or a list of square 2-dim Tensors [ A_{m_0}, .... A_{m_k}] of attention masks
output:
a 2-dim Tensor [h_{00}, h_{01}, ... h_{0m_1}, h_{10}, ... h_{1m_1}, ... h_{km_k}]
The inputs follow the arrangement of nn.EmbeddingBag. Each offset corresponds to the start of a set of inputs x (and the whole input is a set of these sets). If attention masks are input, they are pointwise multiplied by the attention inner products before the softmax.
## Motivation
This is a generic transformer formulation, and can be used for text, vision, graphs, etc.
| feature,module: nn,triaged | low | Major |
457,185,909 | flutter | Mixing RTL and LTR text bugs | We are seeing strange behavior when mixing RTL and LTR text.
Notably:
- Type arabic, Type chinese, Type arabic, switch to chinese keyboard, delete. The arabic will delete all at once.
- Emojis work strangely when mixing with RTL and LTR.
- Caret positioning is not consistent.
There are a few other minor issues that I am not clear on how to describe. | a: text input,framework,engine,a: typography,customer: crowd,P2,team-engine,triaged-engine | low | Critical |
457,270,936 | TypeScript | Type narrowing based on iterator `done` value? | <!-- 🚨 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 `typescript@next`. It may have already been fixed. -->
**TypeScript Version:** 3.4.0-dev.201xxxxx
<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:**
**Code**
```ts
interface MyIterator<T> {
next():
| {
done: false;
value: T;
}
| {
done: true;
value: undefined;
};
[Symbol.iterator](): MyIterator<T>;
}
interface Item { name: string }
function m(iter: MyIterator<Item>) {
for (const it of iter) {
console.log(it.name); // Error here complaining about 'it': Object is possibly 'undefined'.ts(2532)
}
}
```
**Expected behavior:**
**Actual behavior:**
**Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior -->
https://typescript-play.js.org/?downlevelIteration=true#code/JYOwLgpgTgZghgYwgAgLIE8CSkpzAeygB4AVAPmQG8AoZO5ECADzAAoBKALlvroB8qPXrwAm+Rp2TwANgGcIAbiHC6ANzjSArhEkklKugF9l-QQfpiJyMFG37zydVp3JNIERBigII+yuO8fsgA2gDK6AC2AEb40gB0wDh4hAC6HJIY2NDJxORKxtSgOPBIyFkRVAxwES6yNqAA5sgFMG4IYMDiyBGsidAZWEkExOVk7Gb0MITIrAjidciJyPgwizjjNOZzILKxEHHS+A29YHEg1RDsCg50APS3yACiUFDTABbQKHMRAA7ScKBGsg4DFNGBkAByRIQyQAeSiACsIO1FrJkD98LJZMAotJ0JC3B4vIwRBC4mBZKwAEwAVgAzFT2NRlMZDEA
**Related Issues:** <!-- Did you find other bugs that looked similar? -->
https://github.com/microsoft/TypeScript/issues/11450 seems related. but here even with `--strictNullChecks` same error is reported here. | Needs Investigation | low | Critical |
457,301,784 | TypeScript | Suggestion: consolidate generics in union if they match | <!-- 🚨 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 `typescript@next`. It may have already been fixed. -->
**TypeScript Version:** 3.5.2
<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:** rxjs startWith generics union consolidate same
**Code**
```ts
declare const create: <T>(
t: T,
) => {
startWith: <D>(v1: D) => T | D;
};
// Succeeds
// $ExpectType { foo: number } | { bar: number }
const r1 = create({ foo: 1 }).startWith({ bar: 1 });
// Fails
// $ExpectType { foo: number }
// Actual: { foo: number } | { foo: number }
const r2 = create({ foo: 1 }).startWith({ foo: 1 });
```
Although the expected/actual types are compatible, it's slightly irritating to deal with a union type `T | T` instead of a consolidated type `T`, as it makes type inspection in VS Code much more difficult (especially when the types are large or deeply nested).
Real world use case: https://github.com/ReactiveX/rxjs/issues/4866 | Suggestion,Awaiting More Feedback | low | Critical |
457,304,931 | pytorch | Crash when using tensor.set_data() function in libtorch on windows | ## ❓ Questions and Help
When i use the the set_data function in libtorch as following, the exe will be crashed!
at:: Tensor a = torch::ones({3});
at::Tensor b = torch:: zeros({3});
a.set_data(b)
....
? do anyone know what's going on?
Thanks
### Please note that this issue tracker is not a help form and this issue will be closed.
We have a set of [listed resources available on the website](https://pytorch.org/resources). Our primary means of support is our discussion forum:
- [Discussion Forum](https://discuss.pytorch.org/)
| module: cpp,triaged | low | Critical |
457,323,344 | TypeScript | No auto-completion on typescript interface with classes implement | Redirected by https://github.com/microsoft/vscode-cpptools/issues/3789
**Type: LanguageService**
**Describe the bug**
- macOS Mojave 10.14.5
- VSCODE : 1.35.1
- TS 3.5.1
**To Reproduce**
Create a file with the following :
```ts
import { Strategy } from "passport-local";
class SSOPlugin implements Plugin {
constructor() {}
init() {}
}
interface Plugin {
authenticators?: Record<string, any>;
strategies: { [key: string]: KuzzleStrategy };
}
interface KuzzleStrategy {
config: {
authenticator: string;
fields: string[];
};
methods: {
afterRegister?: () => any;
create: () => any;
delete: () => any;
exists: () => any;
getById?: () => any;
getInfo?: () => any;
update: () => any;
validate: () => any;
verify: () => any;
};
}
export = SSOPlugin;
```
In constructor or any method using `this.` and auto-completion doesn't give anything.
But if I give the wrong types, the compiler complain (also red line on IDE).
**Expected behavior**
I should get auto-completion.
| Suggestion,Experience Enhancement | low | Critical |
457,384,969 | pytorch | contradictory output values | Hello please find following description:
Hello, when I debug this project, input same images and output different values respectively in Python env. and in c++ env. . However, input torch::ones({1,1,224,224}) and output same values. Am I missing some details in bgr2tensor?
C++ API release is much slower than Python API in the same system environment. Inputting a (1,1,224,224) tensor resumes about 0.2 s/tensor in Python API inference.(ResNet18 replaced Conv1 and Linear Layers)However, it resumes about 1.9 s/tensor in C++ API inference. And I sure that loading model time is not included because I set clock_ts respectively at the beginning and the end of "auto output = module->forward(inputs).toTensor();". In addition, my gpu device is RTX2080Ti.
Following code:
```cpp
void bgr2tensor(const char * path, torch::Tensor &output)
{
Mat img = imread(path, 0);
if (img.empty()) {
printf("load image failed!");
system("pause");
}
cv::resize(img, img, { 224,224 });
img.convertTo(img, CV_32F, 1.0 / 255.0);
//cv::cvtColor(img, img, cv::COLOR_BGR2RGB);
auto img_tensor = torch::from_blob(img.data, { 1,224,224,1 }, torch::kFloat32);// opencv H x W x C torch C x H x W
img_tensor = img_tensor.permute({ 0,3,1,2 });
//img_tensor = img_tensor.toType(torch::kFloat32);
//img_tensor = img_tensor.div(255);
//img_tensor[0][0] = img_tensor[0][0].sub_(0.485).div_(0.229);
//img_tensor[0][1] = img_tensor[0][1].sub_(0.456).div_(0.224);
//img_tensor[0][2] = img_tensor[0][2].sub_(0.406).div_(0.225);
output = img_tensor.clone();
}
int main()
{
// ..............
bgr2tensor("D:\pic1\Class10\Class10\Test\0045.png", dog);
dog = dog.to(at::kCUDA);
at::Tensor output = module->forward({ dog }).toTensor();
// ...............
}
```
| module: cpp,triaged | low | Critical |
457,441,085 | rust | Should warn when calling blanket implementation of a method rather than our own | The following snippet crashes:
```
thread 'main' has overflowed its stack
fatal runtime error: stack overflow
Aborted (core dumped)
```
```rust
use std::fmt;
struct Badger;
impl Badger {
fn to_string<'a>(self) -> &'a str {
"badger"
}
}
impl fmt::Display for Badger {
fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> {
f.write_str(&self.to_string())
}
}
fn main() {
let b = Badger {};
println!("{}", b);
}
```
`fmt()` calls the blanket implementation of `ToString`, which is using `Display`, instead of our own implementation resulting in an infinite recursion.
We wouldn't have the problem if our function was taking `&self` but that's still pretty confusing and prone to errors. It would be good to have at least a warning (or a clippy lint?) for such patterns.
| C-enhancement,A-lints,T-compiler | low | Critical |
457,480,245 | go | proposal: spec: allow untyped float const multiplied by typed integer constants (2.5*time.Hour) | ### What version of Go are you using (`go version`)?
<pre>
play.golang.org reports 1.12.5
</pre>
### What did you do?
https://play.golang.org/p/klT3SFB7BJE
### What did you expect to see?
2h30m0s
### What did you see instead?
./prog.go:9:23: constant 2.5 truncated to integer
In the code I'm multiplying a constant with a constant and according to https://blog.golang.org/constants this should just work. But somehow it doesn't. | LanguageChange,Proposal,LanguageChangeReview | low | Major |
457,533,568 | TypeScript | noImplicitThis codefix should account for static functions | ## Search Terms
codefix static this noImplicitThis
## Suggestion
If a function is used as the initializer of a `static` property declaration, should the type of its `this` added by the `--noImplicitThis` codefix include `typeof`?
See discussion in #31138.
## Use Cases
Static methods are arguably more likely to be called with the static class as their `this` scope in common practice. This would more accurately reflect that behavior.
## Examples
```ts
const returnThisMember = function ([| |]) {
return this.member;
}
class Container {
member = "sample";
static returnThisMember = returnThisMember;
};
```
Right now `[| |]` just becomes `this: Container`.
## 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 | Minor |
457,605,754 | TypeScript | Intellisense mismatch for overload function vs paramaters | <!-- 🚨 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 `typescript@next`. It may have already been fixed. -->
**TypeScript Version:** 3.5.1, 3.6.0-dev.20190618
<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:**
overload resolution intellisense
**Code**
```ts
declare var f: {
(a: string, b: number): void;
(a: number, b: number): void;
}
f( // shows the (string, number) overload
"a",
1
);
f( // shows the (number, number) overload
1,
1
);
f( // shows the (string, number) overload...
"a", // but the parameter mismatch error is about the (number, number) overload
"a"
);
```
**Expected behavior:**
When an overload is resolved correctly and all types match, hovering the function will tell you which overload it is and what the type signature of the overload is. That's fine and works fine.
When no overload resolves, then errors are given on parameters that failed to match the _last_ overload. That's fine and works fine. In this situation, I would expect hovering the function to also give the _last_ overload, since that's the one that the errors are for.
**Actual behavior:**
But in those situations, hovering the function seems to give the _first_ overload.
**Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior -->
https://www.typescriptlang.org/play/#src=declare%20var%20f%3A%20%7B%0D%0A%20%20%20%20(a%3A%20string%2C%20b%3A%20number)%3A%20void%3B%0D%0A%20%20%20%20(a%3A%20number%2C%20b%3A%20number)%3A%20void%3B%0D%0A%7D%0D%0A%0D%0Af(%20%2F%2F%20shows%20the%20(string%2C%20number)%20overload%0D%0A%20%20%20%20%22a%22%2C%0D%0A%20%20%20%201%0D%0A)%3B%0D%0A%0D%0Af(%20%2F%2F%20shows%20the%20(number%2C%20number)%20overload%0D%0A%20%20%20%201%2C%0D%0A%20%20%20%201%0D%0A)%3B%0D%0A%0D%0Af(%20%2F%2F%20shows%20the%20(string%2C%20number)%20overload...%0D%0A%20%20%20%20%22a%22%2C%20%2F%2F%20but%20the%20parameter%20mismatch%20error%20is%20about%20the%20(number%2C%20number)%20overload%0D%0A%20%20%20%20%22a%22%0D%0A)%3B%0D%0A
**Related Issues:** <!-- Did you find other bugs that looked similar? -->
I was not able to find any related issues. | Bug | low | Critical |
457,617,496 | flutter | Make it easier for contributors to run all tests in Flutter repository | ## Use case
Flutter contributors should be able to locally run all repository unit tests at one time to fix issues before issuing a pull request and have some confidence the CI system tests will pass.
## Proposal
Add a --flutter-repo flag to `flutter test` to match `flutter analyze --flutter-repo`. At a minimum the tests should run the list at `_runTests()`. | a: tests,c: new feature,tool,P3,team-tool,triaged-tool | low | Minor |
457,670,202 | rust | Missed optimizations for Vec::pop() followed by Vec::push() | The following example should be get optimized to a no-op by the compiler:
```rust
pub fn noop(v: &mut Vec<i32>) {
if let Some(last) = v.pop() {
v.push(last)
}
}
```
Instead, it produces about 60 lines of assembly, which also contain calls to `__rust_alloc()` and `alloc::raw_vec::capacity_overflow()`.
The following code is better:
```rust
pub fn noop(v: &mut Vec<i32>) {
if let Some(last) = v.pop() {
assert!(v.len() < v.capacity());
v.push(last)
}
}
```
producing:
```asm
example::noop:
push rax
mov rax, qword ptr [rdi + 16]
test rax, rax
je .LBB7_3
lea rcx, [rax - 1]
mov qword ptr [rdi + 16], rcx
cmp rcx, qword ptr [rdi + 8]
jae .LBB7_4
mov qword ptr [rdi + 16], rax
.LBB7_3:
pop rax
ret
.LBB7_4:
call std::panicking::begin_panic
ud2
```
And even better:
```rust
pub fn noop(v: &mut Vec<i32>) {
if let Some(last) = v.pop() {
if v.capacity() <= v.len() {
unsafe { std::hint::unreachable_unchecked() }
}
v.push(last)
}
}
```
producing:
```asm
example::noop:
ret
```
[Compiler explorer](https://godbolt.org/z/lQS6Pr)
I feel like the compiler should be able to handle this situation better, considering that all the information is readily available. | I-slow,C-enhancement,A-collections,T-compiler | low | Major |
457,711,494 | vscode | [folding] folding indicators missing for folded code | Issue Type: <b>Bug</b>
For some time the visual studio code has been blocked, it does not display the fragments of code.
Suppose I have a code fragment inside an if, when it is blocked accessing this code inside the if is impossible, it is necessary to close the visual code and re-enter sometimes it happens up to 10 times in the day

access the points marked with the red arrow when it is blocked you can not
In this image you can see how the code can not be accessed

VS Code version: Code 1.35.1 (c7d83e57cd18f18026a8162d042843bda1bcf21f, 2019-06-12T14:30:02.622Z)
OS version: Windows_NT x64 10.0.17134
<details><summary>Extensions (18)</summary>
Extension|Author (truncated)|Version
---|---|---
html-snippets|abu|0.2.1
bracket-pair-colorizer|Coe|1.0.61
angular2-snippets|dan|1.0.21
githistory|don|0.4.6
vscode-html-css|ecm|0.2.0
tslint|eg2|1.0.43
auto-close-tag|for|0.5.6
auto-rename-tag|for|0.1.0
Angular2|joh|8.1.1
vscode-extension-auto-import|mop|1.3.3
vscode-language-pack-es|MS-|1.35.1
atom-keybindings|ms-|3.0.6
csharp|ms-|1.20.0
powershell|ms-|2019.5.0
al-formatter|ras|3.0.0
vscode-icons|vsc|8.7.0
JavaScriptSnippets|xab|1.7.2
tslint-snippets|zuo|1.1.0
</details>
<!-- generated by issue reporter --> | bug,editor-folding | low | Critical |
457,724,363 | flutter | CommonFinders.text does not find TextSpan widget created with RichText | I'm using a widget tree like:
```
return RichText(
text: TextSpan(
children: [
TextSpan(text: "Hello "),
TextSpan(text: "World"),
]
)
);
````
but
``` expect(find.text('Hello World'), findsOneWidget);```
fails, I expect it would be able to find this text
related to #19267
| a: tests,framework,a: typography,has reproducible steps,P2,found in release: 3.3,found in release: 3.6,team-framework,triaged-framework | low | Major |
457,727,264 | rust | Misleading `use foo::bar` error message | Here are two slightly different sources with slightly different errors:
```
use foo;
fn main() { }
```
```
error[E0432]: unresolved import `foo`
--> src/main.rs:1:5
|
1 | use foo;
| ^^^ no `foo` external crate
```
```
use foo::bar;
fn main() { }
```
```
error[E0432]: unresolved import `foo`
--> src/main.rs:1:5
|
1 | use foo::bar;
| ^^^ use of undeclared type or module `foo`
```
For `use foo`, the error is "no foo external crate"; for `use foo::bar` it is "undeclared type or module foo".
The first error I think is unambiguously correct - there's nothing foo could be but an external crate. The second though is failing to mention that foo could very will be a missing crate. And it may be more likely to be a missing crate (or a typo...) than a type or module that hasn't been imported.
I encountered this second error while writing some training material and had to explain that the error is misleading and that actually you need to list crate foo in your manifest.
A better error might be "use of undeclared crate, type, or module" (while also changing the first one to "use of undeclared crate" for consistency), or "no foo extern crate, or use of undeclared type or module foo". Even better might be to do some analysis to see if there is any crate with a name close to "foo", whether there are any internal names equal to or similar to "foo", and customize the error based on that.
This is using whatever nightly is current right now. | C-enhancement,A-diagnostics,A-resolve,T-compiler,D-papercut | low | Critical |
457,805,406 | godot | Miter limit should be parameter with default value, not hardcoded. | <!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->
**Godot version:**
3.2
**Issue description:**
When using offset_polygon_2d with JOIN_MITER join type it cuts nesessary geometry sometimes:

On the left is what is needed. On the right is what offsetting polygon gives.
Please, add this! Original library allows miter limit to be set.
| enhancement,topic:core | low | Minor |
457,806,453 | TypeScript | better autocompletion for dicriminated union as tuples | <!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨
Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Please read the FAQ first, especially the "Common Feature Requests" section.
-->
## Search Terms
autocompletion, tuple, tagged union
<!-- List of keywords you searched for before creating this issue. Write them down here so that others can find this suggestion more easily -->
## Suggestion
<!-- A summary of what you'd like to see added or changed -->
## Use Cases
https://www.typescriptlang.org/docs/handbook/advanced-types.html#discriminated-unions
Discriminated unions of tuples is just the same in semantic with discriminated unions with object introduced in the official document of typescript.
And the type check for it is working correctly for now.
But the autocompletion for tuples isn't as powerful as one for objects.
Sometimes discriminate unions as objects are verbose so it leads us to write some sort of constructors for each variant. But tuples can solve this problem, and it even looks more similar to haskell's `data` and rust's `enum`.
## Examples
<!-- Show how this would be used and what the behavior would be -->
```typescript
// discriminated union as tuples
type A = ["a", { a: number }] | ["b": { b: number }];
const a: A = ["a", { /* both a and b are suggested when you fill in here */ }];
const b: A = ["b", { a: 1 }]; // type check works correctly! typescript tell us it's invalid.
// discriminated union as objects
type C = {
tag: "a",
a: number
} | {
tag: "b",
b: number
};
const c: C = { tag: "b", /* only b is suggested! */ };
```
## 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,Experience Enhancement | low | Critical |
457,819,886 | pytorch | nn.init.orthogonal_ doesn't work with multiprocessing | ## 🐛 Bug
<!-- A clear and concise description of what the bug is. -->
## To Reproduce
Steps to reproduce the behavior:
```
import torch.nn as nn
import torch.multiprocessing as mp
import time
def test():
print("test in")
layer = nn.Linear(5 * 5 * 64, 64)
nn.init.orthogonal_(layer.weight.data)
print("test out")
processes = []
test()
for rank in range(0, 1):
p = mp.Process(target=test)
p.start()
processes.append(p)
time.sleep(0.1)
for p in processes:
time.sleep(0.1)
p.join()
print('t')
```
output:
test in
test out
test in
t
cc @albanD @mruberry | module: dependency bug,module: multiprocessing,module: nn,triaged,module: initialization | medium | Critical |
457,820,895 | godot | can't use Rigigbody2D's apply_impulse and apply_torque_impulse when in _ready() function | <!-- 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 non-official. -->
d2f38dbb28053e47cd6a0f8b368ade5c19d5ca70
**OS/device including version:**
<!-- Specify GPU model and drivers if graphics-related. -->
**Issue description:**
<!-- What happened, and what was expected. -->
Create a normal rigidbody2D in scene, attach a script to it, and try to call `apply_impulse` or `apply_torque_impulse` in `_ready()`,it has no effect.
Reason: Rigidbody2d's updating inertia is delayed to next frame, so when you call a function need mass or inertia in `_ready()`, it has no effect.
https://github.com/godotengine/godot/blob/d2f38dbb28053e47cd6a0f8b368ade5c19d5ca70/servers/physics_2d/body_2d_sw.cpp#L36-L40
RigidBody has the same problem, the difference is RigidBody's inertia is inited with identity instead of zero.
**Steps to reproduce:**
**Minimal reproduction project:**
<!-- Recommended as it greatly speeds up debugging. Drag and drop a zip archive to upload it. -->
[bug2.zip](https://github.com/godotengine/godot/files/3304587/bug2.zip)
| bug,topic:physics | low | Critical |
457,826,280 | godot | Add highlight to current script to Scene Tree. | **Godot version:**
3.2 master
**Issue description:**
Now when I open a script, I see its name in script editor, but I don't know to which node is connected in current scene. It will be really helpful when Godot would highlight somehow a script button in scene tree

| enhancement,topic:editor | low | Minor |
457,846,500 | flutter | Flutter slider should have the feature to show value indicator all the time, not just while gesturing | ## Use case
- While using flutter [inbuilt slider widget ](https://api.flutter.dev/flutter/material/Slider-class.html) I encountered the issue that **value indicator is only shown while the gesture is present and not always.**
- I think the widget should also expose the property of showing the value indicator every time and not only when gesture is there.
## Proposal
- The [SliderTheme](https://api.flutter.dev/flutter/material/SliderThemeData-class.html) exposes the property which is [showValueIndicator](https://api.flutter.dev/flutter/material/SliderThemeData/showValueIndicator.html), it maintains an enum which lets the developer decide when to show the value indicator, there should be an additional property in that enum which lets the user show the valueIndicator every-time.
| c: new feature,framework,f: material design,customer: crowd,P2,team-design,triaged-design | low | Critical |
457,944,578 | node | The 'OCSPRequest' callback does not send the OCSP response with TLS 1.3 | <!--
Thank you for reporting a possible bug in Node.js.
Please fill in as much of the template below as you can.
Version: output of `node -v`
Platform: output of `uname -a` (UNIX), or version and 32 or 64-bit (Windows)
Subsystem: if known, please specify the affected core module name
If possible, please provide code that demonstrates the problem, keeping it as
simple and free of external dependencies as you can.
-->
* **Version**: v12.4.0
* **Platform**: Ubuntu 18.04 x86_64 (kernel 4.15.18)
* **Subsystem**: TLS
<!-- Please provide more details below this comment. -->
We are using node 12 to run a HTTPS server for a simple website. I noticed a problem with the `OCSPRequest` event of the TLS server. For connections with TLS 1.2 or below, the callback (3rd argument) sends send response as expected ([OCSPRequest docs](https://nodejs.org/api/tls.html#tls_event_ocsprequest)). I checked with OpenSSL:
```bash
echo QUIT | openssl s_client -connect naos.fleetback.com:443 -servername naos.fleetback.com -status -tls1_2
CONNECTED(00000005)
depth=2 O = Digital Signature Trust Co., CN = DST Root CA X3
verify return:1
depth=1 C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
verify return:1
depth=0 CN = naos.fleetback.com
verify return:1
OCSP response:
======================================
OCSP Response Data:
OCSP Response Status: successful (0x0)
Response Type: Basic OCSP Response
Version: 1 (0x0)
Responder Id: C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
Produced At: Jun 19 09:31:00 2019 GMT
[...]
```
But with TLS 1.3 connections, no status is sent back:
```bash
echo QUIT | openssl s_client -connect naos.fleetback.com:443 -servername naos.fleetback.com -status -tls1_3
CONNECTED(00000005)
depth=2 O = Digital Signature Trust Co., CN = DST Root CA X3
verify return:1
depth=1 C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
verify return:1
depth=0 CN = naos.fleetback.com
verify return:1
OCSP response: no response sent
---
```
We use the "ocsp" package from NPM to handle OCSP caching. I debugged around this code and it always sends the expected `<Buffer 30 82 02 0b 0a ...>` in the callback.
```javascript
const ocsp = require('ocsp');
const ocspCache = new ocsp.Cache();
function withOcspRequestCache(tlsServer) {
tlsServer.on('OCSPRequest', function(cert, issuer, cb) {
ocsp.getOCSPURI(cert, function(err, url) {
if (err) return cb(err);
if (url === null) return cb(null, null);
const req = ocsp.request.generate(cert, issuer);
ocspCache.probe(req.id, function(err, cached) {
if (err) return cb(err);
if (cached !== false) return cb(null, cached.response);
ocspCache.request(req.id, { url, ocsp: req.data }, cb);
});
});
});
}
```
Our server is a HTTP/2 server in compatibility mode. You can check the code below.
```javascript
const fs = require('fs');
const http2 = require('http2');
const cert = fs.readFileSync(...);
const key = fs.readFileSync(...);
const dhparam = fs.readFileSync('./dhparam.pem');
const options = { cert, key, dhparam, ciphers, honorCipherOrder: false, allowHTTP1: true };
const server = http2.createSecureServer(options);
withOcspRequestCache(server);
server.listen(443, () => console.log('HTTPS server running on port 443'));
```
It looks like a bug in Node 12. Did you get the `OCSPRequest` event to work with TLS 1.3?
Thanks for your help. | help wanted,tls | low | Critical |
457,980,416 | terminal | Support runtime variables in the custom user title | The user should be able to embed certain terminal-specific variables in their custom title, that will be updated at runtime.
Something like:
```json
{
"title":"{numberOfPanes} - Powershell"
}
```
Would then include the number of panes in the tab title text we display, like so:
> 5 - Powershell
* [ ] What syntax do we chose for these custom variables?
* [ ] What variables should we include?
- We should probably avoid any that'd be better served by a shell setting the title
- #2396 We should be able to conditionally put "Administrator" in the title
- #13241 - similarly, with the shield emoji
* [ ] Do we need to register change event handlers for each variable that they've put in the title? How do we handle that?
* [ ] Should we enable conditional elements in the string? e.g. `"{isAdmin?\"Admin\":\"\"} - {title}"` to get "Admin - cmd.exe"
- Another example - `"{name} [{numberOfPanes<10?numberOfPanes : \"9+\"}]"` for "Powershell [2]" or "Powershell [9+]"
- Another example - how would we get "Powershell" for 1 pane, but then "Powershell [+1]" for 2 panes? How would we encode the entire `[+{numberOfPanes}]` bit should be conditional on there being _more than one pane_? Could we combine this with the above case, and have nested conditionals?
- Does all of this basically mean embedding an entire scripting language into the tabTitle?
* [ ] Request: "Tab title" text resolves environment variables #10144
* [ ] #9929, #13506
This is _obviously_ related to #608, but this is certainly out of scope for v1.0. #608 is just setting a _simple_ title string to override the terminal's, this is setting a _dynamic_ title. | Issue-Feature,Help Wanted,Area-UserInterface,Product-Terminal | low | Major |
457,988,931 | rust | Const generics: Generic array transmutes do not work | This trivial transmute should work:
```
#![feature(const_generics)]
fn silly_default<const N: usize>(arr: [u8; N]) -> [u8; N] {
unsafe { core::mem::transmute::<_, _>(arr) }
}
```
Unfortunately, it [refuses to build](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=3a0ea23947501351fa5cc46714ff8c20) with the following error:
```
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
--> src/lib.rs:4:14
|
4 | unsafe { core::mem::transmute::<_, _>(arr) }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `[u8; _]` does not have a fixed size
```
This means that the [array initialization example](https://doc.rust-lang.org/nightly/core/mem/union.MaybeUninit.html#initializing-an-array-element-by-element) from the `core::mem::MaybeUninit` documentation currently cannot be generalized to arrays of arbitrary size, as transmutes from `[MaybeUnit<T>; N]` to `[T; N]` won't compile.
A horribly error-prone workaround for generic array transmute is:
```
// Using &mut as an assertion of unique "ownership"
let ptr = &mut arr as *mut _ as *mut [T; N];
let res = unsafe { ptr.read() };
core::mem::forget(arr);
res
``` | T-lang,T-compiler,A-const-generics,A-array | high | Critical |
458,036,641 | flutter | Please document ordering guarantees of platform channels | We (in g3) rely on the fact that MethodChannel calls will be dispatched to the Dart handler in the same order as they were made on the Java side.
* Is this a correct assumption?
* Could this be documented in the comment in https://github.com/flutter/engine/blob/master/shell/platform/android/io/flutter/plugin/common/BinaryMessenger.java? | engine,d: api docs,customer: dream (g3),P2,team-engine,triaged-engine | low | Minor |
458,047,125 | rust | Forgone caching in cycles caused much overflow in trait solving | We believe PR #60444 injected a number of regressions of the form "overflow evaluating requirement [...]".
(PR #60444 also injected a compile-time performance regression; that arguably distinct issue is tracked in issue #60846.)
This issue is meant to collect the cases where there was some sort of "overflow evaluating requirement" that was injected by PR #60444. (It is possible that many (or even all) such cases are resolved by follow-up PR #61754. I'll be beta-nominating that PR on its own so that we can evaluate that question in the compiler-team meeting.)
Update: adding list of cases to investigate:
* [x] #61472 -- resolved by PR #61754
* [ ] rust-analyzer (see [comment below](https://github.com/rust-lang/rust/issues/61960#issuecomment-503636781))
* [ ] #62059
* [ ] #62430 | A-trait-system,metabug,P-medium,T-compiler | low | Major |
458,067,822 | angular | Suggestion: Create an API on FormControl to focus the input | # 🚀 feature request
### Relevant Package
This feature request is for @angular/forms
### Description
The FormControl class does not have a FOCUS method.
### Describe the solution you'd like
Create an API on FormControl that would easily allow the input to be focused without having to resort to bringing in Renderer or ElementRef.
### Describe alternatives you've considered
https://github.com/angular/angular/issues/12463
https://github.com/angular/angular/issues/13158
The best response for the Angular team is as follows:
>We’re trying to keep our forms modules light and fast, and so it’s important to balance additions to the API with keeping the bundle size manageable.
I fail to see how a focus method would increase bundle size in any significant way. Bits maybe. The trade off by not doing this is that everyone project implement their own focus thus increasing bundle size for nearly every project anyway since focus on an input is practically universal need for modern UI design.
The comment history on both issues show a need. There are several good arguments for this feature and since both issues where closed long ago I am submitting the feature request _again_ to make another community generated push for it. | feature,area: forms,feature: under consideration | high | Critical |
458,101,974 | storybook | @storybook-addon-options: per-story hiding panel, hides it for every story. | ### Bug or support request summary
HI,
What we are trying to do, is to hide the knobs/actions panel per story. For example, on our welcomes page, we don't need it. So we used the options-addon to hide it for this "component".
And it works, BUT it also hides the panel for the rest of the stories.
What we want is to be able to hide the panel for one story and let it re-appear once we switch stories.
We know we can add the options again to the existing story, making it so that it shows up again, but I think that shouldn't be the only solution, no?
### Steps to reproduce
- Install the @storybook/addon-options
- add the { options: { showPanel: false } } to a story of your choice
- launch storybook and see if the panel is gone.
- Now, switch stories.
Result: the panel is hidden for every story.
Expected result: the panel should be hidden on 1 story, and shown for the others.
### Please specify which version of Storybook and optionally any affected addons that you're running
"@storybook/addon-actions": "^5.1.8",
"@storybook/addon-info": "^5.1.8",
"@storybook/addon-knobs": "^5.1.8",
"@storybook/addon-links": "^5.1.8",
"@storybook/addon-options": "^5.1.8",
"@storybook/addon-storyshots": "^5.1.8",
"@storybook/addons": "^5.1.8",
"@storybook/react": "^5.1.8",
"babel-plugin-require-context-hook": "^1.0.0",
"identity-obj-proxy": "^3.0.0",
"node-sass": "^4.12.0",
"prop-types": "^15.7.2",
"react-chromatic": "^0.8.4",
"react-content-loader": "^4.2.1",
"react-number-format": "^4.0.7",
"react-popover": "^0.5.10",
"sass-loader": "^7.1.0",
"styled-components": "^4.2.0"
### Affected platforms
- Versie 75.0.3770.100 (Officiële build) (64-bits)
### Screenshots / Screencast / Code Snippets (Optional)
This is the code used to create the story that hides the panel. And it works. But hides the panel for the rest of the stories also.
```js
import React, { Fragment } from 'react';
import { storiesOf } from '@storybook/react';
const Welcome = () => {
return (
<Fragment>
<h1>Welcome</h1>
</Fragment>
);
};
storiesOf('Welcome', module).add('Getting started', () => <Welcome />, { options: { showPanel: false } });
```
End bug report support request - delete the rest below
| question / support,addon: options,ui,has workaround | medium | Critical |
458,104,701 | go | net/http: apparent deadlock in TestBidiStreamReverseProxy on openbsd builders | From the `openbsd-amd64-62` build logs (https://build.golang.org/log/5fb644ae1e2c8e29e0ba85a4e4fbc04c47bafaad): a `net/http` test run that shows lots of goroutines blocked in `IO wait` for 2+ minutes during `TestBidiStreamReverseProxy`.
It's not obvious to me whether this indicates a bug in `net/http` or the OpenBSD kernel.
<details>
```
panic: test timed out after 3m0s
goroutine 7837 [running]:
testing.(*M).startAlarm.func1()
/tmp/workdir/go/src/testing/testing.go:1382 +0xdf
created by time.goFunc
/tmp/workdir/go/src/time/sleep.go:169 +0x44
goroutine 1 [chan receive, 2 minutes]:
testing.tRunner.func1(0xc0000d5600)
/tmp/workdir/go/src/testing/testing.go:885 +0x202
testing.tRunner(0xc0000d5600, 0xc000051d98)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
testing.runTests(0xc00000e460, 0xda6f60, 0x1ee, 0x1ee, 0x0)
/tmp/workdir/go/src/testing/testing.go:1205 +0x2a7
testing.(*M).Run(0xc0000d2680, 0x0)
/tmp/workdir/go/src/testing/testing.go:1122 +0x176
net/http_test.TestMain(0xc0000d2680)
/tmp/workdir/go/src/net/http/main_test.go:23 +0x2b
main.main()
_testmain.go:1094 +0x135
goroutine 6 [syscall, 2 minutes]:
os/signal.signal_recv(0x0)
/tmp/workdir/go/src/runtime/sigqueue.go:139 +0x9c
os/signal.loop()
/tmp/workdir/go/src/os/signal/signal_unix.go:23 +0x22
created by os/signal.init.0
/tmp/workdir/go/src/os/signal/signal_unix.go:29 +0x41
goroutine 1095 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000246600)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000246600, 0x9b8750)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1508 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0005aec00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0005aec00, 0x9b8bc8)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1091 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000246200)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000246200, 0x9b8720)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1092 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000246300)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000246300, 0x9b8728)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1154 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000397200)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000397200, 0x9b7cb8)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 795 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000174800)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000174800, 0x9b8148)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1365 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000496700)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000496700, 0x9b8318)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1090 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000246100)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000246100, 0x9b8730)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1027 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000463500)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000463500, 0x9b84a8)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1824 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0004b4500)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0004b4500, 0x9b8668)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 794 [sync.Cond.Wait, 2 minutes]:
runtime.goparkunlock(...)
/tmp/workdir/go/src/runtime/proc.go:310
sync.runtime_notifyListWait(0xc000942180, 0x22a216b600000022)
/tmp/workdir/go/src/runtime/sema.go:510 +0xf8
sync.(*Cond).Wait(0xc000942170)
/tmp/workdir/go/src/sync/cond.go:56 +0x9d
net/http.(*http2pipe).Read(0xc000942168, 0xc000cb0000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
/tmp/workdir/go/src/net/http/h2_bundle.go:3512 +0xa6
net/http.http2transportResponseBody.Read(0xc000942140, 0xc000cb0000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
/tmp/workdir/go/src/net/http/h2_bundle.go:8418 +0xac
io.copyBuffer(0x200e34850, 0xc000755a40, 0x2a1363028, 0xc000942140, 0xc000cb0000, 0x8000, 0x8000, 0xc0000fc550, 0xc0002b6500, 0x0)
/tmp/workdir/go/src/io/io.go:402 +0x122
io.Copy(...)
/tmp/workdir/go/src/io/io.go:364
net/http_test.TestBidiStreamReverseProxy(0xc000174600)
/tmp/workdir/go/src/net/http/clientserver_test.go:1527 +0x666
testing.tRunner(0xc000174600, 0x9b7cf0)
/tmp/workdir/go/src/testing/testing.go:909 +0xc9
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1653 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000175300)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000175300, 0x9b8820)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1088 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0000fbf00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0000fbf00, 0x9b7f50)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1094 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000246500)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000246500, 0x9b8768)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1294 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000362c00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000362c00, 0x9b7ef0)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1089 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000246000)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000246000, 0x9b8320)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1422 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0004b4400)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0004b4400, 0x9b7c88)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 796 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000174900)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000174900, 0x9b86f8)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1648 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000327f00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000327f00, 0x9b89d0)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 2975 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0004b4f00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0004b4f00, 0x9b8fc8)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1013 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000462700)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
runtime.Goexit()
/tmp/workdir/go/src/runtime/panic.go:547 +0xec
testing.(*common).SkipNow(0xc000462700)
/tmp/workdir/go/src/testing/testing.go:742 +0x39
testing.(*common).Skip(0xc000462700, 0xc0001926f0, 0x1, 0x1)
/tmp/workdir/go/src/testing/testing.go:722 +0x78
net/http_test.TestLinuxSendfile(0xc000462700)
/tmp/workdir/go/src/net/http/fs_test.go:1097 +0xf0
testing.tRunner(0xc000462700, 0x9b8428)
/tmp/workdir/go/src/testing/testing.go:909 +0xc9
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1162 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000397700)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000397700, 0x9b8870)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1166 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000397b00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000397b00, 0x9b85f8)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1056 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000397000)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000397000, 0x9b8af0)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1093 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000246400)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000246400, 0x9b8480)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1167 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000397c00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000397c00, 0x9b8388)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1096 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000246700)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000246700, 0x9b8a20)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1097 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000246900)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000246900, 0x9b89a0)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1101 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000246d00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000246d00, 0x9b8500)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1102 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000246e00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000246e00, 0x9b8338)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1103 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000246f00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000246f00, 0x9b8708)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1104 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000247000)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000247000, 0x9b7d70)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1105 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000247100)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000247100, 0x9b8250)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1106 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000247200)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000247200, 0x9b8240)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1107 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000247300)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000247300, 0x9b81a0)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1108 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0003b8000)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0003b8000, 0x9b8178)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1109 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0003b8100)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0003b8100, 0x9b8188)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1110 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0003b8200)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0003b8200, 0x9b8180)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1111 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0003b8300)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0003b8300, 0x9b8410)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1112 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0003b8400)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0003b8400, 0x9b8a00)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1113 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0003b8500)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0003b8500, 0x9b8a08)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1125 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0003b8e00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0003b8e00, 0x9b8258)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1126 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0003b8f00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0003b8f00, 0x9b8260)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1255 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0002b7600)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0002b7600, 0x9b8ab8)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1128 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0003b9100)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0003b9100, 0x9b8af8)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1163 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000397800)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000397800, 0x9b89c0)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1155 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000397300)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000397300, 0x9b7ca8)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1156 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000397400)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000397400, 0x9b7cc0)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1127 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0003b9000)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0003b9000, 0x9b8ac8)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1165 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000397a00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000397a00, 0x9b81d0)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1252 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0002b7300)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0002b7300, 0x9b8928)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1057 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000397100)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000397100, 0x9b7cb0)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1164 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000397900)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000397900, 0x9b89b8)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1251 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0002b7200)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0002b7200, 0x9b8920)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1169 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000397f00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000397f00, 0x9b8b78)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1170 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0003d2700)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0003d2700, 0x9b8b80)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1171 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0003d2800)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0003d2800, 0x9b8b60)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1172 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0003d2a00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0003d2a00, 0x9b8b58)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1173 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0003d2b00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0003d2b00, 0x9b8b50)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1175 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0003d2d00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0003d2d00, 0x9b8b08)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1192 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0002b6800)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0002b6800, 0x9b90b0)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1193 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0002b6900)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0002b6900, 0x9b90b8)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1260 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0002b7d00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0002b7d00, 0x9b85f0)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1258 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0002b7b00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0002b7b00, 0x9b8618)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1733 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000397500)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000397500, 0x9b8830)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1825 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0004b4600)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0004b4600, 0x9b8e00)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1268 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000398300)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000398300, 0x9b8898)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1257 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0002b7a00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0002b7a00, 0x9b8610)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1254 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0002b7500)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0002b7500, 0x9b8918)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1253 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0002b7400)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0002b7400, 0x9b8910)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1259 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0002b7c00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0002b7c00, 0x9b85e8)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1451 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0003b8b00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0003b8b00, 0x9b7f00)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1448 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0003b8700)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0003b8700, 0x9b8858)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1431 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0004b4b00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0004b4b00, 0x9b8930)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1447 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0003b8600)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0003b8600, 0x9b8850)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1432 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0004b4c00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0004b4c00, 0x9b8938)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1384 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0004b4300)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0004b4300, 0x9b87f0)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1509 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0005aed00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0005aed00, 0x9b8bd0)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1652 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000174f00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000174f00, 0x9b8818)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1654 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000175400)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000175400, 0x9b8808)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1544 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0000fb200)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0000fb200, 0x9b81d8)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1650 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000174100)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000174100, 0x9b8950)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1730 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000396c00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000396c00, 0x9b87b0)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1649 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000174000)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000174000, 0x9b8948)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1651 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000174200)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000174200, 0x9b8940)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1655 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000175500)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000175500, 0x9b8810)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1656 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000175600)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000175600, 0x9b8210)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1657 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000175700)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000175700, 0x9b8220)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1658 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000175800)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000175800, 0x9b7f30)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1660 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000175a00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000175a00, 0x9b8960)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1661 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000175b00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000175b00, 0x9b8990)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1662 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000175c00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000175c00, 0x9b8998)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1671 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000396300)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000396300, 0x9b8798)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1672 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000396400)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000396400, 0x9b8848)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1778 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0002b6700)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0002b6700, 0x9b8a30)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 2072 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000398400)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000398400, 0x9b8f78)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1674 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000396600)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000396600, 0x9b88a8)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 2433 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0005ae400)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0005ae400, 0x9b83b8)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1673 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000396500)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000396500, 0x9b88b0)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1734 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000397600)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000397600, 0x9b8828)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1741 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000362400)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000362400, 0x9b87f8)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1742 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000362600)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000362600, 0x9b8800)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 1713 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0002b6600)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0002b6600, 0x9b8a28)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 2974 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0004b4e00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0004b4e00, 0x9b8ff8)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 6409 [chan receive, 2 minutes]:
net/http.http2closeWaiter.Wait(...)
/tmp/workdir/go/src/net/http/h2_bundle.go:3314
net/http.(*http2responseWriter).CloseNotify.func1(0xc0003aa240, 0xc002d99dc0)
/tmp/workdir/go/src/net/http/h2_bundle.go:6117 +0x34
created by net/http.(*http2responseWriter).CloseNotify
/tmp/workdir/go/src/net/http/h2_bundle.go:6116 +0xf8
goroutine 2527 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0000d5d00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
runtime.Goexit()
/tmp/workdir/go/src/runtime/panic.go:547 +0xec
testing.(*common).SkipNow(0xc0000d5d00)
/tmp/workdir/go/src/testing/testing.go:742 +0x39
testing.(*common).Skip(0xc0000d5d00, 0xc000308750, 0x1, 0x1)
/tmp/workdir/go/src/testing/testing.go:722 +0x78
net/http_test.TestCancelRequestWithChannel(0xc0000d5d00)
/tmp/workdir/go/src/net/http/transport_test.go:2129 +0x7e0
testing.tRunner(0xc0000d5d00, 0x9b7d20)
/tmp/workdir/go/src/testing/testing.go:909 +0xc9
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 2073 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000398500)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000398500, 0x9b9000)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 6455 [select, 2 minutes]:
net/http.(*http2serverConn).serve(0xc000383200)
/tmp/workdir/go/src/net/http/h2_bundle.go:4412 +0x588
net/http.(*http2Server).ServeConn(0xc000562cc0, 0xa62500, 0xc000129500, 0xc000719c10)
/tmp/workdir/go/src/net/http/h2_bundle.go:4021 +0x73a
net/http.http2ConfigureServer.func1(0xc00070f5e0, 0xc000129500, 0xa52240, 0xc00010b260)
/tmp/workdir/go/src/net/http/h2_bundle.go:3847 +0xef
net/http.(*conn).serve(0xc002a60e60, 0xa5ce00, 0xc000794150)
/tmp/workdir/go/src/net/http/server.go:1800 +0x122c
created by net/http.(*Server).Serve
/tmp/workdir/go/src/net/http/server.go:2927 +0x38e
goroutine 2933 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0002b6b00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0002b6b00, 0x9b8d30)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 2523 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0000d5900)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0000d5900, 0x9b83f0)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 2528 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0000d5e00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0000d5e00, 0x9b7d10)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 2813 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000326000)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000326000, 0x9b8ee0)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 2568 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0003d3600)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0003d3600, 0x9b8e68)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 2098 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0004b4700)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0004b4700, 0x9b8d88)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 2562 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0003b9300)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0003b9300, 0x9b9010)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 6410 [select, 2 minutes]:
net/http/httputil.(*ReverseProxy).ServeHTTP.func1(0xc002d99dc0, 0xc0002ab940, 0xa5cd40, 0xc0006b2f00)
/tmp/workdir/go/src/net/http/httputil/reverseproxy.go:190 +0xb7
created by net/http/httputil.(*ReverseProxy).ServeHTTP
/tmp/workdir/go/src/net/http/httputil/reverseproxy.go:189 +0x1428
goroutine 3126 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000463300)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000463300, 0x9b8350)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 2569 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0003d3700)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0003d3700, 0x9b8e98)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 3244 [chan receive, 2 minutes]:
testing.runTests.func1.1(0xc0000d5600)
/tmp/workdir/go/src/testing/testing.go:1212 +0x3b
created by testing.runTests.func1
/tmp/workdir/go/src/testing/testing.go:1212 +0xac
goroutine 2944 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0002b7e00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0002b7e00, 0x9b8d08)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 6458 [IO wait, 2 minutes]:
internal/poll.runtime_pollWait(0x2a1364630, 0x72, 0xffffffffffffffff)
/tmp/workdir/go/src/runtime/netpoll.go:184 +0x55
internal/poll.(*pollDesc).wait(0xc002aaf918, 0x72, 0xe100, 0xe128, 0xffffffffffffffff)
/tmp/workdir/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/tmp/workdir/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc002aaf900, 0xc000b9e000, 0xe128, 0xe128, 0x0, 0x0, 0x0)
/tmp/workdir/go/src/internal/poll/fd_unix.go:169 +0x1cf
net.(*netFD).Read(0xc002aaf900, 0xc000b9e000, 0xe128, 0xe128, 0x203000, 0x0, 0x6096)
/tmp/workdir/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc0000fc578, 0xc000b9e000, 0xe128, 0xe128, 0x0, 0x0, 0x0)
/tmp/workdir/go/src/net/net.go:177 +0x68
crypto/tls.(*atLeastReader).Read(0xc000de88a0, 0xc000b9e000, 0xe128, 0xe128, 0x60dd, 0xc000ba6050, 0xc000617970)
/tmp/workdir/go/src/crypto/tls/conn.go:780 +0x60
bytes.(*Buffer).ReadFrom(0xc000129ad8, 0xa50e40, 0xc000de88a0, 0x40b7d5, 0x9031c0, 0x96e2e0)
/tmp/workdir/go/src/bytes/buffer.go:204 +0xb4
crypto/tls.(*Conn).readFromUntil(0xc000129880, 0x200e2c6a0, 0xc0000fc578, 0x5, 0xc0000fc578, 0xd)
/tmp/workdir/go/src/crypto/tls/conn.go:802 +0xec
crypto/tls.(*Conn).readRecordOrCCS(0xc000129880, 0x0, 0x0, 0x0)
/tmp/workdir/go/src/crypto/tls/conn.go:609 +0x124
crypto/tls.(*Conn).readRecord(...)
/tmp/workdir/go/src/crypto/tls/conn.go:577
crypto/tls.(*Conn).Read(0xc000129880, 0xc000945000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/tmp/workdir/go/src/crypto/tls/conn.go:1255 +0x161
bufio.(*Reader).Read(0xc00061e120, 0xc00070fc38, 0x9, 0x9, 0xc000617d93, 0x33157f0e, 0x1)
/tmp/workdir/go/src/bufio/bufio.go:223 +0x23b
io.ReadAtLeast(0xa50c60, 0xc00061e120, 0xc00070fc38, 0x9, 0x9, 0x9, 0x71a57d, 0xc00078ead0, 0xc0007947e0)
/tmp/workdir/go/src/io/io.go:310 +0x87
io.ReadFull(...)
/tmp/workdir/go/src/io/io.go:329
net/http.http2readFrameHeader(0xc00070fc38, 0x9, 0x9, 0xa50c60, 0xc00061e120, 0x0, 0xc000000000, 0xc000617df0, 0x71e962)
/tmp/workdir/go/src/net/http/h2_bundle.go:1477 +0x87
net/http.(*http2Framer).ReadFrame(0xc00070fc00, 0xc000281e30, 0x0, 0x0, 0x0)
/tmp/workdir/go/src/net/http/h2_bundle.go:1735 +0xa1
net/http.(*http2clientConnReadLoop).run(0xc000617fb8, 0x6f81cd, 0xc0003d7140)
/tmp/workdir/go/src/net/http/h2_bundle.go:8145 +0x8e
net/http.(*http2ClientConn).readLoop(0xc00078ea80)
/tmp/workdir/go/src/net/http/h2_bundle.go:8073 +0xa3
created by net/http.(*http2Transport).newClientConn
/tmp/workdir/go/src/net/http/h2_bundle.go:7132 +0x62f
goroutine 6451 [IO wait, 2 minutes]:
internal/poll.runtime_pollWait(0x2a1364490, 0x72, 0x0)
/tmp/workdir/go/src/runtime/netpoll.go:184 +0x55
internal/poll.(*pollDesc).wait(0xc002aaf698, 0x72, 0x0, 0x0, 0x985956)
/tmp/workdir/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/tmp/workdir/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc002aaf680, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/tmp/workdir/go/src/internal/poll/fd_unix.go:384 +0x1f8
net.(*netFD).accept(0xc002aaf680, 0xc00076f6c0, 0xc00076f748, 0x9b9800)
/tmp/workdir/go/src/net/fd_unix.go:238 +0x42
net.(*TCPListener).accept(0xc000788100, 0xc00049be30, 0xc000d75da8, 0xc00076f748)
/tmp/workdir/go/src/net/tcpsock_posix.go:139 +0x32
net.(*TCPListener).Accept(0xc000788100, 0x0, 0xc000d75ea8, 0xc0003d6f44, 0xc0003d6f00)
/tmp/workdir/go/src/net/tcpsock.go:261 +0x47
crypto/tls.(*listener).Accept(0xc000789060, 0xc000d75e08, 0x18, 0xc0004b1980, 0x739dee)
/tmp/workdir/go/src/crypto/tls/tls.go:59 +0x37
net/http.(*Server).Serve(0xc00070f180, 0xa5b940, 0xc000789060, 0x0, 0x0)
/tmp/workdir/go/src/net/http/server.go:2896 +0x286
net/http/httptest.(*Server).goServe.func1(0xc0003d6f00)
/tmp/workdir/go/src/net/http/httptest/server.go:298 +0x7b
created by net/http/httptest.(*Server).goServe
/tmp/workdir/go/src/net/http/httptest/server.go:296 +0x5c
goroutine 6462 [IO wait, 2 minutes]:
internal/poll.runtime_pollWait(0x200e230d8, 0x77, 0xffffffffffffffff)
/tmp/workdir/go/src/runtime/netpoll.go:184 +0x55
internal/poll.(*pollDesc).wait(0xc000469d18, 0x77, 0x0, 0x8000, 0xffffffffffffffff)
/tmp/workdir/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitWrite(...)
/tmp/workdir/go/src/internal/poll/fd_poll_runtime.go:96
internal/poll.(*FD).Write(0xc000469d00, 0xc000b2c000, 0x1f, 0x8000, 0x0, 0x0, 0x0)
/tmp/workdir/go/src/internal/poll/fd_unix.go:276 +0x2a9
net.(*netFD).Write(0xc000469d00, 0xc000b2c000, 0x1f, 0x8000, 0x4016, 0x0, 0x0)
/tmp/workdir/go/src/net/fd_unix.go:220 +0x4f
net.(*conn).Write(0xc002698228, 0xc000b2c000, 0x1f, 0x8000, 0x0, 0x0, 0x0)
/tmp/workdir/go/src/net/net.go:189 +0x68
crypto/tls.(*Conn).write(0xc000043180, 0xc000b2c000, 0x1f, 0x8000, 0xc00095e800, 0x9, 0x800)
/tmp/workdir/go/src/crypto/tls/conn.go:915 +0x160
crypto/tls.(*Conn).writeRecordLocked(0xc000043180, 0x17, 0xc00095e800, 0x4009, 0x800, 0x3, 0x3, 0xc0001c4c72)
/tmp/workdir/go/src/crypto/tls/conn.go:964 +0x29f
crypto/tls.(*Conn).Write(0xc000043180, 0xc00095a800, 0x4009, 0x4800, 0x0, 0x0, 0x0)
/tmp/workdir/go/src/crypto/tls/conn.go:1133 +0x1b7
net/http.http2stickyErrWriter.Write(0xa50e20, 0xc000043180, 0xc00078ed58, 0xc00095a800, 0x4009, 0x4800, 0x45c290, 0xc0001c4ca0, 0x2)
/tmp/workdir/go/src/net/http/h2_bundle.go:6830 +0x68
bufio.(*Writer).Write(0xc000563080, 0xc00095a800, 0x4009, 0x4800, 0x9b9800, 0xc0001c4d00, 0x0)
/tmp/workdir/go/src/bufio/bufio.go:622 +0x144
net/http.(*http2Framer).endWrite(0xc00070fea0, 0x0, 0x0)
/tmp/workdir/go/src/net/http/h2_bundle.go:1606 +0xab
net/http.(*http2Framer).WriteDataPadded(0xc00070fea0, 0x1, 0xc000adc000, 0x4000, 0x4000, 0x0, 0x0, 0x0, 0x0, 0x0)
/tmp/workdir/go/src/net/http/h2_bundle.go:1928 +0x25b
net/http.(*http2Framer).WriteData(...)
/tmp/workdir/go/src/net/http/h2_bundle.go:1886
net/http.(*http2clientStream).writeRequestBody(0xc0009428c0, 0x2a13630b0, 0xc00049bbc0, 0x200e2ea80, 0xc00049bbc0, 0x0, 0x0)
/tmp/workdir/go/src/net/http/h2_bundle.go:7729 +0x337
net/http.(*http2Transport).getBodyWriterState.func1()
/tmp/workdir/go/src/net/http/h2_bundle.go:8921 +0xc5
created by net/http.http2bodyWriterState.scheduleBodyWrite
/tmp/workdir/go/src/net/http/h2_bundle.go:8968 +0xa1
goroutine 6452 [IO wait, 2 minutes]:
internal/poll.runtime_pollWait(0x2a1363e10, 0x72, 0x0)
/tmp/workdir/go/src/runtime/netpoll.go:184 +0x55
internal/poll.(*pollDesc).wait(0xc002aaf798, 0x72, 0x0, 0x0, 0x985956)
/tmp/workdir/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/tmp/workdir/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc002aaf780, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/tmp/workdir/go/src/internal/poll/fd_unix.go:384 +0x1f8
net.(*netFD).accept(0xc002aaf780, 0xc00055eb60, 0xc00055ebe8, 0x9b9800)
/tmp/workdir/go/src/net/fd_unix.go:238 +0x42
net.(*TCPListener).accept(0xc000789100, 0xc000794210, 0xc000d70da8, 0xc00055ebe8)
/tmp/workdir/go/src/net/tcpsock_posix.go:139 +0x32
net.(*TCPListener).Accept(0xc000789100, 0x0, 0xc000d70ea8, 0xc0003d71e4, 0xc0003d71a0)
/tmp/workdir/go/src/net/tcpsock.go:261 +0x47
crypto/tls.(*listener).Accept(0xc000790060, 0xc000d70e08, 0x18, 0xc0004b1c80, 0x739dee)
/tmp/workdir/go/src/crypto/tls/tls.go:59 +0x37
net/http.(*Server).Serve(0xc00070f5e0, 0xa5b940, 0xc000790060, 0x0, 0x0)
/tmp/workdir/go/src/net/http/server.go:2896 +0x286
net/http/httptest.(*Server).goServe.func1(0xc0003d71a0)
/tmp/workdir/go/src/net/http/httptest/server.go:298 +0x7b
created by net/http/httptest.(*Server).goServe
/tmp/workdir/go/src/net/http/httptest/server.go:296 +0x5c
goroutine 3176 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000327000)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000327000, 0x9b8fa8)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 2522 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0000d5800)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0000d5800, 0x9b83d8)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 2973 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0004b4d00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0004b4d00, 0x9b8ff0)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 2570 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0003d3800)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0003d3800, 0x9b9038)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 6501 [select, 2 minutes]:
net/http.http2awaitRequestCancel(0xc000497800, 0xc000491980, 0x0, 0x2a13630b0)
/tmp/workdir/go/src/net/http/h2_bundle.go:6745 +0x120
net/http.(*http2clientStream).awaitRequestCancel(0xc0009428c0, 0xc000497800)
/tmp/workdir/go/src/net/http/h2_bundle.go:6771 +0x40
created by net/http.(*http2clientConnReadLoop).handleResponse
/tmp/workdir/go/src/net/http/h2_bundle.go:8364 +0x6a8
goroutine 3152 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000396100)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000396100, 0x9b8450)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 6473 [IO wait, 2 minutes]:
internal/poll.runtime_pollWait(0x200e235b8, 0x72, 0xffffffffffffffff)
/tmp/workdir/go/src/runtime/netpoll.go:184 +0x55
internal/poll.(*pollDesc).wait(0xc000469d98, 0x72, 0x6200, 0x6277, 0xffffffffffffffff)
/tmp/workdir/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/tmp/workdir/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000469d80, 0xc000b49fc3, 0x6277, 0x6277, 0x0, 0x0, 0x0)
/tmp/workdir/go/src/internal/poll/fd_unix.go:169 +0x1cf
net.(*netFD).Read(0xc000469d80, 0xc000b49fc3, 0x6277, 0x6277, 0x1, 0x0, 0x0)
/tmp/workdir/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc0000b8430, 0xc000b49fc3, 0x6277, 0x6277, 0x0, 0x0, 0x0)
/tmp/workdir/go/src/net/net.go:177 +0x68
crypto/tls.(*atLeastReader).Read(0xc000d6d740, 0xc000b49fc3, 0x6277, 0x6277, 0x1, 0x0, 0x0)
/tmp/workdir/go/src/crypto/tls/conn.go:780 +0x60
bytes.(*Buffer).ReadFrom(0xc00008d3d8, 0xa50e40, 0xc000d6d740, 0x40b7d5, 0x9031c0, 0x96e2e0)
/tmp/workdir/go/src/bytes/buffer.go:204 +0xb4
crypto/tls.(*Conn).readFromUntil(0xc00008d180, 0x200e2c6a0, 0xc0000b8430, 0x4016, 0xc0000b8430, 0x0)
/tmp/workdir/go/src/crypto/tls/conn.go:802 +0xec
crypto/tls.(*Conn).readRecordOrCCS(0xc00008d180, 0x0, 0x0, 0x6fb28b)
/tmp/workdir/go/src/crypto/tls/conn.go:654 +0x584
crypto/tls.(*Conn).readRecord(...)
/tmp/workdir/go/src/crypto/tls/conn.go:577
crypto/tls.(*Conn).Read(0xc00008d180, 0xc00094e118, 0x9, 0x9, 0x0, 0x0, 0x0)
/tmp/workdir/go/src/crypto/tls/conn.go:1255 +0x161
io.ReadAtLeast(0xa50e00, 0xc00008d180, 0xc00094e118, 0x9, 0x9, 0x9, 0x1046516581401, 0x0, 0x1)
/tmp/workdir/go/src/io/io.go:310 +0x87
io.ReadFull(...)
/tmp/workdir/go/src/io/io.go:329
net/http.http2readFrameHeader(0xc00094e118, 0x9, 0x9, 0xa50e00, 0xc00008d180, 0x0, 0xc000000000, 0xc000549f28, 0xc00025dc20)
/tmp/workdir/go/src/net/http/h2_bundle.go:1477 +0x87
net/http.(*http2Framer).ReadFrame(0xc00094e0e0, 0xc000549ee0, 0x2, 0x0, 0x1)
/tmp/workdir/go/src/net/http/h2_bundle.go:1735 +0xa1
net/http.(*http2serverConn).readFrames(0xc000383680)
/tmp/workdir/go/src/net/http/h2_bundle.go:4299 +0xa4
created by net/http.(*http2serverConn).serve
/tmp/workdir/go/src/net/http/h2_bundle.go:4404 +0x347
goroutine 2524 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0000d5a00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
runtime.Goexit()
/tmp/workdir/go/src/runtime/panic.go:547 +0xec
testing.(*common).SkipNow(0xc0000d5a00)
/tmp/workdir/go/src/testing/testing.go:742 +0x39
testing.(*common).Skip(0xc0000d5a00, 0xc000259dd8, 0x1, 0x1)
/tmp/workdir/go/src/testing/testing.go:722 +0x78
net/http_test.TestTransportResponseHeaderTimeout(0xc0000d5a00)
/tmp/workdir/go/src/net/http/transport_test.go:1949 +0xbc5
testing.tRunner(0xc0000d5a00, 0x9b8fd0)
/tmp/workdir/go/src/testing/testing.go:909 +0xc9
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 2525 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0000d5b00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
runtime.Goexit()
/tmp/workdir/go/src/runtime/panic.go:547 +0xec
testing.(*common).SkipNow(0xc0000d5b00)
/tmp/workdir/go/src/testing/testing.go:742 +0x39
testing.(*common).Skip(0xc0000d5b00, 0xc00030ef50, 0x1, 0x1)
/tmp/workdir/go/src/testing/testing.go:722 +0x78
net/http_test.TestTransportCancelRequest(0xc0000d5b00)
/tmp/workdir/go/src/net/http/transport_test.go:2020 +0x78f
testing.tRunner(0xc0000d5b00, 0x9b8c68)
/tmp/workdir/go/src/testing/testing.go:909 +0xc9
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 2932 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0002b6a00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0002b6a00, 0x9b8cc0)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 6413 [select, 2 minutes]:
net/http.(*http2serverConn).serve(0xc000383680)
/tmp/workdir/go/src/net/http/h2_bundle.go:4412 +0x588
net/http.(*http2Server).ServeConn(0xc000562b40, 0xa62500, 0xc00008d180, 0xc000715c10)
/tmp/workdir/go/src/net/http/h2_bundle.go:4021 +0x73a
net/http.http2ConfigureServer.func1(0xc00070f180, 0xc00008d180, 0xa52240, 0xc00010b6e0)
/tmp/workdir/go/src/net/http/h2_bundle.go:3847 +0xef
net/http.(*conn).serve(0xc000768280, 0xa5ce00, 0xc0007940c0)
/tmp/workdir/go/src/net/http/server.go:1800 +0x122c
created by net/http.(*Server).Serve
/tmp/workdir/go/src/net/http/server.go:2927 +0x38e
goroutine 6408 [semacquire, 2 minutes]:
sync.runtime_SemacquireMutex(0xc00078ed54, 0xc0006d5700, 0x1)
/tmp/workdir/go/src/runtime/sema.go:71 +0x47
sync.(*Mutex).lockSlow(0xc00078ed50)
/tmp/workdir/go/src/sync/mutex.go:138 +0xfc
sync.(*Mutex).Lock(...)
/tmp/workdir/go/src/sync/mutex.go:81
net/http.http2transportResponseBody.Read(0xc0009428c0, 0xc000b6e000, 0x8000, 0x8000, 0x8000, 0x0, 0x0)
/tmp/workdir/go/src/net/http/h2_bundle.go:8461 +0x496
net/http/httputil.(*ReverseProxy).copyBuffer(0xc0006490e0, 0x225357160, 0xc0000b8428, 0x2a1363028, 0xc0009428c0, 0xc000b6e000, 0x8000, 0x8000, 0x0, 0x95bca0, ...)
/tmp/workdir/go/src/net/http/httputil/reverseproxy.go:405 +0xa7
net/http/httputil.(*ReverseProxy).copyResponse(0xc0006490e0, 0x225357160, 0xc0000b8428, 0x2a1363028, 0xc0009428c0, 0x0, 0x0, 0x0)
/tmp/workdir/go/src/net/http/httputil/reverseproxy.go:393 +0xb5
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc0006490e0, 0xa5bc00, 0xc0000b8428, 0xc000497700)
/tmp/workdir/go/src/net/http/httputil/reverseproxy.go:286 +0x7d7
net/http_test.TestBidiStreamReverseProxy.func2(0xa5bc00, 0xc0000b8428, 0xc000497700)
/tmp/workdir/go/src/net/http/clientserver_test.go:1503 +0x48
net/http.HandlerFunc.ServeHTTP(0xc0001818a0, 0xa5bc00, 0xc0000b8428, 0xc000497700)
/tmp/workdir/go/src/net/http/server.go:2007 +0x44
net/http.serverHandler.ServeHTTP(0xc00070f5e0, 0xa5bc00, 0xc0000b8428, 0xc000497700)
/tmp/workdir/go/src/net/http/server.go:2802 +0xa4
net/http.initNPNRequest.ServeHTTP(0xa5ce00, 0xc000794240, 0xc000129500, 0xc00070f5e0, 0xa5bc00, 0xc0000b8428, 0xc000497700)
/tmp/workdir/go/src/net/http/server.go:3374 +0x8d
net/http.(*http2serverConn).runHandler(0xc000383200, 0xc0000b8428, 0xc000497700, 0xc0002a1400)
/tmp/workdir/go/src/net/http/h2_bundle.go:5683 +0x9f
created by net/http.(*http2serverConn).processHeaders
/tmp/workdir/go/src/net/http/h2_bundle.go:5417 +0x4eb
goroutine 3174 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000326e00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000326e00, 0x9b7e50)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 2529 [chan send, 2 minutes]:
testing.tRunner.func1(0xc0000d5f00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc0000d5f00, 0x9b7d18)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 6459 [sync.Cond.Wait, 2 minutes]:
runtime.goparkunlock(...)
/tmp/workdir/go/src/runtime/proc.go:310
sync.runtime_notifyListWait(0xc000562ed0, 0x7)
/tmp/workdir/go/src/runtime/sema.go:510 +0xf8
sync.(*Cond).Wait(0xc000562ec0)
/tmp/workdir/go/src/sync/cond.go:56 +0x9d
net/http.(*http2clientStream).awaitFlowControl(0xc000942140, 0x4000, 0x0, 0x0, 0x0)
/tmp/workdir/go/src/net/http/h2_bundle.go:7815 +0xac
net/http.(*http2clientStream).writeRequestBody(0xc000942140, 0xa50fc0, 0xc0000fc550, 0x200e2dc80, 0xc0000fc550, 0x0, 0x0)
/tmp/workdir/go/src/net/http/h2_bundle.go:7715 +0x1f7
net/http.(*http2Transport).getBodyWriterState.func1()
/tmp/workdir/go/src/net/http/h2_bundle.go:8921 +0xc5
created by net/http.http2bodyWriterState.scheduleBodyWrite
/tmp/workdir/go/src/net/http/h2_bundle.go:8968 +0xa1
goroutine 3175 [chan send, 2 minutes]:
testing.tRunner.func1(0xc000326f00)
/tmp/workdir/go/src/testing/testing.go:904 +0x282
testing.tRunner(0xc000326f00, 0x9b7e48)
/tmp/workdir/go/src/testing/testing.go:913 +0xd3
created by testing.(*T).Run
/tmp/workdir/go/src/testing/testing.go:960 +0x350
goroutine 6453 [select, 2 minutes]:
io.(*pipe).Write(0xc000649a40, 0xc00079c000, 0x4000, 0x4000, 0x4000, 0x0, 0x0)
/tmp/workdir/go/src/io/pipe.go:87 +0x1fb
io.(*PipeWriter).Write(0xc0000fc558, 0xc000798000, 0x8000, 0x8000, 0x8000, 0x0, 0x0)
/tmp/workdir/go/src/io/pipe.go:153 +0x4c
io.(*multiWriter).Write(0xc000790140, 0xc000798000, 0x8000, 0x8000, 0x8000, 0x0, 0x0)
/tmp/workdir/go/src/io/multi.go:60 +0x87
io.copyBuffer(0xa51040, 0xc000790140, 0xa50fa0, 0xc000790160, 0xc000798000, 0x8000, 0x8000, 0x9534a0, 0xc000790120, 0xc0001f1fb0)
/tmp/workdir/go/src/io/io.go:404 +0x1fb
io.Copy(...)
/tmp/workdir/go/src/io/io.go:364
io.CopyN(0xa51040, 0xc000790140, 0xa50dc0, 0xc00007c240, 0x400000, 0x799e7b, 0xc00070e9a0, 0xa5ba40)
/tmp/workdir/go/src/io/io.go:340 +0x9a
net/http_test.TestBidiStreamReverseProxy.func3(0xc0000fc558, 0xc0003d7380)
/tmp/workdir/go/src/net/http/clientserver_test.go:1513 +0x127
created by net/http_test.TestBidiStreamReverseProxy
/tmp/workdir/go/src/net/http/clientserver_test.go:1511 +0x4a1
goroutine 6467 [IO wait, 2 minutes]:
internal/poll.runtime_pollWait(0x2253588c0, 0x72, 0xffffffffffffffff)
/tmp/workdir/go/src/runtime/netpoll.go:184 +0x55
internal/poll.(*pollDesc).wait(0xc002aaf998, 0x72, 0x8e00, 0x8e8c, 0xffffffffffffffff)
/tmp/workdir/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/tmp/workdir/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc002aaf980, 0xc00098a000, 0x8e8c, 0x8e8c, 0x0, 0x0, 0x0)
/tmp/workdir/go/src/internal/poll/fd_unix.go:169 +0x1cf
net.(*netFD).Read(0xc002aaf980, 0xc00098a000, 0x8e8c, 0x8e8c, 0x203000, 0x4e71, 0xc00098e016)
/tmp/workdir/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc0000fc570, 0xc00098a000, 0x8e8c, 0x8e8c, 0x0, 0x0, 0x0)
/tmp/workdir/go/src/net/net.go:177 +0x68
crypto/tls.(*atLeastReader).Read(0xc000d6dac0, 0xc00098a000, 0x8e8c, 0x8e8c, 0x4e76, 0xc00098e01b, 0xc000618a78)
/tmp/workdir/go/src/crypto/tls/conn.go:780 +0x60
bytes.(*Buffer).ReadFrom(0xc000129758, 0xa50e40, 0xc000d6dac0, 0x40b7d5, 0x9031c0, 0x96e2e0)
/tmp/workdir/go/src/bytes/buffer.go:204 +0xb4
crypto/tls.(*Conn).readFromUntil(0xc000129500, 0x200e2c6a0, 0xc0000fc570, 0x5, 0xc0000fc570, 0xc000618b30)
/tmp/workdir/go/src/crypto/tls/conn.go:802 +0xec
crypto/tls.(*Conn).readRecordOrCCS(0xc000129500, 0x0, 0x0, 0x6fb28b)
/tmp/workdir/go/src/crypto/tls/conn.go:609 +0x124
crypto/tls.(*Conn).readRecord(...)
/tmp/workdir/go/src/crypto/tls/conn.go:577
crypto/tls.(*Conn).Read(0xc000129500, 0xc00094e038, 0x9, 0x9, 0x0, 0x0, 0x0)
/tmp/workdir/go/src/crypto/tls/conn.go:1255 +0x161
io.ReadAtLeast(0xa50e00, 0xc000129500, 0xc00094e038, 0x9, 0x9, 0x9, 0x1046516581401, 0x0, 0x1)
/tmp/workdir/go/src/io/io.go:310 +0x87
io.ReadFull(...)
/tmp/workdir/go/src/io/io.go:329
net/http.http2readFrameHeader(0xc00094e038, 0x9, 0x9, 0xa50e00, 0xc000129500, 0x0, 0xc000000000, 0xc000618f28, 0xc0003aa180)
/tmp/workdir/go/src/net/http/h2_bundle.go:1477 +0x87
net/http.(*http2Framer).ReadFrame(0xc00094e000, 0xc000618ee0, 0x2, 0x0, 0x1)
/tmp/workdir/go/src/net/http/h2_bundle.go:1735 +0xa1
net/http.(*http2serverConn).readFrames(0xc000383200)
/tmp/workdir/go/src/net/http/h2_bundle.go:4299 +0xa4
created by net/http.(*http2serverConn).serve
/tmp/workdir/go/src/net/http/h2_bundle.go:4404 +0x347
goroutine 6461 [semacquire, 2 minutes]:
sync.runtime_SemacquireMutex(0xc00078ec54, 0x33157f01, 0x1)
/tmp/workdir/go/src/runtime/sema.go:71 +0x47
sync.(*Mutex).lockSlow(0xc00078ec50)
/tmp/workdir/go/src/sync/mutex.go:138 +0xfc
sync.(*Mutex).Lock(...)
/tmp/workdir/go/src/sync/mutex.go:81
net/http.(*http2ClientConn).streamByID(0xc00078ec00, 0x1, 0x0)
/tmp/workdir/go/src/net/http/h2_bundle.go:8046 +0x1e7
net/http.(*http2clientConnReadLoop).processWindowUpdate(0xc000052fb8, 0xc000281d80, 0x0, 0x0)
/tmp/workdir/go/src/net/http/h2_bundle.go:8706 +0x56
net/http.(*http2clientConnReadLoop).run(0xc000052fb8, 0x6f81cd, 0xc0003d7140)
/tmp/workdir/go/src/net/http/h2_bundle.go:8193 +0x80a
net/http.(*http2ClientConn).readLoop(0xc00078ec00)
/tmp/workdir/go/src/net/http/h2_bundle.go:8073 +0xa3
created by net/http.(*http2Transport).newClientConn
/tmp/workdir/go/src/net/http/h2_bundle.go:7132 +0x62f
goroutine 6792 [IO wait, 2 minutes]:
internal/poll.runtime_pollWait(0x200e235b8, 0x77, 0xffffffffffffffff)
/tmp/workdir/go/src/runtime/netpoll.go:184 +0x55
internal/poll.(*pollDesc).wait(0xc000469d98, 0x77, 0x400, 0x44a4, 0xffffffffffffffff)
/tmp/workdir/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitWrite(...)
/tmp/workdir/go/src/internal/poll/fd_poll_runtime.go:96
internal/poll.(*FD).Write(0xc000469d80, 0xc000b34000, 0x1016, 0x5000, 0x0, 0x0, 0x0)
/tmp/workdir/go/src/internal/poll/fd_unix.go:276 +0x2a9
net.(*netFD).Write(0xc000469d80, 0xc000b34000, 0x1016, 0x5000, 0x4c4b52, 0xc000469d80, 0x0)
/tmp/workdir/go/src/net/fd_unix.go:220 +0x4f
net.(*conn).Write(0xc0000b8430, 0xc000b34000, 0x1016, 0x5000, 0x0, 0x0, 0x0)
/tmp/workdir/go/src/net/net.go:189 +0x68
crypto/tls.(*Conn).write(0xc00008d180, 0xc000b34000, 0x1016, 0x5000, 0xc000242000, 0x1000, 0x1000)
/tmp/workdir/go/src/crypto/tls/conn.go:915 +0x160
crypto/tls.(*Conn).writeRecordLocked(0xc00008d180, 0x17, 0xc000242000, 0x1000, 0x1000, 0x0, 0x4009, 0x4000)
/tmp/workdir/go/src/crypto/tls/conn.go:964 +0x29f
crypto/tls.(*Conn).Write(0xc00008d180, 0xc000242000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/tmp/workdir/go/src/crypto/tls/conn.go:1133 +0x1b7
bufio.(*Writer).Flush(0xc0001b4200, 0xc000b0e000, 0xff3)
/tmp/workdir/go/src/bufio/bufio.go:590 +0x75
bufio.(*Writer).Write(0xc0001b4200, 0xc000b0e000, 0x4009, 0x4800, 0x73af13, 0xc000707580, 0x0)
/tmp/workdir/go/src/bufio/bufio.go:626 +0xe4
net/http.(*http2bufferedWriter).Write(0xc00010b700, 0xc000b0e000, 0x4009, 0x4800, 0xc00008d348, 0x45b960, 0xc00008d358)
/tmp/workdir/go/src/net/http/h2_bundle.go:3356 +0x58
net/http.(*http2Framer).endWrite(0xc00094e0e0, 0x0, 0x0)
/tmp/workdir/go/src/net/http/h2_bundle.go:1606 +0xab
net/http.(*http2Framer).WriteDataPadded(0xc00094e0e0, 0x1, 0xc000afc000, 0x4000, 0x8000, 0x0, 0x0, 0x0, 0x705bdb, 0x1)
/tmp/workdir/go/src/net/http/h2_bundle.go:1928 +0x25b
net/http.(*http2Framer).WriteData(...)
/tmp/workdir/go/src/net/http/h2_bundle.go:1886
net/http.(*http2writeData).writeFrame(0xc000d7f6e0, 0xa5cf80, 0xc000383680, 0x0, 0x0)
/tmp/workdir/go/src/net/http/h2_bundle.go:9162 +0x82
net/http.(*http2serverConn).writeFrameAsync(0xc000383680, 0xa54f80, 0xc000d7f6e0, 0xc0004a8630, 0x0)
/tmp/workdir/go/src/net/http/h2_bundle.go:4327 +0x4b
created by net/http.(*http2serverConn).startFrameWrite
/tmp/workdir/go/src/net/http/h2_bundle.go:4707 +0x271
goroutine 6474 [select, 2 minutes]:
net/http.(*http2serverConn).writeDataFromHandler(0xc000383680, 0xc0004a8630, 0xc000afc000, 0x8000, 0x8000, 0x0, 0x2, 0xc00025aa20)
/tmp/workdir/go/src/net/http/h2_bundle.go:4558 +0x23f
net/http.(*http2responseWriterState).writeChunk(0xc000777980, 0xc000afc000, 0x8000, 0x8000, 0x2, 0x2, 0xc00025ab88)
/tmp/workdir/go/src/net/http/h2_bundle.go:6013 +0x475
net/http.http2chunkWriter.Write(0xc000777980, 0xc000afc000, 0x8000, 0x8000, 0xc000777a00, 0x1000000000001, 0xc0004a8630)
/tmp/workdir/go/src/net/http/h2_bundle.go:5896 +0x49
bufio.(*Writer).Write(0xc0009481c0, 0xc000afc000, 0x8000, 0x8000, 0x0, 0x0, 0xc00025abf8)
/tmp/workdir/go/src/bufio/bufio.go:622 +0x144
net/http.(*http2responseWriter).write(0xc002698230, 0x8000, 0xc000afc000, 0x8000, 0x8000, 0x0, 0x0, 0x8000, 0x0, 0x0)
/tmp/workdir/go/src/net/http/h2_bundle.go:6218 +0xeb
net/http.(*http2responseWriter).Write(0xc002698230, 0xc000afc000, 0x8000, 0x8000, 0x8000, 0x0, 0x0)
/tmp/workdir/go/src/net/http/h2_bundle.go:6192 +0x56
io.copyBuffer(0x225357160, 0xc002698230, 0x2a13630b0, 0xc00051df80, 0xc000afc000, 0x8000, 0x8000, 0x0, 0x6fb28b, 0xc0002a5280)
/tmp/workdir/go/src/io/io.go:404 +0x1fb
io.Copy(...)
/tmp/workdir/go/src/io/io.go:364
net/http_test.TestBidiStreamReverseProxy.func1(0xa5bc00, 0xc002698230, 0xc00094a400)
/tmp/workdir/go/src/net/http/clientserver_test.go:1490 +0xc6
net/http.HandlerFunc.ServeHTTP(0x9b7ce0, 0xa5bc00, 0xc002698230, 0xc00094a400)
/tmp/workdir/go/src/net/http/server.go:2007 +0x44
net/http.serverHandler.ServeHTTP(0xc00070f180, 0xa5bc00, 0xc002698230, 0xc00094a400)
/tmp/workdir/go/src/net/http/server.go:2802 +0xa4
net/http.initNPNRequest.ServeHTTP(0xa5ce00, 0xc00049be60, 0xc00008d180, 0xc00070f180, 0xa5bc00, 0xc002698230, 0xc00094a400)
/tmp/workdir/go/src/net/http/server.go:3374 +0x8d
net/http.(*http2serverConn).runHandler(0xc000383680, 0xc002698230, 0xc00094a400, 0xc00010b7a0)
/tmp/workdir/go/src/net/http/h2_bundle.go:5683 +0x9f
created by net/http.(*http2serverConn).processHeaders
/tmp/workdir/go/src/net/http/h2_bundle.go:5417 +0x4eb
FAIL net/http 180.085s
```
</details><br> | Testing,help wanted,OS-OpenBSD,NeedsInvestigation | low | Critical |
458,107,053 | flutter | [Discussion] inheritFromWidgetOfExactType should not add a dependency if called outside of build/didChangeDependencies | Consider the following `Foo` widget:
```dart
class Foo extends StatelessWidget {
@override
Widget build(BuildContext context) {
return RaisedButton(
onPressed: () {
MyInherited.of(context).doSomething();
}
);
}
}
```
In that code snippet, for most implementations of `MyInherited.of`, pressing the RaisedButton will make `Foo` depend on `MyInherited`.
Which means after the button is clicked once, updating `MyInherited` will force `Foo` to rebuild, for no reason.
___
It is technically possible to prevent that from happening, using `ancestorInheritedElementForWidgetOfExactType` instead of `inheritFromWidgetOfExactType`.
But the fact that `inheritFromWidgetOfExactType` add the dependency when used outside of `build`/`didChangeDependencies` is probably more of a bug than the desired behavior.
____
There are multiple solutions:
- do a breaking change on `inheritFromWidgetOfExactType`, to not add a dependency when used outside of `build`/`didChangeDependencies`.
- Add a new method on `BuildContext`/`Element` that wraps `inheritFromWidgetOfExactType` and `ancestorInheritedElementForWidgetOfExactType` into something that switch between them depending on if used inside `build`/`didChangeDependencies` or not.
I can't think of a legitimate use-case where we'd want the current behavior. So although breaking, the first solution would probably a minimal impact.
Adding a new method on `BuildContext` for the `.of` pattern, although non-breaking, will likely have a much more significant impact.
Because that would implicitly require nearly all existing `.of` methods to be updated to use the new life-cycle.
cc @Hixie | framework,c: proposal,P3,team-framework,triaged-framework | low | Critical |
458,107,682 | tensorflow | Many context switches / Many threads even if threading is limited | **System information**
- Have I written custom code: No (https://github.com/tensorflow/docs/blob/master/site/en/r2/tutorials/quickstart/beginner.ipynb)
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux OpenSuse Leap 15.0
- TensorFlow installed from (source or binary): pip package tensorflow==2.0.0-beta1
- TensorFlow version (use command below): v2.0.0-beta0-16-g1d91213
- Python version: 3.7.3
- GPU model and memory: CPU only
**Describe the current behavior**
If you limit the number of threads with tf.set_inter_op_parallelism_threads(NUM_THREADS) and tf.set_intra_op_parallelism_threads(NUM_THREADS) tensorflow creates a threadpool with more threads than NUM_THREADS and runs maximal NUM_THREADS causing high amount of context switches, which is delaying execution.
**Describe the expected behavior**
Create maximal NUM_THREADS and limit context switches.
**Code to reproduce the issue**
```python
from __future__ import absolute_import, division, print_function, unicode_literals
!pip install -q tensorflow==2.0.0-beta1
import tensorflow as tf
NUM_THREADS=2
tf.config.threading.set_inter_op_parallelism_threads(NUM_THREADS)
tf.config.threading.set_intra_op_parallelism_threads(NUM_THREADS)
mnist = tf.keras.datasets.mnist
(x_train, y_train), (x_test, y_test) = mnist.load_data()
x_train, x_test = x_train / 255.0, x_test / 255.0
model = tf.keras.models.Sequential([
tf.keras.layers.Flatten(input_shape=(28, 28)),
tf.keras.layers.Dense(128, activation='relu'),
tf.keras.layers.Dropout(0.2),
tf.keras.layers.Dense(10, activation='softmax')
])
model.compile(optimizer='adam',
loss='sparse_categorical_crossentropy',
metrics=['accuracy'])
model.fit(x_train, y_train, epochs=100)
```
| stat:awaiting tensorflower,type:bug,comp:runtime,TF 2.5,2.6.0 | medium | Major |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.