mbayulke / java-simple-serial-connector

Automatically exported from code.google.com/p/java-simple-serial-connector
0 stars 0 forks source link

Stack Overflow Exception #52

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create the connection
2. Send 1.048.576 bytes (1MB) via serial port
3. Try to read it all on a byte array

What version of the product are you using? On what operating system?
jSSC 2.6.0

Please provide any additional information below.
If you try to transfer 1MB of byte data via serial ports, when you try to read 
it it will generate an exception on the library, like: 
An unrecoverable stack overflow has occurred.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_STACK_OVERFLOW (0xc00000fd) at pc=0x68c8b983, pid=8872, tid=8216
#
# JRE version: 7.0_09-b05
# Java VM: Java HotSpot(TM) Client VM (23.5-b02 mixed mode, sharing windows-x86 
)
# Problematic frame:
# C  [jSSC-2.6_x86.dll+0xb983]  
Java_jssc_SerialNativeInterface_getLinesStatus+0x96a3
#
# Failed to write core dump. Minidumps are not enabled by default on client 
versions of Windows
#
# An error report file with more information is saved as:
# C:\Users\Cristian\Dropbox\Projects\Redes\hs_err_pid8872.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

Original issue reported on code.google.com by criscllo...@gmail.com on 9 Oct 2013 at 4:21

GoogleCodeExporter commented 8 years ago
I need quick fix for this. Mail to kamalkrishna3000@gmail.com

Original comment by kamalkri...@gmail.com on 12 Sep 2014 at 5:59

GoogleCodeExporter commented 8 years ago
what is the solution for this??? how to resolve this bug please tell me

Original comment by nimsa...@gmail.com on 28 Feb 2015 at 9:09