Bug 530236 - Foxyproxy add-on causes firefox to segfault
Summary: Foxyproxy add-on causes firefox to segfault
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 12
Hardware: x86_64
OS: Linux
low
high
Target Milestone: ---
Assignee: Martin Stransky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-21 23:21 UTC by Damien Covey
Modified: 2018-04-11 09:47 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-11-19 11:31:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Fireforx GDB session (24.73 KB, text/plain)
2009-10-27 00:35 UTC, Damien Covey
no flags Details
Updated GDB session results (25.56 KB, text/plain)
2009-10-27 00:38 UTC, Damien Covey
no flags Details

Description Damien Covey 2009-10-21 23:21:16 UTC
Description of problem:
After installing *and enabling* the foxyproxy add-on firefox segfaults

Version-Release number of selected component (if applicable):
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20090911 Fedora/3.5.3-1.fc12 Firefox/3.5.3

How reproducible:
Install foxyproxy from http://foxyproxy.mozdev.org/ then enable it.

Steps to Reproduce:
1. Install foxy proxy
2. Enable foxy proxy
3. Watch segfault
  
Actual results:
Segfault

Expected results:
Add-on enabled and functioning

Additional info:
Also reported here http://foxyproxy.mozdev.org/drupal/content/foxyproxy-f12s-alpha-firefox-makes-it-segfault

Comment 1 Matěj Cepl 2009-10-22 16:25:40 UTC
Thanks for the bug report.  We have reviewed the information you have provided above, and there is some additional information we require that will be helpful in our diagnosis of this issue.

First of all, could we get output of the command

	rpm -qa *xulrun* *firefox* *mozilla* *flash* *plugin*

Please also install firefox-debuginfo (debuginfo-install is from
yum-utils package).

	debuginfo-install firefox

Then run firefox with a parameter -g. That will start firefox running inside of gdb debugger. Then use command run and do whatever you did to make firefox crash. When it happens, you should go back to the gdb and run

	(gdb) thread apply all backtrace

This produces usually many screens of the text. Copy all of them into a text editor and attach the file to the bug as an uncompressed attachment.

We will review this issue again once you've had a chance to attach this information.

Thanks in advance.

Comment 2 Damien Covey 2009-10-26 23:17:42 UTC
[root@w0205074 ~]# rpm -qa *xulrun* *firefox* *mozilla* *flash* *plugin*
PackageKit-gstreamer-plugin-0.5.3-1.fc12.x86_64
totem-mozplugin-2.28.1-3.fc12.x86_64
abrt-plugin-kerneloopsreporter-0.0.10-1.fc12.x86_64
alsa-plugins-pulseaudio-1.0.21-2.fc12.x86_64
gstreamer-plugins-flumpegdemux-0.10.15-7.fc12.x86_64
gstreamer-plugins-base-0.10.25-2.fc12.x86_64
xulrunner-devel-1.9.1.3-1.fc12.x86_64
xulrunner-1.9.1.3-1.fc12.x86_64
mozilla-filesystem-1.9-5.fc12.x86_64
plymouth-plugin-label-0.8.0-0.2009.29.09.11.fc12.x86_64
nspluginwrapper-1.3.0-8.fc12.x86_64
gstreamer-plugins-good-0.10.16-2.fc12.x86_64
firefox-3.5.3-1.fc12.x86_64
gdm-plugin-fingerprint-2.28.0-9.fc12.x86_64
plymouth-plugin-two-step-0.8.0-0.2009.29.09.11.fc12.x86_64
anaconda-yum-plugins-1.0-5.fc12.noarch
PackageKit-yum-plugin-0.5.3-1.fc12.x86_64
java-1.6.0-openjdk-plugin-1.6.0.0-31.b16.fc12.x86_64
setroubleshoot-plugins-2.1.28-1.fc12.noarch
flash-plugin-10.0.32.18-release.i386

Results of gdb backtrace to come.

Comment 3 Damien Covey 2009-10-27 00:35:19 UTC
Created attachment 366185 [details]
Fireforx GDB session

Comment 4 Damien Covey 2009-10-27 00:37:14 UTC
Further gdb session information, continues from above attachement

(gdb) continue
Continuing.
[Thread 0x7fffec2ff710 (LWP 6060) exited]

