Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] any webkit browser crashes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
nikochir
n00b
n00b


Joined: 14 May 2022
Posts: 12

PostPosted: Sat May 21, 2022 10:51 am    Post subject: [SOLVED] any webkit browser crashes Reply with quote

I have finally setup gentoo environment with the dynamic window manager.
But I cannot use one of the most important things - web browser.

I was searching for a minimal & lightweight(as much as possible for my preferences), keyboard-controllable, customisable web browser.

But no one is working as I want:
- surf - nothing. just a white window with random characters in the title; it worked just fine on the Arch linux system, the only issue was the speed;
- nyxt - trying for the first time, could see only the main page and load YouTube page - it crashes and cannot return to the normal state even after restart;
- luakit - only simple pages, something like YouTube crashes;
- vimb - same as luakit, but also displays "Webview crash" error; again, on Arch linux I was running it just flawlessly;

As far as I know they are all based on webkit by default.
So I wonder if I can fix a problem with webkit and use any of these browsers normally?


Last edited by nikochir on Thu Jun 09, 2022 10:52 am; edited 1 time in total
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Sat May 21, 2022 10:58 am    Post subject: Reply with quote

Plz post your
emerge --info
and also have a look at
/var/log/Xorg.0.log
for clues.
Also invoke the browser in terminal and check for errors.
_________________
:)
Back to top
View user's profile Send private message
nikochir
n00b
n00b


Joined: 14 May 2022
Posts: 12

PostPosted: Sat May 21, 2022 12:06 pm    Post subject: Reply with quote

alamahant wrote:
Plz post your
emerge --info
and also have a look at
/var/log/Xorg.0.log
for clues.
Also invoke the browser in terminal and check for errors.


emerge --info: http://dpaste.com/634778DUC
/var/log/Xorg.0.log: I do not see anything relevant
vim browser: WebKitProcess:12080 GLib-Object-CRITICAL while loading youtube
luakit: WebKitWebProcess:17365 GLib-CRITICAL - same error as with vimb while loading youtube
nyxt browser: a lot of webkit java script errors with the code 699
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Sat May 21, 2022 12:09 pm    Post subject: Reply with quote

Plz change your profile to
Code:

[5]   default/linux/amd64/17.1/desktop (stable)

followed by
Code:

env-update
emerge -uDUav @world

Also plz double check your user is member to the video and audio groups.
Also i see you have global USE="hardened".I am not sure this will work outside a hardened profile.
Maybe it does.
_________________
:)
Back to top
View user's profile Send private message
nikochir
n00b
n00b


Joined: 14 May 2022
Posts: 12

PostPosted: Sun May 22, 2022 3:28 pm    Post subject: Reply with quote

alamahant wrote:
Plz change your profile to
Code:

[5]   default/linux/amd64/17.1/desktop (stable)

followed by
Code:

env-update
emerge -uDUav @world

Also plz double check your user is member to the video and audio groups.
Also i see you have global USE="hardened".I am not sure this will work outside a hardened profile.
Maybe it does.


Thank you for the response.

I have been reemerging the entire system since yesterday, it's about 24hour long operation.
This is still running, 99 of 103 packages were installed (llvm is being installed now).
I have also added myself to the video group since I wasn't.
But I still cannot run nyxt (at all), vimb and other browsers on heavy pages.

I will report the result as soon as emerge stops.
Back to top
View user's profile Send private message
nikochir
n00b
n00b


Joined: 14 May 2022
Posts: 12

PostPosted: Sun May 22, 2022 10:17 pm    Post subject: Reply with quote

nikochir wrote:
alamahant wrote:
Plz change your profile to
Code:

[5]   default/linux/amd64/17.1/desktop (stable)

followed by
Code:

env-update
emerge -uDUav @world

Also plz double check your user is member to the video and audio groups.
Also i see you have global USE="hardened".I am not sure this will work outside a hardened profile.
Maybe it does.


Thank you for the response.

I have been reemerging the entire system since yesterday, it's about 24hour long operation.
This is still running, 99 of 103 packages were installed (llvm is being installed now).
I have also added myself to the video group since I wasn't.
But I still cannot run nyxt (at all), vimb and other browsers on heavy pages.

I will report the result as soon as emerge stops.


Everything is the same. Over 24 hour emerge did not help.
I don't want to install something like firefox, it's gonna be long and I am not sure if it helps.
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Sun May 22, 2022 10:36 pm    Post subject: Reply with quote

Maybe try with firefox-bin.
I also worry about your "hardened" flag as I had mentioned earlier.
_________________
:)
Back to top
View user's profile Send private message
nikochir
n00b
n00b


Joined: 14 May 2022
Posts: 12

