Jump to content

chromium crashes when mounting usb cam and input type=file


freak

Recommended Posts

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.

Link to comment
Share on other sites

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 ...

Link to comment
Share on other sites

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.

 

 

 

 

 

Link to comment
Share on other sites

...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.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines