sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: opencv
Issue: Opencv-dnn(4.1.0) test_perf_dnn crush in win10 with certain output channel
Labels: category: ocl,category: dnn

<!--
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)
- OpenCV => 4.1.0
- Operating System / Platform => Windows 10 64 Bit Version 1903
- Compiler => Visual Studio 2015

##### Detailed description
I have compiled opencv-4.1.0 with opencl in win10. The computer is fitted with 2 nvidia 1080 ti GPUs and the CPU is i7 7700K. I am looking at OPENCV backend with OPENCL target on NVIDIA gpu card.

I tried to run the test_perf_dnn.exe but found some test cases will crush with the error message:
`OpenCV(4.1.0) Error: Assertion failed (u->refcount == 0 && "UMat deallocation error: some derived Mat is still alive") in cv::ocl::OpenCLAllocator::deallocate, file `D:\opencv-4.1.0\modules\core\src\ocl.cpp`, line 4809`
After a bit dig into the code, I found the above mentioned error is generated during calling 
CV_Error in the macro CV_OCL_CHECKRESULT in ocl.cpp after calling clEnqueueReadBuffer at line 5062 in `D:\opencv-4.1.0\modules\core\src\ocl.cpp`. By directly output the error message using std::cout rather than call CV_Error, I found that the actual
error causing all these is
`OpenCL error CL_OUT_OF_RESOURCES (-5) during call: clEnqueueReadBuffer(q, handle=000001BC0CB01C00, CL_TRUE, 0, sz=394212, data=000001BC165E3C40, 0, 0, 0)`.
Based on this, I am assuming that the clEnqueueReadBuffer fail causes all the troubles here.

The failed case is 
` /* GFLOPS 1.022 x 2 = 2.044 */ {{3, 3}, {{1, 576, 19, 19}}, 273, 1, {1, 1}, {1, 1}, {0, 0}, {0, 0}, "SAME", true, 1021896057.}`
This number 273 is very special and if I put this number to other test case, the clEnqueueReadBuffer will also return -5. 

I have been tying to fix this for quite a little time but got no luck. Thank you very much for helping me look at this problem.
Repository: rust
Issue: Codegen issue (endless recursion) with custom target and +soft-float
Labels: A-codegen,T-compiler

The following function causes endless recursion and a stack overflow on our bare metal target, which uses the `soft-float` feature:

```rust
#[no_mangle]
pub extern "C" fn _start() -> ! {
    foo(1);

    loop {}
}

fn foo(x: isize) -> f64 {
    5 as f64 / x as f64
}
```

The target specification looks like this:

```json
{
    "llvm-target": "x86_64-unknown-none",
    "data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128",
    "arch": "x86_64",
    "target-endian": "little",
    "target-pointer-width": "64",
    "target-c-int-width": "32",
    "os": "none",
    "executables": true,
    "linker-flavor": "ld.lld",
    "linker": "rust-lld",
    "panic-strategy": "abort",
    "disable-redzone": true,
    "features": "-mmx,-sse,+soft-float"
  }
```

The following code is generated:

```
0000000000201000 <_start>:
  201000:	50                   	push   rax
  201001:	bf 01 00 00 00       	mov    edi,0x1
  201006:	e8 15 00 00 00       	call   201020 <_ZN10playground3foo17hf4a4b11a35677989E>
  […]  

0000000000201020 <_ZN10playground3foo17hf4a4b11a35677989E>:
  201020:	50                   	push   rax
  201021:	48 89 3c 24          	mov    QWORD PTR [rsp],rdi
  201025:	48 8b 3c 24          	mov    rdi,QWORD PTR [rsp]
  201029:	e8 22 00 00 00       	call   201050 <__floatdidf>
  […]

0000000000201050 <__floatdidf>:
  201050:	50                   	push   rax
  201051:	e8 fa ff ff ff       	call   201050 <__floatdidf>
  201056:	59                   	pop    rcx
  […]  
```

The `__floatdidf` function is just an endless recursion that leads to a stack overflow.

I tried debugging it on godbolt, but I don't know how to make it use a custom target. I created a small test project and documented the steps to reproduce at https://github.com/phil-opp/__floatdidf-issue.

cc @adeadman
Repository: angular
Issue: Support for EventSource
Labels: feature,area: zones,feature: under consideration

Zone.js supports WebSocket, but it doesn't appear to support Server Sent Events (correct me if I'm wrong).

That forces us to wrap our code using NgZone in Angular 2 apps, whereas it works with no extra works if we use WebSockets.

Is the support for EventSource planned?
Repository: svelte
Issue: Slide transition inside slide transition breaks outer transition (v3.6.4)
Labels: bug,temp-stale

