Re: [Libxine-java-devel] VM Crash on ubuntu
Status: Beta
Brought to you by:
freckle
From: Kristian L. L. <wa...@pa...> - 2008-09-23 14:55:14
|
Okay. My CPU is an "AMD Turion(tm) 64 X2 Mobile Technology TL-56", so yes, it's 64 bit (64-bit kubuntu). Here's a new crash that i made, with the test-player that comes with the build: # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f9423a9ec8d, pid=19716, tid=1090947408 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (11.0-b15 mixed mode linux-amd64) # Problematic frame: # C [libxineJNI.so.0.0.0+0x21c8d] xineJ_create_visual+0x35 # # An error report file with more information is saved as: # /home/walker/libxine-java-r375/hs_err_pid19716.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # Aborted I've attached the /home/walker/libxine-java-r375/hs_err_pid19716.log file. When trying to configure (currently trying r375) i get the following error: ---------------------------- ./configure --prefix=/opt/jdk1.6.0_10 ... checking for jawt_md.h... yes Cannot find libjawt, please specify --with-jni-lib-flags. ---------------------------- I fix this by inserting the following line at line 22255 in configure: JNI_LIB="-L/opt/jdk1.6.0_10/jre/lib/amd64/" Then when trying to compile (make) i get the following error: ---------------------------- libxine_wrap.c: In function 'Java_org_libxine_XineLibJNI_xineJ_1open': libxine_wrap.c:1096: warning: cast to pointer from integer of different size libxine_wrap.c: In function 'Java_org_libxine_XineLibJNI_xineJ_1create_1visual': libxine_wrap.c:1116: warning: cast to pointer from integer of different size libxine_wrap.c: In function 'Java_org_libxine_XineLibJNI_xineJ_1post_1init': libxine_wrap.c:1181: warning: cast to pointer from integer of different size libxine_wrap.c: In function 'Java_org_libxine_XineLibJNI_xine_1trick_1mode': libxine_wrap.c:1533: warning: 'xine_trick_mode' is deprecated (declared at /usr/include/xine.h:261) libxine_wrap.c: In function 'Java_org_libxine_XineLibJNI_xine_1vlog': libxine_wrap.c:3297: error: incompatible types in assignment make: *** [libxine_wrap.lo] Error 1 ---------------------------- i fix this by: - arg4 = *argp4; - xine_vlog(arg1,arg2,(char const *)arg3,arg4); + xine_vlog(arg1,arg2,(char const *)arg3,*argp4); which makes it compile. Is this dangerous, and could this have anything to do with the crash? Thanx walker Matthias Ringwald skrev: > Hi Kristian > > that looks serious. I don't know what's failing. What CPU do you have? > In the log it says something about 64-bit. So far I did not have a > chance to test with 64-bit machines. > Could you sent me the crash log (/hs_err_pid32602.log), maybe it tells > us something. I have a standard Pentium 4 Ubuntu 8.04 for the linux > development and a slightly older Java VM there: > > java version "1.6.0_06" > Java(TM) SE Runtime Environment (build 1.6.0_06-b02) > Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing) > > Does the normal xine-ui (just xine on the command line) work fine on > your system (just trying to check everything) > > matthias > > > On Sep 23, 2008, at 7:18 AM, Kristian Lindemann Larsen wrote: > >> Hey >> I'm currently running kubuntu 8.04.1, manually installed jdk1.6.0_10 and >> developing in netbeans-6.1. >> When i try to run my program, the VM crashes aprox. 9/10 times when i >> try to bind the controller to the video canvas: >> >> engine.createController( video ); >> >> The vm dumps the following: >> >> # >> # An unexpected error has been detected by Java Runtime Environment: >> # >> # SIGSEGV (0xb) at pc=0x00007feebe8aca6d, pid=32602, tid=1097247056 >> # >> # Java VM: Java HotSpot(TM) 64-Bit Server VM (11.0-b15 mixed mode >> linux-amd64) >> # Problematic frame: >> # C [libxineJNI.so.0.0.0+0x1fa6d] xineJ_create_visual+0x35 >> # >> # An error report file with more information is saved as: >> # /home/walker/NetBeansProjects/TestVideo/hs_err_pid32602.log >> # >> # If you would like to submit a bug report, please visit: >> # http://java.sun.com/webapps/bugreport/crash.jsp >> # The crash happened outside the Java Virtual Machine in native code. >> # See problematic frame for where to report the bug. >> # >> Java Result: 134 > |