Skip to content

Panic at "range end index" #413

@JJ

Description

@JJ

Bug description

I'm getting this error when running a heavy process (fan on) in an AMD computer

Top 5 consumers:
Power PID Exe
0.04074909 W 102230 "/usr/local/bin/scaphandre"
0.006791515 W 97306 "/usr/lib/rstudio/resources/app/bin/rsession"
0.0033957574 W 32757 "/usr/lib/rstudio/resources/app/bin/rsession"
0.0033957574 W 41121 "/snap/firefox/6738/usr/lib/firefox/firefox"
0.0033957574 W 37597 "/snap/firefox/6738/usr/lib/firefox/firefox"

thread 'main' panicked at 'range end index 18446744073150512879 out of range for slice of length 32', library/core/src/slice/index.rs:73:5


## To Reproduce

Not totally sure about this. It's running Rstudio in this repo https://github.com/JJ/venice-tunnel-bridges generating a graph with `venice-tunnel-bridges-nodes.R` 

Let's just say it's running a pretty heavy workload that takes a few seconds to run.

## Expected behavior

It's a flapper, it works sometimes. I would expect it to work as intended. It's also kind of weird the wattage for scaphandre is higher than for the other processes; I would expect R session to use much more. Also weird: same wattage for two different processes?

## Environment

- Linux distribution version: Ubuntu 25.04
- Kernel version (output of `uname -r`) 6.14.0-27-generic

## Additional context

Running it from command line using sudo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions