firefox crash

William A. Mahaffey III wam at
Tue Sep 20 12:28:24 UTC 2016

On 09/19/16 22:42, Polytropon wrote:
> On Mon, 19 Sep 2016 22:11:32 -0453.75, William A. Mahaffey III wrote:
>> On 09/19/16 10:31, Ralf Mardorf via freebsd-questions wrote:
>>> On Mon, 19 Sep 2016 08:39:49 -0453.75, William A. Mahaffey III wrote:
>>>> Any other info needed
>>> Is there any output if you launch Firefox by
>>>     firefox --safe-mode
>>> when it crashes?
>>> Regards,
>>> Ralf
>>> _______________________________________________
>>> freebsd-questions at mailing list
>>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"
>> [wam at kabini1, ~, 8:37:39am] 311 % firefox --safe-mode
>> (firefox:27824): Gdk-WARNING **: The program 'firefox' received an X
>> Window System error.
>> This probably reflects a bug in the program.
>> The error was 'BadAccess (attempt to access private resource denied)'.
>>     (Details: serial 386 error_code 10 request_code 130 (MIT-SHM)
>> minor_code 1)
>>     (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 GDK_SYNCHRONIZE environment
>>      variable to change this behavior. You can then get a meaningful
>>      backtrace from your debugger if you break on the gdk_x_error()
>> function.)
> Just a W.A.G. because I read it somewhere in relation to SHM
> (shared memory) issues with Firefox... Do you have
> 	kern.ipc.shm_allow_removed=1
> set in your /etc/sysctl.conf file?

I decided to just punt on FF 49, so I 'pkg delete'ed it & tried to 
install FF 47 from cache:

[root at kabini1, /etc, 8:33:22am] 364 % pkg delete -y firefox-49.0_3,1
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 
packages in the universe):

Installed packages to be REMOVED:

Number of packages to be removed: 1

The operation will free 105 MiB.
[1/1] Deinstalling firefox-49.0_3,1...
rmdir: /usr/local/lib/firefox: Directory not empty
[1/1] Deleting files for firefox-49.0_3,1: 100%
You have new mail.
[root at kabini1, /etc, 7:14:02am] 365 % pkg install -y firefox-47.0.1_2,1
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
pkg: No packages available to install matching 'firefox-47.0.1_2,1' have 
been found in the repositories
[root at kabini1, /etc, 7:14:26am] 366 % ^install^add^
pkg add -y firefox-47.0.1_2,1
pkg: illegal option -- y
Usage: pkg add [-IAfqM] <pkg-name> ...
        pkg add [-IAfqM] <protocol>://<path>/<pkg-name> ...

For more information see 'pkg help add'.
[root at kabini1, /etc, 7:16:07am] 367 % pkg add  firefox-47.0.1_2,1
pkg: firefox-47.0.1_2,1: No such file or directory
pkg: Was 'pkg install firefox-47.0.1_2,1' meant?

Failed to install the following 1 package(s): firefox-47.0.1_2,1
[root at kabini1, /etc, 7:16:18am] 368 %

There are several FF packages in cache:

[wam at kabini1, ~, 10:20:18pm] 316 % lf /var/cache/pkg/*irefox*
[wam at kabini1, ~, 10:20:28pm] 317 %

How do I get pkg to install FF 47 from cache ? Remember, FreeBSD 9.3R. 
TIA & have a good one.


	William A. Mahaffey III


	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                            -- Gen. George S. Patton Jr.

More information about the freebsd-questions mailing list