gst-plugin-scanner hangs with 100% CPU

YuryG

Well-Known Member

Reaction score: 24
Messages: 395

After some of late upgrade of multimedia/gstreamer1 and associates I've noticed that almost always several /usr/local/libexec/gstreamer-1.0/gst-plugin-scanner processes hang eating almost 100% of a CPU thread each. I suppose, the process launches several times and stays forever. (Now I have three such processes with IDs 8788, 14184 and 80010).
Is it a bug? Or misupgrade?
 

b6s6d6

Member

Reaction score: 15
Messages: 38

After some of late upgrade of multimedia/gstreamer1 and associates I've noticed that almost always several /usr/local/libexec/gstreamer-1.0/gst-plugin-scanner processes hang eating almost 100% of a CPU thread each. I suppose, the process launches several times and stays forever. (Now I have three such processes with IDs 8788, 14184 and 80010).
Is it a bug? Or misupgrade?
You're not alone in this one, I've faced the same issue after latest pkg upgrade and I'm yet to find a solution...
Meanwhile I just kill the process when needed
 
OP
OP
Y

YuryG

Well-Known Member

Reaction score: 24
Messages: 395

Yes, but I can't say when to check hanging processes to come and kill them.
Also I have not found relevant bug on the bugs.freebsd.org database.
 

tuaris

Active Member

Reaction score: 6
Messages: 130

I usually see this issue pop-up after using something like Google Meet inside Firefox.

Code:
     48126 97.0  0.0   16624   5856  -  R    Thu03   2005:56.58 |-- /usr/local/libexec/gstreamer-1.0/gst-plugin-scanner -l
     49497 97.0  0.0   16624   5860  -  R    Thu04   1965:22.50 |-- /usr/local/libexec/gstreamer-1.0/gst-plugin-scanner -l
     73653 96.0  0.0   16624   5976  -  R    16:01   1275:05.83 |-- /usr/local/libexec/gstreamer-1.0/gst-plugin-scanner -l
Doing a quick ktrace on it doesn't reveal much. Seems to be stuck on an endless loop

Code:
 48126 101620 gst-plugin-scanner GIO   fd 5 read 0 bytes
 48126 101620 gst-plugin-scanner RET   read 0
 48126 101620 gst-plugin-scanner CALL  read(0x5,0x801410e00,0xc)
 48126 101620 gst-plugin-scanner GIO   fd 5 read 0 bytes
 48126 101620 gst-plugin-scanner RET   read 0
 48126 101620 gst-plugin-scanner CALL  read(0x5,0x801410e00,0xc)
 48126 101620 gst-plugin-scanner GIO   fd 5 read 0 bytes
 48126 101620 gst-plugin-scanner RET   read 0
 48126 101620 gst-plugin-scanner CALL  read(0x5,0x801410e00,0xc)
 48126 101620 gst-plugin-scanner GIO   fd 5 read 0 bytes
 48126 101620 gst-plugin-scanner RET   read 0
 48126 101620 gst-plugin-scanner CALL  read(0x5,0x801410e00,0xc)
 48126 101620 gst-plugin-scanner GIO   fd 5 read 0 bytes
 48126 101620 gst-plugin-scanner RET   read 0
 48126 101620 gst-plugin-scanner CALL  read(0x5,0x801410e00,0xc)
 48126 101620 gst-plugin-scanner GIO   fd 5 read 0 bytes
 48126 101620 gst-plugin-scanner RET   read 0
 48126 101620 gst-plugin-scanner CALL  read(0x5,0x801410e00,0xc)
 48126 101620 gst-plugin-scanner GIO   fd 5 read 0 bytes
 48126 101620 gst-plugin-scanner RET   read 0
 48126 101620 gst-plugin-scanner CALL  read(0x5,0x801410e00,0xc)
 48126 101620 gst-plugin-scanner GIO   fd 5 read 0 bytes
 48126 101620 gst-plugin-scanner RET   read 0
 48126 101620 gst-plugin-scanner CALL  read(0x5,0x801410e00,0xc)
 48126 101620 gst-plugin-scanner GIO   fd 5 read 0 bytes
 48126 101620 gst-plugin-scanner RET   read 0
 
Top