[CRASH]Segfault when loading http://www.w3c.org/Graphics/SVG

Bug reports and enhancement requests
Post Reply
User avatar
hezzel
Posts: 5
Joined: Sun Aug 26, 2012 12:12 pm

[CRASH]Segfault when loading http://www.w3c.org/Graphics/SVG

Post by hezzel »

DESCRIPTION :
I believe the title say all ...

SYSTEM INFORMATION :
  • OS : GNU/Linux (gentoo amd64)
  • Firefox Installation
  • [list]
  • Ebuild : www-client/firefox-14.0.1
  • USE flags enabled
    • alsa
    • dbus
    • ipc (Use inter-process communication between tabs and plugins)
    • jit
    • libnotify
    • minimal ( Prevent SQK and headers from being installed )
    • system-sqlite (Use system sqlite library with secure-delte enabled)
  • USE flags disabled
    • bindist ( Disable official Firefox branding (icons, name) )
    • custom-cflags
    • custom-optimization
    • debug
    • gstreamer
    • pgo (profile guided optimization for GCC)
    • startup-notification
    • wifi
    • [/s]
  • LINGUAS : fr (Français Language Pack 14.0.1)
[/*]
[*]User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1[/*]
[*]NoScript : 2.5.2[/*][/list]

STEP TO REPRODUCE :
  1. Create a new (empty) profile
  2. Install NoScript
  3. load http://www.w3c.org/Graphics/SVG : using link from another page, direct input into navigation bar, shell command ...
RESULT :
firefox process will segfault near the end of page load

EXPECTED RESULT :
no segfault - obviously

TEMPORARY WORKAROUND :
Disable / Uninstall NoScript. Putting w3c.org in NoScript's white list doesn't help.
Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Segfault when loading http://www.w3c.org/Graphics/SVG

Post by therube »

If you disable/uninstall NoScript & manually disable JavaScript in FF, does it do the same?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20120826 Firefox/16.0 SeaMonkey/2.13a2
User avatar
hezzel
Posts: 5
Joined: Sun Aug 26, 2012 12:12 pm

Re: Segfault when loading http://www.w3c.org/Graphics/SVG

Post by hezzel »

No, it does load without any problem with or without Activate Javascript FF option
Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Segfault when loading http://www.w3c.org/Graphics/SVG

Post by therube »

OK, confirmed, I suppose.
I didn't "fault", I just vanished, just like that, gone.

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20120826 Firefox/16.0 SeaMonkey/2.13a2
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20120826 Firefox/16.0 SeaMonkey/2.13a2
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Segfault when loading http://www.w3c.org/Graphics/SVG

Post by therube »

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20120826 Firefox/16.0 SeaMonkey/2.13a2
User avatar
hezzel
Posts: 5
Joined: Sun Aug 26, 2012 12:12 pm

Re: Segfault when loading http://www.w3c.org/Graphics/SVG

Post by hezzel »

When the page is already in cache (it was previously successfully loaded), there's no more segfault.

STEP TO REPRODUCE :
  1. Disable / Uninstall NoScript or start with fresh profile
  2. load http://www.w3c.org/Graphics/SVG/
  3. Enable or Install NoScript
  4. Restart for completing installation
  5. load http://www.w3c.org/Graphics/SVG/ (no segfault)
  6. Clean FF cache
  7. Restart
  8. load http://www.w3c.org/Graphics/SVG/ (FF will segfault)
URLs that don't cause segfault :
Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Segfault when loading http://www.w3c.org/Graphics/SVG

Post by therube »

So long as it loads from cache, you're "OK".
But then if you do something like Allow w3c.org, when the page refreshes, it will crash again (so even from cache).
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20120826 Firefox/16.0 SeaMonkey/2.13a2
User avatar
hezzel
Posts: 5
Joined: Sun Aug 26, 2012 12:12 pm

Re: [CRASH]Segfault when loading http://www.w3c.org/Graphics

Post by hezzel »

This is actually the rendering of the page which cause segfault, so it only appends when FF try to "compute" what the page looks like. Allowing or disallowing www.w3c.org in NoScript's invalidate the cache because what's the page should look like has changed : the page is re-rendered.
What it's odd is that faulty part is in FF code: from therube crash report it seems to be a null pointer deref (EXCEPTION_ACCESS_VIOLATION_READ) , but problem only arises while NoScript is enabled (no addons should be allowed to trigger segfault like that IMHO).
Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1
User avatar
hezzel
Posts: 5
Joined: Sun Aug 26, 2012 12:12 pm

Re: [CRASH]Segfault when loading http://www.w3c.org/Graphics

Post by hezzel »

Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: [CRASH]Segfault when loading http://www.w3c.org/Graphics

Post by therube »

(just a bump, Aurora still affected)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/17.0 Firefox/17.0 SeaMonkey/2.14a2
Post Reply