Package: colmap
Version: 3.4-2
Severity: normal

I'm using an integrated Intel UHD Graphics 620 (Kabylake GT2).  I just
tried "colmap gui" -> "automatic reconstruction" and left the default
options (which sets GPU to enabled).

colmap crashes at the following spot:

#0  0x00007ffff4c98f3b in __GI_raise (sig=sig@entry=6)
   at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007ffff4c9a2f1 in __GI_abort () at abort.c:79
#2  0x00007ffff508d943 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007ffff5093896 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007ffff50938d1 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00005555557a8591 in std::thread::~thread() (this=0x555556e3e498, 
__in_chrg=<optimized out>) at /usr/include/c++/7/thread:135
#6  0x00005555557a8591 in colmap::Thread::~Thread() (this=0x555556e3e490, 
__in_chrg=<optimized out>) at ./src/./util/threading.h:105
#7  0x00005555557a8591 in 
colmap::internal::FeatureWriterThread::~FeatureWriterThread() (this=0x555556e3e490, 
__in_chrg=<optimized out>) at ./src/./feature/extraction.h:120
#8  0x00005555557a8591 in 
colmap::internal::FeatureWriterThread::~FeatureWriterThread() (this=0x555556e3e490, 
__in_chrg=<optimized out>) at ./src/./feature/extraction.h:120
#9  0x00005555556f01fb in std::default_delete<colmap::Thread>::operator()(colmap::Thread*) 
const (this=<optimized out>, __ptr=<optimized out>)
   at /usr/include/c++/7/bits/unique_ptr.h:78
#10 0x00005555556f01fb in std::unique_ptr<colmap::Thread, 
std::default_delete<colmap::Thread> >::~unique_ptr() (this=0x555556b4c4c0, 
__in_chrg=<optimized out>)
   at /usr/include/c++/7/bits/unique_ptr.h:268
#11 0x00005555556f01fb in colmap::SiftFeatureExtractor::~SiftFeatureExtractor() 
(this=0x555556b4c040, __in_chrg=<optimized out>) at 
./src/./feature/extraction.h:35
#12 0x00005555556f02e9 in colmap::SiftFeatureExtractor::~SiftFeatureExtractor() 
(this=0x555556b4c040, __in_chrg=<optimized out>) at 
./src/./feature/extraction.h:35
#13 0x000055555573072b in std::default_delete<colmap::Thread>::operator()(colmap::Thread*) 
const (this=<optimized out>, __ptr=<optimized out>)
   at /usr/include/c++/7/bits/unique_ptr.h:78
#14 0x000055555573072b in std::unique_ptr<colmap::Thread, 
std::default_delete<colmap::Thread> >::reset(colmap::Thread*) (__p=<optimized 
out>, this=0x555556cd9fd0)
   at /usr/include/c++/7/bits/unique_ptr.h:376
#15 0x000055555573072b in 
colmap::AutomaticReconstructionController::RunFeatureExtraction() 
(this=this@entry=0x555556cd9c80) at 
./src/controllers/automatic_reconstruction.cc:154
#16 0x0000555555732348 in colmap::AutomaticReconstructionController::Run() 
(this=0x555556cd9c80) at ./src/controllers/automatic_reconstruction.cc:124
#17 0x000055555584b0fc in colmap::Thread::RunFunc() (this=0x555556cd9c80)
   at ./src/util/threading.cc:162
#18 0x00007ffff50bcadf in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#19 0x00007ffff6f87f2a in start_thread (arg=0x7fffd1a52700) at 
pthread_create.c:463
#20 0x00007ffff4d5aedf in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

The same is true in "feature extraction".
I'd rather see an error message instead of a crash.

-- System Information:
Debian Release: buster/sid
 APT prefers unstable
 APT policy: (900, 'unstable'), (800, 'experimental'), (500, 'unstable-debug')
Architecture: amd64 (x86_64)

Kernel: Linux 4.17.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages colmap depends on:
ii  libc6                   2.27-5
ii  libceres1               1.14.0-2
ii  libfreeimage3           3.17.0+ds1-5+b4
ii  libgcc1                 1:8.1.0-12
ii  libgflags2.2            2.2.1-1
ii  libgl1                  1.0.0+git20180308-3
ii  libglew2.0              2.0.0-6
ii  libglu1-mesa [libglu1]  9.0.0-2.1
ii  libgomp1                8.1.0-12
ii  libgoogle-glog0v5       0.3.5-1
ii  libqt5core5a            5.10.1+dfsg-7
ii  libqt5gui5              5.10.1+dfsg-7
ii  libqt5opengl5           5.10.1+dfsg-7
ii  libqt5widgets5          5.10.1+dfsg-7
ii  libstdc++6              8.1.0-12

colmap recommends no packages.

colmap suggests no packages.

Reply via email to