Comments (8)
It seems to crash trying to free a CallBack object somewhere.. the only thing I
can
see is the "new JavaCvErrorCallback().redirectError();" line. Can you try to
remove
this line and see what happens? Thanks
Samuel
Original comment by [email protected]
on 19 May 2010 at 4:33
from javacv.
That appears to have fixed it. I will reopen if it begins happening again, but,
for now, it appears to run perfectly.
Thank you very much.
Original comment by [email protected]
on 19 May 2010 at 5:38
from javacv.
Ok, that's good, but it should not happen with the error callback in place
either...
What version of JNA are you using?
Samuel
Original comment by [email protected]
on 20 May 2010 at 12:37
from javacv.
3.2.4 (b0)
Here is the Manifest file:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: 1.5.0_20-141 (Apple Inc.)
Main-Class: com.sun.jna.Native
Name: com/sun/jna/
Implementation-Title: com.sun.jna
Implementation-Vendor: JNA Development Team
Implementation-Version: 3.2.4 (b0)
Specification-Title: Java Native Access (JNA)
Specification-Vendor: JNA Development Team
Specification-Version: 3
Original comment by [email protected]
on 20 May 2010 at 12:45
from javacv.
Hum, maybe it has been fixed with 3.2.5? Let me know if it causes the same
issue with
3.2.5, and I will look further into it, thanks
Samuel
Original comment by [email protected]
on 20 May 2010 at 12:47
from javacv.
Still had the same problem with 3.2.5; I have attached the dump.
For now, I am going to just comment the line out since this is only for
research. If you want, I can continue
testing new versions of JavaCV given that I can easily recreate the crash. I
cannot guarantee immediate
responses, but I will try to get to it as soon as I can. Also, I will probably
be putting my entire project on Google
code at the end of the quarter, so you can have it then for your own testing.
Original comment by [email protected]
on 20 May 2010 at 1:26
Attachments:
from javacv.
I believe it has to do with the "new JavaCvErrorCallback().redirectError();"
being called every time the function is
called (about 5 times). I now have it placed in a constructor that is only
called once, and I don't seem to be
having the problem anymore. I may try creating several of these objects and see
if that reproduces the problem,
but that may not be until later this week.
Original comment by [email protected]
on 22 May 2010 at 2:37
from javacv.
Thanks for the followup. I figured out that the crash occurs because of a bug
in JNA
with the garbage collection of a Callback object:
https://jna.dev.java.net/servlets/ReadMsg?list=users&msgNo=4009
But as you say, JavaCvErrorCallback is supposed to be created once and never get
garbage collected, so it should work fine yes.. marking this issue as done, and
we'll
see if I find the related problem in JNA :)
Samuel
Original comment by [email protected]
on 22 May 2010 at 6:43
- Changed state: Done
from javacv.
Related Issues (20)
- Crop a 640*800 video to 640*640. Video is stretched HOT 2
- how to put audio video javacv? HOT 2
- human detecion (color based) HOT 1
- CanvasFrame blank (on mac with java 7) HOT 1
- av_interleaved_write_frame() error -22 while writing interleaved video frame HOT 3
- Android video record using H264 format is to large HOT 1
- Error while createFisher/Eigen/LBPHFaceRecognizer() method is called. HOT 7
- FFmpegFrameGrabber doesn't grab upto the end of the video on Android HOT 5
- RTMP streaming problems HOT 1
- Unable to record with sample code on HOT 4
- Question about the applying the proguard on android HOT 2
- CODEC_ID_MPEG1VIDEO,PIX_FMT_YUV420P cannot be resolved to a variable HOT 4
- While using OpenCV 2.4.9 and JavaCV 0.7 in netbeans windows 7 getting error HOT 3
- Help me Dr.Samuel..(Fatal signal 8 (SIGFPE) at 0x00002835 (code=-6), thread 10293 ) HOT 4
- multi processing with opencv HOT 2
- Problem on train method in face recognition HOT 1
- how to rotate video with javacv on android HOT 1
- Caused by: java.lang.UnsatisfiedLinkError: Couldn't load opencv_core from loader dalvik.system.PathClassLoader HOT 1
- .mp4 video not working in splash screen in htc desire 500 HOT 1
- How to grab the RGB frame instead the gray one? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javacv.