主题:美国码农发现丰田代码缺陷,会导致加速且无法控制,狂抽皇军伪军以及NASA大嘴巴
正序浏览
主题图片汇总
主题内检索
浏览:16502 回帖:323
游客没有回帖权限
泡菜
泡网分: 1.203
主题: 9
帖子: 1086
注册: 2011年10月
mcv 发表于 2013-10-27 22:26
注意这个题目“Toyota Case: Single Bit Flip That Killed”。这是文章的重点。

bit-filp error是一个专有名词,指的是存储器内某些位意外的翻转,可以由软件或者硬件造成。single bit-filp,指的是单一bit的翻转,由于软件不直接操作bit,所以软件故障很少造成这个问题,通常是硬件导致的。由于宇宙射线或者材料自身的放射性导致的某些bit意外翻转,这是本质上无法彻底避免的。

文章中尤其提及了“He believes that Toyota's engineers sought to protect numerous variables against software- and hardware-cause corruptions, but they failed to mirror several key critical variables, and they made no hardware protection available against bit flips.”

这里面无论是"mirror"还是"hardware protection available against bit flips"都已经是fail-safe的范畴了。mirror是指关键变量具有多个拷贝,从而避免意外修改。"hardware protection available against bit flips"有很多的方法,最常见的就是ECC,服务器的内存带ECC就是这个原因。

当然我并不是说丰田的内存管理没有问题,栈溢出或者数组越界当然也可能造成“software-cause corruptions”。

但是问题的关键是,丰田对 ...






似乎遇见了认真的朋友,幸会。

我也提醒你注意一下,楼主的转贴,也没有贴全,原文一共有三页,楼主只贴了两页内容,这个网站,有个限制,读文章一天只能翻两页,要读第三页,需要注册。我玩了一下小技巧,把全文都抽了出来,先转贴在这里,让大家一窥全豹

Toyota Case: Single Bit Flip That Killed

MADISON, Wis. — Could bad code kill a person? It could, and it apparently did.
The Bookout v Toyota Motor Corp. case, which blamed sudden acceleration in a Toyota Camry for a wrongful death, touches the issue directly.
This case -- one of several hundred contending that Toyota's vehicles inadvertently accelerated -- was the first in which a jury heard the plaintiffs' attorneys supporting their argument with extensive testimony from embedded systems experts. That testimony focused on Toyota's electronic throttle control system -- specifically, its source code.
The plaintiffs' attorneys closed their argument by saying that the electronics throttle control system caused the sudden acceleration of a 2005 Camry in a September 2007 accident that killed one woman and seriously injured another on an Oklahoma highway off-ramp. It wasn't loose floor mats, a sticky pedal, or driver error.
An Oklahoma judge announced that a settlement to avoid punitive damages had been reached Thursday evening. This was announced shortly after an Oklahoma County jury found Toyota liable for the crash and awarded $1.5 million of compensation to Jean Bookout, the driver, who was injured in the crash, and $1.5 million to the family of Barbara Schwarz, who died.
During the trial, embedded systems experts who reviewed Toyota's electronic throttle source code testified that they found Toyota's source code defective, and that it contains bugs -- including bugs that can cause unintended acceleration.
"We've demonstrated how as little as a single bit flip can cause the driver to lose control of the engine speed in real cars due to software malfunction that is not reliably detected by any fail-safe," Michael Barr, CTO and co-founder of Barr Group, told us in an exclusive interview. Barr served as an expert witness in this case.
A core group of seven experts, including four from Barr Group, analyzed the Toyota case. Their analysis ultimately resulted in Barr's 800-plus-page report.
In Toyota's own view, though, the automaker had been already exonerated when the National Highway Traffic Safety Administration closed its probe of Toyota models in February 2011. The NHTSA decision came after NASA investigated Toyota's electronic throttle control system and found no electronic causes of unintended acceleration during a 10-month review.
But not everyone in the embedded systems industry thinks NASA had enough time to come up with a complete report. Perhaps more significantly, in its report, NASA itself did not rule out the possibility of software having caused unintended acceleration.
The group of seven experts was given the task of picking up where the NASA investigation left off.

"We did a few things that NASA apparently did not have time to do," Barr said. For one thing, by looking within the real-time operating system, the experts identified "unprotected critical variables." They obtained and reviewed the source code for the "sub-CPU," and they "uncovered gaps and defects in the throttle fail safes."
Further, the team ran simulations in the Green Hills Simulator. "This confirmed tasks can die without the watchdog resetting the processor." His group also independently checked worst-case stack depth. "We found many big mistakes in the Toyota analysis that NASA relied on."
The experts demonstrated that "the defects we found were linked to unintended acceleration through vehicle testing," Barr said. "We also obtained and reviewed the source code for the black box and found that it can record false information about the driver's actions in the final seconds before a crash."
It's important to note Barr Group testimony led to a billion-dollar economic-loss settlement by Toyota last December. Because of that settlement, details of the technical discoveries made back then by the experts were not made public until the Oklahoma trial. The economic-loss settlement resolved hundreds of lawsuits claiming vehicles depreciated after the company issued recalls related to faulty acceleration. Toyota still faces lawsuits claiming injury or death related to the recalls.
Task X death
Now that the experts' testimony and findings have been made public through the Oklahoma trial, let's get into details. What defects were found in Toyota's electronic throttle control systems?
Barr said that the 2005 Camry L4 source code and in-vehicle tests by the experts confirmed that some critical variables are not protected from corruption, and sources of memory corruption are present. He believes that Toyota's engineers sought to protect numerous variables against software- and hardware-cause corruptions, but they failed to mirror several key critical variables, and they made no hardware protection available against bit flips.
Stack overflow and software bugs led to memory corruption, he said. And it turns out that the crux of the issue was these memory corruptions, which acted "like ricocheting bullets."
Barr explains the issue this way:
Memory corruption as little as one bit flip can cause a task to die. This can happen by hardware single-event upsets -- i.e., bit flip -- or via one of the many software bugs, such as buffer overflows and race conditions, we identified in the code.
There are tens of millions of combinations of untested task death, any of which could happen in any possible vehicle/software state. Too many to test them all. But vehicle tests we have done in 2005 and 2008 Camrys show that even just the death of Task X by itself can cause loss of throttle control by the driver -- even as combustion continues to power the engine. In a nutshell, the fail safes Toyota did install have gaps in them and are inadequate to detect all of the ways UA can occur via software.
Just to clarify, the "tasks" are equivalent to apps running on smartphones or PCs. All software malfunctions from time to time -- we often have to reboot our machines. The 2005 Camry L4 has a set of dozens of apps (or tasks). Because they are all meant to be running always, the death of one could have dire consequences.
When asked if the whole case for unintended acceleration could be pinned on the task X death, Barr replied, "The task X death in combination with other task deaths." There are dozens of tasks and 16 million different ways those tasks can die. The experts group was able to demonstrate at least one way for the software to cause unintended acceleration, but there are so many other ways that could have happened.
Barr also said more than half the dozens of tasks' deaths studied by the experts in their experiments "were not detected by any fail safe."
What's next for NHTSA
After the Oklahoma trial, what steps should the NHTSA be taking? Barr made some suggestions:
NHTSA needs to get Toyota to make its existing cars safe and also needs to step up on software regulation and oversight. For example, FAA and FDA both have guidelines for safety-critical software design (e.g., DO-178) within the systems they oversee. NHTSA has nothing.
Also, NHTSA recently mandated the presence and certain features of black boxes in all US cars, but that rule does not go far enough. We observed that Toyota's black box can malfunction during unintended acceleration specifically, and this will cause the black box to falsely report no braking. NHTSA's rules need to address this, e.g., by being more specific about where and how the black box gets its data, so that it does not have a common failure point with the engine computer.

