sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: opencv
Issue: Could not able to read 4K mp4 file with OpenCV 3.4.5 with cuda toolkit 8.0 on Windows 10. It reads only few starting frames and then crashes. 
Labels: priority: low,category: gpu/cuda (contrib),incomplete

<!--
If you have a question rather than reporting a bug please go to http://answers.opencv.org where you get much faster responses.
If you need further assistance please read [How To Contribute](https://github.com/opencv/opencv/wiki/How_to_contribute).

Please:

* Read the documentation to test with the latest developer build.
* Check if other person has already created the same issue to avoid duplicates. You can comment on it if there already is an issue.
* Try to be as detailed as possible in your report.
* Report only one problem per created issue.


This is a template helping you to create an issue which can be processed as quickly as possible. This is the bug reporting section for the OpenCV library.
-->

##### System information (version)
<!-- Example
- OpenCV => 3.1
- Operating System / Platform => Windows 64 Bit
- Compiler => Visual Studio 2015
-->

- OpenCV => :grey_question:
- Operating System / Platform => :grey_question:
- Compiler => :grey_question:

##### Detailed description

<!-- your description -->

##### Steps to reproduce

<!-- to add code example fence it with triple backticks and optional file extension
    ```.cpp
    // C++ code example
    ```
 or attach as .txt or .zip file
-->
Repository: godot
Issue: Setting SoftBody pinned points programmatically
Labels: enhancement,topic:core,documentation,topic:physics

**Godot version:**
3.1-beta10

**OS/device including version:**
ArchLinux rolling

**Issue description:**
There seems to be no way to build SoftBody from script. `pinned_points` is exposed, but not documented. `attachments` is undefined, although visible in editor. I'm running this in custom post-import script.

**Steps to reproduce:**
```gdscript
var sb : SoftBody = SoftBody.new()
sb.mesh = some_mesh
parent.add_child(sb)
print(sb.pinned_points)  # prints []
sb.pinned_points.append(0)
print(sb.pinned_points)  # still prints []
```
Repository: godot
Issue: Light2D subtractive mode not working [GLES3]
Labels: bug,topic:rendering,topic:2d

<!-- 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. -->
b63c506

**OS/device including version:**
<!-- Specify GPU model and drivers if graphics-related. -->
Win10 64-bit

**Issue description:**
<!-- What happened, and what was expected. -->
The subtractive mode on Light2D seems to be broken, producing a full fill of some color.  It starts to partially work when it begins to overlap with another Light2D texture.

![image](https://user-images.githubusercontent.com/13004169/53753801-d206a200-3eba-11e9-8be8-fbfe3e34a5ce.png)


**Steps to reproduce:**
Make a Light2D and choose subtractive mode.

**Minimal reproduction project:**
<!-- Recommended as it greatly speeds up debugging. Drag and drop a zip archive to upload it. -->

[3.1 Light2D Issue.zip](https://github.com/godotengine/godot/files/2927697/3.1.Light2D.Issue.zip)
Repository: go
Issue: net/http: data race in concurrent req.Body.{Close,Read} with 100-continue expected
Labels: NeedsInvestigation

Please answer these questions before submitting your issue. Thanks!

#### What did you do?

https://gist.github.com/benburkert/76548cfac5aa6761fab2f88783b673aa

#### What did you expect to see?

No output.

#### What did you see instead?

```
==================
WARNING: DATA RACE
Read at 0x00c00000e3f8 by goroutine 9:
  net/http.(*expectContinueReader).Read()
      /usr/local/Cellar/go/1.12/libexec/src/net/http/server.go:885 +0x42

Previous write at 0x00c00000e3f8 by goroutine 8:
  net/http.(*expectContinueReader).Close()
      /usr/local/Cellar/go/1.12/libexec/src/net/http/server.go:901 +0x42

Goroutine 9 (running) created at:
  main.main.func1()
      /tmp/http.go:15 +0xef
  net/http.HandlerFunc.ServeHTTP()
      /usr/local/Cellar/go/1.12/libexec/src/net/http/server.go:1995 +0x51
  net/http.serverHandler.ServeHTTP()
      /usr/local/Cellar/go/1.12/libexec/src/net/http/server.go:2774 +0xc4
  net/http.(*conn).serve()
      /usr/local/Cellar/go/1.12/libexec/src/net/http/server.go:1878 +0x807

Goroutine 8 (running) created at:
  main.main.func1()
      /tmp/http.go:14 +0x70
  net/http.HandlerFunc.ServeHTTP()
      /usr/local/Cellar/go/1.12/libexec/src/net/http/server.go:1995 +0x51
  net/http.serverHandler.ServeHTTP()
      /usr/local/Cellar/go/1.12/libexec/src/net/http/server.go:2774 +0xc4
  net/http.(*conn).serve()
      /usr/local/Cellar/go/1.12/libexec/src/net/http/server.go:1878 +0x807
==================
```

#### System details

```
go version go1.12 darwin/amd64
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/benburkert/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/benburkert"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/Cellar/go/1.12/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.12/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
GOROOT/bin/go version: go version go1.12 darwin/amd64
GOROOT/bin/go tool compile -V: compile version go1.12
uname -v: Darwin Kernel Version 17.7.0: Thu Dec 20 21:47:19 PST 2018; root:xnu-4570.71.22~1/RELEASE_X86_64
ProductName:	Mac OS X
ProductVersion:	10.13.6
BuildVersion:	17G5019
lldb --version: lldb-1000.11.37.1
  Swift-4.2
```
Repository: godot
Issue: SoftBody pinned point indices not corresponding to mesh vertices due to removal of duplicate mesh vertices
Labels: bug,topic:physics

**Godot version:**
v3.1-beta10


**OS/device including version:**
ArchLinux rolling


**Issue description:**
SoftBody pinned_points are out of sync with ArrayMesh vertexes because duplicate vertices are removed on physics server.

This is because in [modules/bullet/soft_body_bullet.cpp:322](https://github.com/godotengine/godot/blob/26c1d1aec8aeb8024bcb885906fcf011dc7aac68/modules/bullet/soft_body_bullet.cpp#L327), in `SoftBodyBullet::set_trimesh_body_shape` method, duplicate points are removed, thus making mesh indices out of sync with the indexes that pinned points store. Took me forever to find it.

This makes setting `pinned_points` a real pain in the ass because you first need to remove duplicate vertices from mesh and then calculate new index of the vertex.

This *really* should be documented somewhere. OR `vs_indices_to_physics_table` could be exposed to allow user to resolve soft body vertex index on physics server by specifying vertex index taken from ArrayMesh.

Summoning @AndreaCatania :)
Repository: pytorch
Issue: Building pytorch on ARM failed
Labels: module: build,triaged

My build failed on HiKey 970 board. It looks like a compiler issue. How can fix it? Thank you!

 60%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/net_async_task.cc.o
[ 60%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/net_async_task_future.cc.o
[ 60%] Building CXX object caffe2/CMakeFiles/caffe2.dir/core/net_async_task_graph.cc.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
caffe2/CMakeFiles/caffe2.dir/build.make:4785: recipe for target 'caffe2/CMakeFiles/caffe2.dir/contrib/aten/aten_op.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2.dir/contrib/aten/aten_op.cc.o] Error 4
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:3119: recipe for target 'caffe2/CMakeFiles/caffe2.dir/all' failed
make[1]: *** [caffe2/CMakeFiles/caffe2.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Traceback (most recent call last):
  File "setup.py", line 710, in <module>
    build_deps()
  File "setup.py", line 282, in build_deps
    build_dir='build')
  File "/mount-sd/pytorch/tools/build_pytorch_libs.py", line 255, in build_caffe2
    check_call(['make', '-j', str(max_jobs), 'install'], cwd=build_dir, env=my_env)
  File "/usr/lib/python3.5/subprocess.py", line 271, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', '-j', '8', 'install']' returned non-zero exit status 2
Repository: rust
Issue: overflow evaluating Slot<Event> : Send
Labels: A-type-system,T-compiler,T-types

From a crater run:

```
[INFO] [stderr]    Compiling ilp v0.2.1 (/opt/crater/workdir)
[INFO] [stderr] error[E0275]: overflow evaluating the requirement `h2::proto::streams::buffer::Slot<h2::proto::streams::recv::Event>: std::marker::Send`
[INFO] [stderr]    --> src/main.rs:109:5
[INFO] [stderr]     |
[INFO] [stderr] 109 |     tokio::run(run);
[INFO] [stderr]     |     ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#![recursion_limit="128"]` attribute to your crate
[INFO] [stderr]     = note: required because it appears within the type `slab::Entry<h2::proto::streams::buffer::Slot<h2::proto::streams::recv::Event>>`
[INFO] [stderr]     = note: required because of the requirements on the impl of `std::marker::Send` for `std::ptr::Unique<slab::Entry<h2::proto::streams::buffer::Slot<h2::proto::streams::recv::Event>>>`
[INFO] [stderr]     = note: required because it appears within the type `alloc::raw_vec::RawVec<slab::Entry<h2::proto::streams::buffer::Slot<h2::proto::streams::recv::Event>>>`
[INFO] [stderr]     = note: required because it appears within the type `std::vec::Vec<slab::Entry<h2::proto::streams::buffer::Slot<h2::proto::streams::recv::Event>>>`
[INFO] [stderr]     = note: required because it appears within the type `slab::Slab<h2::proto::streams::buffer::Slot<h2::proto::streams::recv::Event>>`
```

Affected crates: 
[ilp](https://crates.io/crates/ilp/0.2.1) - [crater log](https://crater-reports.s3.amazonaws.com/beta-1.34-1/beta-2019-02-27/reg/ilp-0.2.1/log.txt) 

cc author @emschwartz
Repository: storybook
Issue: CLI --ci and --quiet options are confusing and not documented/available for static build
Labels: feature request,cli

The CLI options `--ci` and `--quiet` are a little bit confusing for their intended purpose.

Prefered solution:
- For `--quiet` i dont expect any output at all, unless there is an error.
- And for `--ci` i expect everything to be ready to be used in a CI env (no browser launch and no progress/terminal spam)
- Maybe introduce a `--no-browser` option to disable browser launch (though, you should rly should just use `--ci`)

Edit: also make both options available to static build (they actually work if buildStatic is called via API, though ofc `--ci` does nothing currently because its only handled in buildDev)
Repository: go
Issue: cmd/compile: teach prove about min
Labels: Performance,NeedsFix,compiler/runtime

```go
package p

func f(x, y []int) {
	n := len(x)
	if len(y) < n {
		n = len(y)
	}
	for i := 0; i < n; i++ {
		_ = x[i]
		_ = y[i]
	}
}
```

Ideally there would be no bounds checks in the loop. Right now there are.

This grew out of a conversation in CL 164966.

cc @rasky @aclements @zdjones
Repository: flutter
Issue: TextFormField doesn't render its border as said in the docs.
Labels: a: text input,framework,f: material design,a: quality,P2,team-text-input,triaged-text-input

I think there's a problem in the way `TextFormField` deals with its border.

As far as I understand from the docs, the `border` parameter will take an `InputDecoration` shape and will substitute the color and weight from the others parameters like `enabledBorder` and `focusedBorder`.

So if this is true, the following code should work:

```
TextFormField(
  decoration: InputDecoration(
    enabledBorder: const OutlineInputBorder(
      borderSide: const BorderSide(color: Colors.orange),
     ) ,
     focusedBorder: const OutlineInputBorder(
       borderSide: const BorderSide(color: Colors.white),
     ) ,
     border: OutlineInputBorder(
       borderRadius: BorderRadius.circular(100)
     )
  ),
)
```

In this code I define a border shape where corners are rounded and **ONLY** the color of the border changes if it's enabled or focused.

But in fact what I am seeing is that the shape in `border` is being totally ignored and the `TextFormField` is rendered as a square with orange or white colors, no rounded edges.

The only way I can get it to work is with this very repetitive code:

```
TextFormField(
  decoration: InputDecoration(
    enabledBorder: OutlineInputBorder(
	  borderSide: BorderSide(color: Colors.orange),
	  borderRadius: BorderRadius.circular(100)
	) ,
	focusedBorder: OutlineInputBorder(
	  borderSide: BorderSide(color: Colors.white),
	  borderRadius: BorderRadius.circular(100)
	) ,
	border: OutlineInputBorder(
	  borderRadius: BorderRadius.circular(100)
	)
  ),
)
```

Is this really the correct way to achieive this?

I tried @HansMuller short test case here: https://github.com/flutter/flutter/pull/19694#issuecomment-469376553 but since it doesn't have a rounded border it doesn't match what I see. I think the problem lies in `borderRadius: BorderRadius.circular(100)`.
Repository: storybook
Issue: Story-level options and stateful behavior
Labels: bug,ui,core

When the user configures UI options on a per-story level, we need two separate behaviors for different kinds of options.
- Theme options: e.g. Storybook name/logo should set that option globally, and it should be unset (set back to the default) when you navigate away from that story to a story where it's unset.
- Stateful UI options: e.g. Selected panel should be updated when the user switches story with that option set, but should not change when the user switches to a story where it's unset.

TODO:
- [ ] figure out which options correspond to which behavior
- [ ] update the code to handle these two types
Repository: go
Issue: cmd/compile: provide flags to request just inlining or just escape analysis info
Labels: NeedsInvestigation,compiler/runtime

`-m` and `-m -m` respectively ask the compiler to print and explain its inlining and escape analysis decisions. This is very useful. But almost always I am interested in inlining or in escape analysis, but not both, so I end up grepping through the output.

We should keep the existing flags, since they are used in documentation and blog posts the world over. But I'd like to add new flags to print just inlining or just escape analysis. (`-ml` and `-me`?)

Opinions? Bikesheds?
Repository: godot
Issue: Move joint does not work
Labels: bug,confirmed,topic:physics,topic:3d

**Godot version:**
Godot 3.1 Beta 10


**OS/device including version:**
GTX970, Windows 10 64bit, Nvidia driver 419.17


**Issue description:**
The "Move joint" button in the editor does not work. I am trying to do the ragdoll tutorial from here 
https://docs.godotengine.org/en/latest/tutorials/physics/ragdoll_system.html . When I tried to do the joint adjustment for the "physical bone head" even though I clicked on the "Move joint" button, it will actually rotate / move the physical bone and not the joint like in the tutorial.

**Steps to reproduce:**
1)Download Godot 3.1 Beta 10, 
2)Open the 3d platformer template
3)Open the player scene
4)Create physical bones and follow the tutorial from here https://docs.godotengine.org/en/latest/tutorials/physics/ragdoll_system.html 
5)When trying to do the joint adjustment , the "move joint" feature or button does not work. It will only rotate or move the physical bones and not the joint.


**Minimal reproduction project:**
Download 3d platformer example from the asset library
Repository: flutter
Issue: [webview_flutter] callback function for monitoring webview.estimatedProgress value
Labels: c: new feature,p: webview,package,team-ecosystem,P3,triaged-ecosystem

I want to add a progress bar for webview, please consider to provide such kind of interface, thank you.
Repository: node
Issue: buffer.indexOf is incorrect in utf16le encoding for odd byteOffset
Labels: confirmed-bug,buffer

Version: v11.10.1
Platform: Windows 10 (64-bits)
Subsystem: buffer
File Encoding: UTF8

Please consider the following 2 lines of code:
let buf = Buffer.from('\u6881\u6882\u6881', 'utf16le');
console.log(buf.indexOf('\u6881', 1, 'utf16le'));

In this example, the expected correct output should be 4.
However, the result is 0.
Repository: TypeScript
Issue: Inconsistent behavior of "export as" symbols.
Labels: Bug,Help Wanted

**TypeScript Version:**  3.4.0-dev.20190305

**Search Terms:** export alias

**Code**

This is file of `some-lib`:
```ts
export { LongNameOfInnerClass as PublicNameClass } from './long-name-of-inner-class';
```

This is other file, that import above lib:
```ts
import { PublicNameClass } from 'some-lib';

new PublicNameClass(); // Here hints is OK

new PublicNameClass(wrongArgument); // Error ref to LongNameOfInnerClass
```

**Expected behavior:**
TypeScript hints have same "export as" aliases for working code and for errors.

**Actual behavior:**
TypeScript hints for the working code are different from the hints for errors.

**Related Issues:**
Not sure, but it seems that this issue has a similar problem: [symbolToName does handle exports of namespaces](https://github.com/Microsoft/TypeScript/issues/29459)
Repository: TypeScript
Issue: Boolean["toString"] inconsistency
Labels: Suggestion,In Discussion

**TypeScript Version:**  3.4.0-dev.20190305


**Code**

```ts
const key: keyof Boolean = "toString"; // error - "toString" is not assignable to "valueOf"

const x: {toString(): string} = new Boolean(); // no error
const y: Boolean["toString"] = true.toString; // no error

class Bool extends Boolean { 
     protected toString() { // also no error, but should be
          return "";
     }
}
```

**Expected behavior:**
`keyof Boolean` should be `"toString" | "valueOf"`
[Playground](https://www.typescriptlang.org/play/index.html#src=const%20key%3A%20keyof%20Boolean%20%3D%20%22toString%22%3B%20%2F%2F%20error%20-%20%22toString%22%20is%20not%20assignable%20to%20%22valueOf%22%0D%0A%0D%0Aconst%20x%3A%20%7BtoString()%3A%20string%7D%20%3D%20new%20Boolean()%3B%20%2F%2F%20no%20error%0D%0Aconst%20y%3A%20Boolean%5B%22toString%22%5D%20%3D%20true.toString%3B%20%2F%2F%20no%20error%0D%0A%0D%0Aclass%20Bool%20extends%20Boolean%20%7B%20%0D%0A%20%20%20%20%20protected%20toString()%20%7B%20%2F%2F%20also%20no%20error%2C%20but%20should%20be%0D%0A%20%20%20%20%20%20%20%20%20%20return%20%22%22%3B%0D%0A%20%20%20%20%20%7D%0D%0A%7D)
Repository: flutter
Issue: google_sign_in animation when user already logged in is confusing
Labels: a: quality,customer: crowd,p: google_sign_in,package,team-ecosystem,P2,triaged-ecosystem

Signing in with the google plugin causing ugly animation: 

![stack](https://user-images.githubusercontent.com/22146754/53804012-47678680-3f3e-11e9-8a0a-ea50a8cbb88b.gif)

```
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v1.2.1, on Mac OS X 10.14.2 18C54, locale en-IE)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.3)
[!] IntelliJ IDEA Ultimate Edition (version 2018.3.4)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[!] VS Code (version 1.31.1)
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (1 available)

! Doctor found issues in 2 categories.
```
Repository: react
Issue: The browser crashes when use React.lazy return Promise.resolve(undefined)
Labels: Type: Needs Investigation,Resolution: Backlog

**Do you want to request a *feature* or report a *bug*?**
bug

**What is the current behavior?**
The browser crashes 

```js
const Loading = () => <div>loading...</div>;
const Component = lazy(() => Promise.resolve(undefined));

function App() {
  return (
    <div className="App">
      <Suspense fallback={<Loading />}>
        <Component />
      </Suspense>
    </div>
  );
}
```
*I can't provide an example of CodeSandbox, which would cause the browser to crash*

**What is the expected behavior?**
throw Error

**Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?**
react@16.8.3
react-dom@16.8.3
chrome 72.0.3626.119
Repository: flutter
Issue: Emoji size is off on iOS
Labels: platform-ios,engine,a: fidelity,a: typography,customer: crowd,has reproducible steps,P2,team-ios,triaged-ios,found in release: 3.19,found in release: 3.22

Emojis do not render with the correct height or baseline on iOS

![](https://user-images.githubusercontent.com/666539/53957059-620b3e00-40ab-11e9-8fc5-848f4d4e201f.png)

Related: https://bugs.chromium.org/p/skia/issues/detail?id=9976&q=emoji&can=2
Repository: pytorch
Issue: Improve save() method in torch.jit.ScriptModule
Labels: oncall: jit,low priority,triaged,jit-backlog

## 🚀 Feature
save() method in torch.jit.ScriptModule should support save_to_buffer as well.

## Motivation
Right now, to save a torch.jit.ScriptModule to buffer, I have to call function torch.jit.save().
It would be more convenient and consistent if torch.jit.ScriptModule.save() can perform the same job.

## Pitch
I can work on this feature.

cc @suo
Repository: go
Issue: cmd/compile: investigate wasm sync inlining
Labels: Performance,NeedsInvestigation,arch-wasm,compiler/runtime

https://go-review.googlesource.com/c/go/+/148958/ made sync.Mutex.Unlock inlinable.

It worked for Wasm, but then CL 164461 and CL 153797 landed and the resulting merge no longer passed the inlining tests.

As a quick fix, https://go-review.googlesource.com/c/go/+/165339 ignored wasm in the inlining tests.

Investigate & re-enable.

/cc @ALTree @neelance @aclements @CAFxX
Repository: flutter
Issue: Flutter support for Apple Watch
Labels: c: new feature,platform-ios,engine,customer: crowd,P3,team-ios,triaged-ios

_Latest status: https://github.com/flutter/flutter/issues/28901#issuecomment-1385926218_

----

is it possible to create a watchOS application with flutter ?
Repository: kubernetes
Issue: Event spam in some storage Operation Generator functions
Labels: kind/bug,sig/storage,lifecycle/frozen,triage/needs-information

Seems like in some Operation Generator functions (I saw this in `GenerateAttachVolumeFunc` if an error is encountered in the "set up" part outside of the actual `AttachVolumeFunc` there is no rate limiting and the `GenerateAttachVolumeFunc` will be retried over and over hundreds of times a second. This causes significant event spam and can also slow down the controller.

/sig storage
/kind bug
/cc @msau42 @saad-ali @jingxu97 @verult 

**How to reproduce it (as minimally and precisely as possible)**:
Cause some long term error in lines:
https://github.com/davidz627/kubernetes/blob/f7a6b0a8602e02d67fabaa85458a94c0f14599a5/pkg/volume/util/operationexecutor/operation_generator.go#L305-L334
Observe function being retried without rate limiting.