Comment 6 for bug 894718

Revision history for this message
Paul Munday (paulm-4) wrote :

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