(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
泡菜
泡网分: 2.236
主题: 6
帖子: 1641
注册: 2009年6月
大迷糊 发表于 2013-10-27 19:50
有一定的可信度至少在俺的行业范围里,日本产品的软件系统BUG最多,操作最低能,功能最原始
你什么行业?晒一晒?

本帖由 V2.5.0 iPhone 客户端发布
(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
资深泡菜
泡网分: 37.644
主题: 1
帖子: 2759
注册: 2005年1月
做过码农的人Mark一下。很有后怕。
(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
泡菜
泡网分: 2.334
主题: 20
帖子: 2176
注册: 2011年11月
这个帖子里面好多程序员啊
(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
mcv
资深泡菜
泡网分: 4.573
主题: 13
帖子: 2931
注册: 2004年2月
强劲脚力 发表于 2013-10-27 23:24
说的应该是发动机ECU程序了,这东西说是嵌入式系统也行,我觉得更倾向于单片机,拆开过,看着也真是单片机,这东西的复杂程度远远不到手机系统,就按单片机理解应该没错,它没有一个系统平台,简单说直接就是一段程序,一块ROM放程序及数据表,一块RAM运行程序,所以说到内存管理它都达不到级别,并且比较特别的是软件运行的时候可以直接对某些位操作,事实上是必须对某些位直接操作。

既然是美国码农发现的,估计不是硬件问题,应该是程序问题,栈溢出或者数组越界这种可能性非常小,单片机不像嵌入式系统那样复杂,数据量不大,就那么些可操作内存空间,都能一个个字节数过来,写程序的会非常注意。可能是某些意外情况出现的时候语句非受控地修改了某个关键控制位了,软件出错肯定是丰田责任了,不过,这种问题一旦发现很好解决。

ECU程序主错主要是来源于电磁干扰,汽车上的电磁干扰很严重,启动的时候启动机干扰,行车的时候点火线圈干扰,别的因素影响相对小很高。如果说某次过于高压的点火绕圈放电干扰使ECU某位意外翻转了,然后程序就出错,这种硬件故障都不算什么希奇,错误校验是肯定有的。但如果是程序设计的时候就存在这个隐患,执行的时候就是合理的,则不关校验什么事了,那设计 ...

好吧,某些单片机确实有bit操作,譬如51... 但这不是关键问题了。

关键问题是码农说丰田对于某些关键变量没加校验,软的硬的都没有

丰田当然不可能做出ECU软件不做校验这么低级的事情,应该只是漏了。

但是为啥连硬件校验也没呢?片内RAM带个奇偶校验应该稀松平常吧? 本帖最后由 mcv 于 2013-10-27 23:52 编辑

(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
泡菜
泡网分: 12.222
主题: 96
帖子: 3128
注册: 2009年2月
BenII 发表于 2013-10-27 22:38
这个么,参见摩尔定律(是叫这个名字吧)

以我这个吊死码农的可怜的工作经验,但凡被发现的,多半都能在现实中发生

不过,楼主属于给老婆踢下床的,已经不会好好说话了

已经不会好好说话了
(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
泡菜
泡网分: 4.253
主题: 21
帖子: 3674
注册: 2011年3月
mcv 发表于 2013-10-27 22:26
注意这个题目“Toyota Case: Single Bit Flip That Killed”。这是文章的重点。

bit-filp error是一个专有名词,指的是存储器内某些位意外的翻转,可以由软件或者硬件造成。single bit-filp,指的是单一bit的翻转,由于软件不直接操作bit,所以软件故障很少造成这个问题,通常是硬件导致的。由于宇宙射线或者材料自身的放射性导致的某些bit意外翻转,这是本质上无法彻底避免的。

文章中尤其提及了“He believes that Toyota's engineers sought to protect numerous variables against software- and hardware-cause corruptions, but they failed to mirror several key critical variables, and they made no hardware protection available against bit flips.”

这里面无论是"mirror"还是"hardware protection available against bit flips"都已经是fail-safe的范畴了。mirror是指关键变量具有多个拷贝,从而避免意外修改。"hardware protection available against bit flips"有很多的方法,最常见的就是ECC,服务器的内存带ECC就是这个原因。

当然我并不是说丰田的内存管理没有问题,栈溢出或者数组越界当然也可能造成“software-cause corruptions”。

但是问题的关键是,丰田对 ...


说的应该是发动机ECU程序了,这东西说是嵌入式系统也行,我觉得更倾向于单片机,拆开过,看着也真是单片机,这东西的复杂程度远远不到手机系统,就按单片机理解应该没错,它没有一个系统平台,简单说直接就是一段程序,一块ROM放程序及数据表,一块RAM运行程序,所以说到内存管理它都达不到级别,并且比较特别的是软件运行的时候可以直接对某些位操作,事实上是必须对某些位直接操作。

既然是美国码农发现的,估计不是硬件问题,应该是程序问题,栈溢出或者数组越界这种可能性非常小,单片机不像嵌入式系统那样复杂,数据量不大,就那么些可操作内存空间,都能一个个字节数过来,写程序的会非常注意。可能是某些意外情况出现的时候语句非受控地修改了某个关键控制位了,软件出错肯定是丰田责任了,不过,这种问题一旦发现很好解决。

ECU程序主错主要是来源于电磁干扰,汽车上的电磁干扰很严重,启动的时候启动机干扰,行车的时候点火线圈干扰,别的因素影响相对小很高。如果说某次过于高压的点火绕圈放电干扰使ECU某位意外翻转了,然后程序就出错,这种硬件故障都不算什么希奇,错误校验是肯定有的。但如果是程序设计的时候就存在这个隐患,执行的时候就是合理的,则不关校验什么事了,那设计者显然是责有任的。
(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
泡菜
泡网分: 5.867
主题: 207
帖子: 2267
注册: 2011年1月
不明觉厉
(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
资深泡菜
泡网分: 62.166
主题: 17
帖子: 11628
注册: 2005年9月
优质内容勋章
第一应该是ECC, 但丰田没有做。
第二应该是关键变量双重备份保护(mirroring), 但丰田没有做。
第三应该是刹车优先进一步保护。

当然这只是说这样的设计可能出故障,没法证明这事情就一定(频繁)发生过,虽然有墨菲定律在那里。

今是若 发表于 2013-10-27 22:47
我靠,我看到了。刚刚捏个脚的时候用手机看到了。

马马虎虎看明白了一些。就是一些不常见的问题会导致内存里的“关键变量”发生翻转,这个翻转可能会导致车子加速。
本来第一层保护应该是ECC之类,丰田没有做;
第二层保护应该是刹车优先,丰田还没有做。

就这样,也不知道对不对……
(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
泡菜
泡网分: 3.837
主题: 88
帖子: 4169
注册: 2013年3月
大迷糊 发表于 2013-10-27 19:50
有一定的可信度

至少在俺的行业范围里,日本产品的软件系统BUG最多,操作最低能,功能最原始


但是质量和可靠性仍然比德国货好的多。
(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
mcv
资深泡菜
泡网分: 4.573
主题: 13
帖子: 2931
注册: 2004年2月
蓝色极冰 发表于 2013-10-27 22:51
说的※※※※※的样子。不过我支持,丰田没有应对办法吗?
肯定有。

问题是不知道bug存在的话就很难改掉。

而且每次车升级软件不会全部重写,所以bug就会一直一直传下去…

阿丽亚娜5型火箭首发失败差不多就是这么回事,由于5比4的性能更高,某些运动信息数值也就更大。结果导致一段从4来的软件中一个变量溢出了,虽然他们在4上面是久经考验的
本帖由 V2.5.0 iPad 客户端发布
(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
泡菜
泡网分: 20.959
主题: 2
帖子: 17249
注册: 2011年7月
mcv 发表于 2013-10-27 22:26
注意这个题目“Toyota Case: Single Bit Flip That Killed”。这是文章的重点。

bit-filp error是一个专有名词,指的是存储器内某些位意外的翻转,可以由软件或者硬件造成。single bit-filp,指的是单一bit的翻转,由于软件不直接操作bit,所以软件故障很少造成这个问题,通常是硬件导致的。由于宇宙射线或者材料自身的放射性导致的某些bit意外翻转,这是本质上无法彻底避免的。

文章中尤其提及了“He believes that Toyota's engineers sought to protect numerous variables against software- and hardware-cause corruptions, but they failed to mirror several key critical variables, and they made no hardware protection available against bit flips.”

这里面无论是"mirror"还是"hardware protection available against bit flips"都已经是fail-safe的范畴了。mirror是指关键变量具有多个拷贝,从而避免意外修改。"hardware protection available against bit flips"有很多的方法,最常见的就是ECC,服务器的内存带ECC就是这个原因。

当然我并不是说丰田的内存管理没有问题,栈溢出或者数组越界当然也可能造成“software-cause corruptions”。

但是问题的关键是,丰田对 ...
说的※※※※※的样子。不过我支持,丰田没有应对办法吗?
(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
资深泡菜
泡网分: 48.461
主题: 134
帖子: 10637
注册: 2005年2月
mcv 发表于 2013-10-27 22:43
是墨菲法则吧

软件的测试很困难,fail-safe的测试更是如此。

我担心这个问题现在依然存在于丰田车的各个更新版的软件里。


对,莫非定律,我没睡醒
(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
泡菜
泡网分: 2.334
主题: 20
帖子: 2176
注册: 2011年11月
兔子特饱 发表于 2013-10-27 22:10
@今是若


我靠,我看到了。刚刚捏个脚的时候用手机看到了。

马马虎虎看明白了一些。就是一些不常见的问题会导致内存里的“关键变量”发生翻转,这个翻转可能会导致车子加速。
本来第一层保护应该是ECC之类,丰田没有做;
第二层保护应该是刹车优先,丰田还没有做。

就这样,也不知道对不对……

(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
资深泡菜
泡网分: 48.461
主题: 134
帖子: 10637
注册: 2005年2月
mcv 发表于 2013-10-27 22:26
注意这个题目“Toyota Case: Single Bit Flip That Killed”。这是文章的重点。

bit-filp error是一个专有名词,指的是存储器内某些位意外的翻转,可以由软件或者硬件造成。single bit-filp,指的是单一bit的翻转,由于软件不直接操作bit,所以软件故障很少造成这个问题,通常是硬件导致的。由于宇宙射线或者材料自身的放射性导致的某些bit意外翻转,这是本质上无法彻底避免的。

文章中尤其提及了“He believes that Toyota's engineers sought to protect numerous variables against software- and hardware-cause corruptions, but they failed to mirror several key critical variables, and they made no hardware protection available against bit flips.”

这里面无论是"mirror"还是"hardware protection available against bit flips"都已经是fail-safe的范畴了。mirror是指关键变量具有多个拷贝,从而避免意外修改。"hardware protection available against bit flips"有很多的方法,最常见的就是ECC,服务器的内存带ECC就是这个原因。

当然我并不是说丰田的内存管理没有问题,栈溢出或者数组越界当然也可能造成“software-cause corruptions”。

但是问题的关键是,丰田对 ...




任何软件都可能出错,出错后如何处理,是衡量软件质量的重要因素

很显然,丰田做得不好
(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
mcv
资深泡菜
泡网分: 4.573
主题: 13
帖子: 2931
注册: 2004年2月
BenII 发表于 2013-10-27 22:38
这个么,参见摩尔定律(是叫这个名字吧)以我这个吊死码农的可怜的工作经验,但凡被发现的,多半都能在现实中发生不过,楼主属于给老婆踢下床的,已经不会好好说话了<img src=\"https://forum.xitek.com/static/image/smiley/xitek/expr010.gif\" border=0>
是墨菲法则吧

软件的测试很困难,fail-safe的测试更是如此。

我担心这个问题现在依然存在于丰田车的各个更新版的软件里。
本帖由 V2.5.0 iPad 客户端发布
(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
资深泡菜
泡网分: 48.461
主题: 134
帖子: 10637
注册: 2005年2月
会跳的蛋 发表于 2013-10-27 19:26
可以重现的实验才是有意义的实验,可以重现的BUG才能叫BUG,NASA肯定比任何测试机构都明白。


这个么,参见摩尔定律(是叫这个名字吧)

以我这个吊死码农的可怜的工作经验,但凡被发现的,多半都能在现实中发生

不过,楼主属于给老婆踢下床的,已经不会好好说话了
(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
mcv
资深泡菜
泡网分: 4.573
主题: 13
帖子: 2931
注册: 2004年2月
巨大防抖 发表于 2013-10-27 20:59
我说的是大意,既然你如此较真,好吧,那我就英汉对照,逐字将相关内容对比直译出来给大家检查检查吧!

Barr said that the 2005 Camry L4 source code and in-vehicle tests by the experts confirmed that some critical variables are not protected from corruption, and sources of memory corruption are present. He believes that Toyota's engineers sought to protect numerous variables against software- and hardware-cause corruptions, but they failed to mirror several key critical variables, and they made no hardware protection available against bit flips.

〉〉〉〉〉〉

----Barr说,由专家对 2005 Camry L4 源代码和车内测试确认,某些关键变量未被安全保护,从而避免被错误修改(也就是我的“内存管理错误,会导致某些关键性的变量对位失序”意思。关于corruption,是一个专用的软件属于,全称应该是memory corruption,定义,程序操作管理内存时对位失序,导致错误修改,请看链接:http://en.※※※※※※※※※.org/wiki/Memory_corruption),存在memory corruption源。

----Barr said that the 2005 Camry L4 source code and in-vehicle tests by the exper ...

注意这个题目“Toyota Case: Single Bit Flip That Killed”。这是文章的重点。

bit-filp error是一个专有名词,指的是存储器内某些位意外的翻转,可以由软件或者硬件造成。single bit-filp,指的是单一bit的翻转,由于软件不直接操作bit,所以软件故障很少造成这个问题,通常是硬件导致的。由于宇宙射线或者材料自身的放射性导致的某些bit意外翻转,这是本质上无法彻底避免的。

文章中尤其提及了“He believes that Toyota's engineers sought to protect numerous variables against software- and hardware-cause corruptions, but they failed to mirror several key critical variables, and they made no hardware protection available against bit flips.”

这里面无论是"mirror"还是"hardware protection available against bit flips"都已经是fail-safe的范畴了。mirror是指关键变量具有多个拷贝,从而避免意外修改。"hardware protection available against bit flips"有很多的方法,最常见的就是ECC,服务器的内存带ECC就是这个原因。

当然我并不是说丰田的内存管理没有问题,栈溢出或者数组越界当然也可能造成“software-cause corruptions”。

但是问题的关键是,丰田对于某些重要变量缺乏保护,无论是软件还是硬件的。在这个前提下,即便丰田的软件有完美的内存管理,还是一样可能会挂掉,因为即便software是完美无缺的,hardware总有一定概率会出问题。因此文章的重点是在于这个fail-safe漏洞上,所以题目用的是“Single Bit Flip That Killed”。

当然,说到底,我们谈的都只是一个很小的分歧。这个问题总是丰田的责任,这点是毋庸置疑的。 本帖最后由 mcv 于 2013-10-27 22:28 编辑

(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
资深泡菜
泡网分: 33.932
主题: 1038
帖子: 14509
注册: 2009年11月
@今是若
(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
资深泡菜
泡网分: 24.963
主题: 86
帖子: 3244
注册: 2004年5月
这不科学,世界第一的厂商丰田怎么可能出这种低端错误。你让论坛里热爱丰田的人怎么再信任自己的车,不过有些人是宁可死在皇军的刀下,也要说皇军的车安全可靠故障率低。比如某个说日本地名都比中国有人情味的※※。但是皇军的干爹给出的结论,倭奴们不是更应该追捧才对啊。

本帖最后由 zeratulhei 于 2013-10-27 22:07 编辑

(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
资深泡菜
泡网分: 17.742
主题: 11
帖子: 14959
注册: 2008年11月
原版咕咚 发表于 2013-10-27 19:59
欣然采纳丰田前来舔沟的变速箱,就是因为爱信价钱比 ZF 8HP90 便宜 20% , 服务态度还更好,开放研发成果给前来临幸的嫖客 ...
帮你逗号换个位置,牛,B就不要出来卖。
本帖由 Sony SGP311 客户端发布
(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
泡菜
泡网分: 1.203
主题: 9
帖子: 1086
注册: 2011年10月
mcv 发表于 2013-10-27 20:37
好像不是这意思吧?

我草草看了下似乎是对于一些重要变量缺乏保护,导致单比特翻转错误就可以导致车子突然加速。

这已经是故障安全范畴了。不是那种随便就能发现的逻辑错误。

软差错本质上是无法完全避免的,宇宙射线击中DRAM的一个单元就可能让它翻转过来。

所以这个在高可靠性应用中必须加以防护。

怎么会出这种问题,不是说鬼子的fail-safe很强的么。


我说的是大意,既然你如此较真,好吧,那我就英汉对照,逐字将相关内容对比直译出来给大家检查检查吧!

Barr said that the 2005 Camry L4 source code and in-vehicle tests by the experts confirmed that some critical variables are not protected from corruption, and sources of memory corruption are present. He believes that Toyota's engineers sought to protect numerous variables against software- and hardware-cause corruptions, but they failed to mirror several key critical variables, and they made no hardware protection available against bit flips.

〉〉〉〉〉〉

----Barr说,由专家对 2005 Camry L4 源代码和车内测试确认,某些关键变量未被安全保护,从而避免被错误修改(也就是我的“内存管理错误,会导致某些关键性的变量对位失序”意思。关于corruption,是一个专用的软件属于,全称应该是memory corruption,定义,程序操作管理内存时对位失序,导致错误修改,请看链接:http://en.※※※※※※※※※.org/wiki/Memory_corruption),存在memory corruption源。

----Barr said that the 2005 Camry L4 source code and in-vehicle tests by the experts confirmed that some critical variables are not protected from corruption, and sources of memory corruption are present.

〉〉〉〉〉〉〉〉

他相信丰田的工程师试图保护大量的变量以免意外被软硬件因素所修改,但是他们未能成功映射一些关键变量,也没能对bit位翻转实施任何硬件保护。

He believes that Toyota's engineers sought to protect numerous variables against software- and hardware-cause corruptions, but they failed to mirror several key critical variables, and they made no hardware protection available against bit flips.

一个懂嵌入式编程的人,不难发现,这些话言下之意,就是内存管理不周密。
(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
泡菜
泡网分: 21.678
主题: 1199
帖子: 12663
注册: 2011年3月
单bit翻转引起的错误别的厂家有预防吗? 本帖最后由 motofox2 于 2013-10-27 20:55 编辑

(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
mcv
资深泡菜
泡网分: 4.573
主题: 13
帖子: 2931
注册: 2004年2月
巨大防抖 发表于 2013-10-27 19:24
意思就是一些美国的嵌入式专家检查和测试了丰田的控制系统源代码(似乎是2005年 凯美瑞L4-第四代?)之后,发现存在内存管理错误,会导致某些关键性的变量对位失序。——这应该是此前沸沸扬扬的丰田车意外加速问题的原因。丰田的软件有问题,一个有经验的软件工程师,开过,感觉都能感觉出来,例如,某些型号凯美瑞空调的车内循环开关逻辑混乱,经常导致不可预料的开关行为。黄种人,在逻辑理性严谨方面,似乎先天不如白种人。所以,车的电子控制功能,还是适量为好。<i><font color=#666> 本帖最后由 巨大防抖 于 2013-10-27 19:26 编辑 </font></i>

好像不是这意思吧?

我草草看了下似乎是对于一些重要变量缺乏保护,导致单比特翻转错误就可以导致车子突然加速。

这已经是故障安全范畴了。不是那种随便就能发现的逻辑错误。普通的软件工程师根本不会考虑这些问题。

软差错本质上是无法完全避免的,宇宙射线击中DRAM的一个单元就可能让它翻转过来。

所以这个在高可靠性应用中必须加以防护,硬件或者软件的,但是似乎偷油獭漏过了。

很奇怪怎么会出这种问题,不是说鬼子的fail-safe很强的么?

此外如果以前的车有这个问题的话,现在的车弄不好还是有。 本帖最后由 mcv 于 2013-10-27 20:49 编辑

(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
资深泡菜
泡网分: 63.311
主题: 144
帖子: 8328
注册: 2004年5月
屏山客 发表于 2013-10-27 20:23
忒丢人了……


是啊,这个话题皇协军必然要出来丢人显眼,有人只要指摘太君出问题,那些自带干粮的慰安妇后代伪军比被杀父淫母还要心疼,巴巴的蹦出来对号入座,用各种体位给太君舔沟,真是人间奇景

慰安妇养出来的杂种,一时间把自己当成纯种了?
(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
资深泡菜
泡网分: 40.187
主题: 58
帖子: 5212
注册: 2004年5月
忒丢人了……
本帖由 Sony LT30p 客户端发布
(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
资深泡菜
泡网分: 63.311
主题: 144
帖子: 8328
注册: 2004年5月
nexos 发表于 2013-10-27 20:14
资深又见大※※。拉黑。


※※就是对号入座的马甲

被老子骂的那些大※※,一个一个跟三孙子一样对号入座,还不敢现真身,逼一样的马甲现出来接受检阅
(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
泡菜
泡网分: 0.686
主题: 37
帖子: 578
注册: 2012年7月
遗憾的是 无论你怎么黑 就算到处是bug 全身有隐患的破日本车。
就是比完美无暇 无懈可击的国产车卖的好,还卖的贵!
(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
资深泡菜
泡网分: 40.187
主题: 58
帖子: 5212
注册: 2004年5月
原版咕咚 发表于 2013-10-27 19:59
欣然采纳丰田前来舔沟的变速箱,就是因为爱信价钱比 ZF 8HP90 便宜 20% , 服务态度还更好,开放研发成果给前来临幸的嫖客 ...
说实在的,这对大众车主来说是挺丢人的事儿。当然,咱们理解角度总是不同。就像我很关心自己车子的问题,而你却操心别人车子的问题。
本帖由 Sony LT30p 客户端发布
(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
资深泡菜
泡网分: 63.311
主题: 144
帖子: 8328
注册: 2004年5月
道德帝 发表于 2013-10-27 20:12
看来你爸妈没有教过你什么叫做礼貌


礼貌有的是,但显然不是讲给自带干粮替日本皇军舔沟的慰安妇后代伪军及其马甲的
(0)
(0)
只看该作者
不看该作者
加入黑名单
举报
返回顶部
个人图文集
个人作品集
回复主题: 美国码农发现丰田代码缺陷,会导致加速且无法控制,狂抽皇军伪军以及NASA大嘴巴
功能受限
游客无回复权限,请登录后再试