Program received signal SIGSEGV, Segmentation fault.
0x00000031bd00f1eb in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42
42				 sig);
Current language:  auto
The current source language is "auto; currently c".
(gdb) continue
Continuing.
[Thread 0x7fffe99fe710 (LWP 6073) exited]
[Thread 0x7fffecfff710 (LWP 6065) exited]
[Thread 0x7fffe41ff710 (LWP 6076) exited]
[Thread 0x7fffe51c4710 (LWP 6068) exited]
[Thread 0x7fffe02ff710 (LWP 6077) exited]
[Thread 0x7fffea3ff710 (LWP 6067) exited]
[Thread 0x7fffeebff710 (LWP 6058) exited]
[Thread 0x7fffefae4710 (LWP 6057) exited]
[Thread 0x7ffff06ef710 (LWP 6056) exited]
[Thread 0x7fffeb4ff710 (LWP 6066) exited]

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.

Comment 5 Damien Covey 2009-10-27 00:38:07 UTC
Created attachment 366186 [details]
Updated GDB session results

Comment 6 Damien Covey 2009-10-27 00:41:15 UTC
Further information

[u329557@w0205074 ~]$ firefox 
FoxyProxy settingsDir: /home/u329557/.mozilla/firefox/8g4vuhzx.default/foxyproxy.xml
FoxyProxy: Preventing cyclical PAC error; using no proxy to load PAC file.
FoxyProxy: getProxyForURI(), TypeError: this.sandbox is null 

("http://mddomp1403/proxy/sml-zone4.pac","mddomp1403")@file:///home/u329557/.mozilla/firefox/8g4vuhzx.default/extensions/foxyproxy.jung/components/foxyproxy.js -> file:///home/u329557/.mozilla/firefox/8g4vuhzx.default/extensions/foxyproxy.jung/components/autoconf.js:245
("http://mddomp1403/proxy/sml-zone4.pac","mddomp1403",[object Object])@file:///home/u329557/.mozilla/firefox/8g4vuhzx.default/extensions/foxyproxy.jung/components/foxyproxy.js -> file:///home/u329557/.mozilla/firefox/8g4vuhzx.default/extensions/foxyproxy.jung/components/proxy.js:243
("http://mddomp1403/proxy/sml-zone4.pac","mddomp1403",[object Object])@file:///home/u329557/.mozilla/firefox/8g4vuhzx.default/extensions/foxyproxy.jung/components/foxyproxy.js -> file:///home/u329557/.mozilla/firefox/8g4vuhzx.default/extensions/foxyproxy.jung/components/proxy.js:296
([object XPCWrappedNative_NoHelper],[object XPCWrappedNative_NoHelper],null)@file:///home/u329557/.mozilla/firefox/8g4vuhzx.default/extensions/foxyproxy.jung/components/foxyproxy.js:335

applyFilter: TypeError: this.sandbox is null
("http://mddomp1403/proxy/sml-zone4.pac","mddomp1403")@file:///home/u329557/.mozilla/firefox/8g4vuhzx.default/extensions/foxyproxy.jung/components/foxyproxy.js -> file:///home/u329557/.mozilla/firefox/8g4vuhzx.default/extensions/foxyproxy.jung/components/autoconf.js:245
("http://mddomp1403/proxy/sml-zone4.pac","mddomp1403",[object Object])@file:///home/u329557/.mozilla/firefox/8g4vuhzx.default/extensions/foxyproxy.jung/components/foxyproxy.js -> file:///home/u329557/.mozilla/firefox/8g4vuhzx.default/extensions/foxyproxy.jung/components/proxy.js:243
("http://mddomp1403/proxy/sml-zone4.pac","mddomp1403",[object Object])@file:///home/u329557/.mozilla/firefox/8g4vuhzx.default/extensions/foxyproxy.jung/components/foxyproxy.js -> file:///home/u329557/.mozilla/firefox/8g4vuhzx.default/extensions/foxyproxy.jung/components/proxy.js:296
([object XPCWrappedNative_NoHelper],[object XPCWrappedNative_NoHelper],null)@file:///home/u329557/.mozilla/firefox/8g4vuhzx.default/extensions/foxyproxy.jung/components/foxyproxy.js:335

/usr/lib64/firefox-3.5.3/run-mozilla.sh: line 131:  6174 Segmentation fault      "$prog" ${1+"$@"}

Comment 8 Damien Covey 2009-10-28 01:30:28 UTC
I've noticed that foxyproxy/firefox works fine when *not* configured with Automatic Proxy Configuration URL (PAC file).  It only crashes when using the PAC file.

Comment 9 Bug Zapper 2009-11-16 14:01:06 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 10 Martin Stransky 2009-11-19 11:31:22 UTC
We do not ship foxy proxy extension, please report this issue directly to foxy proxy authors.


Note You need to log in before you can comment on or make changes to this bug.