PostPosted: Mon May 23, 2022 8:49 am    Post subject: Reply with quote

alamahant wrote:
Maybe try with firefox-bin.
I also worry about your "hardened" flag as I had mentioned earlier.


I had "-hardened" before emerge -uUDav @world
Firefox bin is working properly everywhere but it does not solve the problem since browsers I prefer can give me the same if not better experience.
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Mon May 23, 2022 9:25 am    Post subject: Reply with quote

I see two of your preferred browsers come from overlays.
This might be an issue.
Lets check you USE flags
Code:

emerge -pv webkit-gtk vimb nyxt luakit

_________________
:)
Back to top
View user's profile Send private message
C5ace
Guru
Guru


Joined: 23 Dec 2013
Posts: 472
Location: Brisbane, Australia

PostPosted: Mon May 23, 2022 10:05 am    Post subject: Reply with quote

Try netsurf browser with gtk interface.
https://www.netsurf-browser.org/
_________________
Observation after 30 years working with computers:
All software has known and unknown bugs and vulnerabilities. Especially software written in complex, unstable and object oriented languages such as perl, python, C++, C#, Rust and the likes.
Back to top
View user's profile Send private message
nikochir
n00b
n00b


Joined: 14 May 2022
Posts: 12

PostPosted: Mon May 23, 2022 4:27 pm    Post subject: Reply with quote

C5ace wrote:
Try netsurf browser with gtk interface.
https://www.netsurf-browser.org/


I've installed netsurf, but it does not load heavy pages same as others.
And I don't like it because of the mouse-oriented interaction and view.
Back to top
View user's profile Send private message
nikochir
n00b
n00b


Joined: 14 May 2022
Posts: 12

PostPosted: Mon May 23, 2022 4:33 pm    Post subject: Reply with quote

alamahant wrote:
I see two of your preferred browsers come from overlays.
This might be an issue.
Lets check you USE flags
Code:

emerge -pv webkit-gtk vimb nyxt luakit


The output of this command is here: http://dpaste.com/DSKWB3JPQ
What do you mean by overlays? That I've added them manually with ebuild files?
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Mon May 23, 2022 4:53 pm    Post subject: Reply with quote

Yes I meant they are not available in main Gentoo Repository.
They are available in user overlays.
Oh ok I didnt know you maintain them locally in your own.
Try using some overlay versions and check if they work.
If yes then your ebuilds might be to blame.
I found these
https://gpo.zugaina.org/www-client/nyxt
https://gpo.zugaina.org/www-client/vimb
_________________
:)
Back to top
View user's profile Send private message
nikochir
n00b
n00b


Joined: 14 May 2022
Posts: 12

PostPosted: Mon May 23, 2022 6:07 pm    Post subject: Reply with quote

alamahant wrote:
Yes I meant they are not available in main Gentoo Repository.
They are available in user overlays.
Oh ok I didnt know you maintain them locally in your own.
Try using some overlay versions and check if they work.
If yes then your ebuilds might be to blame.
I found these
https://gpo.zugaina.org/www-client/nyxt
https://gpo.zugaina.org/www-client/vimb


I've already got ebuild files from these.
Or there is another way to use them?
Back to top
View user's profile Send private message
nikochir
n00b
n00b


Joined: 14 May 2022
Posts: 12

PostPosted: Thu Jun 09, 2022 10:52 am    Post subject: Re: any webkit browser crashes Reply with quote

nikochir wrote:
I have finally setup gentoo environment with the dynamic window manager.
But I cannot use one of the most important things - web browser.

I was searching for a minimal & lightweight(as much as possible for my preferences), keyboard-controllable, customisable web browser.

But no one is working as I want:
- surf - nothing. just a white window with random characters in the title; it worked just fine on the Arch linux system, the only issue was the speed;
- nyxt - trying for the first time, could see only the main page and load YouTube page - it crashes and cannot return to the normal state even after restart;
- luakit - only simple pages, something like YouTube crashes;
- vimb - same as luakit, but also displays "Webview crash" error; again, on Arch linux I was running it just flawlessly;

As far as I know they are all based on webkit by default.
So I wonder if I can fix a problem with webkit and use any of these browsers normally?


OKAY!

I've lost my hope but tried again after complete gentoo reinstall.
I looked at the vimb developer fanglingsu chat with others who had the same problem.
They installed gst-plugins and somehow it started loading videos.
I did the same thing: gst-plugins-base gst-plugins-good gst-plugins-libav gst-plugins-gtk
I am not sure if all of these are required but now it works!

Vim browser works - I don't actually need more for now.

Thanks to everyone who tried to help. I finally found the solution.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum