Comments (2)
I poked at it for awhile but haven't been able to get to the root cause so far. Valgrind suggests it relates to a process/thread that has been deleted (exited) and is removed from the Table hash but still exists in the displayList somehow.
==3122235== Invalid read of size 8
==3122235== at 0x42B004: Table_rebuildPanel (Table.c:258)
==3122235== by 0x42592B: checkRecalculation (ScreenManager.c:156)
==3122235== by 0x42613B: ScreenManager_run (ScreenManager.c:247)
==3122235== by 0x4154B7: CommandLine_run (CommandLine.c:407)
==3122235== by 0x410CF7: main (htop.c:17)
==3122235== Address 0x1330f040 is 0 bytes inside a block of size 808 free'd
==3122235== at 0x48C3AAC: free (vg_replace_malloc.c:989)
==3122235== by 0x430BDF: Process_delete (LinuxProcess.c:134)
==3122235== by 0x42C33B: Vector_softRemove (Vector.c:268)
==3122235== by 0x42ADB3: Table_removeIndex (Table.c:79)
==3122235== by 0x42B313: Table_cleanupRow (Table.c:348)
==3122235== by 0x4233DF: ProcessTable_cleanupEntries (ProcessTable.c:77)
==3122235== by 0x41B3C7: Machine_scanTables (Machine.c:125)
==3122235== by 0x4115F7: actionToggleUserlandThreads (Action.c:250)
==3122235== by 0x41B7E3: MainPanel_eventHandler (MainPanel.c:116)
==3122235== by 0x4263DF: ScreenManager_run (ScreenManager.c:334)
==3122235== by 0x4154B7: CommandLine_run (CommandLine.c:407)
==3122235== by 0x410CF7: main (htop.c:17)
==3122235== Block was alloc'd at
==3122235== at 0x48C7BAC: calloc (vg_replace_malloc.c:1675)
==3122235== by 0x42C747: xCalloc (XUtils.c:57)
==3122235== by 0x43178F: LinuxProcess_new (LinuxProcess.c:118)
==3122235== by 0x4234F7: ProcessTable_getProcess (ProcessTable.c:39)
==3122235== by 0x433AF3: LinuxProcessTable_recurseProcTree (LinuxProcessTable.c:1507)
==3122235== by 0x433B2F: LinuxProcessTable_recurseProcTree (LinuxProcessTable.c:1514)
==3122235== by 0x43449B: ProcessTable_goThroughEntries (LinuxProcessTable.c:1834)
==3122235== by 0x42343F: ProcessTable_iterateEntries (ProcessTable.c:59)
==3122235== by 0x41B3B3: Machine_scanTables (Machine.c:122)
==3122235== by 0x41547B: CommandLine_run (CommandLine.c:399)
==3122235== by 0x410CF7: main (htop.c:17)
from htop.
Should be addressed by #1519; thanks for reporting!
from htop.
Related Issues (20)
- Feature: Quick toggle for showing userland process' threads HOT 5
- htop is using much cpu itself HOT 6
- Segmentation fault in 3.3.0 under heavy CPU and memory load on Debian Trixie (testing, rolling release) HOT 4
- HTOP "free mem" value differs from value reported by TOP and FREE HOT 3
- Unexpected HTOP results – RAM usage increases more running termit than konsole HOT 4
- out-of-bounds access in the Header_populateFromSettings function (CVE-2024-37676) HOT 1
- make new color for dirty / writeback cache HOT 1
- Allowing Pause on Search HOT 8
- Insufficient contrast on light background HOT 3
- Distinguish in which disk IO is high HOT 2
- CPU meter is named Avg HOT 6
- Inconsistent spacing HOT 1
- random SEGFAULT HOT 6
- Fractional update intervals do not work
- autofreeze idle timer
- Cannot display the temperature for each CPU for Intel(R) Core(TM) i7-8750H HOT 5
- show program path should not affect kernel threads HOT 1
- Massive lag for a short period of time when the htop window is focused
- Arithmetic Exception running a statically linked binary HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from htop.