**Describe the bug**
If you have an element A with a transition:slide, and puts another element B with transition:slide inside it, the last child of element A isn't included in the transition. Instead it just pops up at the end of the transition.

This broke with version v3.6.4, as it worked fine up until v3.6.3. 

**To Reproduce**
v3.6.3, it's smooth:
https://svelte.dev/repl/c688496562be4624a009ddf25bbf74e4?version=3.6.3

v3.6.4, it's glitchy:
https://svelte.dev/repl/c688496562be4624a009ddf25bbf74e4?version=3.6.4
Note that it doesn't matter which child has the transition on it. It's always going to be the last child glitching out.

**Expected behavior**
I expect all children to slide in together, as it did in v3.6.3.
Alternatively I'd expect the child with the transition on it to slide in when the others are done or something.

**Information about your Svelte project:**
Chrome Version 75.0.3770.142 (Official Build) (64-bit)

macOS 10.13.3

Svelte v3.6.4-v3.6.7 (most recent atm)

Svelte REPL

**Severity**
Just annoying.

**Additional context**
Changes between v3.6.3 and v3.6.4:
https://github.com/sveltejs/svelte/compare/v3.6.3...v3.6.4
Repository: youtube-dl
Issue: Request for Peloton (onepeloton.com)
Labels: site-support-request,account-needed

<!--

######################################################################
  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.07.16. 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.07.16**
