sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: electron
Issue: [Feature Request]: Add WER runtime exception helper module for Windows
Labels: enhancement :sparkles:,platform/windows,component/crash-reporter

### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success.

### Problem Description

It would be helpful if Error Reporting receives crashes that are not caught by crashpad's normal handlers.

### Proposed Solution

Use the WER module in the Electron build. 

### Alternatives Considered

Screenshot from Windows registry
![image](https://github.com/electron/electron/assets/5815794/d13c6a51-004f-4d7d-807a-daa284a03317)


### Additional Information

Chromium PR - https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3677284
Repository: vscode
Issue: cursorUp/down behavior inconsistent when moving from selection
Labels: bug,windows,editor-core,under-discussion

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: 1.83.1
- OS Version: Windows_NT x64 10.0.19045

Steps to Reproduce:

CursorUp/down behave differently in a surprising way when moving off a selection. When nothing is selected, they behave well and normally (no small feat given how subtle the behavior is). First, as a reference, use the following test text and the cursorUp and cursorDown keys 

alpha
beta
backgammon

1. CLICK the caret to beta, column 1. 
1a. Moving down gets you to column 1.
1b. Moving up gets you to column 1. 

2. CLICK the caret to beta, column 5.
2a. Moving down gets you to column 5.
2b. Moving up gets you to column 5. 

Now, to understand the problem:

1. CLICK AND DRAG the caret from beta, column 5 to column 1. The caret is in column 1.
1a. Moving down gets you to column 5... **what??**
1b. Moving up gets you to column 1 (ok!)

2. Now, the problem case. CLICK AND DRAG the caret from beta, column 1 to column 5. The caret is in column 5.
2a. Moving down gets you to column 5 (ok!)
2b. Moving up gets you to column 1... **what??**

Here's how it should work:
1. selection is abandoned just as if I hit escape with no funny side effects
2. cursorUp/down process as normally

If this happens, there cannot be any special behavior when text is selected and nothing out of the ordinary happens.

Note: the repro steps are contrived to be clear. On a routine basis I am using the keyboard strictly and running into the same problem.
Repository: vscode
Issue: Cannot read properties of undefined (reading 'replace')
Labels: error-telemetry,menus

```javascript
TypeError: Cannot read properties of undefined (reading 'replace')
at k in src/vs/base/common/labels.ts:410:16
at r.ab in out/vs/code/electron-main/main.js:106:24288
at r.U in src/vs/platform/menubar/electron-main/menubar.ts:647:22
at <anonymous> in src/vs/platform/menubar/electron-main/menubar.ts:498:24
at Array.forEach (<anonymous>)
at r.L in src/vs/platform/menubar/electron-main/menubar.ts:473:9
at <anonymous> in src/vs/platform/menubar/electron-main/menubar.ts:479:10
at Array.forEach (<anonymous>)
at r.L in src/vs/platform/menubar/electron-main/menubar.ts:473:9
at r.M in src/vs/platform/menubar/electron-main/menubar.ts:509:9
at r.I in src/vs/platform/menubar/electron-main/menubar.ts:377:9
at r.H in src/vs/platform/menubar/electron-main/menubar.ts:270:9
at new r in src/vs/platform/menubar/electron-main/menubar.ts:97:8
at y.j in src/vs/platform/instantiation/common/instantiationService.ts:119:18
at y.createInstance in src/vs/platform/instantiation/common/instantiationService.ts:85:18
at C.e in src/vs/platform/menubar/electron-main/menubarMainService.ts:35:36
```
[Go to Errors Site](https://errors.code.visualstudio.com/card?ch=18b7f75a9fab40499744c2e9c6ba9af64d5c6744&bH=f7cd5b38-ea9c-0429-6149-e44be64d3ef5)
Repository: pytorch
Issue: Contradictory Error Message for stride Argument in torch.conv_transpose3d()
Labels: module: error checking,module: convolution,triaged

**Description:** 🐛
When passing a single integer value for the stride parameter in torch.conv_transpose3d(), the function returns an error message that is contradictory. It suggests that a single integer value is expected, even though a single integer was provided and was not accepted.
**To Reproduce:** ↪️
Run the following code snippet:
pythonCopy code
```
import torch
torch.conv_transpose3d(torch.rand([1,2,3,4]), torch.rand([1,2,3,4]), stride=1)
```
**Error Message:** ⚠️
vbnetCopy code
`RuntimeError: expected stride to be a single integer value or a list of 2 values to match convolution dimensions, but got stride=[1, 1, 1]`
**Expected Behavior:** 🦥
Either the function should accept the single integer value for stride without error, or the error message should clearly indicate what is actually expected.
**Actual Behavior:** ⚽️
The error message contradicts the input that was provided, indicating that a single integer is required when a single integer was already given.


cc @malfet
Repository: ant-design
Issue: Tooltip 在页面边缘并且 tip 文字较少时有样式问题
Labels: 🐛 Bug,Inactive

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ji-ben-antd-5-10-2-forked-5lk7tg)

### Steps to reproduce

鼠标移动到文字 'T' 上

### What is expected?

样式正确（参考 antd4）

### What is actually happening?

剪头和 tip 分离，并且 tip 显示不全

| Environment | Info |
| --- | --- |
| antd | 5.10.2 |
| React | 18.2 |
| System | macos 14.0 |
| Browser | chorme 118.0.5993.117 |

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: next.js
Issue: I18n + App router, navigating to home page results in hard reload
Labels: bug

### Problem
When using the app router with the i18n config, and you navigate to the home page the ?_rsc link will result in 404 and the page will trigger a hard reload. This only happens in production, local everything works as expected.

### Link to the code that reproduces this issue

https://github.com/wannesmatthys/i18n-app-router-bug

### To Reproduce

Issue only happens when deployed! On local everything works as expected.

1. Clone the repository
2. Deploy to vercel
3. Navigate between test and home page

You can also check it here: https://i18n-app-router-bug.vercel.app/

Note in the network tab, that ?_rsc will fail when navigating to the home page and the page shall refresh.



This is the next config with i18n that causes the problem:
````
/** @type {import('next').NextConfig} */
const nextConfig = {
  i18n: {
    locales: ["en", "fr"],
    defaultLocale: "en",
    localeDetection: false,
  },
};

module.exports = nextConfig;
````


### Current vs. Expected behavior

When you open the logs on your deployed version, you will see the below error in the console and the page will refresh.
![image](https://github.com/vercel/next.js/assets/40867324/064c512f-8fb9-4d71-93ed-645d8dd20967)

Expected behavior: page should be found and a reload shouldn't happen.


### Verify canary release

- [x] I verified that the issue exists in the latest Next.js canary release


Issue still there in canary + next 14: https://i18n-app-router-bug-git-feature-canary-wannesmatthys-gmailcom.vercel.app/

### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 22.1.0: Sun Oct  9 20:19:12 PDT 2022; root:xnu-8792.41.9~3/RELEASE_ARM64_T6020
Binaries:
  Node: 16.14.0
  npm: 8.3.1
  Yarn: 1.22.19
  pnpm: 8.6.12
Relevant Packages:
  next: 13.5.6
  eslint-config-next: 13.5.6
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.2.2
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

App Router

### Additional context

I deployed this via vercel with the following URL: https://i18n-app-router-bug.vercel.app/
Repository: vscode
Issue: Activation `onCommand` sometimes never returns when there are multiple extension hosts
Labels: bug,important,extension-host,web

I have only seen this in Codespaces so far. In short, this promise never completes:

https://github.com/microsoft/vscode/blob/61bc7a3db659af6acc29e715a8ba840e3c892144/src/vs/workbench/services/commands/common/commandService.ts#L71-L72

I was able to debug a little, and it seems that one of the extension host manager never completes the `activateByEvent` call:

https://github.com/microsoft/vscode/blob/61bc7a3db659af6acc29e715a8ba840e3c892144/src/vs/workbench/services/extensions/common/abstractExtensionService.ts#L909

https://github.com/microsoft/vscode/blob/61bc7a3db659af6acc29e715a8ba840e3c892144/src/vs/workbench/services/extensions/common/extensionHostManager.ts#L359-L371

This issue doesn't reproduce every time. So far, I've only reproduced the issue on Codespaces that were recently started, but of the 3 test setups I've made, it has repro'd in each one after the codespace was restarted.
Repository: react-native
Issue: [TextInput] lineheight cuts off content on iOS
Labels: Platform: iOS,Issue: Author Provided Repro,Component: TextInput,Newer Patch Available

### Description

The TextInput on iOS cuts off content at dashes (-) if it has the `lineHeight` style applied to it. This happens when content is to long and therefore isn't completely visible in the input without moving through it.

If the `lineHeight` isn't applied it is not cut off at the dash (-) and the content will end with ellipsis (...).

We tried removing everything from the input and found out in that way it was the `lineHeight` that causes this issue.

This only happens on iOS and not on Android.

### React Native Version

0.71.13

### Output of `npx react-native info`

```
System:
    OS: macOS 14.0
    CPU: (10) arm64 Apple M1 Pro
    Memory: 55.56 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.15.0 - ~/.nvm/versions/node/v18.15.0/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 9.5.0 - ~/.nvm/versions/node/v18.15.0/bin/npm
    Watchman: 2023.10.02.00 - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.13.0 - /Users/thomaslamars/.rvm/gems/ruby-2.7.5/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 23.0, iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0
    Android SDK: Not Found
  IDEs:
    Android Studio: 2022.2 AI-222.4459.24.2221.9971841
    Xcode: 15.0.1/15A507 - /usr/bin/xcodebuild
  Languages:
    Java: 18.0.2.1 - /Library/Java/JavaVirtualMachines/jdk-18.0.2.1.jdk/Contents/Home/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.2.0 => 18.2.0 
    react-native: ^0.71.13 => 0.71.13 
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found
```

### Steps to reproduce

It is reproducible by making an TextInput with just `lineHeight` on it with the styling. 
Than as value pass a really long string or type a really long string with dashes.
Get out of focus with the input and see that the value in the input gets truncated.

```tsx
import { TextInput, SafeAreaView, StyleSheet } from 'react-native';

export default function App() {
  const value = "Thisisareallylong emailwithdashes-init@thawdisisasnackwhichisanexample.com"

  return (
    <SafeAreaView style={styles.container}>
      <TextInput value={value} style={{ lineHeight: 20 }} />
    </SafeAreaView>
  );
}
```

### Snack, screenshot, or link to a repository

### Snack url
Reproducible on Snack with expo 49 and react native version 0.72.4
https://snack.expo.dev/l0o3kNldL
Repository: stable-diffusion-webui
Issue: [Bug]: repeated text in img2img resize modes leads to error
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

Error message `ValueError: ['Just resize (latent upscale)', 'Just resize (latent upscale)'] is not in list` from `img2img`.  

All the resize mode buttons have bad captions with repeated text and then it crashes with this ieeror.

### Steps to reproduce the problem

1. img2img
2. select an image mode
3. click Generate


### What should have happened?

New image should be generated

### Sysinfo

(too long)

### What browsers do you use to access the UI ?

_No response_

### Console logs

```Shell
Traceback (most recent call last):
  File "/home/martin/extgit/sd/stable-diffusion-webui/venv/lib64/python3.11/site-packages/gradio/routes.py", line 488, in run_predict
    output = await app.get_blocks().process_api(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/martin/extgit/sd/stable-diffusion-webui/venv/lib64/python3.11/site-packages/gradio/blocks.py", line 1429, in process_api
    inputs = self.preprocess_data(fn_index, inputs, state)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/martin/extgit/sd/stable-diffusion-webui/venv/lib64/python3.11/site-packages/gradio/blocks.py", line 1239, in preprocess_data
    processed_input.append(block.preprocess(inputs[i]))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/martin/extgit/sd/stable-diffusion-webui/venv/lib64/python3.11/site-packages/gradio/components/radio.py", line 170, in preprocess
    return [value for _, value in self.choices].index(x)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: ['Just resize', 'Just resize'] is not in list
```


### Additional information

_No response_
Repository: storybook
Issue: [Bug]: Storybook doesn't take into account strict null checks
Labels: bug,help wanted,typescript,addon: controls,sev:S3

### Describe the bug

For an Angular project with "strictNullChecks" set to true, developers trying to set `null` or `undefined` values where these aren't supported will receive a compilation error.

In Storybook though, when using the Controls plugin, for objects you can always clear them to set a `null` value.
Since Storybook allows you to pass `null` to properties that don't accept null and would otherwise fail on compilation, errors in the console occur.

### To Reproduce

For a new Angular project with Storybook installed, with the example components added (Button, Header, Page).

1. Open header.component.ts
2. Remove the ngIf code for the `user`
3. In TS, make sure the user can never be null, e.g. `user!: User`
4. Run the Storybook app
5. Go to the Header story page
6. Clear the object / Set the object to `null` 
![image](https://github.com/storybookjs/storybook/assets/17402311/96411fab-2484-4e19-8926-1fd024f4f25f)

**Expected**: 
I shouldn't be allowed to do that... maybe Storybook can detect that or strictNullChecks can be set up for Storybook?

**Actual**:
Errors occur: 
![image](https://github.com/storybookjs/storybook/assets/17402311/7d68ba0b-c27e-4b79-8210-1ee43d04d5af)


### System

```bash
Environment Info:

  System:
    OS: Windows 10 10.0.19044
    CPU: (16) x64 11th Gen Intel(R) Core(TM) i7-11850H @ 2.50GHz
  Binaries:
    Node: 18.16.0 - C:\Program Files\nodejs\node.EXE
    npm: 9.5.1 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.3570.0), Chromium (118.0.2088.76)   
  npmPackages:
    @storybook/addon-essentials: 7.1.1 => 7.1.1 
    @storybook/addon-interactions: 7.1.1 => 7.1.1 
    @storybook/addon-links: 7.1.1 => 7.1.1 
    @storybook/angular: 7.1.1 => 7.1.1 
    @storybook/blocks: 7.1.1 => 7.1.1 
    @storybook/testing-library: ^0.2.0 => 0.2.1
```


### Additional context

_No response_
Repository: go
Issue: x/build/internal/gomote: explore destroying the bot after a gomote instance is destroyed
Labels: Builders,NeedsInvestigation

When a gomote instance runs on a swarming task instead of a bare VM/Container, we should consider destroying the bot after the gomote instance has completed running. This should be an added safeguard for unwanted artifacts being left behind on the instance.

@golang/release
Repository: vscode
Issue: Editor - use editor space when vertical scrollbar is hidden
Labels: feature-request,editor-core

* Use the editor options to hide the vertical scrollbar
* Enter text like `l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l`
* Shrink the editor width and notice how text is being wrapped
Repository: next.js
Issue: Middleware is skipped when i18n option is enabled
Labels: bug,Runtime

### Link to the code that reproduces this issue

https://github.com/mtsmfm/nextjs-middleware-with-i18n

### To Reproduce

```
$ WITH_I18N=true npm run dev
$ curl localhost:3000/ -I
HTTP/1.1 200 OK
Vary: RSC, Next-Router-State-Tree, Next-Router-Prefetch, Next-Url, Accept-Encoding
Cache-Control: no-store, must-revalidate
X-Powered-By: Next.js
Content-Type: text/html; charset=utf-8
Date: Mon, 30 Oct 2023 13:21:21 GMT
Connection: keep-alive
Keep-Alive: timeout=5
$ curl localhost:3000/a -I
HTTP/1.1 307 Temporary Redirect
location: /home
Date: Mon, 30 Oct 2023 13:21:23 GMT
Connection: keep-alive
Keep-Alive: timeout=5
```

### Current vs. Expected behavior

`$ curl localhost:3000/ -I` should return `HTTP/1.1 307 Temporary Redirect`


### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP Fri Jan 27 02:56:13 UTC 2023
Binaries:
  Node: 20.9.0
  npm: 10.2.1
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 14.0.0
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.2.2
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

Internationalization (i18n), Middleware / Edge (API routes, runtime)

### Additional context

_No response_
Repository: rust
Issue: rustdoc: support searching cfg predicates
Labels: T-rustdoc,C-feature-request,A-rustdoc-search,F-doc_cfg

Currently, searching `macros` on https://docs.rs/tokio/1.33.0/tokio/ has 0 hits. It would be nice if it pulled up https://docs.rs/tokio/1.33.0/tokio/attr.main.html, which uses `doc(cfg)` to tell rustdoc that it's only available when the `macros` feature is enabled.

Note that this will make the search parser a little more complicated, since features don't have to be valid rust identifiers (in particular, it currently chokes on `test-util`): 
![Screenshot 2023-10-30 at 10 42 02 AM](https://github.com/rust-lang/rust/assets/23638587/2c480734-ce8a-40e9-afb9-3fd9a71f936a)

@rustbot label F-doc_cfg
Repository: opencv
Issue: [opencv-python] `cv2.split` changed output type from `list` to `tuple` in 4.5.4.58
Labels: bug,category: python bindings

### System Information

OpenCV python version: 4.5.4.58 (and following)
OS: Ubuntu 22.04 + Docker containers (`python:3.8-slim`, `python:3.11-slim`).
Python version: 3.8 + 3.11


### Detailed description

In `opencv-python` versions before 4.5.4.58, `cv2.split()` returned a list, which is what I'd still expect it to return in following versions.

However, starting with 4.5.4.58, `cv2.split()` returns a tuple, which is immutable, which in turn makes it more difficult to use when e.g. masking images. In addition, even keeping in mind `opencv-python` is versioned by OpenCV's version, it's not a change that would be expected in a minor version update.

### Steps to reproduce

Run this code in version 4.5.3.56 and 4.5.4.58: 

```py
import cv2
import requests
import numpy as np

def png_to_numpy(blob):
    nparr = np.frombuffer(blob, np.uint8)
    ret = cv2.imdecode(nparr, cv2.IMREAD_UNCHANGED)
    return ret

img = requests.get("https://cataas.com/cat").content
i = png_to_numpy(img)

x = cv2.split(i)
print(type(x))
```

Expected output is `<class 'list'>` and `<class 'tuple'>`

### Issue submission checklist

- [X] I report the issue, it's not a question
- [X] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [ ] I updated to the latest OpenCV version and the issue is still there
- [X] There is reproducer code and related data files (videos, images, onnx, etc)
Repository: go
Issue: x/tools/gopls: duplicate package paths in export data manifest (via telemetry)
Labels: gopls,Tools,gopls/telemetry-wins

```
#!stacks
"bug.Reportf" && 
    ("(*typeCheckBatch).importMap.func1:+6" ||
     "gcimporter.iimportCommon:+119" ||
     "importPackage.importLookup.func2:+13" ||
     "importPackage.importLookup.func2:+7")
```
Telemetry data at https://storage.googleapis.com/prod-telemetry-merged/2023-10-28.json clearly demonstrates a package that cannot be imported: there are in fact two bug reports, one each in type checking (#64235) and analysis  (#64236).

Clearly some invariant is being violated. We should use the reportf callback passed into the importer to get a more accurate stack, as otherwise this is unlikely to be actionable (we can't see the error message in telemetry, which we probably didn't consider when adding this instrumentation).

Putting this in the v0.14.2 milestone as it would be nice to get to the bottom of this error. I'll push down the instrumentation.

CC @adonovan 



Dups: BQtcLQ m5UK3A W_lHAg du4kbA PDrh5Q jZbDKQ 4elxTA JhOH0g oat8ig wr44gQ 6j0bvA 9wAdDQ 6LjVfg A3ISjw nJQxXw tQYZmg vx_wYg BQtcJQ WpB6LA WzmCgg DetyaA yimcvw y4xHuQ 0JP54Q -trCvQ fuzfjQ w2_GEQ 3_R2tA 3_R2vA iBh0rw m44AmQ CYJxZw WUTC9w nPNE0A 5I0Kxw kVgEzw

Dups for which I can't be bothered to include the stack: rPGxIQ _ZJXvw VJTMTw hCJB7Q 1xF43w nPNE0A m9MmHA SQT0sg TwtkSg
Dups: BWn-Aw 8nKERA YQKCXA xOe7BQ y7CqCA 3ue-nQ cYxHdQ PQst8g Jm14RQ eFV2uQ cIxFiw lZ85Ug ovScmQ eZ-Gkw h1dggQ hViEvg DUHIGA zw0_tw UlyTiA yg0dyA Msz07g Qmgupw 8kQsoA VUMLHA lNJ2zw n4vZqA isQrRw K-rZ-A 0DqsTg