desertfireballnetwork / freeture_DFN

DFN branch of FRIPON Freeture, to operate DFNEXT all-sky video camera
http://fripon.github.io/freeture
GNU General Public License v3.0
5 stars 0 forks source link

segfault in Frame.cpp:43 #16

Open MartinCupak opened 4 years ago

MartinCupak commented 4 years ago

root@DFNEXT071:~# gdb --args /usr/local/bin/freeture -m 3 -c /usr/local/etc/dfn/freeture.cfg

Thread 6 "freeture" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffd286c700 (LWP 22080)] __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:242 242 ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: No such file or directory. (gdb) backtrace

0 __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:242

1 0x00007ffff5c84122 in cv::Mat::copyTo(cv::_OutputArray const&) const () from /usr/lib/x86_64-linux-gnu/libopencv_core.so.2.4

2 0x0000555555621214 in Frame::Frame (this=0x7fffd286b1e0, capImg=..., g=, e=, acquisitionDate="") at Frame.cpp:43

3 0x00005555555a9e8c in CameraUsbAravis::grabImage (this=0x555555910200, newFrame=...) at CameraUsbAravis.cpp:452

4 0x0000555555590d58 in AcqThread::operator() (this=0x555555902ad0) at AcqThread.cpp:201

5 0x00007ffff6fd8116 in ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.62.0

6 0x00007ffff38704a4 in start_thread (arg=0x7fffd286c700) at pthread_create.c:456

7 0x00007ffff25acd0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

============== debugging

aravis-0.6.4/src/arvenums.h: typedef guint32 ArvPixelFormat;

define ARV_PIXEL_FORMAT_MONO_8 0x01080001

THis is normal Creating Mat 8 bits ......................................................................................... buffer_size=1166400 mHeight=1080mWidth=1080

but this is what I get on EXT071 Creating Mat 8 bits ......................................................................................... buffer_size=360000 mHeight=1080mWidth=1080