Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8079207

Buffer Overflow Exception in rxtxSerial.dll

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • None
    • 7u11
    • core-libs
    • windows_7

      FULL PRODUCT VERSION :
      java version "1.7.0_11"
      Java(TM) SE Runtime Environment (build 1.7.0_11-b21)
      Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Windows 7 Pro x64

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Using the arduino IDE v1.5.5-r2

      A DESCRIPTION OF THE PROBLEM :
      Java crashes when outputting to serial port (with or without stuff plugged into the port)

      ADDITIONAL REGRESSION INFORMATION:
      unknown

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      output some stuff over serial to an arduino... or nothing - crashes with or without it plugged in.


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      no crash
      ACTUAL -
      "Java(TM) Platform SE binary has stopped working ..."

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Problem signature:
        Problem Event Name:BEX
        Application Name:javaw.exe
        Application Version:7.0.400.43
        Application Timestamp:521c3bf4
        Fault Module Name:rxtxSerial.dll
        Fault Module Version:0.0.0.0
        Fault Module Timestamp:512e3235
        Exception Offset:000071fd
        Exception Code:c0000409
        Exception Data:00000000
        OS Version:6.1.7601.2.1.0.256.1
        Locale ID:3081
        Additional Information 1:352d
        Additional Information 2:352da0ff9a3b580819eae3912b99e95b
        Additional Information 3:4369
        Additional Information 4:436992e3719683e73f58f30fc672099f


      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      // node - code never runs - crash happens while uploading

      int v=0;

      void setup() {
        // put your setup code here, to run once:
        analogWriteResolution(12);
      }

      void loop() {
        // put your main code here, to run repeatedly:
        while(v<4096) {
          analogWrite(DAC1, v++ );
        }
        while(v-->0) {
          analogWrite(DAC1, v );
        }
      }
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      reboot

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: