I've been using javax.usb for quite some time now. I've recently updated 
the system and cannot get it to work in 64-bit mode.

I had to add "-fPIC" flag for it to compile. It seems to work, finds the 
device but then crashes on IO. I don't know precisely what operation it 
crashes on but could figure it out if it makes a big difference. Here's 
the message I'm getting:

#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00002aaad488639c, pid=20612, tid=1104439632
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0_03-b05 mixed mode)
# Problematic frame:
# C  [libJavaxUsb.so+0x1c39c]  complete_interrupt_pipe_request+0x26f
#

Everything works fine when compiled in 32-bit mode (with -m32) and 
32-bit JVM. I'd appreciate any leads.

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
javax-usb-devel mailing list
javax-usb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel

Reply via email to