Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when working on images #853

Closed
StarWindMoonCloud opened this issue Dec 5, 2017 · 7 comments
Closed

Crash when working on images #853

StarWindMoonCloud opened this issue Dec 5, 2017 · 7 comments
Labels

Comments

@StarWindMoonCloud
Copy link

Got a crash while working on javacv, couldn't dig out the cause so far, wondering if any life saver can help?

Below are some details
gdb stack
(gdb) bt
#0 0x00007ffa373adcc9 in _quicksort (pbase=0x0, total_elems=, size=32, cmp=0x7ff9605f3d80,
arg=0x7ffa37308640 ) at qsort.c:128
#1 0x00007ff9605f4230 in ?? ()
#2 0x00007ffa36cc3f1a in JVM_handle_linux_signal () from /usr/local/jdk1.8/jre/lib/amd64/server/libjvm.so
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) stack
Undefined command: "stack". Try "help".
(gdb) corrupt stack
Undefined command: "corrupt". Try "help".
(gdb) bt
#0 0x00007ffa373adcc9 in _quicksort (pbase=0x0, total_elems=, size=32, cmp=0x7ff9605f3d80,
arg=0x7ffa37308640 ) at qsort.c:128
#1 0x00007ff9605f4230 in ?? ()
#2 0x00007ffa36cc3f1a in JVM_handle_linux_signal () from /usr/local/jdk1.8/jre/lib/amd64/server/libjvm.so
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) frame 2
#2 0x00007ffa36cc3f1a in JVM_handle_linux_signal () from /usr/local/jdk1.8/jre/lib/amd64/server/libjvm.so
(gdb) up 2
#2 0x00007ffa36cc3f1a in JVM_handle_linux_signal () from /usr/local/jdk1.8/jre/lib/amd64/server/libjvm.so
(gdb) down 2
#0 0x00007ffa373adcc9 in _quicksort (pbase=0x0, total_elems=, size=32, cmp=0x7ff9605f3d80,
arg=0x7ffa37308640 ) at qsort.c:128
128 in qsort.c

part of hs_err file
Internal exceptions (10 events):
Event: 41.003 Thread 0x00007ff988013800 Exception <a 'java/lang/NoSuchMethodError': java.lang.Object.lambda$identity$7(Ljava/lang/Object;)Ljava/lang/Object;> (0x00000005dd503e90) thrown at [/RE-WORK/workspace/8-2-build-linux-amd64/jdk8u45/3457/hotspot/src/share/vm/interpreter/linkResolver.cpp,
Event: 41.017 Thread 0x00007ff936958800 Exception <a 'java/lang/ArrayIndexOutOfBoundsException': 70> (0x00000005de010198) thrown at [/RE-WORK/workspace/8-2-build-linux-amd64/jdk8u45/3457/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp, line 366]
Event: 41.017 Thread 0x00007ff936958800 Exception <a 'java/lang/ArrayIndexOutOfBoundsException': 114> (0x00000005de011710) thrown at [/RE-WORK/workspace/8-2-build-linux-amd64/jdk8u45/3457/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp, line 366]
Event: 41.018 Thread 0x00007ff936958800 Exception <a 'java/lang/ArrayIndexOutOfBoundsException': 69> (0x00000005de012a40) thrown at [/RE-WORK/workspace/8-2-build-linux-amd64/jdk8u45/3457/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp, line 366]
Event: 41.018 Thread 0x00007ff936958800 Exception <a 'java/lang/ArrayIndexOutOfBoundsException': 90> (0x00000005de013b08) thrown at [/RE-WORK/workspace/8-2-build-linux-amd64/jdk8u45/3457/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp, line 366]
Event: 41.222 Thread 0x00007ff936958800 Implicit null exception at 0x00007ffa21176933 to 0x00007ffa211772f0
Event: 41.222 Thread 0x00007ff936958800 Exception <a 'java/lang/NullPointerException'> (0x00000005de324170) thrown at [/RE-WORK/workspace/8-2-build-linux-amd64/jdk8u45/3457/hotspot/src/share/vm/runtime/sharedRuntime.cpp, line 605]
Event: 41.222 Thread 0x00007ff936958800 Exception <a 'java/lang/NullPointerException'> (0x00000005de3244b0) thrown at [/RE-WORK/workspace/8-2-build-linux-amd64/jdk8u45/3457/hotspot/src/share/vm/prims/jvm.cpp, line 312]
Event: 41.222 Thread 0x00007ff936958800 Exception <a 'java/lang/NullPointerException'> (0x00000005de3244b0) thrown at [/RE-WORK/workspace/8-2-build-linux-amd64/jdk8u45/3457/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 43.036 Thread 0x00007ff97446e800 Exception <a 'java/lang/RuntimeException'> (0x00000005c0aa7068) thrown at [/RE-WORK/workspace/8-2-build-linux-amd64/jdk8u45/3457/hotspot/src/share/vm/prims/jni.cpp, line 709]

dependencies of java app

org.bytedeco
javacv
1.3.3


org.bytedeco.javacpp-presets
opencv-platform
3.2.0-1.3

@saudet
Copy link
Member

saudet commented Dec 5, 2017 via email

@StarWindMoonCloud
Copy link
Author

@saudet what should the full dependencies look like, I built below packages against latest code, but encountered one runtime Error
Error putting member offsets for class org/bytedeco/javacpp/opencv_core$Complexd.

org.bytedeco
javacv
1.3.4-SNAPSHOT


org.bytedeco.javacpp-presets
opencv-platform
3.3.1-1.3.4-SNAPSHOT

@saudet
Copy link
Member

saudet commented Dec 5, 2017 via email

@StarWindMoonCloud
Copy link
Author

Not helping unfortunately

@saudet
Copy link
Member

saudet commented Dec 6, 2017

Check mvn dependency:tree, make sure you're getting what you expect...

@StarWindMoonCloud
Copy link
Author

Turned out it was the problem of image download somewhere else. Fixed now.
But no idea why was the error reported this way.
FYI @saudet

@saudet
Copy link
Member

saudet commented Dec 6, 2017

We've updated the info page about SNAPSHOT artifacts: http://bytedeco.org/builds/
It should help alleviate these kinds of issues in the future :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants