Lurker News
Subaru partnered with a service called STARLINK which shares your location in the event of collisions, among other things.

STARLINK intermittently tries to phone home by hitting 3G towers.
Now that 3G is shutting down, the digital communications module (DCM) gets stuck in an infinite loop of
1. Phone home, expending battery charge 2. Fail, because 3G doesn't work anymore 3. Go back to step 1
This effectively remotely drains the battery of every Subaru Outback built between 2015 and 2020.
Even if you drive your car every day, its battery will die and you won't be able to start it.
Other models are probably affected, too.
There was a class action lawsuit. But this is a pretty egregious engineering oversight, given they were still producing defective cars in 2020, hardly two years before 3G flipped off.
Will a brand ever produce a reliable, mechanical car? Why should 3G towers have anything to do with my car being able to start?

Comments (215) 49 threads

Show all comments

Showing thread 10 of 49

totetsu3 replies#
This seems to be a very common type of software bug. On fail retry, without any limits of how frequent or how many time.
resolutebat3 replies#
If only there was a simple way to exponentially limit your retries and back off a bit when the other side is constantly failing.
wincy1 reply#
You mean the concept I learned week three as a junior developer (thanks to great mentorship)? Yeah, probably absolutely impossible.
hirsin#
You're lucky. I've seen entire engineering orgs convinced of the opposite, and highly resistant to improvement.
clnq3 replies#
Exponential back-off is fancy. There are a million repeating behaviors in a large automotive codebase. Maybe it's too arduous to code up exponential back-off for all. Even if you have a simple library to do it, it could introduce some complexity.

But it's quite easy to set timers to attempt things at regular intervals, rather than in an infinite loop until they succeed.
One attempt every 5 seconds (assuming a 5-second timeout for the request) is 17,280 attempts a day. One attempt every 5 minutes is 288 attempts a day. One attempt every 15 minutes is 96 attempts a day.
A simple repeating timer is a fantastic solution.
Does the car need to always send telemetry immediately? Can there be a 15-minute latency? If so, just put that on a timer and enjoy 99.4% power savings for offline cars, with basically the same quality of telemetry when they're online.
But what if a car needs to send telemetry at a given moment? Just move up the next timer function call.
But what if I want to get telemetry when the 3G signal is intermittent and briefly available? Just call the function once the 3G signal is available. Do this with a separate cool-down for this behavior.
But what if I need telemetry every second? Just dump all telemetry events into a buffer between successful sends, slap a timestamp on those events, and you can now send data for the past X hours all at once. Even from the black spots.
There are so many options (even less fancy than exp back-off), but this was probably built by a junior programmer without any support network. This feels like a very common lack-of-experience mistake that would be caught in code review if the reviewer cared.

adhesive_wombat12 replies#
> Exponential back-off is fancy

It's literally just a left bit-shift? It's as easy as a linear back-off. The only thing less fancy is no back-off at all.

Continue this thread — 12 replies

nucleardog#
Not to argue the overall point (retrying on a tight loop is not a good solution), but many of the models support communication the other way—e.g., remotely starting the car, adjusting the HVAC, etc.

So there is some justification for trying to keep a cell signal established or checking in more frequently than every 15 minutes or so. Someone attempting to remote start their car not having it actually respond for 15 minutes is likely to already be outside trying to leave and pissed off that they’re walking out to a cold car with iced up windows and thinking that the “remote start didn’t work”.

_xerces_1 reply#
When I was involved in certifying new devices to get on a carrier network, the carrier insisted on exponential backoff as well as some randomness so you wouldn't get millions of voic..devices crying out at the same time when power was lost or restored.

Continue this thread — 1 reply

cyanydeez#
But I need to unit test each recursion else I won't have completed test coverage!
petre1 reply#
It doesn't need to phone home when the ignition is off and could have been programmed to go into standby. You can hardly crash a car with the ignition off. Even if you do, it could be woken up using an accelerometer and try to phone home just a a few times. This is shitty engineering. I am quite amazed, because the Japanese normally don't do this. Probably another stupid marketing decision.
avidphantasm2 replies#
Most cars I’ve ever had don’t have auto-off headlights because the extra parts cost a few dollars and that eats into margins and growth must continue infinitely thanks to rent-seeking shareholders. Capitalism will corrupt engineering whenever it is in the interests of capitalists to do so.
petre#
You don't need extra parts, these are no headlights, but an IoT modem that already has power saving fearures on chip. It just needs an ignition signal and programming to go to sleep when it's not there.

You must have had very crappy cars, because I rented a 2022 Renault Clio this spring and it had very good ergonomics. I was quite amazed. Only an older Hyunday i3 that I know of had annoying electrical quirks. But hey, there are tiktok videos on how to steal current Hyundai and Kia cars.
https://www.theverge.com/23742425/kia-boys-car-theft-steal-t...

slavboj2 replies#
Communist automotive engineering departments by contrast are notorious for their near-decadent focus on customer satisfaction.

Continue this thread — 2 replies

Arrath#
It sure has been an issue with every cellphone I've ever owned, their radios flip out when I go somewhere without signal (tunnels, the subway, into nature) and will thrash the battery in a mad search for connectivity.