sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: rust
Issue: ICE using `cranelift` targeting `gnux32`
Labels: I-ICE,T-compiler,C-bug,requires-nightly,A-cranelift

### Code

```console
> cargo new foo && cd foo
     Created binary (application) `foo` package

> cargo build --target x86_64-unknown-linux-gnux32 --config=profile.dev.codegen-backend='"cranelift"' -Zcodegen-backend
   Compiling foo v0.1.0 (/tmp/scratch.rust-unwrapped.2023-12-08T13-12.lofrxc/foo)
thread 'rustc' panicked at src/lib.rs:144:9:
assertion `left == right` failed
  left: types::I32
 right: types::I64
stack backtrace:
   0: rust_begin_unwind
             at /rustc/503e129328080e924c0ddfca6abf4c2812580102/library/std/src/panicking.rs:645:5
   1: core::panicking::panic_fmt
             at /rustc/503e129328080e924c0ddfca6abf4c2812580102/library/core/src/panicking.rs:72:14
   2: core::panicking::assert_failed_inner
   3: core::panicking::assert_failed::<cranelift_codegen::ir::types::Type, cranelift_codegen::ir::types::Type>
   4: rustc_codegen_cranelift::driver::aot::module_codegen::{closure#0}
   5: rustc_codegen_cranelift::driver::aot::module_codegen
   6: <rustc_middle::dep_graph::DepsType as rustc_query_system::dep_graph::Deps>::with_deps::<<rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::with_task<rustc_middle::ty::context::TyCtxt, (rustc_codegen_cranelift::config::BackendConfig, alloc::sync::Arc<rustc_codegen_cranelift::global_asm::GlobalAsmConfig>, rustc_span::symbol::Symbol, rustc_codegen_cranelift::concurrency_limiter::ConcurrencyLimiterToken), rustc_codegen_cranelift::driver::aot::OngoingModuleCodegen>::{closure#0}::{closure#0}, rustc_codegen_cranelift::driver::aot::OngoingModuleCodegen>
   7: rustc_codegen_cranelift::driver::aot::run_aot
   8: <rustc_codegen_cranelift::CraneliftCodegenBackend as rustc_codegen_ssa::traits::backend::CodegenBackend>::codegen_crate
   9: rustc_interface::passes::start_codegen
  10: <rustc_interface::queries::Queries>::codegen_and_build_linker
  11: rustc_interface::interface::run_compiler::<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

error: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: please attach the file at `/tmp/scratch.rust-unwrapped.2023-12-08T13-12.lofrxc/foo/rustc-ice-2023-12-08T12_13_05-2544016.txt` to your bug report

note: compiler flags: --crate-type bin -C embed-bitcode=no -Z codegen-backend=cranelift -C debuginfo=2 -C incremental=[REDACTED]

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
end of query stack
error: could not compile `foo` (bin "foo")
```


### Meta

```
rustc 1.76.0-nightly (503e12932 2023-12-07)
binary: rustc
commit-hash: 503e129328080e924c0ddfca6abf4c2812580102
commit-date: 2023-12-07
host: x86_64-unknown-linux-gnu
release: 1.76.0-nightly
LLVM version: 17.0.5
```
Repository: pytorch
Issue: torch.nn.functional.embedding segmentation fault on large negative ids
Labels: module: crash,triaged,module: int overflow,module: edge cases

### 🐛 Describe the bug

Here is the code to reproduce, the pytorch version I am using is torch 2.1.0 and torch 2.1.1

```
import torch
params = torch.tensor([[0.99]], dtype=torch.float32)
ids = torch.tensor([-9223372036854775808], dtype=torch.int64)
out = torch.nn.functional.embedding(ids, params, max_norm=0)
```

Besides, here is another segmentation fault issue I found recently on the same function. https://github.com/pytorch/pytorch/issues/115239

Based on the reply, it seems that this segmentation fault is fixed in version newer than torch 2.1.1. If so, can you direct me to the version it get fixed?


### Versions

