View Issue Details

IDProjectCategoryView StatusLast Update
0013142CentOS-7setroubleshootpublic2019-04-05 13:34
Reportersnottor 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0013142: [abrt] setroubleshoot-server: analyze.py:294:prune:ValueError: list modified during sort
DescriptionVersion-Release number of selected component:
setroubleshoot-server-3.2.27.2-3.el7

Truncated backtrace:
analyze.py:294:prune:ValueError: list modified during sort

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/setroubleshoot/analyze.py", line 377, in auto_save_callback
    self.save()
  File "/usr/lib64/python2.7/site-packages/setroubleshoot/analyze.py", line 355, in save
    self.prune()
  File "/usr/lib64/python2.7/site-packages/setroubleshoot/analyze.py", line 294, in prune
    self.sigs.signature_list.sort(lambda a,b: cmp(a.last_seen_date, b.last_seen_date))
ValueError: list modified during sort

Local variables in innermost frame:
self: <setroubleshoot.analyze.SETroubleshootDatabase object at 0x217dad0>
Additional Informationreporter: libreport-2.1.11.1
cmdline: /usr/bin/python -Es /usr/sbin/setroubleshootd -f ''
executable: /usr/sbin/setroubleshootd
kernel: 3.10.0-514.16.1.el7.x86_64
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reproducible: Not sure how to reproduce the problem
runlevel: N 5
type: Python
uid: 992
TagsNo tags attached.
abrt_hashe175987cefc786cc733988ff49f1b61ffaedb499
URLhttps://retrace.fedoraproject.org/faf/reports/bthash/1efbf711629b3cc5a11c2e8597366a4540a45124

Activities

snottor

snottor

2017-04-17 19:47

reporter  

backtrace (646 bytes)
analyze.py:294:prune:ValueError: list modified during sort

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/setroubleshoot/analyze.py", line 377, in auto_save_callback
    self.save()
  File "/usr/lib64/python2.7/site-packages/setroubleshoot/analyze.py", line 355, in save
    self.prune()
  File "/usr/lib64/python2.7/site-packages/setroubleshoot/analyze.py", line 294, in prune
    self.sigs.signature_list.sort(lambda a,b: cmp(a.last_seen_date, b.last_seen_date))
ValueError: list modified during sort

Local variables in innermost frame:
self: <setroubleshoot.analyze.SETroubleshootDatabase object at 0x217dad0>
backtrace (646 bytes)
environ (92 bytes)
DBUS_STARTER_BUS_TYPE=system
DBUS_STARTER_ADDRESS=unix:path=/var/run/dbus/system_bus_socket
environ (92 bytes)
machineid (135 bytes)
systemd=9add4e571f264ed48e396e3a2c0b1a88
sosreport_uploader-dmidecode=c34a86bbdb14ba485199fd1377ec1c9bf40aeade097083c473429bff3ca18bf7
machineid (135 bytes)
nationalmarine

nationalmarine

2017-05-16 14:45

reporter   ~0029286

Another user experienced a similar problem:

Not sure - all was in appropriate order yesterday, but when I logged in this morning, the bug tracker notification was present.

reporter: libreport-2.1.11.1
cmdline: /usr/bin/python -Es /usr/sbin/setroubleshootd -f ''
executable: /usr/sbin/setroubleshootd
kernel: 3.10.0-514.16.1.el7.x86_64
package: setroubleshoot-server-3.2.27.2-3.el7
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reason: analyze.py:294:prune:ValueError: list modified during sort
reproducible: Not sure how to reproduce the problem
runlevel: N 5
type: Python
uid: 990
daroheroc

daroheroc

2019-01-15 17:03

reporter   ~0033592

Another user experienced a similar problem:

dani

reporter: libreport-2.1.11.1
cmdline: /usr/bin/python -Es /usr/sbin/setroubleshootd -f ''
executable: /usr/sbin/setroubleshootd
kernel: 3.10.0-957.1.3.el7.x86_64
package: setroubleshoot-server-3.2.30-3.el7
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reason: analyze.py:294:prune:ValueError: list modified during sort
reproducible: The problem occurs regularly
runlevel: N 5
type: Python
uid: 992
daroheroc

daroheroc

2019-01-15 19:12

reporter   ~0033594

the problem is derived from the installation of an antivirus
as in my case eset nod 32 and the deactivation of the selinux
cpark

cpark

2019-01-22 10:25

reporter   ~0033655

Another user experienced a similar problem:

I accepted updated to my CentOS system and since then I've had issues with the setroubleshoot memory usage growing taking all available memory.

Upon a system restart it's ok for a few hours or a day then it starts to missbehave. The number of account lock+unlocks may contribute to the issue.

The system /var/log/messages contains a lot of the following:
Jan 22 08:20:02 <system_name> setroubleshoot: SELinux is preventing /usr/bin/dbus-daemon from associate access on the shared memory labeled unconfined_service_t. For complete SELinux messages run: sealert -l d8be4013-90b5-4328-b5f3-8f68fa33b8af
Jan 22 08:20:02 <system_name> python: SELinux is preventing /usr/bin/dbus-daemon from associate access on the shared memory labeled unconfined_service_t.#012#012***** Plugin associate (99.5 confidence) suggests *************************#012#012If you want to change the label of Unknown to system_dbusd_t, you are not allowed to since it is not a valid file type.#012Then you must pick a valid file label.#012Do#012select a valid file type. List valid file labels by executing: #012# seinfo -afile_type -x#012#012***** Plugin catchall (1.49 confidence) suggests **************************#012#012If you believe that dbus-daemon should be allowed associate access on shm labeled unconfined_service_t by default.#012Then you should report this as a bug.#012You can generate a local policy module to allow this access.#012Do#012allow this access for now by executing:#012# ausearch -c 'dbus-daemon' --raw | audit2allow -M my-dbusdaemon#012# semodule -i my-dbusdaemon.pp#012
Jan 22 08:20:02 <system_name> sedispatch: AVC Message for setroubleshoot, dropping message
Jan 22 08:20:02 <system_name> sedispatch: AVC Message for setroubleshoot, dropping message
Jan 22 08:20:02 <system_name> sedispatch: AVC Message for setroubleshoot, dropping message

reporter: libreport-2.1.11.1
cmdline: /usr/bin/python -Es /usr/sbin/setroubleshootd -f ''
executable: /usr/sbin/setroubleshootd
kernel: 3.10.0-693.21.1.el7.x86_64
package: setroubleshoot-server-3.2.29-3.el7
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reason: analyze.py:294:prune:ValueError: list modified during sort
reproducible: The problem is reproducible
runlevel: N 5
type: Python
uid: 995
cpark

cpark

2019-04-05 13:34

reporter   ~0034163

This issue occurs when the machine has been up for 24 hours.

At or a few seconds after an uptime of 24 hours I see the CPU usage start behaving erratically and the RAM usage increase.

Issue History

Date Modified Username Field Change
2017-04-17 19:47 snottor New Issue
2017-04-17 19:47 snottor File Added: backtrace
2017-04-17 19:47 snottor File Added: environ
2017-04-17 19:47 snottor File Added: machineid
2017-05-16 14:45 nationalmarine Note Added: 0029286
2019-01-15 17:03 daroheroc Note Added: 0033592
2019-01-15 19:12 daroheroc Note Added: 0033594
2019-01-22 10:25 cpark Note Added: 0033655
2019-04-05 13:34 cpark Note Added: 0034163