DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 24th October 2019
joancatala joancatala is offline
Port Guard
 
Join Date: Jun 2011
Posts: 34
Default Firefox crash on OpenBSD 6.6

Hi,
I use OpenBSD as a Desktop system since many years. Now, I installed from zero the OpenBSD 6.6 on a laptop (I had 6.5 last week) and everything works well but the Firefox ESR crash all the time when I go to a video website (Youtube, Twitter with some videos, etc).

I recorded a video. On the right, OpenBSD 6.5 with Firefox ESR 60 and everything works well. ON the left OpenbBSD 6.6 with Firefox ESR 68 and crash all the time (on the video is the homepage of Youtube):

https://www.youtube.com/watch?v=pkMNBBedALc

Can somebody tell me some trick?
Are you experimenting the same on 6.6?

Last edited by joancatala; 24th October 2019 at 07:52 AM.
Reply With Quote
  #2   (View Single Post)  
Old 24th October 2019
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Browser users should be running with login class "staff" to ensure they have enough resource to run the browser. The "default" class does not.


Also, review the pkg-readme. There are discussion for settings for amdgpu video cards, using HTML5 video, and graphic acceleration.
Reply With Quote
  #3   (View Single Post)  
Old 24th October 2019
joancatala joancatala is offline
Port Guard
 
Join Date: Jun 2011
Posts: 34
Default

I change nothing, and my user is on staff login class by default:

Code:
x250$ userinfo joan                                                                                                                                                                                                 
login   joan
passwd  *
uid     1000
groups  joan wheel
change  NEVER
class   staff
gecos   joan catala
dir     /home/joan
shell   /bin/ksh
expire  NEVER
x250$
Very weird my Firefox's crashes on OpenBSD 6.6
Reply With Quote
  #4   (View Single Post)  
Old 24th October 2019
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Quote:
Originally Posted by joancatala View Post
I change nothing...
Very weird my Firefox's crashes on OpenBSD 6.6
You may have made no changes since OpenBSD 6.5, but changes have occurred.

OpenBSD has had 519 significant changes between 6.5 and 6.6.

As for your browser: at OpenBSD 6.5-release, firefox-esr was 60.8.0. At OpenBSD 6.6-release, it was at 68.1.0. And there is a -stable port that was committed earlier today to bring that to 68.2.0. A -stable package will likely be available soon.

Try a different browser, or update to the -stable port/package.
Reply With Quote
  #5   (View Single Post)  
Old 24th October 2019
joancatala joancatala is offline
Port Guard
 
Join Date: Jun 2011
Posts: 34
Default "Solved" (¿?)

Now it works. I can browse Youtube or Vimeo or Twitter withouth any problem.
How?

I added a USB bluetooth receptor (this ---> https://www.amazon.es/Creative-BT-W2...gateway&sr=8-1) and If I do dmesg:

Code:
firefox-esr[60046]: pledge "tty", syscall 54
firefox-esr[60046]: pledge "stdio", syscall 74
uaudio0 at uhub0 port 2 configuration 1 interface 1 "Creative Labs Creative Bluetooth Audio W2" rev 2.00/1.00 addr 6
uaudio0: class v1, full-speed, sync, channels: 2 play, 1 rec, 0 ctls
audio1 at uaudio0
uhidev0 at uhub0 port 2 configuration 1 interface 3 "Creative Labs Creative Bluetooth Audio W2" rev 2.00/1.00 addr 6
uhidev0: iclass 3/0, 3 report ids
uhid0 at uhidev0 reportid 1: input=2, output=0, feature=0
uhid1 at uhidev0 reportid 2: input=18, output=18, feature=0
uhid2 at uhidev0 reportid 3: input=64, output=64, feature=0
So, now I can use Mozilla Firefox 68 ESR without any problem.
Reply With Quote
  #6   (View Single Post)  
Old 24th October 2019
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

I believe I may see the problem. It is not related to your added Bluetooth device. I see:
Code:
firefox-esr[60046]: pledge "tty", syscall 54
firefox-esr[60046]: pledge "stdio", syscall 74
The kernel is halting processes for violating pledge(2) restrictions. Last year, the port maintainer posted the following, in part:
Quote:
If you get an abort from pledge, collect:
- what you were doing, on which website, etc etc
- firefox stdout, to figure out the various processes/pids running
- what process was killed, for which syscall (ie in dmesg)
- have a look at ~/firefox.core via egdb, try to get a meaningful trace of the
codepath that triggered the pledge. There might be dragons/hidden signal
handlers.
- try to reproduce the crash inside ktrace/kdump (ie start ffx via 'ktrace -di
-t cp -- firefox', thx kn@)
- the codebase is huge, but try to figure out where that codepath is.
https://dxr.mozilla.org/mozilla-release/source/ is here for that
Source: https://marc.info/?l=openbsd-ports&m...3658627250&w=2
Reply With Quote
Reply


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
FireFox on OpenBsd PapaParrot OpenBSD Packages and Ports 5 19th October 2017 02:21 PM
Tor-0.2.5.12 can crash OpenBSD-5.7-stable hanzer OpenBSD Packages and Ports 11 16th July 2015 04:38 PM
fluxbox crash? HELP bsdnewbie999 OpenBSD General 9 2nd April 2009 04:35 AM
Firefox 2.0 Crash Problem disappearedng FreeBSD General 13 8th November 2008 05:54 AM
Java + FF3 = crash graudeejs FreeBSD Ports and Packages 12 3rd August 2008 08:26 AM


All times are GMT. The time now is 08:46 AM.


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