Gstreamer Application crashes when compiled in "release mode" , works fine in "Debug mode"

Shrishty Deorari shrishty.deorari at vvdntech.com
Thu Apr 28 10:01:36 UTC 2016


Hi Sebastian,

Got the Following result when using GDB back trash of the crash. The
application crashes as soon as it encounters any gstreamer function and the
first function is gst_init().

 Reading symbols from ./IVApp.exe...(no debugging symbols found)...done.
(gdb) run
Starting program:
/cygdrive/e/IV_Service/GST/IVSampleApp/bin/Release/IVApp.exe
[New Thread 4280.0x10b0]
[New Thread 4280.0x10b4]
[New Thread 4280.0x109c]
[New Thread 4280.0x10a8]
[New Thread 4280.0x10a4]
[New Thread 4280.0x1c4]

Program received signal SIGSEGV, Segmentation fault.
0x0000000300905a4d in ?? ()
(gdb) bt
#0  0x0000000300905a4d in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)

It says the Error as corrupted Stack. And the address is not accessible
when we tried to read it using the Following command.
(gdb)  x/64 0x300905a4d
0x300905a4d:    Cannot access memory at address 0x300905a4d





*With Warm Regards,*

Shrishty Deorari

VVDN Technologies Pvt Ltd

*Cell : *+91 7773980237 | *Skype :* shrishty_vvdn


On Thu, Apr 28, 2016 at 11:51 AM, Sebastian Dröge <sebastian at centricular.com
> wrote:

> On Do, 2016-04-28 at 11:12 +0530, Shrishty Deorari wrote:
> > Hi,
> >
> > I am facing an  issue with  Gstreamer Application  when compiled in
> "release mode"
> >
> > The Issue is: We have created a Gstreamer application for windows 7 (64
> bit) using Visual studio 10 , When the code is compiled in "Debug mode" ,
> everything works fine. But When complied in "Release mode" , The
> application crashes at
> >  gst_init(&argc, &argv)  with the following error:
> >
> > " unhandled exception at 0x00000000300905a4d in IVApp.exe: 0xC0000005:
> Access voilation at location 0x00000000300905a4d "
> >
> > All the library path , include file/ folders being same in both the
> modes.
> >
> >
> > The same thing happens when we remove everything from the application
> except the
> > gst_init(&argc ,&argv)
> > So removing the chance of any other issue in rest of the application
> code.
>
> Please run the application in gdb and get a backtrace of the crash. You
> can get gdb for example from here:
>
> https://sourceforge.net/projects/mingw-w64/files/External%20binary%20packages%20%28Win64%20hosted%29/gdb/
>
> --
> Sebastian Dröge, Centricular Ltd · http://www.centricular.com
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160428/d1a1dfab/attachment.html>


More information about the gstreamer-devel mailing list