sawpawan / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

IPImage's use of awt classes are causing crashes on some device. #326

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Load the library and watch logcat.
3. This causes crash on some devices. 

                        W  VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
                        W  VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
                        W  VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
                        W  VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
                        W  VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
                        I  Could not find method java.awt.image.BufferedImage.getSampleModel, referenced from method com.googlecode.javacv.cpp.opencv_core$IplImage.createFrom
                        W  VFY: unable to resolve virtual method 41504: Ljava/awt/image/BufferedImage;.getSampleModel ()Ljava/awt/image/SampleModel;
                        D  VFY: replacing opcode 0x6e at 0x0004
                        W  VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
                        W  VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
                        W  VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
                        E  Could not find class 'java.awt.image.BufferedImage', referenced from method com.googlecode.javacv.cpp.opencv_core$IplImage.cloneBufferedImage
                        W  VFY: unable to resolve check-cast 4314 (Ljava/awt/image/BufferedImage;) in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;
                        D  VFY: replacing opcode 0x1f at 0x0008
                        W  VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
                        W  VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
                        W  VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
                        W  VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
                        W  VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
                        E  Could not find class 'java.awt.Rectangle', referenced from method com.googlecode.javacv.cpp.opencv_core$IplImage.copyFrom
                        W  VFY: unable to resolve new-instance 4303 (Ljava/awt/Rectangle;) in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;
                        D  VFY: replacing opcode 0x22 at 0x0007
                        W  VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
                        W  VFY: unable to find class referenced in signature (Ljava/awt/Rectangle;)
                        W  VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
                        W  VFY: unable to find class referenced in signature (Ljava/awt/Rectangle;)
                        I  Could not find method java.awt.image.BufferedImage.getSampleModel, referenced from method com.googlecode.javacv.cpp.opencv_core$IplImage.copyFrom
                        W  VFY: unable to resolve virtual method 41504: Ljava/awt/image/BufferedImage;.getSampleModel ()Ljava/awt/image/SampleModel;
                        D  VFY: replacing opcode 0x74 at 0x000f
                        W  VFY: unable to resolve instance field 22734
                        D  VFY: replacing opcode 0x52 at 0x0099
                        W  VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
                        W  VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
                        W  VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
                        W  VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
                        W  VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
                        E  Could not find class 'java.awt.Rectangle', referenced from method com.googlecode.javacv.cpp.opencv_core$IplImage.copyTo
                        W  VFY: unable to resolve new-instance 4303 (Ljava/awt/Rectangle;) in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;
                        D  VFY: replacing opcode 0x22 at 0x0007
                        W  VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
                        W  VFY: unable to find class referenced in signature (Ljava/awt/Rectangle;)
                        W  VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
                        W  VFY: unable to find class referenced in signature (Ljava/awt/Rectangle;)
                        I  Could not find method java.awt.image.BufferedImage.getSampleModel, referenced from method com.googlecode.javacv.cpp.opencv_core$IplImage.copyTo
                        W  VFY: unable to resolve virtual method 41504: Ljava/awt/image/BufferedImage;.getSampleModel ()Ljava/awt/image/SampleModel;
                        D  VFY: replacing opcode 0x74 at 0x0011
                        W  VFY: unable to resolve instance field 22734
                        D  VFY: replacing opcode 0x52 at 0x007f
                        W  VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
                        W  VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
                        W  VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
                        W  VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
                        W  VFY: unable to find class referenced in signature (Ljava/awt/color/ColorSpace;)
                        W  VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
                        W  VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;)
                        W  VFY: unable to find class referenced in signature (Ljava/awt/color/ColorSpace;)                      E  Could not find class 'java.awt.image.BufferedImage', referenced from method com.googlecode.javacv.cpp.opencv_core$IplImage.getBufferedImage
                        W  VFY: unable to resolve new-instance 4314 (Ljava/awt/image/BufferedImage;) in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;
                        D  VFY: replacing opcode 0x22 at 0x000e
                        I  Could not find method java.awt.color.ColorSpace.getInstance, referenced from method com.googlecode.javacv.cpp.opencv_core$IplImage.getBufferedImage
                        W  VFY: unable to resolve static method 41485: Ljava/awt/color/ColorSpace;.getInstance (I)Ljava/awt/color/ColorSpace;
                        D  VFY: replacing opcode 0x71 at 0x0033
                        E  Could not find class 'java.awt.image.ComponentColorModel', referenced from method com.googlecode.javacv.cpp.opencv_core$IplImage.getBufferedImage
                        W  VFY: unable to resolve new-instance 4316 (Ljava/awt/image/ComponentColorModel;) in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;
                        D  VFY: replacing opcode 0x22 at 0x0052
                        E  Could not find class 'java.awt.image.BufferedImage', referenced from method com.googlecode.javacv.cpp.opencv_core$IplImage.getBufferedImage
                        W  VFY: unable to resolve check-cast 4314 (Ljava/awt/image/BufferedImage;) in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;
                        D  VFY: replacing opcode 0x1f at 0x0094
                        E  Could not find class 'java.awt.image.BufferedImage', referenced from method com.googlecode.javacv.cpp.opencv_core$IplImage.getBufferedImage
                        W  VFY: unable to resolve check-cast 4314 (Ljava/awt/image/BufferedImage;) in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;
                        D  VFY: replacing opcode 0x1f at 0x00b7
                        I  Could not find method java.awt.color.ColorSpace.getInstance, referenced from method com.googlecode.javacv.cpp.opencv_core$IplImage.getBufferedImage
                        W  VFY: unable to resolve static method 41485: Ljava/awt/color/ColorSpace;.getInstance (I)Ljava/awt/color/ColorSpace;
                        D  VFY: replacing opcode 0x71 at 0x00c6
                        I  Could not find method java.awt.color.ColorSpace.getInstance, referenced from method com.googlecode.javacv.cpp.opencv_core$IplImage.getBufferedImage
                        W  VFY: unable to resolve static method 41485: Ljava/awt/color/ColorSpace;.getInstance (I)Ljava/awt/color/ColorSpace;
                        D  VFY: replacing opcode 0x71 at 0x00de
                        E  Could not find class 'java.awt.image.ComponentColorModel', referenced from method com.googlecode.javacv.cpp.opencv_core$IplImage.getBufferedImage
                        W  VFY: unable to resolve new-instance 4316 (Ljava/awt/image/ComponentColorModel;) in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;
                        D  VFY: replacing opcode 0x22 at 0x00fc
                        E  Could not find class 'java.awt.image.ComponentColorModel', referenced from method com.googlecode.javacv.cpp.opencv_core$IplImage.getBufferedImage
                        W  VFY: unable to resolve new-instance 4316 (Ljava/awt/image/ComponentColorModel;) in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;
                        D  VFY: replacing opcode 0x22 at 0x012e
                        E  Could not find class 'java.awt.image.ComponentColorModel', referenced from method com.googlecode.javacv.cpp.opencv_core$IplImage.getBufferedImage
                        W  VFY: unable to resolve new-instance 4316 (Ljava/awt/image/ComponentColorModel;) in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;
                        D  VFY: replacing opcode 0x22 at 0x0160
                        E  Could not find class 'java.awt.image.ComponentColorModel', referenced from method com.googlecode.javacv.cpp.opencv_core$IplImage.getBufferedImage
                        W  VFY: unable to resolve new-instance 4316 (Ljava/awt/image/ComponentColorModel;) in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;
                        D  VFY: replacing opcode 0x22 at 0x0191
                        E  Could not find class 'java.awt.image.ComponentColorModel', referenced from method com.googlecode.javacv.cpp.opencv_core$IplImage.getBufferedImage
                        W  VFY: unable to resolve new-instance 4316 (Ljava/awt/image/ComponentColorModel;) in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;
                        D  VFY: replacing opcode 0x22 at 0x01c2
                        E  Could not find class 'java.awt.image.BufferedImage', referenced from method com.googlecode.javacv.cpp.opencv_core$IplImage.getBufferedImage
                        W  VFY: unable to resolve check-cast 4314 (Ljava/awt/image/BufferedImage;) in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;
                        D  VFY: replacing opcode 0x1f at 0x01f9
                        E  Could not find class 'java.awt.image.BufferedImage', referenced from method com.googlecode.javacv.cpp.opencv_core$IplImage.getBufferedImage
                        W  VFY: unable to resolve new-instance 4314 (Ljava/awt/image/BufferedImage;) in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;
                        D  VFY: replacing opcode 0x22 at 0x0077
                        D  DexOpt: unable to opt direct call 0xa219 at 0x1e in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.cloneBufferedImage
                        D  DexOpt: unable to opt direct call 0xa218 at 0x2d in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.cloneBufferedImage
                        D  DexOpt: unable to opt direct call 0xa20c at 0x19 in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.copyFrom
                        I  DexOpt: unable to optimize instance field ref 0x58cd at 0xa2 in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.copyFrom
                        D  DexOpt: unable to opt direct call 0xa20c at 0x19 in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.copyTo
                        I  DexOpt: unable to optimize instance field ref 0x58cd at 0x88 in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.copyTo
                        D  DexOpt: unable to opt direct call 0xa218 at 0x18 in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.getBufferedImage
                        D  DexOpt: unable to opt direct call 0xa226 at 0x59 in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.getBufferedImage
                        D  DexOpt: unable to opt direct call 0xa227 at 0x6f in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.getBufferedImage
                        D  DexOpt: unable to opt direct call 0xa219 at 0x7d in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.getBufferedImage
                        D  DexOpt: unable to opt direct call 0xa226 at 0x103 in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.getBufferedImage
                        D  DexOpt: unable to opt direct call 0xa227 at 0x11b in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.getBufferedImage
                        D  DexOpt: unable to opt direct call 0xa226 at 0x135 in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.getBufferedImage
                        D  DexOpt: unable to opt direct call 0xa227 at 0x14d in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.getBufferedImage
                        D  DexOpt: unable to opt direct call 0xa226 at 0x167 in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.getBufferedImage
                        D  DexOpt: unable to opt direct call 0xa227 at 0x17f in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.getBufferedImage
                        D  DexOpt: unable to opt direct call 0xa226 at 0x198 in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.getBufferedImage
                        D  DexOpt: unable to opt direct call 0xa227 at 0x1b0 in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.getBufferedImage
                        D  DexOpt: unable to opt direct call 0xa226 at 0x1c9 in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.getBufferedImage
                        D  DexOpt: unable to opt direct call 0xa227 at 0x1e1 in Lcom/googlecode/javacv/cpp/opencv_core$IplImage;.getBufferedImage
                        D  Trying to load lib /data/app-lib/co.vine.android-2/libtbb.so 0x423c9c18
                        D  Added shared lib /data/app-lib/co.vine.android-2/libtbb.so 0x423c9c18
                        D  No JNI_OnLoad found in /data/app-lib/co.vine.android-2/libtbb.so 0x423c9c18, skipping init
                        D  Trying to load lib /data/app-lib/co.vine.android-2/libopencv_core.so 0x423c9c18
                        D  Added shared lib /data/app-lib/co.vine.android-2/libopencv_core.so 0x423c9c18
                        D  No JNI_OnLoad found in /data/app-lib/co.vine.android-2/libopencv_core.so 0x423c9c18, skipping init
                        D  Trying to load lib /data/app-lib/co.vine.android-2/libjniopencv_core.so 0x423c9c18
                        D  Added shared lib /data/app-lib/co.vine.android-2/libjniopencv_core.so 0x423c9c18
                        D  GC_CONCURRENT freed 510K, 7% free 10822K/11528K, paused 4ms+35ms, total 116ms

Original issue reported on code.google.com by wzsddtc on 13 Jun 2013 at 6:11

GoogleCodeExporter commented 8 years ago
I don't see where the crash occurs. Those are only warning messages, and you 
can ignore them. 

If you wish to remove these messages, enabling ProGuard should take care of 
that.

Original comment by samuel.a...@gmail.com on 16 Jun 2013 at 2:04