[gst-devel] Crash with JNI

Robert Scott robert.b.scott at sbcglobal.net
Tue Apr 11 10:41:03 CEST 2006


So I am having a problem where running a program using Gstreamer and  
JNI(Java Native Interface) is crashing after a few minutes.  I am  
writing a much larger application, but I shrunk it down to try to  
isolate the problem.  I have a test application, and all it does is  
display a large red button.  Clicking on it starts whatever song is  
provided on the command line, clicking it again pauses, and clicking  
again resumes.  For some reason, the music will start, but eventually  
the program SEGVs.

I am not sure about the JNI binding for Gstreamer, from the looks of  
the SVN repository it hasn't been modified in months, so wrote my own  
simple library just for playing files.

Any help would be greatly appreciated, I didn't know if I could  
upload a tarball to this list, so I posted it on a site:

The package has a Makefile, and a run script, so all that you would  
have to do to test is run ./run <filename, with absolute path>


More information about the gstreamer-devel mailing list