QML在Mips上运行崩溃问题
来源:互联网 发布:蜂窝网络里找不到软件 编辑:程序博客网 时间:2024/05/16 11:36
项目中需要使用QT4.8.3中的QtQuick,编写的QML文件一旦运行就会崩溃。主要现象:
1、使用Behavior on X{
Animation{
}
}
发现只要对某个属性使用Behavior并且定义其变化的动画时,程序崩溃
2、使用属性Attach
xposition1: xposition/3
只要在属性Attach时使用除法,程序也崩溃。
最后发现崩溃点在JSValue.h文件中的,被WTF_USE_JSVALUE32_64宏进行保护的代码中,ChangeLog中明确说明Mips是支持这个宏的,对于X86或者PPC则不支持,原因是Padding和Alignment。
直接将其换成WTF_USE_JSVALUE32即可解决问题。
这个宏的意义在于:https://bugs.webkit.org/show_bug.cgi?id=29268
Csaba Osztrogonác 2010-09-09 10:07:53 PDT
(In reply to comment #12)> > I tried JSVALUE32_64 with QtWebKit/Windows/MinGW again, and it works now. :)> > I don't know which changeset fixed it in the last 5 months. :)> > > > It works now, so I propose to switch to JSVALUE32_64.> > SunSpider will be 1.60x faster, but V8 will be 1.19x slower.> > do not they care about this perf regression, or i'm missing something?The difference between JSVALUE32 and JSVALUE32_64 is the size of JSValue,which can be 32 bit or 64 bit. The JSVALUE32_64 is faster when you workwith a lot of 64 bit sized numbers (long int, double) such as 3D tests inSunSpider. Unfortunately it has a little performance regression if yourapplication can't exploit the 64 bit sized JSValues.But we have to know the only choice is JSVALUE32_64, because WebKit community don't intend to support JSVALUE32 in the future as Gavin said.
不过不清楚为什么在我的嵌入式平台不支持。
0 0
- QML在Mips上运行崩溃问题
- 路由器逆向分析------在QEMU MIPS虚拟机上运行MIPS程序(ssh方式)
- 高德地图在个别机型手机上运行崩溃的问题
- CCProgressTimer在Android机器上崩溃问题
- 记录一次在虚拟机中运行android项目崩溃问题
- 在开发机上运行正常在客户机上崩溃的调试方法
- 解决Shockwave flash在chrome浏览器上崩溃的问题
- 解决Shockwave flash在chrome浏览器上崩溃的问题
- 解决Shockwave flash在chrome浏览器上崩溃的问题
- 解决Shockwave flash在chrome浏览器上崩溃的问题
- 解决Shockwave flash在chrome浏览器上崩溃的问题
- cocos2dx在surface pro上启动崩溃的问题
- 解决Shockwave flash在chrome浏览器上崩溃的问题
- 中文手写输入法在iOS8.1上的崩溃问题
- Cornerstone在Mac系统10.12上崩溃的问题
- RTSP server 在mips 上莫名其妙退出(PC上则无此问题)
- Clinux在MIPS上的移植
- 高精度定时器在mips上的框架结构
- nyoj 75 日期计算
- 函数
- 【设计模式】工厂模式详解
- 轻松搞定你的IPython + Notebook 基于云的科学计算环境(含详细步骤)
- 讲究门面的Request
- QML在Mips上运行崩溃问题
- 'default' is not a best match for any device/locale combination.
- nyoj 113 字符串替换
- MD5给密码加密
- 编写一个函数,将一个数字字符串转换成这个字符串对应的数字
- c#类型参数的约束
- nyoj 540 奇怪的排序
- ubuntu10.10下mysql远程连接和访问慢的解决方法
- nyoj 628 小媛在努力