- [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 the following example URLs by yours.
-->

- Single video: https://members.onepeloton.com/classes/player/8c0e096db35e4340843363e3fa78d6e9
- Single video 2: https://members.onepeloton.com/classes/player/a495cf0139d44d3ea813e925af730cec

## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

I have an account with Peloton, (onepeloton.com) but would like to download classes for when I am without internet for offline viewing. Sign-In page is located at https://members.onepeloton.com/login.

As this site does need credentials, I am happy to do the testing for you or provide results. Just let me know how I can be of help!
Repository: flutter
Issue: Create platform view mutation integration tests
Labels: a: tests,team,framework,a: platform-views,P2,a: plugins,team-framework,triaged-framework

We should create an integration test for platform view composition with mutations such as:
clipping, transform, opacity.

The test should generate screenshot with various widget tree that containing a platform view.
The widget trees should be transformed to a layer trees that including clip_xx layers, transform layers, opacity layers and other container layers that is supported by iOS. (Android doesn't need extra implementation for mutations.)

Screenshot testing for iOS platform view is blocked because we didn't have a way to capture screenshots for iOS platform view yet.  https://github.com/flutter/flutter/issues/23435

The test should resides in framework/integration/android_view -> when iOS testing is ready, should later rename the file to platform_view
Repository: flutter
Issue: Automatically calculate map bounds from a list of `LatLng` values
Labels: c: new feature,p: maps,package,c: proposal,team-ecosystem,P3,triaged-ecosystem

Just read the source code. Cannot find a method to build a LatLngBounds from a list of LatLng.

https://developers.google.com/android/reference/com/google/android/gms/maps/model/LatLngBounds.Builder
Repository: pytorch
Issue: Deterministic mode for scatter_add operation
Labels: triaged,module: determinism,function request,module: scatter & gather ops

This issue comes from the discussion started [here](https://discuss.pytorch.org/t/possible-solution-to-the-reproducibility-issues-using-scatter-add-operation/48989).

## 🚀 Feature

A GPU deterministic mode for scatter_add and similar operations 

## Motivation

I know that there is a general idea that non-deterministic algorithms do not have a lot of influence on the results, but, in some cases, there is a huge impact. It is a little bit frustrating not be able to reproduce an experiment even though you have all seeds, random states, init weights and so on saved. Moreover, this behavior sometimes can lead to wrong conclusions, when you are trying new methodologies. For instance, I started this thread because in pytorch_geometric some of the operations are based on non-deterministic implementations of pytorch. As you can see in this [github](https://github.com/rusty1s/pytorch_geometric/issues/446) issue this behavior is impacting the results. At the end this non-deterministic behavior has an impact in other libraries like pytorch geometric, causing the lack of reproducibility.

## Pitch

I would like to be able to have a deterministic mode for the previously mentioned operations. 

## Alternatives

I know that the deterministic mode for these kinds of operations will come with a huge runtime trade-off. However, I found this [article](https://people.eecs.berkeley.edu/~hdnguyen/public/papers/ARITH21_Fast_Sum.pdf) that can help with the deterministic mode of scatter_add.
Repository: flutter
Issue: Explain in project template why FlutterActivity handles all config changes
Labels: team,engine,P2,team-engine,triaged-engine

Add comments in the project template within the Android manifest file that mentions why FlutterActivity handles all config changes.

This is especially true for splash behavior, which either requires explicit FlutterActivity handling of config changes, or requires that the developer provide the same FlutterEngine across configuration changes.
Repository: go
Issue: cmd/link: showing many ld warnings of "building for macOS, but linking in object file" 
Labels: NeedsInvestigation,compiler/runtime

<!-- Please answer these questions before submitting your issue. Thanks! -->

### What version of Go are you using (`go version`)?

<pre>
$ go version go1.12.7 darwin/amd64
</pre>

### Does this issue reproduce with the latest release?
yes


### What operating system and processor architecture are you using (`go env`)?
Mac Mojave 10.14.5

Result of `go env`:
```
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/avence12/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/avence12/.gvm/pkgsets/go1.12.7/global:/Users/avence12/devel/go"
GOPROXY=""
GORACE=""
GOROOT="/Users/avence12/.gvm/gos/go1.12.7"
GOTMPDIR=""
GOTOOLDIR="/Users/avence12/.gvm/gos/go1.12.7/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/9n/_tfc4bt12ps45qjyzh40jt1h0000gn/T/go-build525129295=/tmp/go-build -gno-record-gcc-switches -fno-common"
```

### What did you do?

1. Install and use go1.12.7 by GVM
2. Get into my project and run `go build ./...`
3. The build is successful but seeing lots of ld warning. The same situation when I run `go test ./...`
4. When I setup `export CGO_ENABLED=0`, the warning is gone. However I would like to know how to resolve the issue.

### What did you expect to see?
No ld warnings when `CGO_ENABLED=1`


### What did you see instead?

```
$ go build ./cmd/...
# github.com/avence12/myproj/cmd/client
ld: warning: building for macOS, but linking in object file (/var/folders/9n/_tfc4bt12ps45qjyzh40jt1h0000gn/T/go-link-703159202/go.o) built for 
# github.com/avence12/myproj/cmd/server
ld: warning: building for macOS, but linking in object file (/var/folders/9n/_tfc4bt12ps45qjyzh40jt1h0000gn/T/go-link-846047020/go.o) built for 
```
Repository: flutter
Issue: Text Editor like in web platform
Labels: a: text input,c: new feature,framework,P3,team-framework,triaged-framework



<img width="941" alt="Screen Shot 2019-07-30 at 4 55 43 PM" src="https://user-images.githubusercontent.com/11361035/62124808-e8d6e680-b2ea-11e9-9bb1-e6478a51d184.png">
Repository: rust
Issue: Remove padding when code spans/code link spans are adjacent
Labels: T-rustdoc,C-feature-request,A-rustdoc-ui

I used 

```markdown
[`Stream`](futures::stream::Stream)`<Item = `[`io::Result`](std::io::Result)`<`[`Bytes`](bytes::Bytes)`>>`
```

in [some crates documentation](https://docs.rs/async-compression/0.1.0-alpha.1/async_compression/) which renders as

![concated-code](https://user-images.githubusercontent.com/81079/61619133-8f2d4700-ac6e-11e9-96d0-77fe43390b37.png)

There is currently a `0.1em` padding applied inside all code spans causing the spacing to look weird. It seems like adjacent code spans (including ones wrapped inside `<a>`) should have the padding suppressed so they render as if they were one code span.
Repository: flutter
Issue: Google sign-in without firebase
Labels: d: examples,d: stackoverflow,customer: crowd,p: google_sign_in,package,team-ecosystem,P2,triaged-ecosystem

In most of tutorials on the web, I can see that the plugin google_sign_in doesn't require firebase. In pub page, it is mentioned that the application must be registered in the following link : 
https://developers.google.com/mobile/add?platform=android

That link is now redirecting to firebase's homepage. So my question is: 
Is it still possible to Sign-in without firebase ? Where should I register the app in that case ?
Repository: pytorch
Issue: Can't `torch.sum(tensor, dim)` where `dim >= 64`
Labels: module: error checking,triaged,module: TensorIterator,module: reductions

## 🐛 Bug

Can't use TensorIterator reduction functions if the dimension to be reduced over is > 64.

## To Reproduce

```
In [1]: import torch

In [2]: sizes = [1]*65

In [3]: x = torch.randn(sizes)

In [4]: x.sum(0)
Out[4]: tensor([[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[-0.2885]]]]]]]]]]]]]]]]
]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]])

In [5]: x.sum(65)
---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
<ipython-input-5-cfca9db78f16> in <module>()
----> 1 x.sum(65)

IndexError: Dimension out of range (expected to be in range of [-65, 64], but got 65)

In [6]: x.sum(64)
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-6-6375767cd187> in <module>()
----> 1 x.sum(64)

RuntimeError: bitset::set: __position (which is 64) >= _Nb (which is 64)
```

# Expected behavior

A cleaner error message and documentation about the limitation.
Repository: rust
Issue: Building shared libraries on Mac requires '-undefined dynamic_lookup'
Labels: A-linkage,O-macos,T-compiler

<!-- Thanks for filing a 🐛 bug report 😄! -->

**Problem**
<!-- A clear and concise description of what the bug is. -->

A shared library used as a plugin will often reference symbols in the host program. These symbols will remain unresolved at build time, but will be resolved at the time the shared library is loaded into the host program.

Cargo on Mac fails to build any shared library that can't resolve the symbols at build time.

<!-- including what currently happens and what you expected to happen. -->

I expect cargo to build a crate containing unresolved symbols successfully; which works fine on ubuntu.

**Steps**

A crate with the following ``Cargo.toml``:

```
[package]
name = "fail"
version = "0.1.0"
authors = ["jefdavi"]
edition = "2018"

[lib]
crate-type = ["cdylib"]
```

and ``src/lib.rs``:

```
extern "C" {
  static unresolved: i32;
}

#[no_mangle]
extern fn myfunc() {
  unsafe {
    println!("{}", unresolved);
  }
}
```


**Possible Solution(s)**
<!-- Not obligatory, but suggest a fix/reason for the bug, -->
<!-- or ideas how to implement the addition or change -->

A workaround is to specify:

``
[build]                                                                        
rustflags = ["-Clink-args=-undefined dynamic_lookup"]
``
in ``.cargo/config``, but that's not acceptable for a crate author (https://github.com/jeff-davis/postgres-extension.rs), who doesn't have control over the crate users' config files.

**Notes**

Output of `cargo version`:

``cargo 1.36.0 (c4fcfb725 2019-05-15)``

``18.6.0 Darwin Kernel Version 18.6.0``

<!-- Also, any additional context or information you feel may be relevant to the issue. -->
<!-- (e.g rust version, OS platform/distribution/version, target toolchain(s), release channel.. -->
Repository: flutter
Issue: Firebase Test Lab Robo Test support
Labels: c: new feature,platform-android,customer: crowd,P3,a: plugins,team-android,triaged-android

Firebase offer a nice way to test android app automatically (or semi automatically if you provide a Robo Script) called Robo test in their Test Lab section https://firebase.google.com/docs/test-lab/android/robo-ux-test

Would be nice if Flutter application can be test that way too.

Currently when you upload the APK, there is 2 issues:
- it open the app, wait for the first screen to show, then exit the app. It doesn't try to automatically explore the app
- We can't provide a Robo Script because the AS plugin to do that doesn't record anything for a flutter app

That way of testing is quite nice as it doesn't need that much work to actually do something, and firebase allow a large choice of devices. Doing such UI test will help finding UI problem (so it also benefit iOS, desktop and web platform too)
Repository: flutter
Issue: in_app_purchase plugin - Auto-Renewable Subscription never expires in Sandbox
Labels: customer: crowd,p: in_app_purchase,package,team-ecosystem,P3,triaged-ecosystem

I've setup an Auto-Renewable Subscription, and was successfully able to purchase it using my sandbox user account (on an actual device).

The problem is that unlike what is described here (Testing Subscription: https://medium.com/swift-india/auto-renewable-subscriptions-for-ios-3a4068f11acd), the subscription doesn't expire. I've waited for more than 2 hours, terminated the app, uninstalled and re-installed it - nothing helped...
Repository: go
Issue: encoding/xml: unexpected behavior of decoder.Skip
Labels: NeedsInvestigation

<!-- Please answer these questions before submitting your issue. Thanks! -->

### What version of Go are you using (`go version`)?

<pre>
$ go version
go1.12.4 linux/amd64
</pre>

### Does this issue reproduce with the latest release?
Yes


### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/alef/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/alef/go_ws"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build838012780=/tmp/go-build -gno-record-gcc-switches"
</pre></details>

### What did you do?

https://play.golang.org/p/-DttEFaM_L9



### What did you expect to see?
<pre>
some value <nil>
some value <nil>
</pre>


### What did you see instead?
<pre>
some value <nil>
 XML syntax error on line 1: unexpected end element </tag2>
</pre>

It a lit bit discouraged, what `xml.Skip` not working with `RawToken`, this behavior not mentioned in `xml.Skip` description.