[pip3] numpy==1.23.5
[pip3] torch==2.1.0
[pip3] torchaudio==2.1.0
[pip3] torchvision==0.16.0
[pip3] triton==2.0.0
[conda] blas 1.0 mkl
[conda] cudatoolkit 11.3.1 h2bc3f7f_2
[conda] ffmpeg 4.3 hf484d3e_0 pytorch
[conda] libjpeg-turbo 2.0.0 h9bf148f_0 pytorch
[conda] mkl 2021.4.0 h06a4308_640
[conda] mkl-service 2.4.0 py39h7f8727e_0
[conda] mkl_fft 1.3.1 py39hd3c417c_0
[conda] mkl_random 1.2.2 py39h51133e4_0
[conda] numpy 1.23.5 py39h14f4228_0
[conda] numpy-base 1.23.5 py39h31eccc5_0
[conda] pytorch 2.1.0 py3.9_cpu_0 pytorch
[conda] pytorch-mutex 1.0 cpu pytorch
[conda] torch 2.0.0 pypi_0 pypi
[conda] torchaudio 2.1.0 py39_cpu pytorch
[conda] torchvision 0.16.0 py39_cpu pytorch
[conda] triton 2.0.0 pypi_0 pypi
Repository: PowerToys
Issue: Keyboard manager sometimes doesn't work
Labels: Issue-Bug,Product-Keyboard Shortcut Manager,Needs-Triage

### Microsoft PowerToys version

0.76.1

### Installation method

PowerToys auto-update, Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

- Assign CTRL + Q to Alt + F4
- Open some specific programs such as whatsapp, steam
- After openning these, This shortcut doesn't work

### ✔️ Expected Behavior

Specified shortcut should be working even if some apps are opened.

### ❌ Actual Behavior

Shortcut doesn't work after this apps are opened.

### Other Software

_No response_
Repository: angular
Issue: Ability to disable defer blocks globally
Labels: area: core,core: defer

### Which @angular/* package(s) are relevant/related to the feature request?

compiler

### Description

It would be interesting to be able to disable the "Defer blocks" globally without providing a variable on every single defer blocks.

For example, when I do a Lighthouse, I'd like it to scan the whole page, but because of the defer blocks this isn't possible, which makes the report a little less relevant, in terms of SEO or accessibility for example.

Some tools also analyse the whole structure of the page, for example to check accessibility best practices. To get a real report you need to scroll to load the defer blocks.

Another example with the SSR, we have a job that runs every 7 hours to cache all our CMS pages. These pages are then served to search engine robots. For this type of page, being able to disable the defer blocks (when rendering them) and therefore have all the content would be very useful from an SEO point of view; being able to keep them in CSR would be great.

I think we can already achieve that, but this would require to inject a configuration Token on every single component where we use defer blocks, that's a lot of boilerplate.

### Proposed solution

A configuration Token to globally disable defer blocks that could then be configured thought providers.

This Token could also be provided (configured) on certain component where we want to ensure that the defer blocks are not disabled, meaning it would override the global configuration.

### Alternatives considered

Not that I can think of.
Repository: storybook
Issue: [Documentation]: the docs about `storybook@latest init` are not clear
Labels: documentation

### Describe the problem

