Web (epiphany) crashes my whole system when running it (Solved)

Hello! So I recently install haiku on a usb and I install epiphany with it and it worker great! But when I ran it today it just doesn’t launch and makes the whole unresponsive. I am not sure what to do. I tried reinstalling it from the haikudepot but imthat didn’t work. Any help is appreciated.

Try checkfs /boot in terminal.

1 Like

This is what I got

~> checkfs /boot
        4671 nodes checked,
        0 blocks not allocated,
        0 blocks already set,
        0 blocks could be freed

        files           3979
        directories     387
        attributes      146
        attr. dirs      111
        indices         48

        direct block runs               4692 (3.21 GiB)
        indirect block runs             62 (in 5 array blocks, 5.28 GiB)
        double indirect block runs      0 (in 0 array blocks, 0 bytes)

You could try launching from Terminal (epiphany) and see if there are hints in the output.

In case some cached item is tripping it up, you can try removing /boot/home/config/cache/epiphany.
If it’s a setting, those appear to be saved at /boot/home/config/non-packaged/data/epiphany. You may want to backup “bookmarks.gvdb” there before removing the folder.

3 Likes

Deleting the cache and the settings seemed to fix it. Thank you for your help! It launches great now!

3 Likes

my /boot/home/config/settings/boot/launch launches a script that does this:

trash /boot/home/config/cache/epiphany
trash --empty

2 Likes

That’s great! I’ll add it to my launch folder. Thank you for sharing your script!

If you did a rm -rf /boot/home/config/cache/epiphany instead, you wouldn’t have to empty the Trash and all its various contents.

ETA: you can put the line also directly into /boot/home/config/settings/boot/UserBootscript instead of having to create a script.]

2 Likes

I assume trash uses the tradh folder, in that case that script is a bit dangerous, it will empty the trash on every boot.

Why not use rm instead?

rm -rf /boot/home/config/cache/epiphany seems to be better.

1 Like

Dear @Khallebal,

Thank you so much for this small amount of knowledge … it helped me a lot !
It had freed up ~3.0 GiB space on a 13.54 GiB Haiku install partition where it was HUGE help to me :smiley_cat:
As now I have 4.0 GiB free space on Haiku thumbdrive instead of earlier <1.0 GiB.

HINT Of The DAY !! 8{D

Or rather … You Made My Day ! <|;- {))

checkfs /boot
32234 nodes checked,
0 blocks not allocated,
0 blocks already set,
1595891 blocks could be freed

    files           30492
    directories     1241
    attributes      275
    attr. dirs      179
    indices         47

    direct block runs               36236 (7.41 GiB)
    indirect block runs             1241 (in 65 array blocks, 2.00 GiB)
    double indirect block runs      0 (in 0 array blocks, 0 bájt)

~> checkfs --help
Usage: checkfs <device|volume name>

Options:
-h, --help - print this help text
-c, --check-only - do not make any changes to the file system

Examples:
checkfs -c /Haiku
checkfs /dev/disk/ata/0/master/raw
~> checkfs /boot
32234 nodes checked,
0 blocks not allocated,
0 blocks already set,
0 blocks could be freed

    files           30492
    directories     1241
    attributes      275
    attr. dirs      179
    indices         47

    direct block runs               36236 (7.41 GiB)
    indirect block runs             1241 (in 65 array blocks, 2.00 GiB)
    double indirect block runs      0 (in 0 array blocks, 0 bájt)

~> cls

df -h
Mount Type Total Free Flags Device


/boot bfs 13.5 GiB 4.1 GiB QAM-P-W /dev/disk/usb/0/0/2
/boot/system packagefs 4.0 KiB 4.0 KiB QAM-P–
/boot/home/config packagefs 4.0 KiB 4.0 KiB QAM-P–
/boot/system/var/shared_memory
ramfs 0 30.1 GiB QAM-PRW
/Haiku bfs 1.4 GiB 11.1 MiB QAM-P-W /dev/disk/usb/0/0/0
/SMB Network userlandfs 100.0 GiB 100.0 GiB -AMSP-W
/HIKVISION_2TO ntfs 1.8 TiB 572.6 GiB ----P-W /dev/disk/usb/1/0/0
~>

Dear @humdinger,

Could you advise me how to launch ‘Web’ browser from commandline ?
as it has not found on current path settings I have …

~> Web --help
bash: Web: parancs nem található
~> We [TAB]
Weather WebPositive
~> we [TAB]
weave webpinfo webpinfo-x86 webpmux webpmux-x86 webpng-x86 webquiz welcome
~> gn [TAB]
gnmanalyse gnmmanage
~>

So as you can see the browser exec is itself not available as ‘Web’ as ‘web’ or ‘gnome-web’ from terminal.
I may find the full path of Gnome Web … but I could not accomodate to use find command on Haiku just as I could use on AIX or on Linux, so it won’t be my friend on Haiku at all - :\

Edit : OK, so simple ps command reveal it !..

~> ps
Team Id #Threads Gid Uid

/boot/system/apps/GNOME Web/Web 1367 20 0 0

~>

That’s a method but, if for a reason or another, you can’t start the app, it won’t work.
In that case, Open HaikuDepot and display the package, there’s a tab where you can see the list of files provided by it. It will give you some hints about the name. Or you can launch the app from there and use your method after that.

There’s a /bin/epiphany, so a simple epiphany in Terminal does the trick.

3 Likes

Thanks, @Starcrasher - I will check it once I look at the tab you mention, however just from curiosity. I had not remembered to use it for that case too.

Well to launch it - it worked, but due to the space in directory name … I had to put between apostrofs. I got warning for not implemented features : extensions, etc. and some other stuff that Gnome Web has possibly only on Linux.
It was interesting to see.

‘/boot/system/apps/GNOME Web/Web’

I may check out VLC where to put files - those not read-only - from the settings e.g. this way. I want to add recent youtube.luac file if it exists in Haiku version.

Anyway it was strange that at command is missing. I could not execute

echo ‘/boot/system/apps/GNOME Web/Web’ | at now

Of course, there is standard & and && - it worked when I probed them - but still : I missed that one as well.

Thanks @humdinger,

I tested in terminal : epi + [Tab] worked … however it is not really consequent …

~> epiphany --help
Haszn?lat:
epiphany [KAPCSOL??] URL ?

S?g?lehet?s?gek:
-h, --help S?g?lehet?s?gek megjelen?t?se

Alkalmaz?s kapcsol?i:
–new-window ?j b?ng?sz?ablak megnyit?sa ?j lap helyett
-l, --load-session=F?JL A megadott munkamenet-?llapotf?jl bet?lt?se
-i, --incognito-mode Egy p?ld?ny ind?t?sa csak olvashat? felhaszn?l?i adatokkal
-p, --private-instance Priv?t p?ld?ny ind?t?sa k?l?n?ll? felhaszn?l?i adatokkal
-a, --application-mode Priv?t p?ld?ny ind?t?sa webalkalmaz?s m?dban
–automation-mode Priv?t p?ld?ny ind?t?sa a WebDriver vez?rl?s?hez
–profile=K?NYVT?R Egy?ni profilk?nyvt?r a priv?t p?ld?nyhoz
–search

~> ps -a|egrep -i epiphany
egrep: warning: egrep is obsolescent; using grep -E
w:1287:Web (epiphany) crashes m 1303 wait 15 83246 4857
w>Web (epiphany) crashes my who 1327 wait 15 11963 4883
pool-epiphany 116784 wait 10 0 0
pool-epiphany 116792 wait 10 0 0
/bin/sh /bin/egrep --color=auto -i epiphany 116795 1 0 0
~>

… it does not run as Epihany but as Web … I see, OK : it is Epiphany some way on some OS distribution … however
I start to understand what is about Haiku native … :j

It is very useful Web (Epiphany) browser is available and I am grateful for that I can use it in Haiku as there are key functions that works like expected, but seems there are some unexpected curves as well.

For example above - the help of epihany was translated to my native language - Hungarian -, and it displayed, but all the displayed output does miss our special characters … possibly as Linux or Haiku use different codepages (or in terminal) or it happened during building from source.

{ Begin OFF Topic }

Fortunately in our languge - it does not harm meaning … it is quite readable for us. We have a play to speak all words with the same sound :

e.g

Hogy vagy kis barátom, kérsz még több új játékot ?
as
Hagy vagy kas baratam, karsz mag tabb aj jatakat ?

sounds strange, but understandable :wink:

{ End OFF Topic }

Life expects to ride your roads - now I am following the Tao (road) - using Haiku. That is mostly enjoyable at least … against the other journeys I am capacitated to do also - actually - !.. :smiley:

I wrote a script to make epiphany work better. I call it "launch_web and gave it the web icon and put it in LaunchBox.

#!/bin/sh
/boot/system/bin/epiphany
rm -rf /boot/home/config/cache/epiphany
rm -f  /boot/home/config/cache/*.cache-8
ps >>/boot/system/cache/tmp/ps
while read -ra line; 
do
    for word in "${line[@]}";
    do
        echo "$word";
	if [[ $del == 1 ]]
	then
		kill  -9 $word;
		echo "kill -9 $word";
		del=0;
		fi
	if  test $word = /packages/webkit_gtk-2.40.0-1/.self/lib/webkit2gtk-4.1/WebKitWe
		then
		del=1;
	fi
	
    done;
done < /boot/system/cache/tmp/ps
rm /boot/system/cache/tmp/ps

Remember to make it executable.

2 Likes