Urgent: Vivaldi 5.4 is not starting
-
@dedeco Does your Vivaldi start with
vivaldi --disable-extensions
? If yes a extension cause the crash. -
@DoctorG , it still does not start, but there is a new error shown. Part of the output is the same, though:
$ vivaldi --disable-extensions [21546:21546:0921/113010.885681:ERROR:system_web_app_manager.cc(360)] Exceeded SWA install retry attempts. Skipping installation, will retry on next OS update or when locale changes. [21546:21546:0921/113010.887927:ERROR:system_web_app_manager.cc(360)] Exceeded SWA install retry attempts. Skipping installation, will retry on next OS update or when locale changes. [21546:21546:0921/113012.837362:ERROR:vivaldi_default_bookmarks.cc(740)] Attempt to update bookmarks from a guest window Trace/breakpoint trap $
What is "SWA install" about?
-
@dedeco said in Urgent: Vivaldi 5.4 is not starting:
system_web_app_manager
SWA? I do not know what the part does. Could be related to Webapps (PWA).
-
@DoctorG , now, i noticed that in your signature is written you are a bug hunter here. Since you seem to have ended your knowledge to what I show, may one of the Vivaldi developers help here? Can you contact them to check here?
I will show this thread in a Linux Forum which is much helpful, all the times i use it: linuxquestions.org
If it helps to narrow the issue, I am using Debian 11 and Mate Desktop.
Thank you for all you commented until here.
-
@dedeco said in Urgent: Vivaldi 5.4 is not starting:
If it helps to narrow the issue, I am using Debian 11
I run Debian 11 & KDE 5 and do not have such issue. Sorry.
A idea: enable logging and start from shell:
vivaldi --enable-logging=stderr --v=1 2>&1 $HOME/vivaldi_debug.log
https://www.chromium.org/for-testers/enable-logging/and Mate Desktop.
The desktop should not have such effect, i guess. But if i have some spare time i could test in a VM with Mate desktop on my Debian 11.4.
Since you seem to have ended your knowledge to what I show, may one of the Vivaldi developers help here?
No developers rarely visit the forum, less spare time to give support.
When you report to bug tracker, the devs could check the issue if reproducible.
Are there any errors in kernel or sylog if yes, the attach to a textfile and add to report.?
Please report issue to Vivaldi tracker -
@DoctorG , i imagined the developers would not visit the forum frequently, and do not read most threads, since they should be solved without much problems by other people from your team, or from the community, in general.
I thought about submitting a bug. I checked that page before. But the doubt about the problem being, before that, an extension problem, made me choose posting here first.
If you can help me removing personal information from the bad profile, i will share it with you, so you can try to check it. And you may give me choices on what i want to remove or not. I surely want to remove saved cookies and data from sites; password; data to be suggested in forms; bookmarks (because some of them contain data i manually insert in their URL).
Recently, i have made a thread about understanding Vivaldi config folder and profiles. But it seems to have attracted much small interest, and no answer at all. This information is something important, in my opinion, to be considered by the developer team to make a documentation. Vivaldi does not work exactly the same way as chromium (as I see in a few threads, mostly from years ago), and this is a big reason to make that documentation.
-
@dedeco said in Urgent: Vivaldi 5.4 is not starting:
Vivaldi does not work exactly the same way as chromium (as I see in a few threads, mostly from years ago), and this is a big reason to make that documentation.
I agree, as a programmer i know that a good documentation is needed. But that is time-and-cost-intensive to write it. The team is not very large.
Sorry to say that.I always try, with knowledge over the decades with Opera 12, some years Opera Next and now Vivaldi since 1.0 to help users as a volunteer an Vivaldi addict .
But i use Vivaldi on Linux only for my office PCs and they run fine with the Intel GPUs.
About your Vivaldi crashes, had you seen https://help.vivaldi.com/desktop/troubleshoot/reporting-crashes-on-linux/
-
@DoctorG , kkk... it is exactly the bug report documentation I have read today. The one you pointed before is something I saw quite some time ago.
-
@dedeco said in Urgent: Vivaldi 5.4 is not starting:
kkk... it is exactly the bug report documentation I have read today.
Sorry, me is only a poor exhausted helping dragoness, not a magic ultra-power support witch
-
@DoctorG said in Urgent: Vivaldi 5.4 is not starting:
Sorry, me is only a poor exhausted helping dragoness, not a magic ultra-power support witch
No worries. You are much helpful. The main reasons of my comment are the times I saw both guides. I imagined the older one did not exist anymore.
-
@DoctorG said in Urgent: Vivaldi 5.4 is not starting:
About your Vivaldi crashes, had you seen https://help.vivaldi.com/desktop/troubleshoot/reporting-crashes-on-linux/
Hello again. I disappeared for a few days because my internet was gone. The problem still exits, unfortunately. Is there a safe way to copy parts or folders from my default profiles to another one, in a different folder that lives in the same machine? What i worry with the question, is an eventual change of the original profile and config.
The page you pointed does not mention a very important detail (at least to me). Is the debug version of Vivaldi portable software? Can i skip the step 4 in the install instruction? Or do it to result in being installed in a different folder, where i will also make it have its config, so it is completely portable?
-
@dedeco the observed error
Trace/breakpoint trap
can seemingly be caused by bad file/folder permissions.
A hint would be that it works fine with the profile folder at a new/alternative location. -
@becm said in Urgent: Vivaldi 5.4 is not starting:
@dedeco the observed error
Trace/breakpoint trap
can seemingly be caused by bad file/folder permissions.
A hint would be that it works fine with the profile folder at a new/alternative location.Okey, becm. I will check and try this change here, now, after backing up my user profile.
I was about to ask (possibly also pointing here from a new thread) for help moving this bad profile to a new location, part by part. Like: move the bookmarks (and all their details, like descriptions and nicknames, which i frequently use); the saved session windows and tabs, if that is easy to copy to another profile; data to use in forms around the web (not a big priority, i can build them again, little by little); installed extensions (together with their settings, i imagine). Anything forgotten?
-
@becm said in Urgent: Vivaldi 5.4 is not starting:
@dedeco the observed error
Trace/breakpoint trap
can seemingly be caused by bad file/folder permissions.
A hint would be that it works fine with the profile folder at a new/alternative location.Okey. My issue seems to be (for me) totally different from what is described in that thread you pointed.
Another thread that can help other people with an issue similar to this, but did not help me, is this one with Mint 20.3, which i passed by today, while playing with my problem.
Below here, I will describe things i did and comment them, if this should be good or necessary.
Before everything, all these days, I have been using Vivaldi with a different user data folder, in a temporary place. I did this with these commands:
$ mkdir /dev/shm/ramVivaldi $ cd /dev/shm/ramVivaldi $ vivaldi --user-data-dir="/dev/shm/ramVivaldi" &
Today, with that Vivaldi running (and I assume it does not matter), i backed up the default settings folder:
$ cd $ tar vcjf '[dot]config[bar]vivaldi.tbz' \ .config/vivaldi |view -
At this point I did not know if tar would archive file permissions and owner+group information for everything stored. Now, for what i have searched, it seems to store everything (with the pretty common flags I used). But, when I extract its files, it may have trouble if it needs to change or create a file with something, or over something with permission my user does not have.
@becm pointed to a problem that did not exist when running as root. I am in Debian. I installed Vivaldi with root permission, since it was installed for all users in this computer. And it was installed used a Debian package. So, i think the "user need to run as Vivaldi as root to avoid crash" is not a good guess here. But i continued. There are more things to examine. All the extensions i installed, are for my user only, and just in one of the 2 profiles i have (i do not even know if there is a way to install in more then one at once). So, i moved that "tbz" file to a safe place. Great.
Now, before everything else, i wanted to check the file information of my settings. I discovered the command stat would show just and exactly what i wanted, how i want. I used the stat command to show file permissions in octal (i do not mind them this way), owner, group and file name. And i also used the find command to execute one stat command with that output for each [any thing it could be] inside Vivaldi folder (files, folders, links, or anything else, if possible). So, the commands are these:
$ # For the argument passed, prints its octal permissions for $ # owner, group and other; "owner name : group name"; filename $ stat --printf '%a %U:%G %n\n' test.txt 644 dedeco:compo test.txt $ # For each [anything] found, does one such stat $ # All the output to a text editor $ cd ~/.config/ $ find vivaldi/ -type f,d,b,c,p,l,s \ -exec stat --printf '%a %U:%G %n\n' {} \; \ | view -
I could redirect the output to a file, sure. Just a matter of style (or choice, you may want to say). Anyway, view is the Vim editor in a readonly mode. Within it, I checked that all files were owned by my user and group. I did it by searching (and not finding) the following regex:
/^[0-9]\+ [^u]
This means: "in the start of a line, search for any digit occurrence, one or more times, followed by exactly one space character, followed by a letter that is not lowercase "u" (and "u" is the first letter of the username of my user; so, i want to find something that is different from that; notice: if my username were "rato", this idea model would be bad to find different lines with the user "root" owning the file/dir/whatever).
Back to my problem: no file/dir/anything inside my default Vivaldi settings folder have an owner or group that is not me:mine. Further the regex:
/^[^67]
also does not exist in my settings folder. So, there is no file that i cannot, at least, read and write. Everything is either
6xx
or7xx
, and the first means "read and right allowed", the latter means "read, right and execute allowed".My plans continued, still with @becm words: "alternative location". Okey, then: "what if i get my settings as they are, and try them in another place?" But i had one SERIOUS worry: i am far from sure that a moved setting will not try to access its old location in any way (except what does not matter like, maybe, a default download location).
So, I did this:
$ cd ~/.config $ chmod 000 vivaldi $ mkdir /dev/shm/arrah $ cd /dev/shm/arrah $ tar xjf $SECRET_PATH/'[dot]config[bar]vivaldi.tbz' $ vivaldi --user-data-dir="/dev/shm/arrah/.config/vivaldi/"
Did it work? No!
. ):
Here it is, now with some output, for the last command above, and a few more tries, after some searching i did, without any meaningful results:
2022.10.25 16:40:36 [ 0] me@compo: /dev/shm/arrah $ vivaldi --user-data-dir="/dev/shm/arrah/.config/vivaldi/" chrome_crashpad_handler: --database is required Try 'chrome_crashpad_handler --help' for more information. ^C 2022.10.25 16:42:40 [ 130] me@compo: /dev/shm/arrah $ vivaldi --user-data-dir="/dev/shm/arrah/.config/vivaldi/" --database chrome_crashpad_handler: --database is required Try 'chrome_crashpad_handler --help' for more information. ^C 2022.10.25 16:44:51 [ 130] me@compo: /dev/shm/arrah $ vivaldi --database --user-data-dir="/dev/shm/arrah/.config/vivaldi/" chrome_crashpad_handler: --database is required Try 'chrome_crashpad_handler --help' for more information. ^C 2022.10.25 16:46:09 [ 130] me@compo: /dev/shm/arrah $
As i said, everything i search about this called chrome_crashpad_handler does not seem useful to me. And there is no such program here (in my $PATH, at least).
So, I still need help to restore what my settings have, as most as possible, maybe one part at a time, in a list similar to what i said before. What you all say?
-
Why cannot i send the bug report log??
The bug report guides pointed here says that after making a depug session with gdb and quiting it, we will receive an email, and we should answer this email with the log file. This is false.
So, i sent a feedback to that guide page, saying it does not help, and I am sending the bug report log here. Since i cannot attach a file, i will just write it here:
$ # /dev/shm/$P1/.config/vivaldi is a copy of my user settings (which were in $ $ # the default path) which with the crash started. I did $ # 'cd ~/.config; chmod 000 vivaldi' before running here $ # Please read $ # https://forum.vivaldi.net/topic/79513/urgent-vivaldi-5-4-is-not-starting/5 $ # to understand and see everything i tried to fix and to reproduce this $ # problem. $ # Contact email: [EDITED - USE FORUM ACCOUNT ONE] $ $ # Without the saved settings I give to Vivaldi, it does not crash (as I $ # described in the mentioned thread). I do not include my settings with this $ # bug report **JUST** because it contains personal data. $ $ # If you help me cleaning up some parts of this data, i assume the crash will $ # still occur, and be reproducible (if it is not now, without it). $ gdb -ex run --args /opt/vivaldi/vivaldi-debug --user-data-dir="/dev/shm/$P1/.config/vivaldi/" GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git [...] This GDB was configured as "x86_64-linux-gnu". [...] Reading symbols from /opt/vivaldi/vivaldi-debug... Starting program: /opt/vivaldi/vivaldi-debug --user-data-dir=/dev/shm/$P1/.config/vivaldi/ [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Detaching after fork from child process 309734] chrome_crashpad_handler: --database is required Try 'chrome_crashpad_handler --help' for more information. Program received signal SIGTRAP, Trace/breakpoint trap. 0x000055555f8c1a13 in PlatformCrashpadInitialization () --Type <RET> for more, q to quit, c to continue without paging-- at ../../chromium/components/crash/core/app/crashpad_linux.cc:194 194 ../../chromium/components/crash/core/app/crashpad_linux.cc: Arquivo ou diretório inexistente. (gdb) bt #0 0x000055555f8c1a13 in PlatformCrashpadInitialization() () at ../../chromium/components/crash/core/app/crashpad_linux.cc:194 #1 0x000055555f8a8599 in InitializeCrashpadImpl () at ../../chromium/components/crash/core/app/crashpad.cc:114 #2 InitializeCrashpad() () at ../../chromium/components/crash/core/app/crashpad.cc:213 #3 0x00005555582efa46 in PreSandboxStartup() () at ../../chromium/chrome/app/chrome_main_delegate.cc:1387 #4 0x000055555c566e0a in Initialize() () at ../../chromium/content/app/content_main_runner_impl.cc:959 #5 0x000055555c56579f in RunContentProcess () at ../../chromium/content/app/content_main.cc:374 #6 ContentMain() () at ../../chromium/content/app/content_main.cc:461 #7 0x00005555582ee40e in ChromeMain() () at ../../chromium/chrome/app/chrome_main.cc:203 #8 0x00007ffff695ad0a in __libc_start_main () at /lib/x86_64-linux-gnu/libc.so.6 #9 0x0000555557e8d02a in _start () quit) A debugging session is active. Inferior 1 [process 310514] will be killed. Quit anyway? (y or n) y $
No progress... my next step is using things that can extract data from that saved settings folders, using Vivaldi API (or anything). Helping or guiding is welcome!
-
@dedeco
Hi, first I would update to the latest Vivaldi version 5.5.
The developer test with 5.6!
Then create a bug report:For information on how to report a bug, see this URL: https://vvld.in/how-to-report-bugs
Once that is done, please share the bug number (beginning with VB-). Thanks.
On the form, you can add your email address. Once submitted, you'll get a confirmation. You can reply to this with any logs or further info.Copy the result of
gdb bt
in a text file and send it in reply of your confirmation mail.
For example:(gdb) bt #0 0x000055555f8c1a13 in PlatformCrashpadInitialization() () at ../../chromium/components/crash/core/app/crashpad_linux.cc:194 #1 0x000055555f8a8599 in InitializeCrashpadImpl () at ../../chromium/components/crash/core/app/crashpad.cc:114 #2 InitializeCrashpad() () at ../../chromium/components/crash/core/app/crashpad.cc:213 #3 0x00005555582efa46 in PreSandboxStartup() () at ../../chromium/chrome/app/chrome_main_delegate.cc:1387 #4 0x000055555c566e0a in Initialize() () at ../../chromium/content/app/content_main_runner_impl.cc:959 #5 0x000055555c56579f in RunContentProcess () at ../../chromium/content/app/content_main.cc:374 #6 ContentMain() () at ../../chromium/content/app/content_main.cc:461 #7 0x00005555582ee40e in ChromeMain() () at ../../chromium/chrome/app/chrome_main.cc:203 #8 0x00007ffff695ad0a in __libc_start_main () at /lib/x86_64-linux-gnu/libc.so.6 #9 0x0000555557e8d02a in _start () quit)
Cheers, mib
-
@mib2berlin said in Urgent: Vivaldi 5.4 is not starting:
@dedeco
Hi, first I would update to the latest Vivaldi version 5.5.
The developer test with 5.6!
Then create a bug report:For information on how to report a bug, see this URL: https://vvld.in/how-to-report-bugs
Once that is done, please share the bug number (beginning with VB-). Thanks.
On the form, you can add your email address. Once submitted, you'll get a confirmation. You can reply to this with any logs or further info.Copy the result of
gdb bt
in a text file and send it in reply of your confirmation mail.
For example:(gdb) bt #0 0x000055555f8c1a13 in PlatformCrashpadInitialization() () at ../../chromium/components/crash/core/app/crashpad_linux.cc:194 #1 0x000055555f8a8599 in InitializeCrashpadImpl () at ../../chromium/components/crash/core/app/crashpad.cc:114 #2 InitializeCrashpad() () at ../../chromium/components/crash/core/app/crashpad.cc:213 #3 0x00005555582efa46 in PreSandboxStartup() () at ../../chromium/chrome/app/chrome_main_delegate.cc:1387 #4 0x000055555c566e0a in Initialize() () at ../../chromium/content/app/content_main_runner_impl.cc:959 #5 0x000055555c56579f in RunContentProcess () at ../../chromium/content/app/content_main.cc:374 #6 ContentMain() () at ../../chromium/content/app/content_main.cc:461 #7 0x00005555582ee40e in ChromeMain() () at ../../chromium/chrome/app/chrome_main.cc:203 #8 0x00007ffff695ad0a in __libc_start_main () at /lib/x86_64-linux-gnu/libc.so.6 #9 0x0000555557e8d02a in _start () quit)
Cheers, mib
I created the bug report with the steps written in the page pointed above. It had no form, and thus, nowhere to put an email address. The use of gdb is fine to me, as i have used it before to other things. So, the steps involving it were very simple to follow perfectly and obtain the output i gave.
And although my installed version of Vivaldi is 5.4, @mib2berlin , i used a debug version downloaded only a few minutes before making the complaint about the bug report here (it should have been the bug report, after all). Does it get the latest results in reports, made this way? (i assume it does)
-
@dedeco
Ah, the debug version is 5.4, ok.
Can you add the bug number VB-xxxxx, please?
I can look if all is arrived correctly.Cheers, mib
-
@dedeco
Hi again, I am still curious, the help page was updated about creating a crash report.
Since 5.5 the crash log is created automatically, no need for a debug build and gdb.
The following find command show logs created yesterday during testing a bug report:find ~/.config/vivaldi/Crash\ Reports/pending -newer /opt/vivaldi/vivaldi-bin -name \*.dmp -printf %f\\n | tar CvcJTf ~/.config/vivaldi/Crash\ Reports/pending - /tmp/Vivaldi_Crash_Logs_$(date '+%Y%m%d-%H%M').tar.xz 24e2405b-3e6f-4e55-be7d-7c49089b554d.dmp 8e45f1a8-af97-494b-b93c-72280794c862.dmp 700aaa1a-25cb-4f33-961e-0be4e0f3296a.dmp e20f8d56-7d13-4563-aa3f-630233fadd5a.dmp
Check your /tmp directory for files like: Vivaldi_Crash_Logs_20221026-2036.tar.xz
Anyway, a backtrace should do, too.
Cheers, mib
-
@mib2berlin said in Urgent: Vivaldi 5.4 is not starting:
@dedeco
Hi again, I am still curious, the help page was updated about creating a crash report.
Since 5.5 the crash log is created automatically, no need for a debug build and gdb.
The following find command show logs created yesterday during testing a bug report:find ~/.config/vivaldi/Crash\ Reports/pending -newer /opt/vivaldi/vivaldi-bin -name \*.dmp -printf %f\\n | tar CvcJTf ~/.config/vivaldi/Crash\ Reports/pending - /tmp/Vivaldi_Crash_Logs_$(date '+%Y%m%d-%H%M').tar.xz 24e2405b-3e6f-4e55-be7d-7c49089b554d.dmp 8e45f1a8-af97-494b-b93c-72280794c862.dmp 700aaa1a-25cb-4f33-961e-0be4e0f3296a.dmp e20f8d56-7d13-4563-aa3f-630233fadd5a.dmp
Check your /tmp directory for files like: Vivaldi_Crash_Logs_20221026-2036.tar.xz
Two things much important that are not clear to me, with the replies you gave to #20, mib:
1: I have made the folder ~/.config/vivaldi inaccessible (I said this here). So, if the debug version of Vivaldi needs this specific folder to work, this is bad (in my case, at least). I have been using Vivaldi with an argument to change its user-data folder, so it does not crash.
So, that
find
command returns nothing here. Right now, there is no file namedViv*
in/tmp
folder. I have to repeat the crash steps to get a bug number, possibly. Ask me, please.2: It is not clear the debug execution is as you (Vivaldi developers) expect, if the installed version is not updated. For example, as I have now: installed version is 5.4.2753.51 (Stable channel) stable (64 bits). I used the latest debug version (latest at the time i wrote yesterday's post).
Anyway, a backtrace should do, too.
The backtrace i obtain is given in the post #18 (notice the way i called gdb to execute
vivaldi-debug
, giving it a differentuser-data
folder). Should i search in that given folder with the examplefind
command given to find the bug reports?