Gtreamer problem: Caught SIGSEGV accessing address 0x7285

Gtreamer problem: Caught SIGSEGV accessing address 0x7285

This question is answered

Hi, I followed the faq instructions for rtp streaming (http://designsomething.org/leopardboard/f/22/t/106.aspx); everything worked fine until yesterday, but today I have the error below (I'm using nfs and vga camera):

# gst-launch --gst-debug=*:2 -v v4l2src  always-copy=FALSE ! dmaiaccel ! queue ! dmaienc_mpeg4 ! rtpmp4vpay pt=96 ! udpsink host=10.83.81.18 port=5000


0:00:02.090973636   361    0x15018 WARN               default ../../src/src/gstticodecplugin.c:240:probe_codec_server_decoders: Element not provided for codec: jpegdec
0:00:02.364139884   361    0x15018 WARN             TIVidenc1 ../../src/src/gsttividenc1.c:165:gstti_videnc1_setup_params: Setting up default params for the Codec, would be better if the CodecServer used implements his own setup_params function..
Setting pipeline to PAUSED ...
<7>mt9v113 1-003c: mt9v113_write_reg reg=0x98c, val=0x2739
[   72.060000] mt9v113 1-003c: invalid control id 9963781
[   72.070000] mt9v113 1-003c: invalid control id 9963782
[   72.070000] mt9v113 1-003c: invalid control id 9963783
[   72.080000] mt9v113 1-003c: invalid control id 9963784
[   72.080000] mt9v113 1-003c: invalid control id 9963785
[   72.090000] mt9v113 1-003c: invalid control id 9963786
[   72.090000] mt9v113 1-003c: invalid control id 9963787
[   72.100000] mt9v113 1-003c: invalid control id 9963788
[   72.100000] mt9v113 1-003c: invalid control id 9963789
[   72.110000] mt9v113 1-003c: invalid control id 9963790
[   72.110000] mt9v113 1-003c: invalid control id 9963791
[   72.120000] mt9v113 1-003c: invalid control id 9963792
[   72.120000] mt9v113 1-003c: invalid control id 9963793
[   72.130000] mt9v113 1-003c: invalid control id 9963796
[   72.140000] mt9v113 1-003c: invalid control id 9963797
[   72.140000] mt9v113 1-003c: invalid control id 9963798
[   72.150000] mt9v113 1-003c: invalid control id 9963799
[   72.150000] mt9v113 1-003c: invalid control id 9963800
[   72.160000] mt9v113 1-003c: invalid control id 9963801
[   72.160000] mt9v113 1-003c: invalid control id 9963802
[   72.170000] mt9v113 1-003c: invalid control id 9963803
[   72.170000] mt9v113 1-003c: invalid control id 9963804
[   72.180000] mt9v113 1-003c: invalid control id 9963805
[   72.180000] mt9v113 1-003c: invalid control id 9963806
[   72.200000] vpfe-capture: hpitch = 640, vpitch = 480, bpp = 2
[   72.210000] vpfe-capture: adjusted hpitch = 640, vpitch = 480, bpp = 2
[   72.240000] vpfe-capture vpfe-capture: calling ccdc_config_raw()
0:00:04.159017178   361    0x15018 WARN               v4l2src ../../../src/sys/v4l2/v4l2src_calls.c:1524:gst_v4l2src_capture_init:<v4l2src0> using 3 buffers instead
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0: queue-size = 3
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)640, height=(int)480, framerate=(fraction)1001/30000
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
0:00:04.241061136   361    0x15018 WARN                   bin ../../src/gst/gstbin.c:2217:gst_bin_do_latency_func:<pipeline0> failed to query latency
New clock: GstSystemClock
/GstPipeline:pipeline0/GstTIDmaiaccel:tidmaiaccel0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)640, height=(int)480, framerate=(fraction)1001/30000
/GstPipeline:pipeline0/GstTIDmaiaccel:tidmaiaccel0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)640, height=(int)480, framerate=(fraction)1001/30000
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)640, height=(int)480, framerate=(fraction)1001/30000
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)640, height=(int)480, framerate=(fraction)1001/30000
/GstPipeline:pipeline0/dmaienc_mpeg4:dmaienc_mpeg40.GstPad:src: caps = video/mpeg, mpegversion=(int)4, systemstream=(boolean)false, framerate=(fraction)1001/30000, width=(int)640, height=(int)480
/GstPipeline:pipeline0/dmaienc_mpeg4:dmaienc_mpeg40.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)640, height=(int)480, framerate=(fraction)1001/30000
Caught SIGSEGV accessing address 0x7285
Spinning.  Please run 'gdb gst-launch 361' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.


^CCaught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 65298881492 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...

^C[  139.530000]
[  139.530000]  I2C write failed
/ #

 

Is it a software or hardware problem? Did I broke my camera?!

thank you

Andrea

Verified Answer
  • Hi Andrea,

    I trace down the issue, and now is fixed on revision 566.

    Regards,

    Diego

