Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96869 - mozilla-firefox-1.0.4 no longer starts atfer upgrade to x11-libs/gtk+-2.6.8 [2.6.7]
Summary: mozilla-firefox-1.0.4 no longer starts atfer upgrade to x11-libs/gtk+-2.6.8 [...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
: 97270 98868 107662 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-06-23 08:01 UTC by Nuno Alexandre
Modified: 2006-10-12 13:13 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
strace (strace,36.77 KB, text/plain)
2005-06-23 19:27 UTC, Nuno Alexandre
Details
strace firefox (firefox.log,33.50 KB, text/plain)
2005-06-29 12:21 UTC, jack_mort
Details
firefox-badfreedesktop.patch (firefox-badfreedesktop.patch,416 bytes, patch)
2005-07-15 05:01 UTC, Georgi Georgiev
Details | Diff
Ebuild with Patch for AMD64 (mozilla-firefox-1.0.5-r1.ebuild,8.72 KB, application/octet-stream)
2005-07-16 15:45 UTC, Lee Trager
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nuno Alexandre 2005-06-23 08:01:58 UTC
After upgrading gtk+ Firefox no longer starts.
Running from a terminal, this message is the only thing that comes up:

(firefox-bin:18465): Gdk-WARNING **: gdk_property_get(): length value has
wrapped in calculation (did you pass G_MAXLONG?)


I've asked around, but got no feeback, so ill just submit this here.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.22-r1 (default-linux/amd64/2005.0/no-multilib, gcc-3.4.4,
glibc-2.3.5-r0, 2.6.12 x86_64)
=================================================================
System uname: 2.6.12 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer -ffast-math -funroll-all-loops
-ftracer -funswitch-loops -funit-at-a-time"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoclean autoconfig ccache distlocks noinfo notitles sandbox sfperms
strict"
GENTOO_MIRRORS="ftp://rsync.gentoo.diku.dk ftp://ftp.dkuug.dk/pub/gentoo/
http://ftp.du.se/pub/os/gentoo"
LANG="en_US.UTF8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 alsa nptl nptlonly pic unicode userlocales video_cards_nvidia
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LINGUAS
Comment 1 Jory A. Pratt 2005-06-23 08:42:58 UTC
interesting seeing I have updated and all is fine .... please emerge strace and
run `strace firefox' and post it please.
Comment 2 foser (RETIRED) gentoo-dev 2005-06-23 09:39:17 UTC
I'd start cleaning out the CFLAGS.
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2005-06-23 12:01:53 UTC
Nuno: Rebuild gtk+ with sane CFLAGS, try again.  If you can narrow down the
particular problem flag then we can filter it in the gtk+ ebuild. 
mozilla-firefox already filters CFLAGS heavily.
Comment 4 Nuno Alexandre 2005-06-23 19:27:46 UTC
Created attachment 61826 [details]
strace
Comment 5 Nuno Alexandre 2005-06-23 19:28:32 UTC
builded gtk+- with "-march=k8 -O2 -pipe"

strace attached.
Comment 6 jack_mort 2005-06-24 04:50:14 UTC
I have the same problem, on my amd64 (can't post emerge info right now but it
must be almost identical to Alexandre's one.
Comment 7 Georgi Georgiev 2005-06-27 23:41:27 UTC
*** Bug 97270 has been marked as a duplicate of this bug. ***
Comment 8 hvjunk 2005-06-28 16:08:29 UTC
Also can't say I have insane CFLAGS, though I do have ~amd64 set, getting this
error on *BOTH* mozilla &mozilla-firefox


$ emerge info
Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.12
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=k8 -march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-mtune=k8 -march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg candy ccache distlocks nosandbox sfperms strict"
GENTOO_MIRRORS=" ftp://10.1.2.10/gentoo/
ftp://ftp.is.co.za/linux/distributions/gentoo ftp://gentoo.chem.wisc.edu/gentoo/
http://gentoo.mirrors.pair.com/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa amd64 ao apache2 arts berkdb bitmap-fonts
bluetooth bzip2 bzlib cdda cddb cdio cdparanoia cdr cpudetection crypt css csv
cups curl curlwrappers dar32 dar64 db2 dba dbus dbx dga dio doc dts dv dvb dvd
dvdcss dvdr dvdread ecc eds emul-linux-x86 encode esd extensions fam fame
fastcgi ffmpeg firefox flac font-server foomaticdb fortran ftp gcj gd gdbm gif
gimpprint glibc gnokii gnome gnutls gphoto2 gpm gssapi gstreamer gtk ieee1394
imagemagick imlib ipv6 jack jp2 jpeg ldap libdsk libsamplerate libwww lzo lzw
lzw-tiff mad mng motif mozdevelop mozilla moznomail mp3 mpeg mpeg4 mplayer
mpm-event msdav mysql nas ncurses nls nptl nptlonly nvidia objc ogg oggvorbis
opengl openssl osc oss pam perl php png postgres ppds python qt rar rdesktop
readline reiserfs rtc sdl slang sqlite ssl tcpd tetex theora threads tiff
transcode truetype truetype-fonts type1 type1-fonts ups urandom usb userlocales
vcd vidix vorbis webdav wma123 xine xml xml2 xmms xpm xrandr xv xvid xvmc zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 9 Nuno Alexandre 2005-06-29 09:37:27 UTC
the cflags arent insane, check the gcc manual and see under -O3
Comment 10 jack_mort 2005-06-29 10:03:13 UTC
Hi, here is my emerge info, and I can say I also don't use very aggressive flags...

Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.12
ccache version 2.4 [disabled]
dev-lang/python:     2.4.1-r1
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fweb -ftracer -frename-registers"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fweb -ftracer -frename-registers"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildsyspkg distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.inode.at/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo"
LANG="fr_FR.utf8"
LC_ALL="fr_FR.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/standard /usr/local/overlays/mplayer32
/usr/local/overlays/emul-soundlibs /usr/local/overlays/emul-compat"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa bash-completion bitmap-fonts cdr crypt cups curl
dedicated dvd dvdr encode font-server gif gtk gtk2 imagemagick imlib java jp2
jpeg lzw lzw-tiff mad matroska mp3 mpeg ncurses nls nptl ogg opengl oss pam perl
pic png python readline samba sdl ssl svg tcpd tiff truetype truetype-fonts
type1-fonts unicode usb userlocales vorbis wmf xine xml xml2 xpm xprint xv xvid
zlib linguas_fr userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, MAKEOPTS
Comment 11 Jory A. Pratt 2005-06-29 10:07:15 UTC
would one of you please mv ~/.mozilla to ~/.mozilla.bck and try and start
firefox in a terminal. 
Comment 12 jack_mort 2005-06-29 11:17:26 UTC
I did it, and it outputs :

No running windows found

(firefox-bin:31297): Gdk-WARNING **: gdk_property_get(): length value has
wrapped in calculation (did you pass G_MAXLONG?)
*** nsExtensionManager::_disableObsoleteExtensions - failure, catching exception
so finalize window can close
*** loading the extensions datasource
*** ExtensionManager:_updateManifests: no access privileges to application
directory, skipping.

(firefox-bin:31297): Gdk-WARNING **: gdk_property_get(): length value has
wrapped in calculation (did you pass G_MAXLONG?)
*** loading the extensions datasource
*** ExtensionManager:_updateManifests: no access privileges to application
directory, skipping.

and hangs here. In fact, firefox IS launched as firefox-bin is shown is ps, but
no window is drawn...
Comment 13 Jory A. Pratt 2005-06-29 11:21:26 UTC
mort do me one more favor and run strace firefox-bin make sure you move the
newly created .mozilla dir so you get the exact output as before please ...
attach it to bug or email it to me directly.
Comment 14 Nuno Alexandre 2005-06-29 11:35:16 UTC
gtk-2.6.8 new ~/.mozilla dir:

~ firefox
No running windows found

(firefox-bin:14309): Gdk-WARNING **: gdk_property_get(): length value has
wrapped in calculation (did you pass G_MAXLONG?)
*** nsExtensionManager::_disableObsoleteExtensions - failure, catching
exception so finalize window can close
*** loading the extensions datasource
*** ExtensionManager:_updateManifests: no access privileges to
application directory, skipping.

(firefox-bin:14309): Gdk-WARNING **: gdk_property_get(): length value has
wrapped in calculation (did you pass G_MAXLONG?)
*** loading the extensions datasource
*** ExtensionManager:_updateManifests: no access privileges to
application directory, skipping.
Comment 15 jack_mort 2005-06-29 12:21:41 UTC
Created attachment 62255 [details]
strace firefox
Comment 16 jack_mort 2005-06-29 12:22:16 UTC
Comment on attachment 62255 [details]
strace firefox

strace firefox > firefox.log 2>&1
Comment 17 jack_mort 2005-06-29 12:23:29 UTC
I added the strace, if it can help... (I attached the wrong one the first time ^_^).
Comment 18 Jory A. Pratt 2005-06-29 13:40:43 UTC
aight one last piece of info please and I will be able to get this fixed ... I
am sure it is the new abi for gtk that is causing the problem, I need you to
chown -R sername:users .mozilla You will have to be root for this but wanna make
sure permissions are correct. Once this step is complete try firefox once more
report success or faillure once again.
Comment 19 jack_mort 2005-06-29 14:06:35 UTC
OK, I did the chown, and still no luck... But I've a doubt on the dir you wanted
me to chown : was it really .mozilla or /usr/lib/MozillaFirefox ? Because for
.mozilla, no need to be root...
Anyway, I also did the chown on /usr/lib/MozillaFirefox and couldn't launch
firefox any better...
Comment 20 Jory A. Pratt 2005-07-13 10:22:28 UTC
*** Bug 98868 has been marked as a duplicate of this bug. ***
Comment 21 Jory A. Pratt 2005-07-13 10:23:27 UTC
1.0.5 is in the tree if you would build and test it would be much appreciated.
Report back on how things go.
Comment 22 Nuno Alexandre 2005-07-13 11:38:24 UTC
no luck.
firefox-1.0.5 with gtk-2.6.8
(firefox-bin:14172): Gdk-WARNING **: gdk_property_get(): length value has
wrapped in calculation (did you pass G_MAXLONG?)



firefox-1.0.5 with gtk-2.6.7 works fine.
Comment 23 Jory A. Pratt 2005-07-13 14:17:49 UTC
could someone please try `CFLAGS="" LDFLAGS="" emerge =gtk+-2.6.8" and see if
that gets ya any further.
Comment 24 Nuno Alexandre 2005-07-13 14:52:37 UTC
tried that - same result :/
Comment 25 Lee Trager 2005-07-14 04:30:38 UTC
Im having the same problem as you guys. Right now Mozilla and Thunderbird work
fine, only Firefox crashes on me. Anyway here is my emerge info

Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6
.12-ck2-r1 x86_64)
=================================================================
System uname: 2.6.12-ck2-r1 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share
/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kd
e/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/default
s/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/
distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib aim alsa amd64 arts avi bash-completion berkdb bitmap-fonts
 bzlib cdb cdr crypt cups curl dedicated dvb dvd dvdr dvdread emul-linux-x86 enc
ode esd ethereal examples fam ffmpeg flac font-server foomaticdb fortran ftp gcj
 gdbm gif gimpprint glut gnome gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib 
ipv6 java javascript jpeg junit kde ldap lm_sensors lzw lzw-tiff mad mikmod mmap
 mng motif mozilla mp3 mpeg ncurses nls nocd nptl nvidia offensive ogg oggvorbis
 openal opengl oscar oss pam pda pdflib perl png python qt quicktime readline sd
l slang spell ssl svg tcpd theora tiff truetype-fonts type1-fonts usb userlocale
s videos vorbis xine xml xml2 xmms xpm xprint xv xvid zlib userland_GNU kernel_l
inux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 26 hvjunk 2005-07-14 09:03:05 UTC
Tried CFLAGS="" LDFLAGS="", same problem.

This isn't perhaps a 64bit problem with GTK+ 2.6.8? 
Is it *only* AMD64 that have this problem??
Comment 27 Georgi Georgiev 2005-07-14 09:06:57 UTC
(In reply to comment #26)
> Tried CFLAGS="" LDFLAGS="", same problem.
> 
> This isn't perhaps a 64bit problem with GTK+ 2.6.8? 
> Is it *only* AMD64 that have this problem??

My x86 don't exhibit that problem.
Comment 28 Georgi Georgiev 2005-07-15 01:36:39 UTC
What do you guys think of this?

mozilla/gfx/src/gtk/nsScreenGtk.cpp (line 140+)

  if (!gdk_property_get(root_window,
                        gdk_atom_intern ("_NET_WORKAREA", FALSE),
                        cardinal_atom,
                        0, G_MAXLONG, FALSE,
                        &type_returned,
                        &format_returned,
                        &length_returned,
                        (guchar **) &workareas)) {
    // This window manager doesn't support the freedesktop standard.
    // Nothing we can do about it, so assume full screen size.
    return;
  }

  // Flush the X queue to catch errors now.
  gdk_flush();

  if (!gdk_error_trap_pop() &&
      type_returned == cardinal_atom &&
      length_returned && (length_returned % 4) == 0 &&
      format_returned == 32) {
    int num_items = length_returned / sizeof(long);

    for (int i = 0; i < num_items; i += 4) {
      nsRect workarea(workareas[i],     workareas[i + 1],
                      workareas[i + 2], workareas[i + 3]);
      if (!mRect.Contains(workarea)) {
        NS_WARNING("Invalid bounds");
        continue;
      }

      mAvailRect.IntersectRect(mAvailRect, workarea);
    }
  }


The gdk_property_get causes the warning, though the warningn seems to be
cosmetic only.

Then, when running with gdb, I see:

WARNING: Invalid bounds, file nsScreenGtk.cpp, line 169

And looking at it:

(gdb) p mRect
$27 = { x = 0, y = 0, width = 1024, height = 768 }
(gdb) p workarea
$28 = { x = 0, y = 1024, width = 32, height = 33 }

Something seems very wrong here. Could it be the following cast:

(guchar **) &workareas

That's as far as gdb took me.
Comment 29 Georgi Georgiev 2005-07-15 03:59:38 UTC
OK, to put this in a new light.

$ LD_LIBRARY_PATH=/var/tmp/portage/gtk+-2.6.8/image/usr/lib64 firefox >/dev/null
No running windows found
nsNativeComponentLoader: autoregistering begins.
nsNativeComponentLoader: autoregistering succeeded
nNCL: registering deferred (0)
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsINIParser.cpp, line 51

(firefox-bin:1015914): Gdk-WARNING **: gdk_property_get(): length value has
wrapped in calculation (did you pass G_MAXLONG?)
WARNING: Invalid bounds, file nsScreenGtk.cpp, line 169
WARNING: Invalid bounds, file nsScreenGtk.cpp, line 169
WARNING: Invalid bounds, file nsScreenGtk.cpp, line 169

No such warnings with gtk+-2.6.7

Using gdb against both 2.6.7 and 2.6.8 and I see that with 2.6.7
gdk_property_get returns 0 items (length = 0), but with 2.6.8 it returns plenty.
So, asking for the NET_WORKAREA hint, and receiving an answer, does break things...

Seeing that this is possibly a problem of the windowmanager, I tried running
firefox from twm (as opposed from windowmaker until now). Guess what -- works
flawlessly.

Can anyone else confirm that running with twm solves the problem? What window
manager do you use?

What should the proper solution be? I am guessing that when firefox detects
"Invalid bounds" it could proceed as if it got no answer?
Comment 30 Georgi Georgiev 2005-07-15 05:01:31 UTC
Created attachment 63458 [details, diff]
firefox-badfreedesktop.patch

This patchety patch solved it for me. It's definitely not a proper fix, but at
least firefox is working now.
Comment 31 Lee Trager 2005-07-16 15:09:57 UTC
Patch didnt work for me.
Comment 32 jack_mort 2005-07-16 15:17:45 UTC
For me it "solved" the problem : I still have the error message but firefox starts !
Comment 33 Lee Trager 2005-07-16 15:45:53 UTC
Created attachment 63573 [details]
Ebuild with Patch for AMD64

Well this is the ebuild I made for it. If someone wants to look it over to make
sure I did it right that would be great.

Thanks
Comment 34 Georgi Georgiev 2005-07-16 16:04:05 UTC
What about your windowmanagers, people? As I mentioned earlier, I have the
problem with windowmaker but not with twm. I have nothing else installed to try
out, but it would be nice to hear other experiences.

The patch above fixed it for one and not for another. That reminds me that with
a debugging firefox I was getting three "invalid bounds" messages, but I had
four workspaces. So, it might be that if you have only one workspace you don't
hit the "break" in the patch and it doesn't work for you. Trager, could you
create one more workspace and see if firefox works? If that is the case, we can
simply remove that piece of code (sed -i -e '159,+16 d'
${S}/gfx/src/gtk/nsScreenGtk.cpp) until the proper fix is found.
Comment 35 Jory A. Pratt 2005-07-16 16:21:18 UTC
As mcuh as we would like to get this resolved as fast as possible it seems we
have hit a wall. A patch that works for some and does not for others hmm... If
someone would take the time and test on firefox gnome and kde and report back it
would help speed the proccess along ... Sorry I can not test this myself I do
not have an amd64 setup.
Comment 36 Lee Trager 2005-07-16 19:02:55 UTC
Georgiev, I have 4 workspaces and im using fluxbox, I dont have anyother wm
installed.
Comment 37 jack_mort 2005-07-17 00:40:32 UTC
I'm using Fvwm with 4 worksapces, and the patch worked (I also applied it to
thunderbird as it was also affected).
Comment 38 Richard Freeman gentoo-dev 2005-07-17 12:18:19 UTC
FYI - I successfully emerged gtk+-2.6.8 (as it exists in portage right now) and
firefox-bin works fine.  So does thunderbird (non-bin).  This is on a
mostly-stable amd64, with the following emerge info:

Gentoo Base System version 1.6.12
Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0,
2.6.12-gentoo-r4-rf30 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r4-rf30 x86_64 AMD Athlon(tm) 64 Processor 3000+
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -Os -pipe -fomit-frame-pointer -frename-registers -fweb
-fstack-protector"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /home /opt/zetagrid /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind /var/freenet /var/qmail/control /var/www"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CTARGET="x86_64-pc-linux-gnu"
CXXFLAGS="-march=k8 -Os -pipe -fomit-frame-pointer -frename-registers -fweb
-fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks nostrip sandbox sfperms strict
userpriv usersandbox"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo
http://gentoo.mirrors.pair.com/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/var/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 4kstacks X aac aalib aim alsa apache2 arts avi bash-completion berkdb
bitmap-fonts bonobo canna cdparanoia cdr crypt css cups curl dba dts dv dvd
encode esd ethereal fam fbcon flac foomaticdb fortran freetype gd gdbm gif
gimpprint glut gmail gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile iconv
imagemagick imap imlib innodb ipv6 jack java jpeg junit kde kerberos ldap libwww
lm_sensors lzw lzw-tiff mad maildir memlimit mikmod motif mozilla mozsvg mp3
mpeg mpeg4 mplayer msn mysql ncurses nls nptl ntlm oav ogg oggvorbis opengl pam
pda pdflib perl php png python qt quicktime readline ruby samba sasl sdl session
slang smime speex spell ssl svg tcltk tcpd tetex theora tiff timidity
truetype-fonts type1-fonts usb userlocales vorbis wmf xine xml xml2 xmms xpm xv
xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, LANG, LC_ALL, LDFLAGS, LINGUAS

Comment 39 Georgi Georgiev 2005-07-17 21:44:50 UTC
(In reply to comment #38)
> FYI - I successfully emerged gtk+-2.6.8 (as it exists in portage right now) and
> firefox-bin works fine.

firefox-bin is understandable -- it uses the binary gtk libraries after all, so
it is not affected by the gtk upgrade.

>  So does thunderbird (non-bin).

That's a good point.

>  This is on a
> mostly-stable amd64, with the following emerge info:
> 
<skip>

> CONFIG_PROTECT="/etc /home /opt/zetagrid /usr/kde/2/share/config
> /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
> /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config
> /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb

<skip>

Are we to assume that you're running kde? So, the count is:

kde (Freeman?), twm (me) -- not affected at all
windowmaker (me), fvwm (Mort) -- affected, but fixable
fluxbox (Trager): affected, not fixable?

Oh, hell, my box is idle all day so I can as well install a few more windowmanagers.
Comment 40 Georgi Georgiev 2005-07-19 05:54:04 UTC
OK, I did some more testing and here are the results:

                patched         unpatched
fvwm            OK              HANG
kwin            OK              OK
metacity        OK              OK
twm             OK              OK
wmaker (1 WS)   OK              OK
wmaker (2,4 WS) OK              HANG
xfwm4           OK              OK

To summarize: for me, the original unpatched firefox failed only with fvwm and
windowmaker with more than one workspace. With all other windowmanagers it
worked just fine.
Comment 41 Lee Trager 2005-07-31 10:31:53 UTC
I just look at firefox on my x86 machine and it does get the warning but does
not crash. Im on fluxbox and firefox still dosnt not work, does anyone see a fix
for this?
Comment 42 Jory A. Pratt 2005-07-31 10:47:18 UTC
Lee are you using the latest stable version of firefox or still on 1.0.4?
Comment 43 jack_mort 2005-07-31 12:20:38 UTC
It seems fvwm 2.5.13 or firefox-1.0.6 solved the problem for me, as I don't have
to apply the patch anymore.
Comment 44 Lee Trager 2005-07-31 20:26:34 UTC
I have the following versions
mozilla-firefox-1.0.6-r3
gtk+ 2.6.8
fluxbox 0.9.13-r1

Here is my emerge info incase you need something from there
Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6
.12-ck4 x86_64)
=================================================================
System uname: 2.6.12-ck4 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share
/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kd
e/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defau
lts/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/
distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib aim alsa amd64 arts avi bash-completion berkdb bitmap-fonts
 bzlib cdb cdr crypt cups curl dedicated dvb dvd dvdr dvdread emul-linux-x86 enc
ode esd ethereal examples fam ffmpeg flac font-server foomaticdb fortran ftp gcj
 gdbm gif gimpprint glut gnome gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib 
ipv6 java javascript jpeg junit kde ldap lm_sensors lzw lzw-tiff mad mikmod mmap
 mng motif mozilla mp3 mpeg ncurses nls nocd nptl nvidia offensive ogg oggvorbis
 openal opengl oscar oss pam pda pdflib perl png python qt quicktime readline sd
l slang spell ssl svg tcpd theora tiff truetype-fonts type1-fonts usb userlocale
s videos vorbis xine xml xml2 xmms xpm xprint xv xvid zlib userland_GNU kernel_l
inux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 45 Adomas Jackevicius 2005-09-27 13:18:01 UTC
This problem is very serious. It should be nr.1 in your list. 
  
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1, 2.6.13-gentoo  
i686)  
=================================================================  
System uname: 2.6.13-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.80GHz  
Gentoo Base System version 1.6.12  
dev-lang/python:     2.3.5, 2.4.1-r1  
sys-apps/sandbox:    1.2.11  
sys-devel/autoconf:  2.13, 2.59-r6  
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5  
sys-devel/binutils:  2.15.92.0.2-r10  
sys-devel/libtool:   1.5.18-r1  
virtual/os-headers:  2.6.11-r2  
ACCEPT_KEYWORDS="x86"  
AUTOCLEAN="yes"  
CBUILD="i686-pc-linux-gnu"  
CFLAGS="-O2 -march=pentium4"  
CHOST="i686-pc-linux-gnu"  
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"  
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"  
CXXFLAGS="-O2 -march=pentium4"  
DISTDIR="/usr/portage/distfiles"  
FEATURES="autoconfig distlocks sandbox sfperms strict"  
GENTOO_MIRRORS="http://distfiles.gentoo.org  
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"  
PKGDIR="/usr/portage/packages"  
PORTAGE_TMPDIR="/var/tmp"  
PORTDIR="/usr/portage"  
SYNC="rsync://rsync.gentoo.org/gentoo-portage"  
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl eds emboss  
encode fam foomaticdb fortran gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2  
imagemagick imlib ipv6 jpeg kad kde ldap libg++ libwww mad mikmod motif mp3  
mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt  
quicktime readline sdl spell sqlite ssl stats tcltk tcpd tiff truetype truetype-fonts  
type1-fonts unicode vorbis xine xml2 xmms xv zlib userland_GNU kernel_linux  
elibc_glibc"  
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS,  
PORTDIR_OVERLAY  
  
