Qt 写的程序 调用百度地图,运行一个多小时后崩溃,进入Disassembler(WTFCrash),大佬们看看给点思路

lidar7956 2020-07-13 04:10:31
debug模式下进入以下界面:

以下是完整的堆栈调用:
0 WTFCrash C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\Qt5WebKitd.dll 0x1f2cfb83
1 WebCore::BitmapTextureImageBuffer::updateContents(WebCore::TextureMapper*, WebCore::GraphicsLayer*, WebCore::IntRect const&, WebCore::IntPoint const&, WebCore::BitmapTexture::UpdateContentsFlag) C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\Qt5WebKitd.dll 0x1ea9fe9e
2 WebCore::TextureMapperTile::updateContents(WebCore::TextureMapper*, WebCore::GraphicsLayer*, WebCore::IntRect const&, WebCore::BitmapTexture::UpdateContentsFlag) C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\Qt5WebKitd.dll 0x1ea99d59
3 WebCore::TextureMapperTiledBackingStore::updateContents(WebCore::TextureMapper*, WebCore::GraphicsLayer*, WebCore::FloatSize const&, WebCore::IntRect const&, WebCore::BitmapTexture::UpdateContentsFlag) C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\Qt5WebKitd.dll 0x1ea99658
4 WebCore::GraphicsLayerTextureMapper::updateBackingStoreIfNeeded() C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\Qt5WebKitd.dll 0x1eaa363f
5 WebCore::GraphicsLayerTextureMapper::flushCompositingState(WebCore::FloatRect const&) C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\Qt5WebKitd.dll 0x1eaa2e2d
6 WebCore::GraphicsLayerTextureMapper::flushCompositingState(WebCore::FloatRect const&) C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\Qt5WebKitd.dll 0x1eaa2e87
7 WebCore::GraphicsLayerTextureMapper::flushCompositingState(WebCore::FloatRect const&) C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\Qt5WebKitd.dll 0x1eaa2e87
8 WebCore::GraphicsLayerTextureMapper::flushCompositingState(WebCore::FloatRect const&) C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\Qt5WebKitd.dll 0x1eaa2e87
9 WebCore::GraphicsLayerTextureMapper::flushCompositingState(WebCore::FloatRect const&) C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\Qt5WebKitd.dll 0x1eaa2e87
10 WebCore::GraphicsLayerTextureMapper::flushCompositingState(WebCore::FloatRect const&) C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\Qt5WebKitd.dll 0x1eaa2e87
11 WebCore::GraphicsLayerTextureMapper::flushCompositingState(WebCore::FloatRect const&) C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\Qt5WebKitd.dll 0x1eaa2e87
12 WebCore::GraphicsLayerTextureMapper::flushCompositingState(WebCore::FloatRect const&) C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\Qt5WebKitd.dll 0x1eaa2e87
13 WebCore::GraphicsLayerTextureMapper::flushCompositingState(WebCore::FloatRect const&) C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\Qt5WebKitd.dll 0x1eaa2e87
14 WebCore::RenderLayerCompositor::flushPendingLayerChanges(bool) C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\Qt5WebKitd.dll 0x1da0076e
15 WebCore::FrameView::flushCompositingStateForThisFrame(WebCore::Frame*) C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\Qt5WebKitd.dll 0x1ec958f7
16 WebCore::FrameView::flushCompositingStateIncludingSubframes() C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\Qt5WebKitd.dll 0x1ec95936
17 WebCore::TextureMapperLayerClientQt::syncLayers(WebCore::Timer<WebCore::TextureMapperLayerClientQt>*) C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\Qt5WebKitd.dll 0x1d5f5443
18 WebCore::Timer<WebCore::TextureMapperLayerClientQt>::fired() C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\Qt5WebKitd.dll 0x1f8b9d5f
19 WebCore::ThreadTimers::sharedTimerFiredInternal() [clone .part.6] C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\Qt5WebKitd.dll 0x1eb8196d
20 WebCore::SharedTimerQt::timerEvent(QTimerEvent*) C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\Qt5WebKitd.dll 0x1ea6479e
... <更多>

...全文
6857 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
lidar7956 2020-07-17
  • 打赏
  • 举报
回复
原因是由于我在html文件中定义了几个不定长数组用于几个marker轨迹导致,将数组删除即可
  • 打赏
  • 举报
回复
https://www.mapbox.com/qt/ https://www.cnblogs.com/yangykaifa/p/7307230.html
lidar7956 2020-07-15
  • 打赏
  • 举报
回复
谢谢您,这个后续可以考虑,还是先解决当前这个问题
  • 打赏
  • 举报
回复
WebKit 比较老了。现在windows下已经改成Chrome的WebEngine。可以更换5.12LTS或者最新的额5.15试试看。
Hackers Disassembler 1.06 汉化版是一个非常快速和舒适的免费反汇编工具,玩过破解的我相信Hacker’s Disassembler 会成为你收藏的工具之一。 软件功能特色:对于COM,MZ和PE可执行文件的支持 在JMP和CALL指令和给定的地址,存储地址的历史 认识到引用字符串,对话框和菜单 认识到导入函数的调用 有关导出函数的信息 自定义的热键和颜色,语法高亮 “跟踪模式” 程序和全局变量名称 注释 书签 使用拖放和拖放打开文件 保存文本片段 对话框中的“反汇编模式” 在正常模式下可以反汇编或者整个文件(二进制和MZ),部分路段(PE)或间隔(虚拟地址在相应的字段中指定)。 在跟踪模式下反汇编开始从虚拟地址在现场开始设置,到结束设置地址,或到最接近的指令JMP或沤。然后当控制被转移到块被分解。这种模式便于拆卸的代码的小片段,例如,在RTL函数调用一些辅助功能。请注意,该守则某些部分可以通过反汇编,如果控件使用间接寻址指令(例如,调用[ESI EAX*4])转让有被错过。默认情况下,现场开始包含入口的地址。 当打开二进制文件,需要指定文件图像(物理地址)的偏移量,图像的大小,对应于图像(虚拟地址)的开头的虚拟地址,进入的和是否该代码是32位的虚拟地址。     反汇编 最小的字符串长度:具有长度小于给定数量少的字符串是由反汇编忽略,并且不包括在字符串引用列表。此参数用于预防参考其他不属于字符串符号的短序列。

16,216

社区成员

发帖
与我相关
我的任务
社区描述
Qt 是一个跨平台应用程序框架。通过使用 Qt,您可以一次性开发应用程序和用户界面,然后将其部署到多个桌面和嵌入式操作系统,而无需重复编写源代码。
社区管理员
  • Qt
  • 亭台六七座
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