Ubuntu Edgy/Firefox 2/Javascript - Firefox closes accessing websites with Javascript
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I had a problem on Dapper and I didn't upgrade. I did a couple of things to narrow down my problem. I copied the .mozilla folder on my home dir to another location then renamed the .mozilla directory and launched Firefox again. I thought mine was with javascript too, but it turned out the be the Silver Skin theme. I added in each theme and extension one by one and browsed for a little bit before I narrowed it down. You may want to try that to figure out what's causing it. I'm sure there are a couple of things that could cause it. If the problem persist you may even check /var/log/messages to see if any indication of the problem is listed. The problem I had listed no errors though.
Hmm... i've had a similar problem, but it was not just sites with javascript, i've also found sites crash with firefox that have complex CSS scripts. After googling around a bit i found that it (in my case) there was a bug in the default nvidia driver that was responsible for the crashes, the solution was to download the newest nvidia drivers (you get can them from apt-get... just make sure you add the right sources) and enable them (nvidia-glx-config enable in the terminal once you have the latest nvidia drivers installed)
Yeah, I get the same thing, after I installed Firefox 2 and installed Flash Player using the Firefox plugin installer, and now when I go YouTube Firefox just dissapears. If anyone can fix this please respond, I would like to use Firefox 2, for I am going to try a previous version of Firefox (1.5).
I fixed the probably (atleast for me). What I did was edit the etc/X11/xorg.conf file:
Where is says DefaultDepth 24 - I changed that from 16, and the problem as appeared to be solved.
Note: My system is:
IBM Thinkpad T22
512Mb RAM
Kubuntu 6.10 (Edgy)
KDE version 3.5.5
Firefox 2.0 (installed using Adept Manager Manage Packages)
Shockwave Flash 7.0 r68 (Installed using Firefox plugin installer - clicked install missing plugins)
I too seems to be suffering the same fate upon upgrading firefox via apt-get. The problem started after installing the macromedia flash player and since then I've tried all suggestions from forums and go ogle. I tried to edit the /usr/bin/firefox as suggested in Ubuntu edgy wiki but i received an error that i do not understand. However i did also get a administrator login prompt and after inserting my password it opened firefox with the kubuntu page on. Anyway the error when typing kdesu /usr/bin/firefox:
X Error: BadDevice, invalid or uninitialized input device 168
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 168
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 168
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 168
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device
/bin/sh:
/usr/bin/esd: not found
The program 'Gecko' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 118 error_code 8 request_code 144 minor_code 3)
(Note to programmers: normall
y, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your
debugger if you break on the gdk_x_error() function.)
If anyone can make sense of this then post a reply.
Firefox problem solved (hopefully). Despite the error message i was receiving i did edit file /usr/bin/firefox and added the comment:export XLIB_SKIP_ARGB_VISUALS=1 . No more firefox crashes so far. Thanks to all who contributed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.