[Bug 629244] [opencv] Add motion detection element

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri May 20 13:28:24 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=629244
  GStreamer | gst-plugins-bad | git

--- Comment #51 from Nicola <lists at svrinformatica.it> 2011-05-20 20:28:15 UTC ---
Hi Robert,

after using the element for a while (about 30 minutes) I get a segfault:

Got message #8705 from element "motioncells0" (element): motion,
motion_finished=(string)2848;
Got message #9795 from element "motioncells0" (element): motion,
motion_cells_indices=(string)"0:0\,0:1\,0:2", motion_begin=(string)3241;
Got message #9922 from element "motioncells0" (element): motion,
motion_finished=(string)3253;
Caught SIGSEGV accessing address (nil)

I'll try to investigate this with gdb (I'm using opencv 2.1), additionaly ps
show a slow but costant memory increase I'll investigate this with valgrind,

the last patch give the following compile warnings:

gstmotioncells.c: In function ‘gst_motion_cells_chain’:
gstmotioncells.c:734:5: warning: ISO C90 forbids mixed declarations and code
  CXX    libgstopencv_la-motioncells_wrapper.lo
motioncells_wrapper.cpp: In function ‘char* getMotionCellsIdx(int)’:
motioncells_wrapper.cpp:57:16: warning: address of local variable ‘p_str’
returned

Nicola

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list