Help: an SIGSEGV error in gst-launch-1.0 (v 1.8.1)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Help: an SIGSEGV error in gst-launch-1.0 (v 1.8.1)

1,861 Views
peteryang
Contributor I

Dear Sir,

         My device uses a imx6 platform. I execute a "gst-launcher-1.0" command as following to convert a grey format picture file to a rgb format picture file.

gst-launch-1.0 -v filesrc location=test.grey blocksize=5038848  !  "video/x-bayer,format=bggr,width=2592,height=1944,framerate=1/1" !  bayer2rgb ! filesink location=test.rgb 

Most of time, this command executes successfully to convert my file "test.grey" to my desired file "test.rgb". However an error occurs randomly and the error is shown below:

     Caught SIGSEGV
#0 0x76be71a4 in poll () at ../sysdeps/unix/syscall-template.S:84
#1 0x76ccccb4 in ?? () from /usr/lib/libglib-2.0.so.0
Spinning. Please run 'gdb gst-launch-1.0 15629' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.

After diving into the source files, I found this error results from the function "bin_handle_async_done()" in the gstream source file "gstbin.c". 

My question is : why this error occurs? Because I have seen the error several times on different testing scenarios. I executed a test script to execute this command for 2000 times and this error always occurs at different loop. Sometimes it occurs at 220th loop and next time it occurs at 515th loop or 858th loop. In brief, this error occurs randomly.

Does anyone have similar problem as I do? 

Please help,

Thanks,

Peter 

0 Kudos
5 Replies

1,348 Views
peteryang
Contributor I

Dear Igor,

         Here is the url where I post my question in github for your reference. 

SIGSEGV error in gst-launch-1.0 (v 1.8.1) when converting a grey-format file to rgb-format file · Is... 

Thanks,

Peter

0 Kudos

1,348 Views
peteryang
Contributor I

Dear Igor,

         Got it. I will open a new issue there. 

Thanks a lot,

Peter

0 Kudos

1,348 Views
peteryang
Contributor I

Dear Carlos,

         Got it. Because this is my first time posting a message here and am not familiar with the procedures, that's why there are three duplicated threads. I am sorry about it. And I am looking forward to the answer from your team.

Thanks a lot,

Peter

0 Kudos

1,348 Views
igorpadykov
NXP Employee
NXP Employee

Hi Peter

may be suggested to open issue on gstreamer-imx github page
https://github.com/Freescale/gstreamer-imx/issues

Best regards
igor

0 Kudos

1,348 Views
Carlos_Musich
NXP Employee
NXP Employee

Hi peter,

this thread is duplicated with the following threads:

Help: an SIGSEGV error in gst-launch-1.0 (v 1.8.1)  (thread/477845)

Help: an SIGSEGV error in gst-launch-1.0 (v 1.8.1)  (thread/477846)

Help: an SIGSEGV error in gst-launch-1.0 (v 1.8.1)  (thread/477847)

I will close the others and only keep this.

Somebody in our team will anwer your question.

Regards,

Carlos

0 Kudos