sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: rust
Issue: Upgrading from 1.81 to 1.82 create unconsistent exe file (Release only): Mingw-w64 runtime failure: 32 bit pseudo relocation
Labels: T-compiler,O-windows-gnu,C-discussion

About my project https://github.com/mvvvv/StereoKit-rust I was able to create from linux (mingw 13 & 14.2) and windows (MSYS 14.2) a working windows-exe binary created with gcc.

after update to 1.82 I systematically have the following error when launching the windows-exe (windows11-pro or wine):
`Mingw-w64 runtime failure:
32 bit pseudo relocation at 00000001400017D9 out of range, targeting 00006FFFFAEF8E90, yielding the value 00006FFEBAEF76B3.
 `

It most recently worked on:

rustc 1.81.0 (eeb90cda1 2024-09-04)
binary: rustc
commit-hash: eeb90cda1969383f56a2637cbd3037bdf598841c
commit-date: 2024-09-04
host: x86_64-unknown-linux-gnu
release: 1.81.0
LLVM version: 18.1.7


### Version with regression

rustc 1.82.0 (f6e511eec 2024-10-15)
binary: rustc
commit-hash: f6e511eec7342f59a25f7c0534f1dbea00d01b14
commit-date: 2024-10-15
host: x86_64-unknown-linux-gnu
release: 1.82.0
LLVM version: 19.1.1


### Backtrace
 Nothing more



@rustbot modify labels: +regression-from-stable-to-stable -regression-untriaged
Repository: deno
Issue: Cannot read properties of undefined (reading 'bold') when Nextjs run with Turbopack
Labels: needs info,nextjs

Version: Deno 2.0.3

I get it error when run with deno.

```
TypeError: Cannot read properties of undefined (reading 'bold')
    at getDefs (file:///D:/Me/Projects/dev/deponet-store/node_modules/.deno/next@15.0.1/node_modules/next/dist/compiled/babel/bundle.js:1848:5496)
    at highlight (file:///D:/Me/Projects/dev/deponet-store/node_modules/.deno/next@15.0.1/node_modules/next/dist/compiled/babel/bundle.js:1848:6631)
    at codeFrameColumns (file:///D:/Me/Projects/dev/deponet-store/node_modules/.deno/next@15.0.1/node_modules/next/dist/compiled/babel/bundle.js:1:77678)
    at formatIssue (file:///D:/Me/Projects/dev/deponet-store/node_modules/.deno/next@15.0.1/node_modules/next/dist/server/dev/turbopack-utils.js:247:20)
    at addErrors (file:///D:/Me/Projects/dev/deponet-store/node_modules/.deno/next@15.0.1/node_modules/next/dist/server/dev/hot-reloader-turbopack.js:810:85)
    at handleProjectUpdates (file:///D:/Me/Projects/dev/deponet-store/node_modules/.deno/next@15.0.1/node_modules/next/dist/server/dev/hot-reloader-turbopack.js:819:25)
detached processes are not currently supported on Windows
```
Repository: terminal
Issue: Problems with cursor position escape
Labels: Product-Conpty,Area-Server,Issue-Bug

### Windows Terminal version

1.22.2912.0

### Windows build number

10.0.22631.4196

### Other Software

https://github.com/cracyc/msdos-player/blob/vt/msdos.cpp#L1088

### Steps to reproduce

Start it in a new console window or run in an existing one and execute a command with lots of output.

### Expected Behavior

_No response_

### Actual Behavior