`storybook@latest init` select JavaScript instead of typescript in my case
i searched for more then hour to understand how i pass a flag to generate a react-**tsx** stories instead of jsx files.
the [docs](https://storybook.js.org/docs/get-started/install) are lacking a clear explanation, and this is something that should be clear.
i checked the command on new vite project and it detected typescript correctly, but in the case of the old project it fails to detect typescript and the unclear docs are very frustrating. 

also the [setup](https://storybook.js.org/docs/get-started/setup) page sends to the docs about the builders, and in vite-builder docs there are no explanation about a possible flag neither. 

### Additional context

A simple clear cli reference in a findable place in the docs would be appriciated
Repository: next.js
Issue: (PPR) searchParams not work after reloading
Labels: bug,Navigation

### Link to the code that reproduces this issue

https://github.com/oeyoews/nextjs-playground/tree/searchParams

### To Reproduce

1. click [link](https://nextjs-playground-git-searchparams-oeyoews.vercel.app/test?_vercel_share=JpopYse2esbXbzjsi2bCuz0bbYJnA94W)
2. click the link button
3. and reload page. the search params(id) is empty

Strangely, everything is normal in the local environment.

### Current vs. Expected behavior

If ppr is enabled, if the URL with searchparams is refreshed, the searchparam object will become empty

### Verify canary release

- [x] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 10 Home China
Binaries:
  Node: 18.17.1
  npm: N/A
  Yarn: N/A
  pnpm: 8.8.0
Relevant Packages:
  next: 14.0.5-canary.1
  eslint-config-next: 14.0.3
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.3.2
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

Routing (next/router, next/navigation, next/link)

### Additional context

_No response_
Repository: material-ui
Issue: [material-ui][Autocomplete] "Unable to find the input element" error while snapshot testing with react-test-renderer
Labels: test,package: material-ui,component: autocomplete

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Steps to reproduce 🕹

Link to live example: https://codesandbox.io/p/sandbox/reverent-worker-y7dtfw

Steps:

1. Use Autocomplete component with renderInput prop specified as follows:
```
renderInput={(params) => (
  <Tooltip title="Tooltip">
    <TextField {...params} />
  </Tooltip>
)}
```
2. Snapshot test such Autocomplete with "react-test-renderer": "18.2.0"


### Current behavior 😯

Snapshot is created properly.
There is following error while creating snapshot:
"MUI: Unable to find the input element. It was resolved to null while an HTMLInputElement was expected.
Instead, Autocomplete expects an input element.

Make sure you have customized the input component correctly."

### Expected behavior 🤔

Snapshot is created properly.
There are no errors while creating snapshot.

### Context 🔦

I wanted to customize Autocomplete to show the tooltip for the input/TextFileld value whenever the value is too long and ends with ellipsis. I find it usefull for the users to see the full label in the tooltip, in case it is trucated in the input.



### Your environment 🌎

<details>
  <summary><code>npx @mui/envinfo</code></summary>

```
System:
    OS: Linux 5.15 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish)
  Binaries:
    Node: 20.4.0 - ~/.nvm/versions/node/v20.4.0/bin/node
    Yarn: 1.22.4 - ~/.nvm/versions/node/v20.4.0/bin/yarn
    npm: 9.7.2 - ~/.nvm/versions/node/v20.4.0/bin/npm
  Browsers:
    Chrome: session. 
```
  Chrome version used: Version 119.0.6045.200 (Official Build) (64-bit)
</details>
Repository: PowerToys
Issue: FancyZones loading pdb's? 
Labels: Issue-Bug,Product-FancyZones,Needs-Triage

### Microsoft PowerToys version

0.76.1

### Installation method

GitHub

### Running as admin

No

### Area(s) with issue?

FancyZones

### Steps to reproduce

FancyZones seems to query symbol path set on my machine and tries to load it's own but also our own injected dll's pdb.
Is this supposed to happen on a production release build?

### ✔️ Expected Behavior

Should not load pdb's from symbol path.

### ❌ Actual Behavior

loads pdb's available in _NT_SYMBOL_PATH

### Other Software

_No response_
Repository: pytorch
Issue: max_pool2d_with_indices_backward_out_cuda: remove useless  code gradInput.zero_();
Labels: module: performance,module: cuda,triaged,module: pooling

### 🚀 The feature, motivation and pitch

When I do some op perf UT on our third-party AI card, PyTorch 1.13 max_pool2d_with_indices_backward will lanuch more kernels than PyTorch 1.9.0 max_pool2d_with_indices_backward, and the reason is 
the useless  code of max_pool2d_with_indices_backward_out_cuda
[gradInput.zero_();](url)
https://github.com/pytorch/pytorch/blob/main/aten/src/ATen/native/cuda/DilatedMaxPool2d.cu#L478
I just remove it and the cuda CI still  can pass

### Alternatives

_No response_

### Additional context

_No response_

cc @ptrblck @mikaylagawarecki
Repository: puppeteer
Issue: [Feature]: Ability to intercept and abort long running requests based on response size
Labels: feature

### Feature description

While scraping web pages sometimes they try to load huge resources, like 20-30 MB images. Which often leads to chromium crashes, OOM errors, or just timeouts.

It would be ideal if there was a way to set the limit, e.g. a few megabytes and once this threshold is exceeded the request would be aborted, raise an exception, or even give us the ability to capture the URL of a failed request so we can report that to the website owner as a recommendation to fix.

Probably I'm just lost in the docs and someone could help me by pointing to the existing solution but so far I wasn't able to find anything relevant, except for #1191.
Repository: PowerToys
Issue: Powertoys refuses to install if AppData\Roaming folder is junction
Labels: Issue-Bug,Area-Setup/Install,Needs-Triage

### Microsoft PowerToys version

0.76.1

### Installation method

PowerToys auto-update

### Running as admin

None

### Area(s) with issue?

Installer

### Steps to reproduce

My AppData\Roaming folder is a junction pointing to a location on a different drive.
Previous installations had no issues with this, but the current version refuses to install with the msg that the path is unavailable.
Tried this as well running the installer as Administrator with the same result.

This is using the Per-User installer

![image](https://github.com/microsoft/PowerToys/assets/95778718/a5347788-1dfe-49de-9135-87cea83fdfad)

[powertoys-bootstrapper-msi-0.76.1_20231208152138.log](https://github.com/microsoft/PowerToys/files/13615070/powertoys-bootstrapper-msi-0.76.1_20231208152138.log)


### ✔️ Expected Behavior

A normal installation, it shouldn't care if the roaming folder is physically located at the designated location or a junction pointing elsewhere.

### ❌ Actual Behavior

![image](https://github.com/microsoft/PowerToys/assets/95778718/40263dd3-0011-435d-a37e-0537dc178cce)
![image](https://github.com/microsoft/PowerToys/assets/95778718/09755fcc-f5f7-4d1c-b36a-70d75bfd418d)



### Other Software

_No response_
Repository: pytorch
Issue: Document PyTorch docker release policies in RELEASE.MD
Labels: oncall: releng,triaged,module: docker

### 📚 The doc issue

Inspired by https://github.com/pytorch/pytorch/issues/112180#issuecomment-1834634423 I started to search for any document describing what  CUDA version should be included in official docker, but could not find an answer anywhere

Another interesting anomaly that is missing from the guidelines but that feels like it was inverted/violated in 2.1.x: whether stable or experimental version of CUDA build is published on PyPI: in all previous releases older of the two supported were published, but starting with 2.1 we began to publish latest. 

### Suggest a potential alternative/fix

N/A
Repository: pytorch
Issue: string representation method for empty masked tensors fails
Labels: triaged,module: masked operators

### 🐛 Describe the bug

```
import torch
from torch.masked import masked_tensor

empty_tensor = torch.empty(size=[0], dtype=torch.float32)
mask = torch.empty(size=[0], dtype=torch.bool)
masked_tensor = masked_tensor(empty_tensor, mask)
print(masked_tensor)


Traceback (most recent call last):
  File "/mnt/c/Users/henri/AppData/Roaming/JetBrains/PyCharm2023.2/scratches/torch_mean.py", line 7, in <module>
    print(masked_tensor)
  File "/home/henrik/miniconda3/envs/metrabs/lib/python3.9/site-packages/torch/masked/maskedtensor/core.py", line 258, in __repr__
    s = _masked_tensor_str(self.get_data(), self.get_mask(), formatter)
  File "/home/henrik/miniconda3/envs/metrabs/lib/python3.9/site-packages/torch/masked/maskedtensor/core.py", line 111, in _masked_tensor_str
    max_len = max(
ValueError: max() arg is an empty sequence
```


### Versions

(2.1.0+cu118)
Repository: PowerToys
Issue: [Run] Blur / Transparency effect does not work all the time
Labels: Issue-Bug,Product-PowerToys Run,External Dependency,Area-User Interface,Priority-2

### Microsoft PowerToys version

v0.76.1

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

PowerToys Run

### Steps to reproduce

Try opening it on a dark background and then open it on any other background. (Just After booting)

### ✔️ Expected Behavior

![image](https://github.com/microsoft/PowerToys/assets/112795252/3fed60d1-8164-43d3-b43c-efaae931cf0c)


### ❌ Actual Behavior

![image](https://github.com/microsoft/PowerToys/assets/112795252/167660f2-cb68-4512-ab8e-854a3e2f7393)


### Other Software

_No response_
Repository: neovim
Issue: File browser doesn't work
Labels: enhancement,ui-extensibility

### Problem

The [file browser](https://neovim.io/doc/user/usr_31.html#31.1) doesn't seem to work as documented.

The same problem occurs in vim 9.0.1894 so it could be a documentation issue.

### Steps to reproduce

### Case 1:

```
nvim --clean
:browse edit
```

nvim displays `E32: No file name` and no file browser is opened.

### Case 2:

```
nvim --clean
:browse split
```

nvim splits the window but doesn't display a file browser.

Using `browse` commands with the optional directory name argument works.

### Expected behavior

File browser.

### Neovim version (nvim -v)

NVIM v0.9.4

### Vim (not Nvim) behaves the same?

Yes, vim 9.0.1894

### Operating system/version

macOS 14.1.2

### Terminal name/version

Apple terminal 2.14

### $TERM environment variable

xterm-256color

### Installation

homebrew
Repository: svelte
Issue: Running many animations on timer when the tab is in background causes a memory leak
Labels: awaiting submitter,transition/animation

### Describe the bug

Probably because Chrome throttles timers/rendering when tab is not active.

### Reproduction

Run many e.g. flip animations when the browser tab is not active and it eventually crashes.

Probably all animation functions should check for
`document.visibilityState === 'visible'` before they are run, this will save CPU and memory when tabs are not active.

### Logs

_No response_

### System Info

```shell
Chrome 120
```


### Severity

annoyance
Repository: kubernetes
Issue: Clean up: We can remove redundant CEL function binding type assertions
Labels: kind/cleanup,sig/api-machinery,triage/accepted

Per https://github.com/kubernetes/kubernetes/pull/121912#discussion_r1420751879, CEL function bindings can remove type assertions since CEL now type checks arguments before dispatch.

cc @cici37 

/sig api-machinery
/kind cleanup
Repository: next.js
Issue: `performance is not defined` error when using edge middleware with `next dev`
Labels: bug,Runtime

### Link to the code that reproduces this issue

https://github.com/prisma/ecosystem-tests/tree/f54ed1dbb8228a0592eb351615a764377fd32463/driver-adapters-wasm/neon-vercel-nextjs-edgemw

### To Reproduce

1. Clone and setup

```sh
git clone git@github.com:prisma/ecosystem-tests.git
git checkout -b repro-vercel2 f54ed1dbb8228a0592eb351615a764377fd32463
cd driver-adapters-wasm/neon-vercel-nextjs-edgemw
pnpm i
pnpm prisma generate
pnpm run dev
```

2. Go to `http://localhost:3000/`
3. Go back to the terminal and see
```sh
ReferenceError: performance is not defined
    at wm (webpack-internal:///(middleware)/./node_modules/.pnpm/@prisma+client@5.8.0-dev.4_prisma@5.8.0-dev.4/node_modules/@prisma/client/runtime/edge.js:8212:13)
    at wasm://wasm/0103f4ea:wasm-function[3585]:0x328258
    at wasm://wasm/0103f4ea:wasm-function[185]:0xffd7c
    at wasm://wasm/0103f4ea:wasm-function[503]:0x1d1aae
    at wasm://wasm/0103f4ea:wasm-function[249]:0x1390d9
    at wasm://wasm/0103f4ea:wasm-function[1372]:0x28700d
    at wasm://wasm/0103f4ea:wasm-function[84]:0x1ddcb
    at wasm://wasm/0103f4ea:wasm-function[1581]:0x2bbd03
    at wasm://wasm/0103f4ea:wasm-function[5160]:0x345586
    at tm (webpack-internal:///(middleware)/./node_modules/.pnpm/@prisma+client@5.8.0-dev.4_prisma@5.8.0-dev.4/node_modules/@prisma/client/runtime/edge.js:8017:7)
```

### Current vs. Expected behavior

`performance` works on deployment, so it should also work locally in `dev` mode.

### 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: #202304201141 SMP PREEMPT_DYNAMIC Thu Apr 20 11:51:08 UTC 2023
Binaries:
  Node: 18.19.0
  npm: 10.2.3
  Yarn: N/A
  pnpm: 8.11.0
Relevant Packages:
  next: 14.0.5-canary.2
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 4.9.5
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

Middleware / Edge (API routes, runtime)

### Additional context

_No response_
Repository: godot
Issue: Animation player key button disappear after deleting a key
Labels: topic:editor,needs testing,topic:animation

### Tested versions

Godot 4.2 release last week

### System information

Godot v4.2.stable - Windows 10.0.22621 - GLES3 (Compatibility) - NVIDIA GeForce GTX 1650 (NVIDIA; 31.0.15.1691) - Intel(R) Core(TM) i7-10870H CPU @ 2.20GHz (16 Threads)

### Issue description

![image](https://github.com/godotengine/godot/assets/106366188/a51f68bf-ff40-40e0-8652-bad21da4e2da)
Usually in skeleton3D bone settings, there exist a key button to add it to keyframe in animation player. However, this key button will be gone after we delete a key and we need to press the animationplayer node then press the Skeleton3D node again to make it reappear, very annoying.

### Steps to reproduce

1. Create an AnimationPlayer node and add a new animation
![image](https://github.com/godotengine/godot/assets/106366188/48f9c52a-0f1c-47b9-b896-f0d1ee395250)

2. Select one of the bone and add any key using position, rotation or scale
![image](https://github.com/godotengine/godot/assets/106366188/08ed21a3-0d4f-488a-999d-f7d30d3be5fe)

3. Remove the track
![image](https://github.com/godotengine/godot/assets/106366188/6bf3b052-9e5a-4e19-bfa2-82426945ded4)

4. Press the Skeleton3D again to reopen the properties
![image](https://github.com/godotengine/godot/assets/106366188/fee9d563-aa5a-48e5-ac23-8403afbb5e50)

5. The key buttons are now gone 
![image](https://github.com/godotengine/godot/assets/106366188/56e8e2f1-a620-46c4-92f4-6abe8647c635)

To make the button reappear I had to:
1. select the animationplayer node
2. then select the skeleton3d node

This is a simple bug but is crazy annoying to deal with. Every time I delete a keyframe I had to click on 2 nodes to make the key reappear

### Minimal reproduction project (MRP)

[Bug.zip](https://github.com/godotengine/godot/files/13619204/Bug.zip)