All Replies
  • Hi,

    I resolved the problem with svn revert to version 551 of gst-dmai-plugins ddompe branch.

    I'm using SDK 789311

    thank you

    Andrea

  • Hi Andrea,

    Can you check if it works with revision 557?

  • Hi Diego,

    revision 557 doesn't work:

    / # /bin/loadmodules.sh

    [42949385.780000] CMEMK module: built on Jan  6 2010 at 18:58:02

    [42949385.800000]   Reference Linux version 2.6.29

    [42949385.800000]   File /opt/DM355SDK789311/proprietary/dvsdk_2_00_00/dvsdk_2_00_00_22/linuxutils_2_23_01/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c

    [42949385.850000] ioremap_nocache(0x87400000, 12582912)=0xc8000000

    [42949385.860000] allocated heap buffer 0xc8000000 of size 0xce000

    [42949385.860000] cmem initialized 8 pools between 0x87400000 and 0x88000000

    / # gst-launch --gst-debug=*:2 -v v4l2src  always-copy=FALSE ! dmaiaccel ! queue

    ! dmaienc_mpeg4 ! rtpmp4vpay pt=96 ! udpsink host=10.83.81.18 port=5000

    0:00:10.539797044   345    0x15018 WARN               default ../../src/src/gstticodecplugin.c:240:probe_codec_server_decoders: Element not provided for codc

    0:00:23.507871753   344    0x15018 WARN               default ../../src/src/gstticodecplugin.c:240:probe_codec_server_decoders: Element not provided for codc

    0:00:23.764290506   344    0x15018 WARN             TIVidenc1 ../../src/src/gsttividenc1.c:165:gstti_videnc1_setup_params: Setting up default params for the.

    Setting pipeline to PAUSED ...

    [42949434.460000] mt9v113 1-003c: invalid control id 9963781

    [42949434.470000] mt9v113 1-003c: invalid control id 9963782

    [42949434.470000] mt9v113 1-003c: invalid control id 9963783

    [42949434.480000] mt9v113 1-003c: invalid control id 9963784

    [42949434.480000] mt9v113 1-003c: invalid control id 9963785

    [42949434.490000] mt9v113 1-003c: invalid control id 9963786

    [42949434.490000] mt9v113 1-003c: invalid control id 9963787

    [42949434.500000] mt9v113 1-003c: invalid control id 9963788

    [42949434.510000] mt9v113 1-003c: invalid control id 9963789

    [42949434.510000] mt9v113 1-003c: invalid control id 9963790

    [42949434.520000] mt9v113 1-003c: invalid control id 9963791

    [42949434.520000] mt9v113 1-003c: invalid control id 9963792

    [42949434.530000] mt9v113 1-003c: invalid control id 9963793

    [42949434.530000] mt9v113 1-003c: invalid control id 9963796

    [42949434.540000] mt9v113 1-003c: invalid control id 9963797

    [42949434.550000] mt9v113 1-003c: invalid control id 9963798

    [42949434.550000] mt9v113 1-003c: invalid control id 9963799

    [42949434.560000] mt9v113 1-003c: invalid control id 9963800

    [42949434.560000] mt9v113 1-003c: invalid control id 9963801

    [42949434.570000] mt9v113 1-003c: invalid control id 9963802

    [42949434.570000] mt9v113 1-003c: invalid control id 9963803

    [42949434.580000] mt9v113 1-003c: invalid control id 9963804

    [42949434.590000] mt9v113 1-003c: invalid control id 9963805

    [42949434.590000] mt9v113 1-003c: invalid control id 9963806

    [42949434.610000] vpfe-capture: hpitch = 640, vpitch = 480, bpp = 2

    [42949434.620000] vpfe-capture: adjusted hpitch = 640, vpitch = 480, bpp = 2

    [42949434.640000] vpfe-capture vpfe-capture: calling ccdc_config_raw()

    0:00:25.618546087   344    0x15018 WARN               v4l2src ../../../src/sys/v4l2/v4l2src_calls.c:1524:gst_v4l2src_capture_init:<v4l2src0> using 3 buffersd

    /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: queue-size = 3

    /GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)640, height=(int)480, framerate=(fraction)1000

    Pipeline is live and does not need PREROLL ...

    Setting pipeline to PLAYING ...

    0:00:25.700578921   344    0x15018 WARN                   bin ../../src/gst/gstbin.c:2217:gst_bin_do_latency_func:<pipeline0> failed to query latency

    New clock: GstSystemClock

    /GstPipeline:pipeline0/GstTIDmaiaccel:tidmaiaccel0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)640, height=(int)480, framerate=(frac0

    /GstPipeline:pipeline0/GstTIDmaiaccel:tidmaiaccel0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)640, height=(int)480, framerate=(fra0

    /GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)640, height=(int)480, framerate=(fraction)1001/30

    /GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)640, height=(int)480, framerate=(fraction)1001/300

    /GstPipeline:pipeline0/dmaienc_mpeg4:dmaienc_mpeg40.GstPad:src: caps = video/mpeg, mpegversion=(int)4, systemstream=(boolean)false, framerate=(fraction)10010

    /GstPipeline:pipeline0/dmaienc_mpeg4:dmaienc_mpeg40.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)640, height=(int)480, framerate=(fr0

    Caught SIGSEGV accessing address 0x40

    Spinning.  Please run 'gdb gst-launch 344' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.

    thank you

    Andrea

  • Hi Andrea,

    I trace down the issue, and now is fixed on revision 566.

    Regards,

    Diego