cdcseacave / openMVS

open Multi-View Stereo reconstruction library
http://cdcseacave.github.io
GNU Affero General Public License v3.0
3.28k stars 901 forks source link

(Ubuntu) stack smashing detected: terminated error when running DensifyPointCloud #714

Open natsumeflora opened 2 years ago

natsumeflora commented 2 years ago

I compiled the openMVS successfully, but when I tried to run the DensifyPointCloud, I got this output:

04:41:21 [App ] Build date: Nov 11 2021, 04:12:12 04:41:21 [App ] CPU: Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz (2 cores) 04:41:21 [App ] RAM: 3.80GB Physical Memory 923.30MB Virtual Memory 04:41:21 [App ] OS: Linux 5.11.0-40-generic (x86_64) 04:41:21 [App ] SSE & AVX compatible CPU & OS detected 04:41:21 [App ] Command line: -w /home/flora/openMVS_sample-master -i scene.mvs -o test_dense.mvs 04:41:21 [App ] Camera model loaded: platform 0; camera 0; f 1.054x1.054; poses 11 04:41:21 [App ] Image loaded 0: 00000.jpg 04:41:21 [App ] Image loaded 1: 00001.jpg 04:41:21 [App ] Image loaded 2: 00002.jpg 04:41:21 [App ] Image loaded 3: 00003.jpg 04:41:21 [App ] Image loaded 4: 00004.jpg 04:41:21 [App ] Image loaded 5: 00005.jpg 04:41:21 [App ] Image loaded 6: 00006.jpg 04:41:21 [App ] Image loaded 7: 00007.jpg 04:41:21 [App ] Image loaded 8: 00008.jpg 04:41:21 [App ] Image loaded 9: 00009.jpg 04:41:21 [App ] Image loaded 10: 00010.jpg 04:41:21 [App ] Scene loaded from interface format (10ms): 11 images (11 calibrated) with a total of 63.22 MPixels (5.75 MPixels/image) 12683 points, 0 vertices, 0 faces 04:41:21 [App ] Preparing images for dense reconstruction completed: 11 images (317ms) 04:41:21 [App ] Selecting images for dense reconstruction completed: 11 images (10ms) stack smashing detected : terminated 已放弃 (核心已转储)(This means Aborted (core dumped)in English)

How to solve this problem?

To Reproduce Steps to reproduce the behavior: Just download and compile the code, and then try the DensifyPointCloud using the given samples, and see error.

Desktop (please complete the following information):

QQ20211111-044955@2x
tsrobcvai commented 2 years ago

I also have this problem, it seems to only encounter this problem on ubantu20 system

cdcseacave commented 2 years ago

image image image

tsrobcvai commented 2 years ago

图片 图片 图片

Sir, thank you for your correction. I have two machines, one of them is operating normally, but the other one has such a situation, can you explain the possible reasons for this situation, and provide some potential solutions, thank you very much!

Mark-Rewoo commented 2 years ago

我成功编译了 openMVS,但是当我尝试运行 DensifyPointCloud 时,我得到了以下输出:

04:41:21 [App ] Build date: Nov 11 2021, 04:12:12 04:41:21 [App ] CPU: Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz (2 cores) 04 :41:21 [App] RAM: 3.80GB 物理内存 923.30MB 虚拟内存 04:41:21 [App] OS: Linux 5.11.0-40-generic (x86_64) 04:41:21 [App] SSE & AVX compatible检测到 CPU 和操作系统 04:41:21 [App] 命令行:-w /home/flora/openMVS_sample-master -i scene.mvs -o test_dense.mvs 04:41:21 [App] 已加载相机型号:平台 0;摄像机 0;f 1.054x1.054;姿势 11 04:41:21 [App] 图片加载 0: 00000.jpg 04:41:21 [App] 图片加载 1: 00001.jpg 04:41:21 [App] 图片加载 2: 00002.jpg 04:41 :21 [App] 图片加载 3: 00003.jpg 04:41:21 [App] 图片加载 4: 00004.jpg 04:41:21 [App] 图片加载 5: 00005.jpg 04:41:21 [App] 图片加载 6: 00006.jpg 04:41:21 [App] 图片加载时间 7: 00007.jpg 04:41:21 [App] 图片加载时间 8: 00008.jpg 04:41:21 [App] 图片加载时间 9: 00009.jpg 04:41:21 [App] 图片加载时间10: 00010.jpg 04:41:21 [App ] 从界面格式加载的场景 (10ms): 11 张图像 (11 已校准) 总共 63.22 MPixels (5.75 MPixels/image) 12683 个点, 0 个顶点, 0 个面 04: 41:21 [App ] 为密集重建准备图像完成:11 个图像(317 毫秒) 04:41:21 [App] 选择密集重建图像完成:11 个图像(10 毫秒) 检测到堆栈粉碎:终止 已放弃(核心已转储)(这意味着Aborted(核心转储)英文)

如何解决这个问题呢?

重现 该行为的步骤: 只需下载并编译代码,然后使用给定的示例尝试 DensifyPointCloud,然后查看错误。

桌面(请填写以下信息):

  • 操作系统:Ubuntu Linux
QQ20211111-044955@2x

did you solve it ?

Mark-Rewoo commented 2 years ago

我也有这个问题,好像只有在ubantu20系统上才会遇到这个问题

how did you solve it ?

Helium-327 commented 7 months ago

我成功编译了 openMVS,但是当我尝试运行 DensifyPointCloud 时,我得到了以下输出: 04:41:21 [App ] Build date: Nov 11 2021, 04:12:12 04:41:21 [App ] CPU: Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz (2 cores) 04 :41:21 [App] RAM: 3.80GB 物理内存 923.30MB 虚拟内存 04:41:21 [App] OS: Linux 5.11.0-40-generic (x86_64) 04:41:21 [App] SSE & AVX compatible检测到 CPU 和操作系统 04:41:21 [App] 命令行:-w /home/flora/openMVS_sample-master -i scene.mvs -o testdense.mvs 04:41:21 [App] 已加载相机型号:平台 0;摄像机 0;f 1.054x1.054;姿势 11 04:41:21 [App] 图片加载 0: 00000.jpg 04:41:21 [App] 图片加载 1: 00001.jpg 04:41:21 [App] 图片加载 2: 00002.jpg 04:41 :21 [App] 图片加载 3: 00003.jpg 04:41:21 [App] 图片加载 4: 00004.jpg 04:41:21 [App] 图片加载 5: 00005.jpg 04:41:21 [App] 图片加载 6: 00006.jpg 04:41:21 [App] 图片加载时间 7: 00007.jpg 04:41:21 [App] 图片加载时间 8: 00008.jpg 04:41:21 [App] 图片加载时间 9: 00009.jpg 04:41:21 [App] 图片加载时间10: 00010.jpg 04:41:21 [App ] 从界面格式加载的场景 (10ms): 11 张图像 (11 已校准) 总共 63.22 MPixels (5.75 MPixels/image) 12683 个点, 0 个顶点, 0 个面 04: 41:21 [App ] 为密集重建准备图像完成:11 个图像(317 毫秒) 04:41:21 [App] 选择密集重建图像完成:11 个图像(10 毫秒) 检测到堆栈粉碎_:终止 已放弃(核心已转储)(这意味着Aborted(核心转储)英文) 如何解决这个问题呢? 重现 该行为的步骤: 只需下载并编译代码,然后使用给定的示例尝试 DensifyPointCloud,然后查看错误。 桌面(请填写以下信息):

  • 操作系统:Ubuntu Linux
QQ20211111-044955@2x

did you solve it ?

有人解决了吗?

cdcseacave commented 7 months ago

this is a very old error, 2 years old, can you try latest develop?

Helium-327 commented 7 months ago

I tried to deploy it under my wsl2,but it had the error.Can you give me some ideas and how should i solve it?

navitohighbury commented 6 months ago

HI! I also meet the same question. Do you know how to deal with it now? Thanks!