Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation Fault When Registering New Images #2548

Open
WhaSukGO opened this issue May 2, 2024 · 2 comments
Open

Segmentation Fault When Registering New Images #2548

WhaSukGO opened this issue May 2, 2024 · 2 comments

Comments

@WhaSukGO
Copy link

WhaSukGO commented May 2, 2024

Describe the bug

  • I am trying to register new images into my existing reconstruction

To Reproduce
Steps to reproduce the behavior:

  1. $ colmap gui
  2. Create new directory (colmap_proj)
  3. Create required directories: colmap_proj/sparse/1, colmap_proj/images/
  4. Copy some images to colmap_proj/images
  5. Start new project (colmap_proj/project.ini)
  6. Perform feature extraction, matching, and a reconstruction
  7. Save model and project (colmap_proj/sparse/1, colmap_proj/project.ini)
  8. Copy new images to colmap_proj/images
  9. Open project (colmap_proj/project.ini)
  10. import model (colmap_proj/sparse/1)
  11. Perform feature extraction, matching, and a reconstruction
  12. Go to processing -> Database management
  13. Select new image -> Overlapping images
  14. Select old image
  15. Segmentation Fault
PC: @     0x55a8d4f0c37a colmap::DrawMatches()
*** SIGSEGV (@0x55b6f3407254) received by PID 39136 (TID 0x7f9f542cb000) from PID 18446744073495671380; stack trace: ***
    @     0x7f9f5a0be631 (unknown)
    @     0x7f9f5a095420 (unknown)
    @     0x55a8d4f0c37a colmap::DrawMatches()
    @     0x55a8d4f43584 colmap::FeatureImageViewerWidget::ReadAndShowWithMatches()
    @     0x55a8d4f291dc colmap::TwoViewInfoTab::ShowMatches()
    @     0x7f9f59064328 QMetaObject::activate()
    @     0x7f9f59b47bd1 (unknown)
    @     0x7f9f59b48e5f (unknown)
    @     0x7f9f59b49035 QAbstractButton::mouseReleaseEvent()
    @     0x7f9f59a952b6 QWidget::event()
    @     0x7f9f59a52a66 QApplicationPrivate::notify_helper()
    @     0x7f9f59a5c343 QApplication::notify()
    @     0x7f9f5903880a QCoreApplication::notifyInternal2()
    @     0x7f9f59a5b457 QApplicationPrivate::sendMouseEvent()
    @     0x7f9f59ab135d (unknown)
    @     0x7f9f59ab41ec (unknown)
    @     0x7f9f59a52a66 QApplicationPrivate::notify_helper()
    @     0x7f9f59a5c0f0 QApplication::notify()
    @     0x7f9f5903880a QCoreApplication::notifyInternal2()
    @     0x7f9f594237d3 QGuiApplicationPrivate::processMouseEvent()
    @     0x7f9f5942510b QGuiApplicationPrivate::processWindowSystemEvent()
    @     0x7f9f593ff35b QWindowSystemInterface::sendWindowSystemEvents()
    @     0x7f9f5417232e (unknown)
    @     0x7f9f56db417d g_main_context_dispatch
    @     0x7f9f56db4400 (unknown)
    @     0x7f9f56db44a3 g_main_context_iteration
    @     0x7f9f59090435 QEventDispatcherGlib::processEvents()
    @     0x7f9f590373ab QEventLoop::exec()
    @     0x7f9f5903f116 QCoreApplication::exec()
    @     0x55a8d4cb939b colmap::RunGraphicalUserInterface()
    @     0x55a8d4c7a43f main
    @     0x7f9f58898083 __libc_start_main
Segmentation fault (core dumped)

Expected behavior

  • Show a 3D visualization with new images registered and their corresponding cameras drawn

Environment:

  • OS: nvcr.io/nvidia/cuda:11.7.1-cudnn8-devel-ubuntu20.04
  • COLMAP Version: 3.10-dev (Commit a36156a on 2024-03-22 with CUDA)
@WhaSukGO
Copy link
Author

WhaSukGO commented May 2, 2024

Base images are 1920 by 1080
New images are 860 by 600

@WhaSukGO
Copy link
Author

WhaSukGO commented May 2, 2024

If I start feature extraction, matching, and a reconstruction with both base and new images in one directory,
it works.

However, if I separate the processes (registering new images to old ones), it fails

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant