Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

chromium crashes when mounting usb cam and input type=file

Featured Replies

Using 5.41 with Chromium 68.0...  Using <input type="file"> on a web page...  If you click a usb camera (probably usb stick as well) and the system mounts the usb (assuming it wasn't mounted already by other means)...  after you close the dialog (whether you selected a file or clicked cancel)... chromium is frozen.

53 minutes ago, freak said:

Using <input type="file"> on a web page

What do you mean ? A Web page that ask for a file upload and you are pointing it to load a /dev/videoX streaming device ?

Of course Chromium will crash ! it try to figure out the file size to be submit, so it load it and never reach the end of file ...

Any browser will crash too ...

  • Author

Uh no...  Point it to a camera or usb stick and try to upload a jpg from it.  Nothing to do with streaming.

  • Author

Here's how to duplicate...

 

Look here... http://ix.io/1lwN

to see what version of armbian I am running and install that version.

 

Run apt update/upgrade.

 

Insert a usb drive that has a file system on it (not sure the type of the file system matters) into a usb slot.  (do not mount it or have automount turned on)

 

Open Chromium.

With Chromium go to...

https://codepen.io/anon/pen/EeNLNX

 

Click the "Browse" button the in preview window on codepen.

 

When armbian's file dialog comes up click the icon for your usb drive to browse files on that drive.

The usb stick will now automount.

 

Close the armbian file dialog ( it doesn't matter if you select a file or not)

 

Chromium is crashed.

 

 

 

 

 

  • Author

Actually you don't even need to use my codepen example.  Just open Chromium and hit CTRL+O (oh not zero).  Browse the usb stick in the dialog.  Close the dialog.  Crashed.

  • Author

...and I should also point out that if you turn on automount in the system settings and let the os mount the stick automatically (wait till the autmount is finished before hitting ctrl+o) Chromium will not crash.  So this is something to do with mounting within the "file open" dialog.

  • Author

Works on KDE Neon, Ubuntu Gnome, Win10...  I'll test more.  I know what the Chromium devs are going to say when I tell them it works everywhere except armbian.

  • Author

Ok I'll see what I can do.  Also would like to test on raspberry pi.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.