← Back to team overview

openjdk team mailing list archive

[Bug 593172] Re: eclipse crashes on loading on serial terminal

 

The crash is coming from a broken rxtx library installed from
http://rxtx.qbang.org/eclipse/.

If I remove
~/.eclipse/org.eclipse.platform_3.7.0_155965261/plugins/gnu.io.rxtx.linux.x86_64_2.1.7.3_v20071015/os/linux/x86_64/*.so
and symlink the packaged libraries from /usr/lib/jni/librxtx*.so (Ubuntu
package librxtx-java), it works. A version mismatch warning will be
printed out, but no error and no crash happens.

Removing the "RXTX end-user runtime" plugin in Eclipse does not help,
because "Target Management Terminal" depends on it for serial
connections. The plugin was created to remedy
https://bugs.eclipse.org/bugs/show_bug.cgi?id=175336 - but this does not
account for situations where the rxtx libraries are installed in the
system JNI library directory. Someone should open a new bug report on
the Eclipse bug tracker to request a fix for this.

** Bug watch added: Eclipse bugs #175336
   https://bugs.eclipse.org/bugs/show_bug.cgi?id=175336

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in Ubuntu.
https://bugs.launchpad.net/bugs/593172

Title:
  eclipse crashes on loading on serial terminal

Status in “openjdk-6” package in Ubuntu:
  New

Bug description:
  When I open a connection to a USB serial port using the RXTX
  (http://rxtx.qbang.org/eclipse) and the Target Manager Terminal
  plugins, Eclipse consistently crashes with no error messages.  The
  follow log is generated:

  #
  # A fatal error has been detected by the Java Runtime Environment:
  #
  #  SIGSEGV (0xb) at pc=0x00007f4dbd46524d, pid=4074, tid=139971864680208
  #
  # JRE version: 6.0_18-b18
  # Java VM: OpenJDK 64-Bit Server VM (14.0-b16 mixed mode linux-amd64 )
  # Derivative: IcedTea6 1.8
  # Distribution: Ubuntu lucid (development branch), package 6b18-1.8-0ubuntu1
  # Problematic frame:
  # C  [librxtxSerial.so+0x724d]  read_byte_array+0x3d
  #
  # If you would like to submit a bug report, please include
  # instructions how to reproduce the bug and visit:
  #   https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
  # The crash happened outside the Java Virtual Machine in native code.
  # See problematic frame for where to report the bug.
  #

  Note, I have not had the same problem on 32bit Karmic on a different machine.  I'm able to connect with no problems using ckermit.
  Thanks.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/593172/+subscriptions



References