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
... <更多>

...全文
6860 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试试看。

16,229

社区成员

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

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