Closed Bug 679800 Opened 13 years ago Closed 11 years ago

Short freezes in Firefox

Categories

(Firefox :: Bookmarks & History, defect)

8 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: jonfr, Unassigned)

References

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0
Build ID: 20110814171604

Steps to reproduce:

I did run Firefox normal and I did experience short burst of freezing. I have connected this freezing to a script that is run locally in Firefox, I think. This does not only affect web pages, but also happens when I am loading bookmarks or opening new tabs or windows.

On few occasions this script has been told to be stopping or freezing, chrome://browser/content/places/browserPlacesViews.js - after I did stop this script this issue appeared to go away for good. No visible impact was made on Firefox after this script was stopped.

I think that the line 853 was the issue. But that might be wrong.

Firefox was compiled with this settings.

emerge firefox --info
Portage 2.1.10.3 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, glibc-2.12.2-r0, 2.6.38-gentoo-r6 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.38-gentoo-r6-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5200+-with-gentoo-2.0.3
Timestamp of tree: Wed, 17 Aug 2011 05:45:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 AdobeFlash-10.1 sun-bcla-java-vm @GPL-COMPATIBLE @OSI-APPROVED @EULA atheros-hal BitstreamVera"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.rhnet.is/pub/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="is_IS.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="is da"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://192.168.1.1/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aacs aalib ace acl acpi aim alsa amd64 animgif ansi apm apng applet archive asf asn avcodec avformat berkdb bluetooth bluray branding bzip2 cairo cdb cdda cddb cdf cdinstall cdmamodem cdparanoia cdr cdrdao cdrom cdsound checksum chipcard chm cli consolekit cracklib crypt crypto cryptokit css cups cxx dbus dc1394 declarative djvu dk dri dtmf dts dv dvb dvbsetup dvd dvdnav dvdr dvi dxva2 ebook emboss encode exif extras fam ffmpeg firefox flac fortran gd gdbm gdm gdu gif gpg gphoto2 gpm gps gpsd gpu gsm gstreamer gtk gzip h224 h281 h323 iconv icu id3 id3tag ident idn ieee1394 image-cache imagemagick imaging imap imlib ios iplayer ipod ipv6 irc is java java6 javacomm javascript jbig jce jpeg jpeg2k kde kdecards kdrive kipi lame lcms ldap libass libcaca libnotify libv4l libv4l2 live lzma mad maps matroska md5 md5sum md5sum-external midi mjpeg mkl mms mmx mmxext mng modules mozilla mp3 mp3rtp mp3tunes mp4 mpeg mpg123 mplayer mudflap multilib multiprocess musicbrainz mysqli ncurses nfs nls nntp nokia npp nptl nptlonly nsplugin nss nsscache ntfs ntlm ogg ogg123 ogm openal openexr opengl openmp openpgp pam pango pcre pda pdf perl phonon plasma png policykit ppds pppd pulseaudio python qt3support qt4 quicktime quvi raw readline rtmp rtsp samba scanner scp sdl seamonkey secure-delete semantic-desktop session sftp smartcard smp sms smtp snmp sox spamassassin spell sqlite srt srtp sse sse2 sse3 ssl startup-notification svg sysfs system-sqlite szip tcpd theora thumbnail thumbnails tiff truetype udev unicode unlock-notify unzip upnp usb v4l v4l2 vaapi vcd vcdx vdpau vorbis webcam wma wma-fixed wmf x264 xcb xcomposite xinerama xml xorg xosd xscreensaver xulrunner xv xvid youtube zip zlib zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="is da" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

www-client/firefox-5.0-r2 was built with the following:
USE="alsa (consolekit) dbus ipc libnotify methodjit (multilib) (policykit) startup-notification system-sqlite webm -bindist -custom-cflags -custom-optimization -debug -pgo -wifi" LINGUAS="da is -af -ak -ar -ast -be -bg -bn -bn_BD -bn_IN -br -bs -ca -cs -cy -de -el -en -en_GB -en_US -en_ZA -eo -es -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy -fy_NL -ga -ga_IE -gd -gl -gu -gu_IN -he -hi -hi_IN -hr -hu -hy -hy_AM -id -it -ja -kk -kn -ko -ku -lg -lt -lv -mai -mk -ml -mr -nb -nb_NO -nl -nn -nn_NO -nso -or -pa -pa_IN -pl -pt -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -sv_SE -ta -ta_LK -te -th -tr -uk -vi -zh -zh_CN -zh_TW -zu"                                                                                   
CFLAGS="-march=athlon64 -pipe -mno-avx"
CXXFLAGS="-march=athlon64 -pipe -mno-avx"


Actual results:

Firefox freezes for short period of time, but sometimes up to 20 seconds.


Expected results:

No freezing should have happened at all in Firefox 5.0.
Component: General → Bookmarks & History
QA Contact: general → bookmarks
Here is the messages that I get when the stop script window pops up.

(Message in Icelandic)

chrome://browser/content/places/browserPlacesViews.js:859

I also forgot to add that when this happens, the CPU0 or CPU1 jumps to 100%. Giving me a total 50% CPU load on my pc.
I have encountered the same behavior (with both versions 5 and 6) running in a fresh install of Xubuntu 11.04. This is with the stock firefox packages from xubuntu. It is especially easy for me to replicate this when I select Tools -> Add-Ons, and then attempt to scroll the list; the browser freezes, the CPU activity shoots up, and then after a few seconds, the browser pops to place in the list to which I've scrolled.
This bug needs to be confirmed and fixed. As it has already been carried on to version 6 of Firefox.
Changing about theme does not change this behaviour. This freezing also makes use of Firefox extremely annoying. Since it is always freezing for short periods of time.
I'm having 6.0 and experiencing the same symptoms. Not sure if it's the same bug. If I can help testing, tell me please.
I also have this issue in Firefox 6.0. But I did do a upgrade few days ago.
Please try a new profile http://support.mozilla.com/kb/Managing%20profiles
What kind if Firefox build are you using ?
Please post the Configure arguments from about:buildconfig
(In reply to Matthias Versen (Matti) from comment #8)
> Please try a new profile http://support.mozilla.com/kb/Managing%20profiles
> What kind if Firefox build are you using ?
> Please post the Configure arguments from about:buildconfig

This is a new profile. But I had to make a clean profile when I moved from Firefox 3.6.18 to Firefox 5. When I upgraded from Firefox 5 to Firefox 6 I did not do a clean profile. I do not have Firefox 5 installed anymore and I cannot compile it with the debug mode as I did with Firefox 6 this morning.

--- Firefox 6 build config information ----

about:buildconfig
Build platform
target
x86_64-unknown-linux-gnu
Build tools
Compiler 	Version 	Compiler flags
x86_64-pc-linux-gnu-gcc 	gcc version 4.4.5 (Gentoo 4.4.5 p1.3, pie-0.4.5) 	-Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -march=athlon64 -pipe -mno-avx -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -g -Os -freorder-blocks -fomit-frame-pointer
x86_64-pc-linux-gnu-g++ 	gcc version 4.4.5 (Gentoo 4.4.5 p1.3, pie-0.4.5) 	-fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -march=athlon64 -pipe -mno-avx -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -g -Os -freorder-blocks -fomit-frame-pointer
Configure arguments

--enable-application=browser --enable-optimize --with-system-jpeg --with-system-zlib --enable-pango --enable-svg --enable-system-cairo --disable-installer --disable-pedantic --disable-updater --disable-strip --disable-strip-libs --disable-install-strip --enable-single-profile --disable-profilesharing --disable-profilelocking --enable-default-toolkit=cairo-gtk2 --enable-official-branding --enable-ogg --enable-wave --enable-dbus --disable-debug --disable-tests --disable-debugger-info-modeules --enable-ipc --enable-libnotify --enable-startup-notification --enable-system-sqlite --with-sqlite-prefix=/usr --disable-necko-wifi --enable-webm --with-system-libvpx=/usr --enable-tracejit --with-system-nspr --with-nspr-prefix=/usr --with-system-nss --with-nss-prefix=/usr --x-includes=/usr/include --x-libraries=/usr/lib64 --with-system-libevent=/usr --enable-system-hunspell --disable-gnomevfs --disable-gnomeui --enable-gio --enable-storage --enable-places --enable-places_bookmarks --enable-oji --enable-mathml --disable-mochitest --prefix=/usr --libdir=/usr/lib64 --disable-gconf --disable-mailnews --enable-canvas --enable-safe-browsing --with-system-png --with-default-mozilla-five-home=/usr/lib64/firefox --enable-system-sqlite --enable-methodjit --enable-extensions=default
Attached file Firefox 6 debug log
This is a debug run of Firefox 6 that has the same freezing issue as Firefox 5 did on my computer.
Please try a mozilla.org binary build. This could be for example a problem "--enable-system-sqlite"
(In reply to Matthias Versen (Matti) from comment #11)
> Please try a mozilla.org binary build. This could be for example a problem
> "--enable-system-sqlite"

This feature is enabled by a requierment from the ebuild. The output for Firefox 6 (same as Firefox 5).

[ebuild   R   ~] www-client/firefox-6.0  USE="alsa crashreporter dbus ipc libnotify methodjit startup-notification system-sqlite webm -bindist -custom-cflags -custom-optimization -debug -pgo -wifi" LINGUAS="da is -af -ak -ar -ast -be -bg -bn -bn_BD -bn_IN -br -bs -ca -cs -cy -de -el -en -en_GB -en_US -en_ZA -eo -es -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy -fy_NL -ga -ga_IE -gd -gl -gu -gu_IN -he -hi -hi_IN -hr -hu -hy -hy_AM -id -it -ja -kk -kn -ko -ku -lg -lt -lv -mai -mk -ml -mr -nb -nb_NO -nl -nn -nn_NO -nso -or -pa -pa_IN -pl -pt -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -sv_SE -ta -ta_LK -te -th -tr -uk -vi -zh -zh_CN -zh_TW -zu" 0 kB
Please try a Mozilla.org binary build. You can just extract it into the temp directory and run it from there. Builds are available from here : ftp://ftp.mozilla.org/pub/firefox/releases/6.0/
(In reply to Matthias Versen (Matti) from comment #13)
> Please try a Mozilla.org binary build. You can just extract it into the temp
> directory and run it from there. Builds are available from here :
> ftp://ftp.mozilla.org/pub/firefox/releases/6.0/

That is one of the first things I did try when this problem started. But it does not matter if I run my own compiled version or the binary build of Firefox 5 (I did not try this with the binary build of Firefox 6). This freezes continue to happen, both at random times and at random length.

Until this issue is fixed. I have switched back to Firefox 3.6.20.
Alright, trying to upgrade from Firefox 3.6.20 and up to version 6.0 and see what happens with this issue.
do you have a large number of bookmarks on the toolbar, do you use Sync?
Any add-on that shows bookmarks/history in fancy ways on the UI?
This is most likely a freeze in a menu or toolbar automatic refresh after something made changes to history or bookmarks.
(In reply to Marco Bonardo [:mak] from comment #16)
> do you have a large number of bookmarks on the toolbar, do you use Sync?
> Any add-on that shows bookmarks/history in fancy ways on the UI?
> This is most likely a freeze in a menu or toolbar automatic refresh after
> something made changes to history or bookmarks.

I got large number of bookmarks. But only in the bookmark section, I got minimal number of bookmark in the toolbar. I got the bookmark sync addon xmark. But I have disabled everything that is automatic in it.
This bug also happens in SeaMonkey. But it is not as bad there (it freezes for shorter time then Firefox). Here is a screenshot of the bug in action.
Is this bug 686025?
Can you see if it is fixed in Firefox Aurora 8?
If you can install that, try if this extension helps you:
https://addons.mozilla.org/en-US/firefox/addon/places-maintenance/
It cleans your history.
For me, just manually deleting all history older than 6 months from the Ctrl-H sidebar fixed long freezes.
Depends on: 686025
Jon -> Any update?
(In reply to Tim (fmdeveloper) from comment #20)
> Jon -> Any update?

This bug is still present in version 8.0. Along with the bug that Firefox freezes if I go to EMSC web site. It does not matter if I wipe my profile clean and start it all over again. The behavior is still the same in Firefox. I do not know why this bug happens. It just does.
Summary: Short freezes in Firefox 5.0 → Short freezes in Firefox
Version: 5 Branch → 8 Branch
there is not enough info to debug this, we need at least a profile stack :(
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → INCOMPLETE
I have not seen this bug in newest version of Firefox. I am currently using this version of Firefox.

firefox --version
Mozilla Firefox 17.0.2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: