← Back to team overview

openjdk team mailing list archive

[Bug 894718] Re: LibRxtx-java crash on 64bit

 

I'm getting the same crash with an unrelated add. The command part of the crash report is this:
# Problematic frame:
# C  [librxtxSerial.so+0x7733]  Java_gnu_io_RXTXPort_nativeDrain+0xc3

j  gnu.io.RXTXPort.nativeDrain(Z)Z+0
j  gnu.io.RXTXPort$SerialOutputStream.flush()V+72

Immediately below it I get this:

j
com.openbravo.pos.printer.escpos.PrinterWritterRXTX.internalFlush()V+11

the source code for that has this:

    protected void internalFlush() {
        try {  
            if (m_out != null) {
                m_out.flush();
            }
        } catch (IOException e) {
            System.err.println(e);
        }    
    }

i.e. its crashing trying to flush the serial port I think.

compare to this bug upstream:

http://bugzilla.qbang.org/show_bug.cgi?id=105 (which appears to be the same bug)
and this now closed bug
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/594569

** Bug watch added: bugzilla.qbang.org/ #105
   http://bugzilla.qbang.org/show_bug.cgi?id=105

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

Title:
  LibRxtx-java crash on 64bit

Status in Rxtx debian/ubuntu installer (java serial/parallel port reader/writer):
  New
Status in “openjdk-7” package in Ubuntu:
  Confirmed

Bug description:
  The usage of the librxtx-pacakge in the openjdk-7 enviorment isn't
  possible do crashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/rxtx/+bug/894718/+subscriptions


References