8000 database.cc:749 SQLite error: database disk image is malformed · Issue #2661 · colmap/colmap · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
database.cc:749 SQLite error: database disk image is malformed #2661
Open
@maher1337

Description

@maher1337

Describe the bug

I0718 20:00:47.199163 64287 pairing.cc:318] Matching image [2261/29302]
E0718 20:00:47.207983 64287 database.cc:749] SQLite error: database disk image is malformed
terminate called after throwing an instance of 'std::runtime_error'
what(): SQLite error: database disk image is malformed
*** Aborted at 1721332847 (unix time) try "date -d @1721332847" if you are using GNU date ***
PC: @ 0x0 (unknown)
*** SIGABRT (@0x3e80000fb17) received by PID 64279 (TID 0x7da495583000) from PID 64279; stack trace: ***
@ 0x7da4ba3a9046 (unknown)
@ 0x7da4b8242520 (unknown)
@ 0x7da4b82969fc pthread_kill
@ 0x7da4b8242476 raise
@ 0x7da4b82287f3 abort
@ 0x7da4b86a2b9e (unknown)
@ 0x7da4b86ae20c (unknown)
@ 0x7da4b86ae277 std::terminate()
@ 0x7da4b86ae4d8 __cxa_throw
@ 0x5f03c5f7027e colmap::SQLite3CallHelper()
@ 0x5f03c5f6667d colmap::Database::WriteMatches()
@ 0x5f03c5f66987 colmap::Database::WriteMatches()
@ 0x5f03c640bda8 colmap::FeatureMatcherCache::WriteMatches()
@ 0x5f03c5f2d127 colmap::FeatureMatcherController::Match()
@ 0x5f03c5f1ee39 colmap::(anonymous namespace)::GenericFeatureMatcher<>::Run()
@ 0x5f03c5fcd9b0 colmap::Thread::RunFunc()
@ 0x7da4b86dc253 (unknown)
@ 0x7da4b8294ac3 (unknown)
@ 0x7da4b8326850 (unknown)
Aborted (core dumped)

To Reproduce
This was invoked from nerf-studio
Using: ns-process-data images --camera-type equirectangular --images-per-equirect 14 --crop-factor 0 0.2 0 0 --data optimized_max --output-dir nerf_extracted_frames
The folder contains about 2092 frames in a 1280x640 resolution taken from a video

But the same thing happens when doing the following:
colmap vocab_tree_matcher --database_path nerf_extracted_frames/colmap/database.db --SiftMatching.use_gpu 1 --VocabTreeMatching.vocab_tree_path "/home/ubuntu/.local/share/nerfstudio/vocab_tree.fbow"

Expected behavior
Should have worked as normal.

Screenshots
N/A

Environment:

  • OS: Ubuntu 22.04
  • COLMAP Version COLMAP 3.10-dev -- Structure-from-Motion and Multi-View Stereo
    (Commit b5c381a on 2024-07-15 with CUDA)
  • Capture Device Insta 360 X4

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

      0