-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chromium crashes after today update #131
Comments
What would be a way to reproduce it? I've left it playing html5 videos for a while and am not seeing it. If you could roll up a testcase, it might be easier to figure out what goes wrong. |
Now I tried:
then reinstalled:
But there is no difference. It is still crashing. So, I guess it wasn't a plugin issue. I guess the error must be in the new video codecs. By the way, I had before only this plugin: Cache Cleaner, but since I deleted the configuration it should be gone now. |
Ok, I reduced it to the following:
That should fix autologin.
You will be automatically logged in and the kiosk mode will start. Here chromium will chrash. If I just drop that video tag, then it will work ok. I even tried with an mp4 |
Anyway of reverting to the previous chromium version? This is unfortunately a productive system and I can't debug on it. Right now I also don't have any other raspberry pi. I guess I will reinstall everything on Monday and see if it works. |
Normally, it wouldn't be too difficult to downgrade. Annoyingly, the server didn't have enough room to keep both copies, so I had to remove the previous version and waybackmachine doesn't have it caches. Sec, I'll see if I can put the files somewhere else for you. |
Okay, I think these .debs should be enough: http://repo.xecdesign.com/chromium_old.tar.xz |
The packages didn't work. Now I got:
I rechecked the permissions and they are right. If I install the newer chromium version again, then it works. Here is how I installed your files: |
Everything installed without errors? Not sure where to go from here then. I'm not aware of anything else being required. |
Hi There was just a warning telling me that I was downgrading, but it installed ok. Anyway, I will try again on Monday from a fresh Raspian Lite and the latest chromium. If it fails there again, then it must be something wrong with this update. This was the only package that was updated today. Best regards |
Ok, first I tried with the full desktop version of Raspbian (the recommended option with NOOBS), here the versions:
Here Chromium works ok with html5 videos. It won't crash. Then I installed Raspbian Lite, and updated it. The distro and chrome version were exactly the same as above. Next, I setup the Chromium-Kiosk as indicated on my previous posts. Then instead of installing nginx, I just put a link to a youtube video inside: /etc/xdg/openbox/autostart. When the kiosk starts, it will crash. This was working before the update from last friday (22.03.2019). Then I just decided to remove the packages I installed for the kiosk: Now: if you see the kiosk tutorial mentioned before, then you will see that the author installed the x11 environment and chromium as follows:
I just decided to remove: "--no-install-recommends" and install the packages again:
Finally I setup the kiosk again and you guessed it: It worked. In order to be sure that this wasn't just luck, I reinstalled Raspbian Lite again, then installed the full packages without the option: "--no-install-recommends". It still works. So, I guess the last update added a hidden dependency to Chromium. For me this seems to be a bug, but since I don't have much time for debugging, I will leave the kiosk with the full packages. This is actually not that bad. Thanks anyways for your support. Best regards |
Thanks for looking into it, that actually gives me some ideas on what the problem may be. I'll dig in when I have a spare moment. |
I think the important package is |
Yes, I can confirm that after running: Chromium won't crash. Here the output of that command:
So, I guess Chromium indeed needs the packages:
for rendering html5 video. |
Added |
I'm having the same issue with a chromium kiosk. This does not seem to be fixing it though. Anyways to revert to a previous version? Chromium 65 to be exact? |
On my case, the issue was coming when first opening a page with an html5 video. The issue went away with the next update (or at least I thought it). Now, it is appearing after about 5 hours of playing the same videos in a loop together with some image sliders. I just removed one of the videos today and it seems to run without any problem. I will add it tomorrow and see if the issue reappears. Is there any log file for Chromium? |
@jmeile sounds like we are working on similar projects. You can enable logging if you launch chromium with this switch
|
@kevin-bache Yes, I'm also doing a chromium kiosk with a Raspberry-pi. Thanks for the hint to the command line switch. By the way: today I activated again the video that I thought that was causing the problem. Chromium didn't crash. How is it by you? Is it crashing a lot? I even found some instructions that tell you to disable some things: https://windowsreport.com/aw-snap-google-chrome-windows-10 Yes, I know they are for Chrome under Windows 10, but they also apply for Chromium under Linux (Raspbian on my case). Some of them don't make sense for a kiosk, but I guess you could try others, ie:
I even tried something there: "Disable hardware acceleration", but the problem just came more often. Best regards |
Today it crashed again. I will see if using just webM videos solves the issue. |
Are you running it with any special flags? How much GPU memory do you have available? Are you using the legacy graphics stack, fake KMS or full KMS? |
Hi Chromium became unstable as I added more videos to play. It will crash after a while when loading a video. Here the options I'm using on boot/config.txt
Then this is what I set with raspi-config:
This is what I have under: /home/pi/.bash_profile: Here the contents of /etc/xdg/openbox/autostart (where the chomium kiosk is set):
By the way: where are the chromium logs stored? According to the docs, the options "--enable-logging=stderr --v=1" should save "chrome_debug.log" in Chrome's user data directory, but I don't find it under: "/home/pi/.config/chromium". Regarding the CPU usage it depends sometimes it goes to 80% and sometimes it is just between 10 and 20%. I will add a script to monitor the temperature. I already have some ideas and I have already done with the temperature. I will post the data and the script here as soon as it is done. Now I'm trying webm videos, but the same video will be always shown. All videos are named equal: video.webm, but they are located in different folders, so, chromium should try them as different videos because they have different urls. I don't think that this is a cache issue. I always delete cache on start. Anyway, I will be away next week, so, as soon as I come, I will do another small test case. As I said: I'm using image and text sliders where also different videos will be shown according to the current text slider. Best regards |
For video playback, the fkms and kms drivers are not as fast. Do you experience issues with a good chunk of gpu mem, the legacy driver and |
I will try that after next week. |
Hi! My test script:
};` Using chromium's logging, I get the following (not exactly sure what they mean though): After days of testing and googling, I've come across this thread. Thank you, |
Dear David Unfortunately, my workarround was disabling the video playback. I was still getting the same issue and since I only have a Rapsberry-pi, I can't debug this intensively. I believe that this may be related to the garbage collector of Chromium. I guess it is not cleaning its memory properly and that's why it happens. I think that you may solve this by restarting the x server on a regular basis. I would start trying it each 8 hours and see if your problem is gone. I'm using a script called "startx" for this. See attached file On my kiosk mode, it will kill x and then restart it. I was also using a script to monitor my kiosk from my office called take_screenshot. See attachment: In order to use it, install scrot first (an utility to take screenshots): Then put the following entry on the crontab of the user running your kiosk (ie: pi user)
Please note the following:
Based on that, I figured out that the image been captured as chromium crashes, error:
has the size of: 36694 bytes. So, I just compared if the generated screenshot has this size and so, then the x server will be restarted. If you want to use a different quality for your screenshots, then you will have to comment first the last lines of my script:
Then wait until the error happens and see what's its size. After that, change the value of: CHROMIUM_ERROR_SIZE to fit your requirements. Other thing you need to change is the value of: "LOG_FILE" and "SCREENSHOT_DIR". On my pi, I'm mounting a samba share automatically, then I store all my screenshots there. By doing this, I'm able to watch the screenshots from my office by mounting that share on my laptop. This is only a workarround. Not a solution. It seems that Chromium is broken. Finally, don't forget to remove the .txt extension of my scripts and give them executable permission. Best regards |
Hi @jmeile , thanks for your reply. We have a scheduled maintenance reboot every 24 hours. However, with short videos, we get crashes in about 10 minutes (roughly 40 video playbacks), regardless of how many unique videos there are (right now, we're testing with just one video). I tried forcing the garbage collector by enabling and exposing it through the V8 engine and calling gc in my script, but it crashed all the same. I agree that it seems to be a memory related problem, but I suspect it might be from the video decoder itself. However, it's not that the Pi is running out of memory, from my observations with htop. Since we still have a stable setup running (Chromium 65.0.3325.181 and Raspbian 9.3), built way before the update, we might end up creating an image from that and cloning it for other future deployments, since there's really no way of rolling back. Cheers, |
Hi David Right now I'm on vacations, but I will see what is the message when Chromium crashes. I didn't include a log file here since I wasn't able to enable it on chromium. I will try it next time. Best regards |
Hey Josef, In order to enable logging, I launch Chromium using Cheers, |
Facing the same problem here when playing HTML5 video. Hopefully there will be solution soon, or possible to downgrade to 65. |
I had chrome crashes with several video loop on 74 version. 78 version from untested repo works fine! |
Hello, [Edit] Ok I found it: https://www.raspberrypi.org/forums/viewtopic.php?t=258892 |
Hi
My Chromium kiosk was working before today's update. It was setup four days ago. The following packages were installed:
This is how I installed the kiosk:
Setup a Raspberry Pi to run a Web Browser in Kiosk Mode
I'm sure about this because minutes before the update, everything was working perfectly.
I have an nginx local web server, which loads a local php file. There I will rotate between different pages. The first page is normal html with a picture slider. After five minutes, a second page will be shown. There a html5 video should be played; however, instead of this, the following page will be shown:
There is no error on the nginx log file nor the syslog. I was doing:
when testing and nothing was logged.
Here what I have:
Hardware: Raspberry Pi3B+
OS:
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 7e0c786c641ba15990b5662f092c106beed40c9f, stage2
Firmware:
Feb 12 2019 19:42:42
Copyright (c) 2012 Broadcom
version 8eff5e4023657a8b3b59e1f90dc966f62d74908c (clean) (release) (start)
Kernel:
Linux iwf-vitrine 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux
Any way of reverting to the older version?
Here is what I had before according to: /var/log/apt/history.log
Todays update looks like:
I tried
But the only thing I get is:
E: Version '65.0.3325.181-0+rpt4' for 'chromium-browser' was not found
By the way, there is nothing under:
/.config/chromium/Crash Reports
Best regards
Josef
The text was updated successfully, but these errors were encountered: