Skip to content

COLMAP crashes when deleting images inside a model from the GUI #3096

@fb82

Description

@fb82

After a model reconstruction (or after importing a previously saved model) COLMAP crashed when trying to delete an image from the GUI (i.e., when selecting the camera by double click, and then clicking delete image).

Running system is Ubuntu 24.04.1 LTS.
COLMAP version is 3.11.1 12-06-2024 , compiled using default setting.

No problem using image_deleter or COLMAP 3.9 on Ubuntu 20.04.

Log error below:
colmap gui
E20250104 11:40:00.494437 792588 image.h:206] Check failed: cam_from_world_ Image does not have a valid pose. terminate called after throwing an instance of 'std::invalid_argument'
what(): [image.h:206] Check failed: cam_from_world_ Image does not have a valid pose.
*** Aborted at 1735987200 (unix time) try "date -d @1735987200" if you are using GNU date ***
PC: @ 0x0 (unknown)
*** SIGABRT (@0x3e8000c180c) received by PID 792588 (TID 0x7cf0137da000) from PID 792588; stack trace: ***
@ 0x7cf019d04206 (unknown)
@ 0x7cf017445320 (unknown)
@ 0x7cf01749eb1c pthread_kill
@ 0x7cf01744526e gsignal
@ 0x7cf0174288ff abort
@ 0x7cf0178a5ff5 (unknown)
@ 0x7cf0178bb0da (unknown)
@ 0x7cf0178a5a55 std::terminate()
@ 0x7cf0178bb391 __cxa_throw
@ 0x60dfdd9ec415 _ZNK6colmap5Image16ProjectionCenterEv.cold
@ 0x60dfddc8859a colmap::ModelViewerWidget::UploadImageConnectionData()
@ 0x60dfddc89341 colmap::ModelViewerWidget::Upload()
@ 0x60dfddc897b6 colmap::ModelViewerWidget::ReloadReconstruction()
@ 0x60dfddcd185a colmap::DatabaseImageViewerWidget::DeleteImage()
@ 0x7cf017f12e16 (unknown)
@ 0x7cf018c67b42 (unknown)
@ 0x7cf018c6959c (unknown)
@ 0x7cf018c697b8 QAbstractButton::mouseReleaseEvent()
@ 0x7cf018bb0df8 QWidget::event()
@ 0x7cf018b6bd45 QApplicationPrivate::notify_helper()
@ 0x7cf018b746b0 QApplication::notify()
@ 0x7cf017ed8118 QCoreApplication::notifyInternal2()
@ 0x7cf018b72874 QApplicationPrivate::sendMouseEvent()
@ 0x7cf018bcaa39 (unknown)
@ 0x7cf018bcdfbf (unknown)
@ 0x7cf018b6bd45 QApplicationPrivate::notify_helper()
@ 0x7cf017ed8118 QCoreApplication::notifyInternal2()
@ 0x7cf018345a3b QGuiApplicationPrivate::processMouseEvent()
@ 0x7cf018317bfc QWindowSystemInterface::sendWindowSystemEvents()
@ 0x7cf013691d06 (unknown)
@ 0x7cf015f145b5 (unknown)
@ 0x7cf015f73717 (unknown)
Annullato (core dump creato)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions