8000 Sqlite error in colmap vocab_matcher process · Issue #2720 · colmap/colmap · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Sqlite error in colmap vocab_matcher process #2720
Open
@shankar-anantak

Description

@shankar-anantak

Describe the bug
When i run Colmap vocab_tree_matcher:

colmap vocab_tree_matcher \
    --database_path $DATASET_DIR/database.db \
    --VocabTreeMatching.vocab_tree_path $COLMAP_VOCAB_DIR/vocab_tree_flickr100K_words32K.bin \
    --VocabTreeMatching.num_images 100 \
    --VocabTreeMatching.num_nearest_neighbors 5 \
    --VocabTreeMatching.num_checks 256 \
    --VocabTreeMatching.num_images_after_verification 30 \
    --SiftMatching.max_num_matches 32768 \
    --SiftMatching.use_gpu 1 \
    --SiftMatching.num_threads 1 

We consistently run into Sqlite DB integrity issues:

I0819 20:46:58.071924 55936 pairing.cc:318] Matching image [34/872]
E0819 20:46:58.259943 55936 database.cc:749] SQLite error: database disk image is malformed
terminate called after throwing an instance of 'std::runtime_error'
  what():  [database.cc:749] SQLite error: database disk image is malformed
*** Aborted at 1724100418 (unix time) try "date -d @1724100418" if you are using GNU date ***
PC: @                0x0 (unknown)
*** SIGABRT (@0x3eb0000da77) received by PID 55927 (TID 0x786599ae2000) from PID 55927; stack trace: ***
    @     0x7865a2c3a046 (unknown)
    @     0x7865a0442520 (unknown)
    @     0x7865a04969fc pthread_kill
    @     0x7865a0442476 raise
    @     0x7865a04287f3 abort
    @     0x7865a08a2b9e (unknown)
    @     0x7865a08ae20c (unknown)
    @     0x7865a08ae277 std::terminate()
    @     0x7865a08ae4d8 __cxa_throw
    @     0x5c60e5c2298e colmap::SQLite3CallHelper()
    @     0x5c60e5c195c1 colmap::Database::WriteMatches()
    @     0x5c60e5c198c7 colmap::Database::WriteMatches()
    @     0x5c60e60b0388 colmap::FeatureMatcherCache::WriteMatches()
    @     0x5c60e5bdeb6f colmap::FeatureMatcherController::Match()
    @     0x5c60e5bd4628 colmap::(anonymous namespace)::GenericFeatureMatcher<>::Run()
    @     0x5c60e5c7f516 colmap::Thread::RunFunc()
    @     0x7865a08dc253 (unknown)
    @     0x7865a0494ac3 (unknown)
    @     0x7865a0526850 (unknown)
Aborted (core dumped)

Environment:

  • OS: Ubuntu22
  • COLMAP Version: COLMAP 3.11.0.dev0 -- Structure-from-Motion and Multi-View Stereo (Commit a2db4b6 on 2024-07-26 with CUDA)
  • Capture Device Intel d455

Any solution to this? This has been mentioned in other issues (see #527, #681)

Your help is greatly appreciated

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