Hang forever on exit w/gstreamer; high cpu load on buffering
Moderator: trava90
Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
Hang forever on exit w/gstreamer; high cpu load on buffering
Hello.
Recently figured out what libs needed to play HD videos on Youtube and other sites, but now facing issue - PM hangs forever w/100% load on exit with this output:
strace output:
strace: Process 15632 attached
strace: [ Process PID=15632 runs in 32 bit mode. ]
futex(0xf713b274, FUTEX_WAIT_PRIVATE, 5, NULL
gdb output:
(gdb) backtrace
#0 0xf7791430 in __kernel_vsyscall ()
#1 0xf7741a8c in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/i386-linux-gnu/libpthread.so.0
#2 0xf7366960 in PR_Wait () from /opt/palemoon_a/libnspr4.so
#3 0xf539c7d9 in ?? () from /opt/palemoon_a/libxul.so
#4 0xf539dcd5 in ?? () from /opt/palemoon_a/libxul.so
#5 0xf536b25c in ?? () from /opt/palemoon_a/libxul.so
#6 0xf539e2ba in ?? () from /opt/palemoon_a/libxul.so
#7 0xf539f5d6 in ?? () from /opt/palemoon_a/libxul.so
#8 0xf536fb2d in ?? () from /opt/palemoon_a/libxul.so
#9 0xf4528c65 in ?? () from /opt/palemoon_a/libxul.so
#10 0xf452d05a in ?? () from /opt/palemoon_a/libxul.so
#11 0xf452d1c7 in XRE_main () from /opt/palemoon_a/libxul.so
#12 0x0804b693 in _start ()
(gdb)
With media.gstreamer.enabled=false no such issues. And no media, eh. Occurs not every time, and little less for youtube for some reason.
Also I noticed very high cpu load while video buffering, dropping to 0% just after completed. To reproduce: open any relatively long youtube video, say 10-20 mins and pause.
Specs:
Xubuntu 16.04 Xenial x64 stock
PM 26.2.2 x86 Atom version; tested both with working and clean empty profiles
Gstreamer 1.8.0-1
Ask what additional info you need.
Recently figured out what libs needed to play HD videos on Youtube and other sites, but now facing issue - PM hangs forever w/100% load on exit with this output:
strace output:
strace: Process 15632 attached
strace: [ Process PID=15632 runs in 32 bit mode. ]
futex(0xf713b274, FUTEX_WAIT_PRIVATE, 5, NULL
gdb output:
(gdb) backtrace
#0 0xf7791430 in __kernel_vsyscall ()
#1 0xf7741a8c in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/i386-linux-gnu/libpthread.so.0
#2 0xf7366960 in PR_Wait () from /opt/palemoon_a/libnspr4.so
#3 0xf539c7d9 in ?? () from /opt/palemoon_a/libxul.so
#4 0xf539dcd5 in ?? () from /opt/palemoon_a/libxul.so
#5 0xf536b25c in ?? () from /opt/palemoon_a/libxul.so
#6 0xf539e2ba in ?? () from /opt/palemoon_a/libxul.so
#7 0xf539f5d6 in ?? () from /opt/palemoon_a/libxul.so
#8 0xf536fb2d in ?? () from /opt/palemoon_a/libxul.so
#9 0xf4528c65 in ?? () from /opt/palemoon_a/libxul.so
#10 0xf452d05a in ?? () from /opt/palemoon_a/libxul.so
#11 0xf452d1c7 in XRE_main () from /opt/palemoon_a/libxul.so
#12 0x0804b693 in _start ()
(gdb)
With media.gstreamer.enabled=false no such issues. And no media, eh. Occurs not every time, and little less for youtube for some reason.
Also I noticed very high cpu load while video buffering, dropping to 0% just after completed. To reproduce: open any relatively long youtube video, say 10-20 mins and pause.
Specs:
Xubuntu 16.04 Xenial x64 stock
PM 26.2.2 x86 Atom version; tested both with working and clean empty profiles
Gstreamer 1.8.0-1
Ask what additional info you need.
Re: Hang forever on exit w/gstreamer; high cpu load on buffering
This was happening to me as well, it ended up being that the distro I'm using was in the process of updating all their gstreamer files and some were 1.6 and some were 1.8 as soon as there all 1.8 it worked fine.
So check if all the gstreamer files are the same.
So check if all the gstreamer files are the same.
Re: Hang forever on exit w/gstreamer; high cpu load on buffering
No, they all same. Here is what installed:troypulk wrote:So check if all the gstreamer files are the same.
# dpkg -l |grep -i "gstreamer1.*i386"
ii gstreamer1.0-fluendo-mp3:i386 0.10.32.debian-1 i386 Fluendo mp3 decoder GStreamer 1.0 plugin
ii gstreamer1.0-libav:i386 1.8.0-1 i386 libav plugin for GStreamer
ii gstreamer1.0-plugins-base:i386 1.8.0-1ubuntu1 i386 GStreamer plugins from the "base" set
ii gstreamer1.0-plugins-good:i386 1.8.0-1ubuntu1 i386 GStreamer plugins from the "good" set
ii gstreamer1.0-plugins-ugly:i386 1.8.0-1ubuntu1 i386 GStreamer plugins from the "ugly" set
ii gstreamer1.0-plugins-ugly-amr:i386 1.8.0-1ubuntu1 i386 GStreamer plugins from the "ugly" set
ii gstreamer1.0-x:i386 1.8.0-1ubuntu1 i386 GStreamer plugins for X11 and Pango
ii libgstreamer1.0-0:i386 1.8.0-1 i386 Core GStreamer libraries and elements
Re: Hang forever on exit w/gstreamer; high cpu load on buffering
Disable your add-ons go to Help > restart with add-ons disabled
Then try again and see if that helps.
Then try again and see if that helps.
Re: Hang forever on exit w/gstreamer; high cpu load on buffering
Already tried with new clean profile - same result.troypulk wrote:Disable your add-ons go to Help > restart with add-ons disabled
Then try again and see if that helps.
Re: Hang forever on exit w/gstreamer; high cpu load on buffering
I'm using Debian Testing and my media.gstreamer.enabled is always set to true.
One thing I do know about mine is that gstreamer uses flash player so you can look into that, HTML5 and flash player cannot be enabled at the same time to play HD youtube video's, HTML5 only goes up to 720p and flash goes up to 1080p, so when I want to watch 1080p i switch my youtube default player to flash.
I just went to youtube and they updated their useragent sniffer and now youtube doesn't work, I need to update the useragent.
One thing I do know about mine is that gstreamer uses flash player so you can look into that, HTML5 and flash player cannot be enabled at the same time to play HD youtube video's, HTML5 only goes up to 720p and flash goes up to 1080p, so when I want to watch 1080p i switch my youtube default player to flash.
I just went to youtube and they updated their useragent sniffer and now youtube doesn't work, I need to update the useragent.
Re: Hang forever on exit w/gstreamer; high cpu load on buffering
Well, I see 320p webm when gstreamer disabled and 720p & 320p when enabled (for youtube). The problem is that many other sites doesn't use webm, only h264, so can't use them, same for audios. Flash player not even installed.troypulk wrote:One thing I do know about mine is that gstreamer uses flash player so you can look into that, HTML5 and flash player cannot be enabled at the same time to play HD youtube video's, HTML5 only goes up to 720p and flash goes up to 1080p, so when I want to watch 1080p i switch my youtube default player to flash.
Don't know what to do. Disable gstreamer again for a while or write some wrapper/daemon that kill palemoon exec on exit. Both ways are disgusting.
Re: Hang forever on exit w/gstreamer; high cpu load on buffering
In order to make gstreamer work properly flash needs to be installed, also you need to install gstreamer-ffmpeg1.0bloodninja wrote:Flash player not even installed.
Re: Hang forever on exit w/gstreamer; high cpu load on buffering
Everything related to avcodec/ffmpeg installed too. flashplugin-installer:i386 (!not amd64) doesn't installing with some update-notifier-common unmet dependencies.troypulk wrote:In order to make gstreamer work properly flash needs to be installed, also you need to install gstreamer-ffmpeg1.0
Anyway, I'm confused. Videos playing well, audios too, everything is fine except those exit hangs. Besides, this happens not every time in single launch-play-exit cycle, maybe 30% of time.
Re: Hang forever on exit w/gstreamer; high cpu load on buffering
Discovered GST_DEBUG=xx env variable for gstreamer debugging, but dunno where to look, whole bunch of logs. Maybe someone point me?