I'm trying to track down an enigmatic problem. After some codec "restart" (create/delete cycles) the VIDENC1_delete causes segfault at best and kernel oops at other times.
Here is a backtrace obtained with gdb
Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 1201]
0x00098d10 in freeResource ()
(gdb) bt
#0 0x00098d10 in freeResource ()
#1 0x00099000 in EDMA3_freeLogicalChannel ()
#2 0x00097968 in IRESMAN_EDMA3CHAN_freeHandle ()
#3 0x0009a348 in RMAN_freeResources ()
#4 0x0004a514 in Algorithm_delete ()
#5 0x000497a8 in VISA_delete ()
#6 0x000453a4 in VIDENC1_delete ()
#7 0x0002840c in CMp4Encoder::Close (this=0x133fb8) at Mp4Encoder.cpp:334
#8 0x0003ecdc in CVideoStreamSrcImpl::StopEncoder (this=0x133dd0)
at VideoStreamSrcCore.cpp:35