View Full Version : BadImplementation crash in firefox
rohit
February 21st, 2009, 21:53
I installed www/linuxpluginwrapper and removed it after firefox started crashing with the hope that uninstalling might help. This seems to be a known problem. How can I fix it?
+ arg=--sync
+ shift
+ set -- --sync
+ expr 0 + 1
+ pass_arg_count=1
+ [ 1 -gt 1 ]
+ export MRE_HOME
+ moz_pis_startstop_scripts start
+ MOZ_PIS_API=2
+ MOZ_PIS_MOZBINDIR=/usr/local/lib/firefox
+ MOZ_PIS_SESSION_PID=3361
+ MOZ_PIS_USER_DIR=.mozilla/firefox
+ export MOZ_PIS_API MOZ_PIS_MOZBINDIR MOZ_PIS_SESSION_PID MOZ_PIS_USER_DIR
+ [ -x /usr/local/lib/firefox/init.d/S* ]
+ [ -x /home/rohit/.mozilla/firefox/init.d/S* ]
+ [ 0 = 1 ]
+ /usr/local/lib/firefox/run-mozilla.sh /usr/local/lib/firefox/firefox-bin --sync
NP_Initialize
New
SetWindow
SetWindow
NewStream
WriteReady
Write
decoding...
The program 'gecko' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadImplementation (server does not implement operation)'.
(Details: serial 34 error_code 17 request_code 148 minor_code 5)
(Note to programmers: normally, 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.)
+ exitcode=1
+ moz_pis_startstop_scripts stop
+ MOZ_PIS_API=2
+ MOZ_PIS_MOZBINDIR=/usr/local/lib/firefox
+ MOZ_PIS_SESSION_PID=3361
+ MOZ_PIS_USER_DIR=.mozilla/firefox
+ export MOZ_PIS_API MOZ_PIS_MOZBINDIR MOZ_PIS_SESSION_PID MOZ_PIS_USER_DIR
+ [ -x /usr/local/lib/firefox/init.d/K* ]
+ [ -x /home/rohit/.mozilla/firefox/init.d/K* ]
+ exit 1
ale
February 22nd, 2009, 00:37
And who told you to use www/linuxpluginwrapper?
The last trend is to use www/nspluginwrapper :)
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html#MOZ-FLASH-PLUGIN
rohit
February 22nd, 2009, 02:33
You are right, I did look at this doc and followed the same instructions, so the typo was www/nspluginwrapper, instead of www/linuxpluginwrapper
ale
February 22nd, 2009, 03:12
Ok.
Do you have the correct linux_base installed and the correct compat.linux.osrelease sysctl? Is linux module loaded?
Can you try moving ~/.mozilla to ~/.mozilla.old and run nspluginwrapper -a -v -i again?
As it seems like an xorg error more than a linux emulation or firefox, how did you setup xorg and what is your gpu?
Xorg version?
rohit
February 22nd, 2009, 04:10
I'm running:
1. freebsd-current
2. xorg+all ports from 7.1-release
3. GPU is nvidia 570M
4. Linux base used both 4 and 8
While both firefox2 for freebsd and linux kept crashing, I installed firefox3 and could watch flash movies on it. The problem with 3 is that once I try navigating away from a page, it freezes up and suddenly crashes.
After I wrote my first reply, I went back and uninstalled firefox & installed opera, which is much stable.
dchagin
February 22nd, 2009, 10:34
amd64?
rohit
February 23rd, 2009, 08:09
No, its all i386. BTW, opera crashed a few times too with npviewer.core (sp?) and so did perl...i see a few core dumps from these apps in my home dir.
ale
February 23rd, 2009, 08:50
I'm running:
1. freebsd-current
Do you really need to run current?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html#AEN30025
2. xorg+all ports from 7.1-release
3. GPU is nvidia 570MWhat driver are you using?
4. Linux base used both 4 and 8Are you telling you have both?
You should use linux_base-f8.
And again, did you set the compat.linux.osrelease sysctl to 2.6.16?
rohit
February 24th, 2009, 09:25
Do you really need to run current?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html#AEN30025
What driver are you using?
Are you telling you have both?
You should use linux_base-f8.
And again, did you set the compat.linux.osrelease sysctl to 2.6.16?
1. Yes I need to run current because my laptop has iwn card + I'm using a ppp wan wireless modem
2. I first used the latest (at the time) nvidia-180.29 driver from http://www.nvnews.net/vbulletin/showthread.php?t=127292 and now built one from ports...which is giving a totally new problem with /dev/nviddiactl not being created
3. I meant that I used both linux_base and f8 at different times to try resolving the issue. I don't think you can install them together once.
4. Yes the sysctl is set to 2.6.16
rohit
February 26th, 2009, 05:06
Build Date: 12 February 2009 01:37:52AM
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Feb 26 04:04:07 2009
(==) Using config file: "/etc/X11/xorg.conf"
NVIDIA: could not open the device file /dev/nvidiactl (No such file or directory).
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please ensure
(EE) NVIDIA(0): that there is a supported NVIDIA GPU in this system, and
(EE) NVIDIA(0): that the NVIDIA device files have been created properly.
(EE) NVIDIA(0): Please consult the NVIDIA README for details.
(EE) NVIDIA(0): *** Aborting ***
(EE) Screen(s) found, but none have a usable configuration.
Fatal server error:
no screens found
^Cgiving up.
xinit: No such file or directory (errno 2): unable to connect to X server
xinit: No such process (errno 3): unexpected signal 2.
xauth: (argv):1: bad display name "tp:0" in "remove" command
ale
February 26th, 2009, 10:26
kldstat?
hostname?
rohit
February 26th, 2009, 16:37
kldstat:
rohit@tp~ $ kldstat
Id Refs Address Size Name
1 41 0xc0400000 a7d788 kernel
2 2 0xc0e7e000 29a08 linux.ko
3 1 0xc0ea8000 3374 umodem.ko
4 1 0xc0eac000 69990 acpi.ko
5 1 0xc5688000 7000 linprocfs.ko
6 1 0xc5731000 9000 reiserfs.ko
rohit@tp~ $
Hostname is tp
ale
February 26th, 2009, 23:55
rohit@tp~ $ kldstat
Id Refs Address Size Name
1 41 0xc0400000 a7d788 kernel
2 2 0xc0e7e000 29a08 linux.ko
3 1 0xc0ea8000 3374 umodem.ko
4 1 0xc0eac000 69990 acpi.ko
5 1 0xc5688000 7000 linprocfs.ko
6 1 0xc5731000 9000 reiserfs.ko
I can't see nvidia.ko here.
What after kldloading the nvidia kernel module?
Try kldload nvidia before starting X.
If it works, echo 'nvidia_load="YES"' >> /boot/loader.conf and you will be ready on next reboots.
Pay attention at the double ">".
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.