Re: [Libxine-java-devel] VM Crash on ubuntu
Status: Beta
Brought to you by:
freckle
From: Matthias R. <mri...@in...> - 2008-09-23 15:54:18
|
Hi Kristian thanks for detailed crash report. On 23.09.2008, at 16:55, Kristian Lindemann Larsen wrote: > > 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/" That's fine, I'll try to add the amd64 subfolder to the search location. Could you also send me your config.log (you can sent this to me directly for this, if you want) ? > 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? On my systems, there is only a single warning about xine_trick_mode beeing deprectated, no other warnings/error. I do belief that the warnings are a bad sign, and something goes wrong. I'll have to make me smart about 64-bit intel stuff and try to find a 64-bit intel machine for debugging. What happens is that on your platform each pointer is 64-bit wide and passing pointers between java and C is a bit tricky. Could you also sent me the generated libxine_warp.c? I don't think this is a hard problem, but it will requires beeing extra careful. Are all libarares on your system 64-bit wide? what's the output of e.g. file /usr/lib/libxine.so.1.24.0 ? Cheers, Matthias |