When the program starts it immediately gets the console window size and the cursor position which hangs forever.  If run from an existing console window it starts fine but if say command.com is run and dir then it will randomly hang waiting for the reply to ESC [6n, although it will resume after a bit or a key is pressed.  This does not happen on terminal version 1.21.2911.0, in legacy conhost or if GetConsoleScreenBufferInfo is used instead.
Repository: kubernetes
Issue: GRPC healthprobe cannot handle TLS
Labels: priority/backlog,sig/node,kind/feature,triage/accepted

### What happened?

Since version 1.27 kubernetes supports the gprc healthserver for readyness and liveness probes. 
I now have several services that use grpc with self-signed tls certificates. The certificates are stored as secrets in the cluster. It took me quite a while to understand why my liveness probes always fail. So I rebuilt my service so that the endpoints are offered with TLS and the health server without. That works. 

### What did you expect to happen?

The grpc-health-probe also supports TLS connections. However, according to the documentation, parameters must be set for this.  Here is the link to Repo: [Health Checking TLS Servers](https://github.com/grpc-ecosystem/grpc-health-probe?tab=readme-ov-file#health-checking-tls-servers)

### How can we reproduce it (as minimally and precisely as possible)?

A GRPC server with TLS and the corresponding code for the health probe should be sufficient. Here is a small example: 

```go
cer, err := tls.LoadX509KeyPair("tls/server/tls.crt", "tls/server/tls.key")
if err != nil {
  log.Println(err)
  return
}

creds := grpc.Creds(credentials.NewServerTLSFromCert(&cer))

addr := fmt.Sprintf("%s:%d", "0.0.0.0", port)
listen, err := net.Listen("tcp", addr)
if err != nil {
  log.Panicln("Error while Listening to : ", addr, err)
}

grpcServer := grpc.NewServer(creds)
// Register health check service
healthServer := health.NewServer()
grpc_health_v1.RegisterHealthServer(grpcServer, healthServer)

// Set the health status to SERVING for your service
healthServer.SetServingStatus("APIServer", grpc_health_v1.HealthCheckResponse_SERVING)
fmt.Printf("[pid %d] GRPC server Listening on port %d\n", os.Getpid(), port)

// service connections
if err := grpcServer.Serve(listen); err != nil {
  log.Panicf("listen: %s\n", err)
}
```

### Anything else we need to know?

I think it would be easiest if you could tell the probe whether it is a TLS connection and, if in doubt, refer to a secret in the cluster where the CA certificate or similar is located.

### Kubernetes version

<details>

```console
$ kubectl version
Client Version: v1.30.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.30.5+k3s1
```

</details>
Repository: PowerToys
Issue: [Always on Top] Functionality fails on background click when foreground window is MobaXterm, background application is Excel.
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.84.1

### Installation method

GitHub

### Running as admin

Yes

### Area(s) with issue?

Always on Top

### Steps to reproduce


The `Always on Top` functionality is not working correctly. Currently, it has been observed that when the background application is `Microsoft Excel` and the foreground window is `MobaXterm`, clicking on the background `Excel sheets` causes the foreground `MobaXterm` to be sent to the background. However, when other applications are in the foreground(for example, the `Microsoft Calculator` or `Notepad`), clicking on Excel does not cause the foreground window to go to the background.

![Image](https://github.com/user-attachments/assets/515c4eb3-0225-407e-90a9-0d258b4b5937)

---
`Always on Top`  works well on applications like `Microsoft Calculator` :

![Image](https://github.com/user-attachments/assets/51d6e166-fa38-42f9-b3d6-e93daed6d57f)



### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

_No response_

### Other Software

_No response_
Repository: deno
Issue: `deno fmt --quiet --check` does not exit on first difference found & does not have a `--fail-fast` option
Labels: good first issue,suggestion

Version: Deno 2.0.3

`deno fmt`
- updates files.

`deno fmt --check`
- if 0 issues:
  - prints all needed updates.
  - returns 0.
- if 1 or more needed updates:
  - prints: `error: Found 1 not formatted file in 1 file`.
  - returns 1.

`deno fmt --quiet --check`
- if 0 issues:
  - returns 0.
- if 1 or more needed updates:
  - prints: `error: Found 1 not formatted file in 1 file`.
  - returns 1.

Could a `--fail-fast` please be added that short-circuits. As soon as it knows it is going to exit with a 1, it should instantly exit.
`deno fmt --quiet --check --fail-fast`
- if 0 issues:
  - returns 0.
- on first found needed update:
  - returns 1.
Repository: godot
Issue: GraphEdit frame bug makes all moving objects become children of one frame
Labels: bug,topic:gui

### Tested versions

Godot 4.3 Stable

### System information

Windows 10 x64, Godot 4.3

### Issue description

When several nodes are selected from different frames, Godot picks one of these frames and adds everything into it (even when other items never collided with this specific frame).

https://github.com/user-attachments/assets/62f34d92-7057-4db1-9881-a60dd858090c



### Steps to reproduce

1. Make several frames and fill them with nodes
2. Select nodes from multiple frames
3. Move them around

### Minimal reproduction project (MRP)

Be my guest: https://github.com/ArseniyMirniy/Godot-4-Color-Correction-and-Screen-Effects
Repository: next.js
Issue: Turbopack doesnt support magic comments
Labels: bug,Turbopack,linear: turbopack

### Link to the code that reproduces this issue

👆🏻

### To Reproduce

I'm using dynamic imports with MDX to load in some mdx that lives outside the app dir. The approved method for this is to use dynamic imports so the file and it's images stay inside the module graph. 

Each blog post has a folder with the MDX file and the images related to that post. The problem comes when there are other files in the folder, Webpack wants to slurp them all up because of the way dynamic imports work:

So I'm using "[magic comments](https://rspack.dev/api/runtime-api/module-methods#magic-comments)" to exclude the files I don't need:

```js
const { default: MDXContent } = await import(/* webpackExclude: /\.mp4$/ */ `../../../../content/${filePath}`);
```

These magic comments work in Webpack, RSPack but not Turbopack. 

Any plans to support them? Or another way to ignore certain files? 

### Current vs. Expected behavior

👆🏻

### Provide environment information

```bash
"next": "15.0.1"
```


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

Turbopack

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

next dev (local), next build (local)

### Additional context

_No response_
Repository: go
Issue: proposal: testing: add (*testing.F).AddNamed() for naming seed corpus entries
Labels: Proposal

### Proposal Details

Currently the corpus entries ("sub-tests") added by `(*testing.F).Add()` are named like: `FuzzMyFuzz/seed#0`. In my case i am populating the fuzz corpus with file contents from the testdata directory, because of the default naming there is no easy way to quickly map seed corpus to a file (for `-run`, to run only one test from the corpus), to do so i need to `t.Log` the file contents in the `f.Fuzz` and figure out which file contains that data, this is annoying, especially that while adding a corpus entry the file name is known.

I propose to add following function to the testing package to solve this issue:

```go
// AddNamed will add the arguments to the seed corpus for the fuzz test with a specified name.
// This will be a no-op if called after or within the fuzz target, and args must match the
// arguments for the fuzz target.
func (f *F) AddNamed(name string, args ...any)
```
Repository: pytorch
Issue: DISABLED test_extra_cuda_context (__main__.ProcessGroupNCCLGroupTest)
Labels: oncall: distributed,module: rocm,skipped

Platforms: rocm

This test was disabled because it is failing on main branch ([recent examples](https://torch-ci.com/failure?failureCaptures=%5B%22distributed%2Ftest_c10d_nccl.py%3A%3AProcessGroupNCCLGroupTest%3A%3Atest_extra_cuda_context%22%5D)).

cc @H-Huang @awgu @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang @naromero77amd
Repository: rust
Issue: Rust doesn't use niche in reference (or pointer) to slice
Labels: T-compiler,A-layout,C-optimization,E-needs-design

From [reddit thread](https://www.reddit.com/r/rust/comments/1gchzlt/why_cant_rust_optimize_the_size_of_optionoptiont/): why can't rust optimize the size of `Option<Option<&str>>`?

Indeed, in spite of the fact that `&str` doesn't all use more than half of possible bit sequences ([top bit of 2nd word is always zero](https://doc.rust-lang.org/std/slice/fn.from_raw_parts.html#safety), plus first word can not be zero) only `Option<&str>` [is optimized](https://godbolt.org/z/Gr7s3W88h)

Would it make sense to teach compiler about that niche or is it prevented by some deeper issue?
Repository: svelte
Issue: [docs] `paused` audio binding is listed as both two-way and readonly 
Labels: documentation

https://svelte.dev/docs/svelte/bind#audio

`paused` appears in both categories, [MDN docs](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/paused) says it's readonly.
Repository: deno
Issue: Some version ranges (`<`, `>`, `<=`, `>=`) not working.
Labels: feat,install

I just tried to add package versions specified using semver ranges using `deno add ...`, `deno.json`, and inline imports, and they all fail with
```
0: Invalid package specifier ...
1: Invalid specifier version requirement
2: Unexpected character.
```
when using the specifiers mentioned in the title, as well as combined ranges like `>= 1.1 <3`, `1.1 - 2`, or `^1.1 || 2`.

It should be noted that combined ranges aren't mentioned in docs AFAIK, but `<`, `>`, `<=`, and `>=` are:
[Package Versions](https://docs.deno.com/runtime/fundamentals/modules/#package-versions)

Version: Deno 2.0.3
Repository: svelte
Issue: Svelte 5: flip/crossfade animation breaks subsequent drag interaction on iOS
Labels: transition/animation

### Describe the bug

On iOS Safari, there's a regression with Svelte 5 that causes elements to not respect CSS `transform: translate` styling after they've had a flip or crossfade animation or intro transition animation played on them. This one took a while to track down, and I am using the [Neodrag](https://github.com/PuruVJ/neodrag) library as well, so it could be part of the issue (although I didn't change the version of Neodrag before/after migrating to Svelte 5). 

The issue is that I can drag an element around on the screen, but if I then play a flip animation, the drag interaction no longer works. Notably, it does fire the `onDrag` family of callbacks, and if I inspect the DOM node style with `getComputedStyle(node).transform` it does seem to be getting updated by the event. But the element doesn't move on screen. 

This issue does not exist in any other browsers I've tested in, and it didn't exist in Svelte 4 + iOS. 

### Reproduction

https://github.com/jessecoleman/svelte-5-flip/tree/crossfade

Here's a screen recording of the interaction (I rendered a crude crosshair so you could see where I'm touching, since iOS doesn't seem to have a better way to screen record):

https://github.com/user-attachments/assets/b7025f0f-8ec8-4468-8c4c-af9781c17c1c

Notice before playing the crossfade I can drag the elements around, but afterwards they stay static (even though the crosshair still moves.

### Logs

_No response_

### System Info

```shell
System:
    OS: Linux 4.19 Ubuntu 20.04.4 LTS (Focal Fossa)
    CPU: (16) x64 AMD Ryzen 7 3700X 8-Core Processor
    Memory: 16.37 GB / 23.49 GB
    Container: Yes
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 18.17.1 - ~/.nvm/versions/node/v18.17.1/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v18.17.1/bin/yarn
    npm: 9.6.7 - ~/.nvm/versions/node/v18.17.1/bin/npm
    pnpm: 8.15.5 - ~/.local/share/pnpm/pnpm
```


### Severity

blocking an upgrade
Repository: flutter
Issue: AppLifecycleListener has no onStart transition, contrary to diagram
Labels: framework,d: api docs,P3,team-framework,triaged-framework

The AppLifecycleListener doc shows the following state diagram:
![image](https://github.com/user-attachments/assets/b1ce57a5-44bc-4bee-83ed-eec9b7982dd7)

From state `detached` to state `resumed` there's an arrow labeled `onStart`.

But in the actual code there is no `onStart` callback, so that can't be accurate as to the real behavior.

---

From the implementation, it looks like the actual behavior on that transition from `detached` to `resumed` is that the `onResume` callback is called. That's the same one that's called for the only other transition to `resumed`, from `inactive`.

From an API perspective, my inclination is to prefer the version in the diagram, with an `onStart` distinct from `onResume`: I like the idea of having separate callbacks for those two separate situations. That also seems to be the way that AppLifecycleListener works in every other situation: all the other callbacks appear on only a single transition in the diagram.

In particular, it seems like most of the point of AppLifecycleListener, as opposed to just implementing `didChangeAppLifecycleState` directly, is to know the difference between "entered state A from state B" vs. "entered state A from state C". If the user only wants to know that the new `AppLifecycleState` is `resumed`, then `didChangeAppLifecycleState` will tell them that.
Repository: electron
Issue: failed to execvp when chrome-sandbox has SUID bit and space in the install path
Labels: platform/linux,bug :beetle:,has-repro-comment,32-x-y

### 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 bug report that matches the one I want to file, without success.

### Electron Version

32.2.1

### What operating system(s) are you using?

Ubuntu

### Operating System Version

Ubuntu 24

### What arch are you using?

x64

### Last Known Working Electron version

_No response_

### Expected Behavior

When `/opt/Custom App/chrome-sandbox` has SUID set, I expect to start Electron app `/opt/Custom App/custom-app`.

### Actual Behavior

I have a custom app packed with electron-builder and installed on Ubuntu 24. `postins` script from electron-builder does not set SUID on Ubuntu 24 (E.g. see https://github.com/electron-userland/electron-builder/issues/8440), then when I run the app it fails with:
```
The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /opt/Custom App/chrome-sandbox is owned by root and has mode 4755.
```

So I set SUID as suggested: `sudo chmod 4755 "/opt/Custom App/chrome-sandbox"`

And now, if the path is without space (e.g. `/opt/CustomApp/custom-app`), then the Electron app `custom-app` works OK. When it has a space, like `/opt/Custom App/custom-app`, it fails with:
```
LaunchProcess: failed to execvp:
/opt/Custom
```

When I set up AppArmor profile, or do workaround `sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0`, then the app starts even with a space in the install path. But I would like to start it when the SUID is set too, because that's what the app suggest to the user (and is simple workaround for inexperienced users.)

### Additional Information

See also #41066 .

Also reported to Ubuntu issue, see https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2046844#157 and few comments bellow. Maybe this is Ubuntu bug, but I report it here because I think Electron team can better nail the root of the problem and report in to the Ubuntu team.
Repository: PowerToys
Issue: Remapping key to shortcut doesn't work
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.85.1

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

I'm trying to remap my F2 function key to the shortcut Ctrl+Shift+R using the Remap Key function. Ideally, that would only be enabled while in File Explorer because I'm only using it to rename files, but I'll make a separate feature request for that.

This is why I think it's happening: I got the message "warning: the following keys do not have assignments: F2." I think that when a key is left unassigned that disables the new shortcut. To test this theory, I tried remapping the F2 key to the Insert key and the Insert key to the F2 key and they performed each other's functions. The problem is, because you can't map a shortcut to a key, there's no way to map a key to a shortcut without leaving a key unassigned.

### ✔️ Expected Behavior

I was expecting that when I remapped a single key to a shortcut, typing the shortcut would produce the output of the single key.

### ❌ Actual Behavior

Nothing happens when I press the shortcut or the original key.

### Other Software

_No response_
Repository: godot
Issue: Automatic mipmap generation clears inspector view when adding texture to material
Labels: discussion,topic:editor,usability,topic:import

### Tested versions

dev4.4

### System information

Godot v4.4.dev3 - Windows 10.0.22631 - Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4060 (NVIDIA; 32.0.15.6094) - 12th Gen Intel(R) Core(TM) i5-12400F (12 threads)

### Issue description

as title says, when editing a material resource, once mipmap generation is triggered when setting a texture to a material property: ("res://enviornment/misc/Textures/T_TrashCan_2_g.png: Texture detected as used in 3D. Enabling mipmap generation and setting the texture compression mode to VRAM Compressed (S3TC/ETC/BPTC).") the material loses focus in the inspector. while great, that these import settings are automatically reconfigured, it's a bit of a pain to have to find the material resource in the file system again afterwards
 

### Steps to reproduce

1) edit a material from the filesystem.
2)assign a diffuse or other kind of texture that will trigger a reimport of the texture.

### Minimal reproduction project (MRP)

![image](https://github.com/user-attachments/assets/1f7d4735-52b0-4e2e-9d71-05df6ea61a80)
Repository: godot
Issue: Game crashes on exit if using CanvasItem string drawing functions
Labels: bug,needs testing,crash,topic:gui

### Tested versions

- Reproducible in 4.3-stable, C# enabled

### System information

Godot v4.3.stable.mono - macOS 15.0.1 - Vulkan (Forward+) - integrated Apple M2 Pro - Apple M2 Pro (12 Threads)

### Issue description

When running the scene with the attached script, it works fine while its running, however when closing the game it hangs indefinitely. In the editor, there is nothing indicating an error. In VSCode, it shows the following backtrace:
```
================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.3.stable.mono.official (77dcf97d82cbfe4e4615475fa52ca03da645dbd8)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] invoke_previous_action(sigaction*, int, __siginfo*, void*, bool)
[2] 2   libsystem_platform.dylib            0x000000018d890184 _sigtramp + 56
[3] 3   libc++abi.dylib                     0x000000018d811fec __dynamic_cast + 56
[4] RefCounted::unreference() (in Godot) + 196
[5] Theme::~Theme() (in Godot) + 764
[6] ThemeDB::~ThemeDB() (in Godot) + 84
[7] Main::cleanup(bool) (in Godot) + 776
[8] main (in Godot) + 408
[9] 9   dyld                                0x000000018d4d8274 start + 2840
-- END OF BACKTRACE --
================================================================
```

The script in question is as follows:
```
using Godot;
using System;

public partial class DrawingBug : Node2D
{
    public override void _Draw() {
        var screenPos = new Vector2I(100, 100);
        var text = "Hello";
        DrawString(ThemeDB.FallbackFont, screenPos, text,
            HorizontalAlignment.Left, -1, 14, Colors.White);
    }
}
```
This happens with all of the string drawing functions (`DrawStringOutline`, `DrawMultilineString`, `DrawMultilineStringOutline`) I suspect this has something to do with the order of font usage and cleanup.

### Steps to reproduce

1. Open the attached project
2. Run `bug.tscn` (contains just a Node2D with the above script attached)
3. Click the "x" to close the window

### Minimal reproduction project (MRP)

[drawbug.zip](https://github.com/user-attachments/files/17535404/drawbug.zip)