222 points · by notRobot · 6y ago · 147 comments
Still, apparently, a bad webpage with a loop of JavaScript that hangs the web browser can lead to a complete failure of the entire user interface, even disabling the speedometer, turn signal (only the notification, visual and sound, not the actual signal), and AutoPilot status. Still a red flag and not a sign of good engineering.
– Robert Cringely.
In the past, not even distant past, just ~15-20 years ago, I'd confidently say that would never fly without hesitation.
It's definitely not the case today. Just look at how willing people are to delegate control over their lives to Tesla's "Autopilot". Even well-educated software engineers are being killed by putting 100% confidence in this glorified cruise control.
"If the automobile had followed the same development as the computer, we would produce a billion rolls royces a year, get a million miles per gallon, can transport 10000 people per car and explode once a year, killing everyone inside. Oh and it would cost $3.50 per car."
Reminds me of the Netflix quote from seven years ago: 'The goal is to become HBO faster than HBO can become us'
https://www.theverge.com/2013/1/29/3930560/netflix-wants-at-...
Why would anyone combine those key elements with the “second” system?
The fact that this one can be rebooted (by the end user, as a matter of course, and it's no big deal) without any hackery whatsoever, and the car can still be driven, makes the system look very good actually.
The joke fits better with the other computers in the car, which were not the subject of the article.
It may be a generational thing. It sounds terrible to me, but I have a car whose computer lasted 30 years before needing attention, and then it was for failing solder joints.
So you take out the computer here and it's still a perfectly safe and drive-able car.
...with absolutely no instrumentation? Sure, the wheel and pedals still work, but everything else is not controllable.
I've done some custom car stuff so I've had short drives without a dashboard, and while you could argue it's drivable, I wouldn't say safe.
Unless, for but one example, it's raining, heavily.
Because the wipers freeze.
<html>
<script>
var total = "";
for (var i = 0; i < 100000; i++) {
total = total + i.toString();
history.pushState(0, 0, total);
}
</script>
</html>Different features of the dashboard should be implemented as different services, ideally on different processors or different virtual processors. They should have fixed time sliced allocation. Limit the impact of one process interacting with another.
The different processes should all send and receive visual/touch IO to a master display server. The master display server should be a hard real time system.
I think we all know this is really how it should be done, it's just comical that Tesla says NO! and does it their own unsafe way.
They don't treat the dashboard as safety critical. Despite that is where all essential warnings show up, in addition to the speedometer. You can easily lose access to all those while driving. I have multiple times witnessed the dashboard reboot for a few minutes while driving.
I think the long term outcome is that Tesla mostly gets away with this, other car manufacturers attempt to copy their system with extremely poor results, dangerous failures result, and regulations are created.
(Disclosure: M3 owner, grumpy engineer.)
I am not generally in favour of regulating software development, for the simple reason that I don't think as an industry we really understand how to do that effectively yet and consequently I think we'd get regulations written by high profile fools rather than careful engineers.
However, I am getting deeply concerned about casual programming standards and the inevitable bugs that follow now applying not just to random games and other stuff that doesn't really matter but also to real physical devices with real physical implications when things go wrong.
Creating the regulations after the fact won't help much if the next remote hack, instead of just stranding one aware volunteer in a still dangerous situation in the middle of a fast-moving road, is instead something like accelerating all cars of a certain model that are within range to their maximum speed by deceiving the cruise control.
We need more grumpy engineers, and we need very public warnings from credible groups of them about the dangers here, so the people buying these vehicles know what they're really getting, and so the politicians and corporate executives and investors know that if they don't act then there will be nowhere to hide if the big disaster happens on their watch.
In my line of work, if it displays real time information to make safety critical decisions, it’s safety critical software
The problem with a lot of software on embedded systems is that it’s easy to go down the rabbit hole and be one or two degrees away from declaring it critical. If everything is critical then nothing is
"This issue is fixed in any release >= 2020.4.10."
It looks like this release started rolling out mid-February 2020[0].
https://www.teslarati.com/tesla-v10-wide-release-mobile-app-...
Those versions are more like the true major release versions, whereas the date versions are inside of that and are minor releases.
> Important Note: I stated in the video that this disables the autopilot functionality, but that is incorrect. This will only disable the notification to place pressure on the wheel. If you keep pressure on the wheel, AP will continue to function.
I know around the time Carplay became popular several auto manufacturers were pushing this idea as a Carplay/Android Auto alternative implementation: glorified VNC. But I guess the data wasn't "rich" enough for some parties.
Everything else was fine though so I think they have isolated the driving itself quite well.
I've also had the MCU crash 2-3 times but the two finger salute always fixes it.
My car is 8 months old so these events are quite rare.
8 months between failures definitely sounds unacceptable to me.
I had a 2011 Nissan, and if you went somewhere the nav system didn't recognize (like a new highway) the nav interface would freeze and reboot. Was annoying.
Other than that, I've never had a car UI crash.
https://www.audiworld.com/forums/a4-b9-platform-discussion-2...
If I really needed them in the X I could just pull over and let the FSD reboot itself and they work again. It also did not happen while driving, it was like that from the start of the drive so it was quite easy to identify. But I chose to go on to see how the car would behave without the FSD as an experiment.
Personally, I would be more willing to buy a Tesla if it didn't have all of these software integrations and was simply a mechanical car with an electric engine.
You can restart the car (in the middle of the road, even) by holding the two on-wheel buttons.
I've had to do that once before.
It's not even like a traditional car where you can "restart" the electronics by turning it off and on again. It's a very specific sequence detailed in the manual...which most people aren't going to memorize.
And yet, apparently you have, from your parent of parent comment... bizarre.
You make it sound like some elaborate easter egg that's hard to remember and is only buried deep in the manual as a crazy special detailed long sequence of steps.
It's neither some very mysterious sequence, nor hard to memorize, nor hard to learn about. And you don't even need to know it.
As you well know it's just holding down two buttons which are right on the steering wheel basically where your thumbs are already resting as you drive. So why are you spreading FUD?
You don't even need to take your eyes off the road. Not even for one second. The buttons are right there where you can feel them.
And no, it's not something you could or would ever do accidentally unless you were trying odd stuff just to see what would happen. And if you did, it would be no big deal, and the car would continue driving just fine, and the UI would come back by itself after a few seconds. But again, this wouldn't happen.
>It's a very specific sequence detailed in the manual...
That is overly dramatic. Like, to the point where you should win an award. And the manual is not the only source for this "vErY sPeCiFiC sEqUEncE."
It's one step: hold the two buttons for a few seconds. As you said yourself.
In the unlikely even that A) a person driving the car doesn't know about this, B) they are running software that most cars don't have any more, C) they are using their web browser while driving, and D) they loaded a strange site that contained a hack, then they could just pull over and call for advice from service.
Service would tell them to press the buttons for a few seconds, and they could be on their way in under a minute including the time for the phone call.
https://www.thedrive.com/news/22887/the-spacex-dragon-capsul...
On top of this (or maybe under it) they have a layer with rollout tiers for Tesla owned cars, cars of employees who opt in for early updates, and customer cars. Probably more than just this. And then with all that they roll it out over time, so we're not all getting the update the same hour, but generally it starts with a trickle the first week and then becomes a flood of users getting a given update over the course of the following week or two.
If you're not on WiFi you might get the "Update Available" notice in the UI first, and then when you get to WiFi it downloads it. But it doesn't wait, if you don't see that notice and it has WiFi, it just downloads it.
Also Tesla says that if conditions warrant, it will download the update even when there is no WiFi. But I think it waits a while to try to opportunistically get on WiFi if it can, to reduce load on the LTE network it uses. If your car never connects to WiFi (which is up to you to do) then it will download, if it can, over LTE if the update is high enough priority.
There are probably silent updates as well as another commenter indicated. Don't know about those but it makes sense.
Rebooting the infotainment screen while driving is no big deal. The car drives just fine without it, and so do I.
Save for small numbers of cars explicitly ordered off-menu with that feature removed, or has been hiding under the rock for six months, they keep the VIN, the connection, and rotating ssh keys to log into any instances of cars of their current models that have ever delivered, and it's not like there are trillion Teslas on the road.
You usually have to be in range of wifi to download updates, afaik.
It's a car, has games, maps, music, nav, etc. Can't think of a reason to visit a website. Sure you dig in and use the screen to type in a URL, pretty painful. There's no RSS Feed, news of the day, etc to tempt you into web viewing.
I'd like to name this act "Tesla swatting".
Next task: can I make the Tesla following me slow down or speed up by attaching a fake speed sign to the back of my car?
https://www.theverge.com/2015/7/21/9009213/chrysler-uconnect...