Comment 46 Martin Schlemmer (RETIRED) gentoo-dev 2005-09-27 14:06:37 UTC
Update to mozilla-1.7.12-r1 or firefox-1.0.7-r1.
Comment 47 Martin Schlemmer (RETIRED) gentoo-dev 2005-09-27 14:15:14 UTC
Err, I might have misread the version numbers :]  Anyhow, try with mentioned
versions.
Comment 48 George L. Emigh 2005-09-27 16:22:22 UTC
I am using AMD64, firefox-1.0.7-r1 segmentation falted as described in this 
bug report. 
 
This patch eliminated the error message: 
 
--- gfx/src/gtk/nsScreenGtk.cpp.orig    2005-09-27 17:11:42.000000000 -0400  
 +++ gfx/src/gtk/nsScreenGtk.cpp 2005-09-27 17:11:58.000000000 -0400  
 @@ -143,7 +143,7 @@  
    if (!gdk_property_get(root_window,  
                          gdk_atom_intern ("_NET_WORKAREA", FALSE),  
                          cardinal_atom,  
 -                        0, G_MAXLONG, FALSE,  
 +                        0, G_MAXLONG -3, FALSE,  
                          &type_returned,  
                          &format_returned,  
                          &length_returned, 
 
 
Firefox still segmentation falted with a different number, no error 
description, adding   filter-flags -fstack-protector  to the ebuild fixed 
that. 
 
See http://forums.gentoo.org/viewtopic-p-2758153.html#2758153 for more 
details. 
 
George 
 
Comment 49 Martin Schlemmer (RETIRED) gentoo-dev 2005-09-28 03:29:15 UTC
Added the patch to -r2 of firefox-1.0.7 and mozilla-1.7.12.

PS, do you have hardened profile to need the 'filter-flags -fstack-protector' ?
Comment 50 solar (RETIRED) gentoo-dev 2005-09-28 05:38:42 UTC
(In reply to comment #48)
> I am using AMD64, firefox-1.0.7-r1 segmentation falted as described in this 
> bug report. 

What gcc revision? 'emerge info' please

> See http://forums.gentoo.org/viewtopic-p-2758153.html#2758153 for more 

Comment 51 George L. Emigh 2005-09-28 14:06:08 UTC
mozilla-firefox-1.0.7-r2 fixed the problem as described in this bug report, 
however I still had to add: 
 filter-flags -fstack-protector 
 
to eliminate the other segmentation falt. 
 
emerge info 
============= 
Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 
2.6.13-gentoo-r2 x86_64) 
================================================================= 
System uname: 2.6.13-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+ 
Gentoo Base System version 1.6.13 
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
dev-lang/python:     2.3.5-r2 
sys-apps/sandbox:    1.2.12 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.18-r1 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-march=athlon64 -O2 -pipe -frename-registers -fweb -ffast-math 
-mfpmath=sse -ftracer -funroll-loops -fstack-protector " 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon64 -O2 -pipe -frename-registers -fweb -ffast-math 
-mfpmath=sse -ftracer -funroll-loops -fstack-protector " 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo 
http://open-systems.ufl.edu/mirrors/gentoo ftp://gentoo.mirrors.pair.com/" 
LDFLAGS="-Wl,-O1" 
MAKEOPTS="-j1" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="amd64 X aalib alsa arts avi berkdb bitmap-fonts cdr crypt cups curl dvd 
eds emboss encode esd fam ffmpeg flac font-server foomaticdb fortran gd gdbm 
gif gpm gstreamer gtk gtk2 imagemagick imlib java jpeg kde lm_sensors lzw 
lzw-tiff mikmod motif mozilla moznomail mp3 mpeg mysql ncurses nls nptl 
nptlonly ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime 
readline samba sdl spell ssl subversion tcpd tiff truetype truetype-fonts 
type1-fonts usb userlocales vorbis wmf xine xml2 xmms xpm xv zlib userland_GNU 
kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS 
 
George 
Comment 52 Martin Ehmsen (RETIRED) gentoo-dev 2005-09-28 23:49:54 UTC
I'm stille having the problem with -r2 even though I dont see the Gdk warning
any more.
I'm using openbox as my windowmanager and I'm on AMD64
Comment 53 Martin Schlemmer (RETIRED) gentoo-dev 2005-09-29 20:38:04 UTC
(In reply to comment #52)
> I'm stille having the problem with -r2 even though I dont see the Gdk warning
> any more.
> I'm using openbox as my windowmanager and I'm on AMD64

Have you tried the fix from comment #52 ??
Comment 54 Martin Ehmsen (RETIRED) gentoo-dev 2005-09-29 23:56:03 UTC
> Have you tried the fix from comment #52 ??

???
Comment 55 Martin Schlemmer (RETIRED) gentoo-dev 2005-09-30 01:12:53 UTC
(In reply to comment #51)
> mozilla-firefox-1.0.7-r2 fixed the problem as described in this bug report, 
> however I still had to add: 
>  filter-flags -fstack-protector 

So, add:

-----
filter-flags -fstack-protector
-----

to the top of the ebuild, remerge and see if that changes anything.
Comment 56 Martin Schlemmer (RETIRED) gentoo-dev 2005-09-30 01:26:49 UTC
(In reply to comment #55)
> (In reply to comment #51)
> > mozilla-firefox-1.0.7-r2 fixed the problem as described in this bug report, 
> > however I still had to add: 
> >  filter-flags -fstack-protector 
> 
> So, add:
> 
> -----
> filter-flags -fstack-protector
> -----
> 
> to the top of the ebuild, remerge and see if that changes anything.

Err, after the 'inherit' line that is ...
Comment 57 George L. Emigh 2005-09-30 14:11:28 UTC
I copied /usr/portage/www-client/mozilla-firefox to 
 /usr/local/portage/www-client/mozilla-firefox 
 
edited mozilla-firefox-1.0.7-r2.ebuild 
I added mine like so above the Configure and build:  
  
        # remove -fstack-protector because now it borks firefox 
        filter-flags -fstack-protector  
  
        ####################################  
        #  
        #  Configure and build  
        #  
        ####################################  
 
 
George 
Comment 58 Martin Schlemmer (RETIRED) gentoo-dev 2005-10-02 05:52:40 UTC
*** Bug 107662 has been marked as a duplicate of this bug. ***
Comment 59 Richard Freeman gentoo-dev 2005-10-02 06:02:48 UTC
Filtering -fstack-protector fixes this problem for me as well.

Of course, this really isn't the greatest solution - I can think of few apps for
which stack-protection is more important than a web-browser!
Comment 60 Martin Schlemmer (RETIRED) gentoo-dev 2005-10-02 08:05:49 UTC
Please try -r3.
Comment 61 Richard Freeman gentoo-dev 2005-10-02 09:06:40 UTC
It looks like -r3 still removes -fstack-protector.  That may eliminate the
segfault, but obviously not the source of the problem.  Perhaps a bug should be
filed upstream if that is where the problem lies?
Comment 62 Martin Ehmsen (RETIRED) gentoo-dev 2005-10-03 09:02:13 UTC
I found a solution to my problem... Firefox was not the source of the trouble,
but it was openbox.

According to the freedesktop specs the _NET_WORKAREA property has the following
signature:
_NET_WORKAREA, x, y, width, height CARDINAL[][4]/32

So one could be misleaded to think that one should give the _NET_WORKAREA_ to an
unsigned 32-bit integer value :-)

But according to the xlib manual, the man-page for XChangePropert has the
following to say about that:
"If the specified format is 8, the property data must be a char array. If the
specified format is 16, the property data must be a short array. If the
specified format is 32, the property data must be a long array."

This means that when setting the _NET_WORKAREA one should use an array of longs,
 and specify the format as 32.
This can (and do in openbox case) cause confusion, since a long on an amd64 box
is 64 bits :-)

I have created a small patch against the latest openbox code... Should I attach
it here or open a new bug-report and attach it there?
(In either case i'm going to mail upstream to let them know about the bug,
should it could be fixed in later versions of openbox).
Comment 63 Martin Schlemmer (RETIRED) gentoo-dev 2005-10-03 09:27:16 UTC
I think do a new bug.
Comment 64 hvjunk 2005-10-04 06:44:44 UTC
(In reply to comment #62)
> I found a solution to my problem... Firefox was not the source of the trouble,
> but it was openbox.
> 

> This can (and do in openbox case) cause confusion, since a long on an amd64 box
> is 64 bits :-)
> 
> I have created a small patch against the latest openbox code... Should I attach
> it here or open a new bug-report and attach it there?
> (In either case i'm going to mail upstream to let them know about the bug,
> should it could be fixed in later versions of openbox).

This should also be logged for:

------- Additional Comment #39 From Georgi Georgiev 2005-07-17 21:44 PDT [reply]
-------
windowmaker (me), fvwm (Mort) -- affected, but fixable
fluxbox (Trager): affected, not fixable?

------- Additional Comment #40 From Georgi Georgiev 2005-07-19 05:54 PDT [reply]
-------
                patched         unpatched
fvwm            OK              HANG
wmaker (2,4 WS) OK              HANG
Comment 65 jack_mort 2005-10-04 11:29:32 UTC
In fact, it works now for Fvwm (see my comment #43).
Comment 66 fred nijdam 2005-10-08 07:14:42 UTC
The same for nvu (always ran fine)

(nvu-bin:5864): Gdk-WARNING **: gdk_property_get(): length value has wrapped in
calculation (did you pass G_MAXLONG?)
/usr/lib/nvu/run-mozilla.sh: line 159:  5864 Segmentation fault      "$prog"
${1+"$@"}
Comment 67 fred nijdam 2005-10-08 07:18:54 UTC
The same for nvu (always ran fine)

(nvu-bin:5864): Gdk-WARNING **: gdk_property_get(): length value has wrapped in
calculation (did you pass G_MAXLONG?)
/usr/lib/nvu/run-mozilla.sh: line 159:  5864 Segmentation fault      "$prog"
${1+"$@"}

gtk+ 2.6.8
Comment 68 Xake 2006-08-31 19:32:42 UTC
Still a problem?
Comment 69 Gilles Dartiguelongue (RETIRED) gentoo-dev 2006-09-04 03:22:44 UTC
@reporter, what's the status here ?
Comment 70 hvjunk 2006-09-04 03:55:25 UTC
Ancient versions of both gtk & moz-firefox ;^P

Not a problem anymore for me.
Comment 71 Pacho Ramos gentoo-dev 2006-10-12 09:11:54 UTC
Have you tried with newer firefox and gtk versions. Is this bug still valid today?

Thanks a lot :-)
Comment 72 hvjunk 2006-10-12 09:34:04 UTC
(In reply to comment #71)
> Have you tried with newer firefox and gtk versions. Is this bug still valid
> today?
> 
> Thanks a lot :-)
> 

Refer to my commetn #70 as it's not valid anymore :)
Comment 73 Pacho Ramos gentoo-dev 2006-10-12 11:42:05 UTC
Then, Can be this bug closed?

Thanks
Comment 74 Bryan Østergaard (RETIRED) gentoo-dev 2006-10-12 13:05:44 UTC
Fixed according to comment #70.
Comment 75 Nuno Alexandre 2006-10-12 13:13:06 UTC
ok, thanks.