| Summary: | Go code crashes Plasma Shell | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Murat Çileli <murat.cileli> |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | crash | CC: | akselmo, kde, murat.cileli |
| Priority: | NOR | Flags: | murat.cileli:
X11+
|
| Version First Reported In: | 5.27.10 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Manjaro | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Go code | ||
Seems that runs out of memory. You're appending one trillion items. |
Created attachment 164645 [details] Go code Following Go code crashes Plasma. package main func main() { var notes []int for i := 0; i < 1e12; i++ { notes = append(notes, i) } } STEPS TO REPRODUCE 1. Copy / paste the code 2. Run Go code SOFTWARE/OS VERSIONS Linux/KDE Plasma: 6.6.9-1-MANJARO (64-bit) KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.113.0 5.15.11 Qt Version: 5.15.11