rahulch

Untitled

Mar 22nd, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
GDB 9.54 KB | None | 0 0
  1. Format_YUV420P
  2. OpenCV(3.4.6-pre) Error: Unspecified error (> Invalid number of channels in input image:
  3. >     'VScn::contains(scn)'
  4. > where
  5. >     'scn' is 3
  6. ) in cv::impl::{anonymous}::CvtHelper<VScn, VDcn, VDepth, sizePolicy>::CvtHelper(cv::InputArray, cv::OutputArray, int) [with VScn = cv::impl::{anonymous}::Set<1>; VDcn = cv::impl::{anonymous}::Set<1>; VDepth = cv::impl::{anonymous}::Set<0>; cv::impl::{anonymous}::SizePolicy sizePolicy = (cv::impl::<unnamed>::SizePolicy)1; cv::InputArray = const cv::_InputArray&; cv::OutputArray = const cv::_OutputArray&], file /home/rahul.c/opencv/modules/imgproc/src/color.simd_helpers.hpp, line 88
  7. terminate called after throwing an instance of 'cv::Exception'
  8.   what():  OpenCV(3.4.6-pre) /home/rahul.c/opencv/modules/imgproc/src/color.simd_helpers.hpp:88: error: (-2:Unspecified error) in function 'cv::impl::{anonymous}::CvtHelper<VScn, VDcn, VDepth, sizePolicy>::CvtHelper(cv::InputArray, cv::OutputArray, int) [with VScn = cv::impl::{anonymous}::Set<1>; VDcn = cv::impl::{anonymous}::Set<1>; VDepth = cv::impl::{anonymous}::Set<0>; cv::impl::{anonymous}::SizePolicy sizePolicy = (cv::impl::<unnamed>::SizePolicy)1; cv::InputArray = const cv::_InputArray&; cv::OutputArray = const cv::_OutputArray&]'
  9. > Invalid number of channels in input image:
  10. >     'VScn::contains(scn)'
  11. > where
  12. >     'scn' is 3
  13.  
  14.  
  15. Thread 1 "dms_qt" received signal SIGABRT, Aborted.
  16. __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
  17. 51  ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
  18. (gdb) bt
  19. #0  0x00007fffe7a75e97 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
  20. #1  0x00007fffe7a77801 in __GI_abort () at abort.c:79
  21. #2  0x00007fffe846a8b7 in __gnu_cxx::__verbose_terminate_handler() () at ../../../../src/libstdc++-v3/libsupc++/vterminate.cc:95
  22. #3  0x00007fffe8470a06 in __cxxabiv1::__terminate(void (*)()) (handler=<optimized out>) at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:47
  23. #4  0x00007fffe8470a41 in std::terminate() () at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:57
  24. #5  0x00007fffe8470c74 in __cxxabiv1::__cxa_throw(void*, std::type_info*, void (*)(void*)) (obj=<optimized out>, tinfo=0x7fffe9c275d8 <typeinfo for cv::Exception>, dest=0x7fffe8b8d348 <cv::Exception::~Exception()>) at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:95
  25. #6  0x00007fffe8b8f320 in cv::error(cv::Exception const&) (exc=...) at /home/rahul.c/opencv/modules/core/src/system.cpp:1028
  26. #7  0x00007fffe8b8f3b3 in cv::error(int, cv::String const&, char const*, char const*, int) (_code=-2, _err=..., _func=0x7fffec68d1e0 <cv::impl::(anonymous namespace)::CvtHelper<cv::impl::(anonymous namespace)::Set<1, -1, -1>, cv::impl::(anonymous namespace)::Set<1, -1, -1>, cv::impl::(anonymous namespace)::Set<0, -1, -1>, (cv::impl::(anonymous namespace)::SizePolicy)1>::CvtHelper(cv::_InputArray const&, cv::_OutputArray const&, int)::__PRETTY_FUNCTION__> "cv::impl::{anonymous}::CvtHelper<VScn, VDcn, VDepth, sizePolicy>::CvtHelper(cv::InputArray, cv::OutputArray, int) [with VScn = cv::impl::{anonymous}::Set<1>; VDcn = cv::impl::{anonymous}::Set<1>; VDep"..., _file=0x7fffec68aea0 "/home/rahul.c/opencv/modules/imgproc/src/color.simd_helpers.hpp", _line=88) at /home/rahul.c/opencv/modules/core/src/system.cpp:1033
  27. #8  0x00007fffe892ecec in cv::errorNoReturn(int, cv::String const&, char const*, char const*, int) (_code=-2, _err=..., _func=0x7fffec68d1e0 <cv::impl::(anonymous namespace)::CvtHelper<cv::impl::(anonymous namespace)::Set<1, -1, -1>, cv::impl::(anonymous namespace)::Set<1, -1, -1>, cv::impl::(anonymous namespace)::Set<0, -1, -1>, (cv::impl::(anonymous namespace)::SizePolicy)1>::CvtHelper(cv::_InputArray const&, cv::_OutputArray const&, int)::__PRETTY_FUNCTION__> "cv::impl::{anonymous}::CvtHelper<VScn, VDcn, VDepth, sizePolicy>::CvtHelper(cv::InputArray, cv::OutputArray, int) [with VScn = cv::impl::{anonymous}::Set<1>; VDcn = cv::impl::{anonymous}::Set<1>; VDep"..., _file=0x7fffec68aea0 "/home/rahul.c/opencv/modules/imgproc/src/color.simd_helpers.hpp", _line=88) at /home/rahul.c/opencv/modules/core/include/opencv2/core/base.hpp:310
  28. #9  0x00007fffe89309af in cv::detail::check_failed_auto_<int>(int const&, cv::detail::CheckContext const&) (v=@0x7fffffffc6bc: 3, ctx=...) at /home/rahul.c/opencv/modules/core/src/check.cpp:126
  29. #10 0x00007fffe892fcb2 in cv::detail::check_failed_auto(int, cv::detail::CheckContext const&) (v=3, ctx=...) at /home/rahul.c/opencv/modules/core/src/check.cpp:152
  30. #11 0x00007fffe9ec6bea in cv::impl::(anonymous namespace)::CvtHelper<cv::impl::(anonymous namespace)::Set<1, -1, -1>, cv::impl::(anonymous namespace)::Set<1, -1, -1>, cv::impl::(anonymous namespace)::Set<0, -1, -1>, (cv::impl::<unnamed>::SizePolicy)1>::CvtHelper(cv::InputArray, cv::OutputArray, int) (this=0x7fffffffc840, _src=..., _dst=..., dcn=1) at /home/rahul.c/opencv/modules/imgproc/src/color.simd_helpers.hpp:88
  31. #12 0x00007fffe9ebfe52 in cv::cvtColorYUV2Gray_420(cv::_InputArray const&, cv::_OutputArray const&) (_src=..., _dst=...) at /home/rahul.c/opencv/modules/imgproc/src/color_yuv.dispatch.cpp:365
  32. #13 0x00007fffe9e6dec9 in cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int) (_src=..., _dst=..., code=106, dcn=0) at /home/rahul.c/opencv/modules/imgproc/src/color.cpp:318
  33. #14 0x0000555555573328 in VideoFilterRunnable::run(QVideoFrame*, QVideoSurfaceFormat const&, QFlags<QVideoFilterRunnable::RunFlag>) (this=<optimized out>, input=0x55555631a7a8, surfaceFormat=..., flags=...)
  34.     at /home/rahul.c/code/dms_qt/src/videofilterrunnable.cpp:80
  35. #15 0x00007fffc4020395 in QDeclarativeVideoRendererBackend::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*) (this=0x55555631a760, oldNode=0x0, data=<optimized out>)
  36.     at qdeclarativevideooutput_render.cpp:312
  37. #16 0x00007fffc401c0c8 in QDeclarativeVideoOutput::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*) (this=0x55555606d490, oldNode=0x0, data=0x5555559b8f20) at qdeclarativevideooutput.cpp:801
  38. #17 0x00007fffe775116f in QQuickWindowPrivate::updateDirtyNode(QQuickItem*) (this=this@entry=0x5555559b8d70, item=item@entry=0x55555606d490) at items/qquickwindow.cpp:3512
  39. #18 0x00007fffe77518a1 in QQuickWindowPrivate::updateDirtyNodes() (this=this@entry=0x5555559b8d70) at items/qquickwindow.cpp:3257
  40. #19 0x00007fffe7751a26 in QQuickWindowPrivate::syncSceneGraph() (this=0x5555559b8d70) at items/qquickwindow.cpp:436
  41. #20 0x00007fffe7829abf in QQuickRenderControl::sync() (this=<optimized out>) at items/qquickrendercontrol.cpp:286
  42. #21 0x00007ffff7fe9cad in QQuickWidgetPrivate::render(bool) (this=this@entry=0x5555559ff800, needsSync=needsSync@entry=true) at qquickwidget.cpp:285
  43. #22 0x00007ffff7fe9de6 in QQuickWidgetPrivate::renderSceneGraph() (this=this@entry=0x5555559ff800) at qquickwidget.cpp:339
  44. #23 0x00007ffff7fea66f in QQuickWidget::timerEvent(QTimerEvent*) (this=<optimized out>, e=<optimized out>) at qquickwidget.cpp:1128
  45. #24 0x00007fffedc4b696 in QObject::event(QEvent*) (this=this@entry=0x55555598c3f0, e=e@entry=0x7fffffffd400) at kernel/qobject.cpp:1241
  46. #25 0x00007fffee120cec in QWidget::event(QEvent*) (this=this@entry=0x55555598c3f0, event=event@entry=0x7fffffffd400) at kernel/qwidget.cpp:9383
  47. #26 0x00007ffff7fee4cc in QQuickWidget::event(QEvent*) (this=0x55555598c3f0, e=0x7fffffffd400) at qquickwidget.cpp:1525
  48. #27 0x00007fffee0d6f13 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x555555864080, receiver=receiver@entry=0x55555598c3f0, e=e@entry=0x7fffffffd400) at kernel/qapplication.cpp:3736
  49. #28 0x00007fffee0e0142 in QApplication::notify(QObject*, QEvent*) (this=0x7fffffffd700, receiver=0x55555598c3f0, e=0x7fffffffd400) at kernel/qapplication.cpp:3687
  50. #29 0x00007fffedc17bf3 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55555598c3f0, event=0x7fffffffd400) at kernel/qcoreapplication.cpp:1060
  51. #30 0x00007fffedc17e56 in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1450
  52. #31 0x00007fffedc77e47 in QTimerInfoList::activateTimers() (this=0x555555988840) at kernel/qtimerinfo_unix.cpp:643
  53. #32 0x00007fffedc786b7 in timerSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
  54. #33 0x00007fffe53d5387 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
  55. #34 0x00007fffe53d55c0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
  56. #35 0x00007fffe53d564c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
  57. #36 0x00007fffedc78a70 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x555555a0bfe0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
  58. #37 0x00007fffcc515740 in QXcbGlibEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at qxcbeventdispatcher.cpp:143
  59. #38 0x00007fffedc15ad1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffd670, flags=..., flags@entry=...) at kernel/qeventloop.cpp:138
  60. ---Type <return> to continue, or q <return> to quit---
  61. #39 0x00007fffedc15f1f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffd670, flags=flags@entry=...) at kernel/qeventloop.cpp:225
  62. #40 0x00007fffedc1fd24 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1363
  63. #41 0x00007fffe7046574 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1779
  64. #42 0x00007fffee0d6df3 in QApplication::exec() () at kernel/qapplication.cpp:2893
  65. #43 0x0000555555569844 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /home/rahul.c/code/dms_qt/src/main.cpp:44
Add Comment
Please, Sign In to add comment