COLMAP 3.9.1 sequential_matcher crashes with loop_detection enabled (visual_index.h: file.is_open() failure)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- cpp
- Lĩnh vực
- computer-vision
Hướng nghiên cứu
Start by reading the failure at visual_index.h:569 and tracing how sequential_matcher initializes the visual index when loop_detection is enabled. Reproduce with the reported command and dataset, then compare against a run with loop detection disabled. Done means the enabled run completes or reports a graceful error instead of aborting.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Environment
- COLMAP version: 3.9.1 (CLI build, Linux)
- Build: CPU-only (no CUDA)
- OS: Linux
- Dataset size: ~2000 images (sequential capture)
- Database size: ~7 GB SQLite DB
Command used
colmap sequential_matcher
--database_path project.db
--SequentialMatching.overlap 75
--SequentialMatching.loop_detection 1
--SiftMatching.use_gpu 0
Issue description
The sequential matcher runs successfully through all images and completes feature matching, but then crashes immediately after finishing.
The log shows:
Matching image [2000/2000]
followed by:
F... visual_index.h:569] Check failed: file.is_open()
Aborted (core dumped)
Behavior
- Matching completes successfully for all image pairs
- No errors during SIFT matching
- Crash occurs only after completion when loop_detection is enabled
Verified facts
- SQLite database integrity check: OK (PRAGMA integrity_check = ok)
- Matches table populated correctly:
- matches: 151305 rows
- two_view_geometries: 151305 rows
- Sufficient disk space available
- Write permissions valid
- Increasing ulimit (-n 65535) does not change behavior
- Re-running matcher completes instantly (no recomputation) but still crashes at same point if loop_detection = 1
Minimal reproduction
The issue is fully reproducible with the same dataset and command. It does not depend on GPU usage.
Disabling loop detection avoids the crash entirely:
--SequentialMatching.loop_detection 0
Expected behavior
Sequential matcher should complete without crashing when loop_detection is enabled, or fail gracefully with an error message if visual index cannot be created/opened.
Notes
The database already contains all verified matches and is not corrupted. The crash appears to occur in the visual index stage (loop detection path) after matching completes.
This may indicate an issue in loop detection initialization or teardown in COLMAP 3.9.1.
- Ngôn ngữ chính
- C++
- Star
- 12.9k
- Fork
- 2.2k
- Merge trung bình
- 1 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 78
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của colmap/colmap
-
Incorrect image-plane bounds for off-center cameras in visualize_model.pyCó thể đã có người làm @wuyuze713 đã nhận 3 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Linking errorĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
colmap/colmap#1385 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của colmap/colmap
Issue tương tự
-
Mac mini M6 (16 GB): Q2_0 streaming works - measured 11.7->27.2 tok/s + arena fix for sub-32 GB MacsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
champion good first issue remake source/qq
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
metasequoiaime/msime-windows#1025 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
backlog bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
EchoTools/nevr-runtime#653 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
InfiniTimeOrg/InfiniTime#2492 ·