DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 4 Weeks Ago
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,652
Default 6.9-beta Firefox browser tabs keep crashing

I installed OpenBSD 6.9-beta:
Code:
ml310e$ dmesg | head -12
OpenBSD 6.9-beta (GENERIC.MP) #403: Sun Mar 14 15:07:45 MDT 2021
    deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4242419712 (4045MB)
avail mem = 4098453504 (3908MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xf3fcb000 (84 entries)
bios0: vendor HP version "P78" date 09/01/2013
bios0: HP ProLiant ML310e Gen8 v2
acpi0 at bios0: ACPI 3.0
The first package I installed was firefox-86.0.1
I signed in to Firefox to synchronize my bookmarks etc with those on my Lenovo tablet.
That worked well, but the majoritiy of the website tabs that I open crash. Firefox does not crash, only the tabs, and reloading the tab also fails.
There is a core file:
Code:
-rw------- 1 j65nko j65nko 151713920 Mar 16 22:17 firefox.core
After some searching I found the advice to start Firefox in "safe mode". This solves the issue and now I can browse normally without any tabs crashing.

Any one has seen this? Or with older versions of OpenBSD and/or Firefox?

BTW Firefox safe mode when it is already running:
  • From the menu bar select "Help"
  • Choose "Restart With Add-ons Enabled"
From the command line: $ firefox -safe-mode &

EDIT: The tab crashes have something to do with 'pledge":
Code:
Mar 16 22:16:06 ml310e /bsd: firefox[81514]: pledge "", syscall 289
Mar 16 22:17:10 ml310e /bsd: firefox[2096]: pledge "", syscall 289
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump

Last edited by J65nko; 4 Weeks Ago at 11:26 PM. Reason: Pledge messages in /var/log/messages
Reply With Quote
  #2   (View Single Post)  
Old 4 Weeks Ago
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,358
Default

The Firefox package readme is pretty extensive:
http://cvsweb.openbsd.org/cgi-bin/cv...ype=text/plain

Did you import your profile or just bookmarks?
Reply With Quote
  #3   (View Single Post)  
Old 4 Weeks Ago
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,652
Default

I first had Linux Mint on this machine. I used Firefox Sync to copy my saved logins history etc from Mint to my Lenovo Android tablet. Then I synced the stuff from the tablet to OpenBSD Firefox.
I had no problems with accessing daemonforums, but the Yahoo mail tab, that I use to read the forum "Contact Us" crashed.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #4   (View Single Post)  
Old 4 Weeks Ago
TronDD TronDD is offline
Spam Deminer
 
Join Date: Sep 2014
Posts: 269
Default

If you run firefox from a terminal is it spitting out any errors?

https://marc.info/?l=openbsd-ports&m...5720506293&w=2
Reply With Quote
  #5   (View Single Post)  
Old 4 Weeks Ago
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,652
Default

Yes:
Quote:
ml310e$ firefox &
[1] 87315
ml310e$ Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libpci missing (t=0.780468) [GFX1-]: glxtest: libpci missing
Code:
ml310e$ ls -l /dev/drm0 
crw-------  1 j65nko  wheel   87,   0 Mar 15 23:10 /dev/drm0
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #6   (View Single Post)  
Old 4 Weeks Ago
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,652
Default

Firefox worked well in safe-mode until I had to upload the script in the http://daemonforums.org/showthread.p...1675#post70497 forum post.
The X Window screen meshed up/darkened when I was trying to select the file. And the system hang. CTRL=F1 did not work, I had to unplug the power cable to reboot the system.

I followed the Firefox pkg readme at /usr/local/share/doc/pkg-readmes/firefox and disabled both the unveil and pledge files:
Code:
#/bin/sh

DISABLE="/etc/firefox/{unveil,pledge}.{main,content,gpu}"
for THIS in $DISABLE ; do
   echo $THIS
   echo disable > $THIS
done

cat /etc/firefox/*
This made Firefox work again. Because I have some real work to do, I don't have time to try the debug the issue.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #7   (View Single Post)  
Old 3 Weeks Ago
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,652
Default

Today I tried the most recent 6.9-beta with new Firefox package. Even after creating an user profile, it crashed when I tried to add an attachment to a Gmail message. (To select the attachment, you have to browse your home directory)

The last effort, per the package Readme, starting firefox with $ dbus-launch firefox --safe-mode & still crashed.

To be fair to OpenBSD, both Firefox and Chrome sometimes hang on my Lenovo Android tablet too. But on OpenBSD not being able to attach a file to an email, makes it unusable.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #8   (View Single Post)  
Old 3 Weeks Ago
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,209
Default

Are you using the default login class? If so, switch the user to staff. The default class doesn't have enough resources to run a browser.
Reply With Quote
  #9   (View Single Post)  
Old 3 Weeks Ago
ripe's Avatar
ripe ripe is offline
Package Pilot
 
Join Date: Feb 2013
Location: France
Posts: 143
Default

Looking in MARC I found this
https://marc.info/?t=161484320700002&r=1&w=2
Plus an other topic related to firefox in 03/ or 04/2021
Maybe this also can help or not.
Reply With Quote
Old 3 Weeks Ago
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,652
Default

@jjgimi.
Code:
$ ]userinfo adriaan | grep class
class   staff
@ripe The error described in that mailing list did not happen in my case:
Code:
$ ls -l .mozilla/firefox/829lp0qp.AdriaanPrivate/storage/permanent
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
Old 3 Weeks Ago
zozo_serieux zozo_serieux is offline
New User
 
Join Date: Mar 2021
Posts: 5
Default

Hi,
did you try the firefox-esr package? I was unable to use firefox more than few minutes before a crash even in staff mode and more than few seconds each time I tried to go to my preferences. Now, firefox-esr is usable even with my default login class.
Sorry if my advice doesn't match your request.
Reply With Quote
Old 3 Weeks Ago
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,652
Default

Quote:
Originally Posted by zozo_serieux View Post
Hi,
did you try the firefox-esr package?
Thanks for the tip. I did not try the Extended Support Release yet, but I will keep it in mind
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
Old 3 Weeks Ago
zozo_serieux zozo_serieux is offline
New User
 
Join Date: Mar 2021
Posts: 5
Default

Hi, I just checked, by curiosity, my firefox version installed on my macos computer: it's an esr version (silently provided by the download page). I didn't know when I installed it.
Reply With Quote
Old 2 Weeks Ago
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,652
Default

The latest snapshot of Firefox-esr, firefox-esr-78.9.0, also crashes when I try to select a file to attach to an email.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
Old 1 Week Ago
ripe's Avatar
ripe ripe is offline
Package Pilot
 
Join Date: Feb 2013
Location: France
Posts: 143
Default

Try this:
Put the desired files you want to upload in your Download directory of Firefox-esr (example, pdf files).
Download from Internet (email box for example) a pdf in your Download directory.
You will see this file you downloaded available to be upload to Internet.
Upload it in a email for example. Send the file to Internet.
Next time all the .pdf in your Download directory will be available to download.
Reply With Quote
Old 1 Week Ago
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,652
Default

Ripe, I did something similar.

A few days ago, with a newer snapshot, I downloaded something first. After that I was able to upload/attach it to a mail message. So I was quite happy.

But today when filing my income tax, firefox-esr crashed when I tried to print the data, that the tax department, already had on me and that I needed to check for being complete.
After rebooting I still could continue with the income tax filing though ;-)
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
Old 1 Week Ago
ripe's Avatar
ripe ripe is offline
Package Pilot
 
Join Date: Feb 2013
Location: France
Posts: 143
Default

Okay.
For crash of firefox-esr I do not know how to do as with it, it crash rarely for me.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenBSD Secpimp your browser: unveil is coming to Firefox fvgit News 0 2nd October 2019 04:45 PM
Security Fake browser inside real browser - space saving UIs are not secure e1-531g News 0 20th January 2017 09:44 PM
Firefox 3.6.4 beta isolates crashing plug-ins J65nko News 0 21st April 2010 05:31 PM
Tabs or Spaces? JMJ_coder Programming 13 18th June 2008 09:48 PM
Building Mozilla Firefox 3 Beta 5 on FreeBSD vi5in FreeBSD General 6 12th May 2008 11:25 PM


All times are GMT. The time now is 07:48 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick