[Bug 178274] Re: [hardy] firefox breaks on some pages with an X error

2008-03-27 Thread Tawsi
I think this may be a duplicate of

https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/205599

gecko based browsers were dying on me on this gif 
http://live.xbox.com/xweb/lib/images/MyXboxSkinImageSheet.gif
on both 32-bit and 64-bit versions of Hardy, including the live cds.

On downloading the image and trying to open it in xpaint I got the same
error, it turned out to be related to the xorg exa code that stops
pixmaps of width larger than 8188 being allocated, which gecko seems to
do for non-simple images of these dimensions. One way to test if it is
that is to try and use XAA instead by putting

option AccelMethod XAA

in the video driver section of xorg.conf

Not all cards seem to be using exa which may be why only some people
experience it. I attached a patch to the other bug based on a discussion
on the xorg mailing list which fixed all my problems but have no idea if
that's the best approach.

-- 
[hardy] firefox breaks on some pages with an X error
https://bugs.launchpad.net/bugs/178274
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 205599] Re: [Hardy] exa limits pixmap width to 8188

2008-03-27 Thread Tawsi
This commit to the freedesktop tree fixes the problem

http://cgit.freedesktop.org/xorg/xserver/commit/?id=bc2d516f16d94c805b4dfa8e5b9eef40ff0cbe98

-- 
[Hardy] exa limits pixmap width to 8188
https://bugs.launchpad.net/bugs/205599
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 205599] Re: Firefox crashes on Xbox.com's Friends List

2008-03-26 Thread Tawsi
Yeah it seems to be something to do with EXA as the problem goes away when I 
switch to using XAA with
option AccelMethod XAA
in the device section of xorg.conf

I'm using the intel graphics driver  
xserver-xorg-video-intel

-- 
Firefox crashes on Xbox.com's Friends List
https://bugs.launchpad.net/bugs/205599
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 205599] Re: Firefox crashes on Xbox.com's Friends List

2008-03-26 Thread Tawsi
I ran the whole xserver through gdb and its same problem as mentioned in
this post on the xorg list

http://lists.freedesktop.org/archives/xorg/2007-June/025579.html

I've attached a patch that implements the same change as suggested in
the post, which fixes all the issues I've mentioned. Don't know if this
is the best way to do it since I've never looked at the code before and
it does seem to be a superfluous check if the aim is to limit the
maximum size of the pixmap.


** Attachment added: exa_change.diff
   http://launchpadlibrarian.net/12911739/exa_change.diff

-- 
Firefox crashes on Xbox.com's Friends List
https://bugs.launchpad.net/bugs/205599
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 205599] Re: [Hardy] exa limits pixmap width to 8188

2008-03-26 Thread Tawsi
** Summary changed:

- Firefox crashes on Xbox.com's Friends List
+ [Hardy] exa limits pixmap width to 8188

-- 
[Hardy] exa limits pixmap width to 8188
https://bugs.launchpad.net/bugs/205599
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 205599] Re: Firefox crashes on Xbox.com's Friends List

2008-03-25 Thread Tawsi
I have this problem too with the 64-bit version of Hardy.

It doesn't seem to be specifically related to Firefox 3. It also happens
in Epiphany but not Konqueror.

It still happens if I run Firefox 2 on a remote machine, running gutsy,
and use X11 forwarding over ssh.

It doesn't happen if I run firefox3 on hardy 64-bit with X11 forwarding
to display it on OS X.

-- 
Firefox crashes on Xbox.com's Friends List
https://bugs.launchpad.net/bugs/205599
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 205599] Re: Firefox crashes on Xbox.com's Friends List

2008-03-25 Thread Tawsi
I went through a backtrace and the problem seems to be to do with
decoding gifs, which I think was the same problem as people had with
howtoforge

The offending gif is

http://live.xbox.com/xweb/lib/images/MyXboxSkinImageSheet.gif

It's got a size of 1x30

-- 
Firefox crashes on Xbox.com's Friends List
https://bugs.launchpad.net/bugs/205599
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 205599] Re: Firefox crashes on Xbox.com's Friends List

2008-03-25 Thread Tawsi
It seems it crashes with any 1x30 image I make as long as its not a
pure colour, although flipping single pixels seems to mean it wont crash
until you zoom in, I guess it's smart enough not to store them as a
1x30 image if it's all one colour.

-- 
Firefox crashes on Xbox.com's Friends List
https://bugs.launchpad.net/bugs/205599
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 205599] Re: Firefox crashes on Xbox.com's Friends List

2008-03-25 Thread Tawsi
Seems Evince will crash in a similar manner if you zoom the image to
100%

-- 
Firefox crashes on Xbox.com's Friends List
https://bugs.launchpad.net/bugs/205599
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 205599] Re: Firefox crashes on Xbox.com's Friends List

2008-03-25 Thread Tawsi
It also happens with stuff like xloadimage, and xpaint

xpaint vanishes on my desktop but is quite happy to load the image when 
forwarded to my mac
xloadimage seems to avoid crashing but doesn't display the image, it does have 
an _XError if I set it as a breakpoint. Again it's quite happy to work if I 
forward it to X11 on OS X.

-- 
Firefox crashes on Xbox.com's Friends List
https://bugs.launchpad.net/bugs/205599
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 205599] Re: Firefox crashes on Xbox.com's Friends List

2008-03-25 Thread Tawsi
I can recreate the problem using a simple C file that uses
Xcreatepixmap. It works fine up to 8188x1 and then dies at 8189x1 for
24bits.

-- 
Firefox crashes on Xbox.com's Friends List
https://bugs.launchpad.net/bugs/205599
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs