freak Posted August 29, 2018 Posted August 29, 2018 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.
Igor Posted August 29, 2018 Posted August 29, 2018 22 minutes ago, freak said: Using 5.41 with Chromium 68.0 We have no idea what you are talking about without armbianmonitor -u
martinayotte Posted August 29, 2018 Posted August 29, 2018 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 ...
freak Posted August 29, 2018 Author Posted August 29, 2018 Uh no... Point it to a camera or usb stick and try to upload a jpg from it. Nothing to do with streaming.
martinayotte Posted August 29, 2018 Posted August 29, 2018 45 minutes ago, freak said: try to upload a jpg from it which command provide that functionality ? what file are you pointing to in the <input type="file"> ?
TonyMac32 Posted August 29, 2018 Posted August 29, 2018 With the camera connected, what does lsusb say? Is it attaching as a mass storage or as a media transfer device?
freak Posted August 30, 2018 Author Posted August 30, 2018 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.
freak Posted August 30, 2018 Author Posted August 30, 2018 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.
freak Posted August 30, 2018 Author Posted August 30, 2018 ...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.
martinayotte Posted August 30, 2018 Posted August 30, 2018 So, the issue has nothing related to Armbian... Nothing related to cameras... Probably this Chromium behavior exist on any OS ... You can fill an bug on https://www.chromium.org/issue-tracking
freak Posted August 30, 2018 Author Posted August 30, 2018 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.
Igor Posted August 30, 2018 Posted August 30, 2018 7 minutes ago, freak said: I'll test more. ARM platform is relevant. We had troubles in the past while it was working on x86.
martinayotte Posted August 30, 2018 Posted August 30, 2018 29 minutes ago, freak said: it works everywhere except armbian. I doubt ! Nothing is related to Armbian ! Do a "strace" and post where/why it is crashing ...
freak Posted August 30, 2018 Author Posted August 30, 2018 Ok I'll see what I can do. Also would like to test on raspberry pi.
Recommended Posts