Sponsored Content
Operating Systems SCO Issue using SCO java SerialDemo Post 302691405 by jdsnatl on Friday 24th of August 2012 11:59:18 AM
Old 08-24-2012
Issue using SCO java SerialDemo [CLOSED]

I recently installed the Java Communications API (v2.0Aa) on SCO and I'm having some issues running the SerialDemo application that comes with it.

I can open a connection and send text from SCO to a toy windows app I wrote - that works fine. However, when I try and close the connection, I get the following error:

libthread error: _thr_sigacthandler: fault 1 inside a critical section

What follows after that is a mass of debug text with various values (I don't know what any of it means). Can anyone suggest anything I could read up on to try and figure out what the error actually is? Is more information stored in log files anywhere?

If it helps at all, the offending line in the java program is when the SerialPort object is being closed.

Any suggestions are welcome. I didn't want to immediately just dump the whole thing here and hope someone else can glean something useful from it.

Last edited by jdsnatl; 10-24-2012 at 05:14 PM.. Reason: Marking as closed
 

8 More Discussions You Might Find Interesting

1. AIX

License issue on Java install

I'm a AIX novice - please bear with me.. I'm trying to install Java14_64_sdk on an Aix 5.2 server (P690) I've copied the ff files to a separate directory: Java14_64.ext Java14_64.license Java14_64.sdk I then run smitty installp, point to the above directory and choose the Java14_64.sdk... (0 Replies)
Discussion started by: morgan_g
0 Replies

2. Shell Programming and Scripting

runing shell with java and sqlloader issue

Hello there, I'm writing a shellscript and it uses sqlloader, it works good coz load the data into the DB. But I'm runing the shell from a java program with Runtime(). It does execute the shell but the sqlloader doesn't seem to be working!! Does anybody out there knows why?? (0 Replies)
Discussion started by: ying_dav
0 Replies

3. Programming

Issue Related to Splash Screen in Java

Hi all, Actually I want to flash the image which I have in my system and when I am trying to do it,it is not showing it.simply creates the frame but not displaying the image.I am attaching the code-- Please take a look on it and please provide your valuable suggestions on it so that I... (2 Replies)
Discussion started by: smartgupta
2 Replies

4. SCO

SCO Reboot Issue

Hi, We are using SCO UNIX 7.1.3 and the server recently started rebooting by itself. Do anyone know how can i create a dump or crash dump while the server rebooots? Your quick help on this is really appreciated. Regards, Ravikumar R (1 Reply)
Discussion started by: rrb2009
1 Replies

5. UNIX for Dummies Questions & Answers

host key issue via java

Hi, I am encountering below mentioned exception when I execute my Java program that is supposed to SFTP the file from one server over to another. Can you please tell me some pointers to resolve this issue? Exception HostName- 10.1.1.1 ; userName- bmsftp log4j:WARN No appenders could be... (0 Replies)
Discussion started by: prashant.ladha
0 Replies

6. Shell Programming and Scripting

Issue with spaces in Java command line options

Hi, I am writing a shell script to build Java options dynamically in a variable array and pass them to java.exe. If an option value contains a space, I cannot find a way to get it interpreted correctly. Here is my example: #!/bin/bash JAVA_HOME=/opt/jvm/jre1.5.0_18 JAVA_OPTS=("-Xms256m... (4 Replies)
Discussion started by: Romain
4 Replies

7. Programming

PortInUse Exception in SerialDemo

Using JRE 1.4.2_12 on SCO OpenServer 5.0.7, I was able to use the Java Comm Api to open and close serial ports. After upgrading to JRE 1.4.2_19, the Java Comm Api complains that the ports are in use. Does anyone have any thoughts on how to make 1.4.2_19 work with Java Comm API? FYI. I was using... (21 Replies)
Discussion started by: rkelly
21 Replies

8. AIX

Strange issue installing Java 8

I just intalled java8_64.jre and .sdk respectively installp -agXYd . Java8_64.jre Java8_64.sdk 2>&1 | tee installp.log Worked like a champ. Now I see this-- jeff@server:/usr> ls -l | grep java drwxr-xr-x 9 bin bin 512 Sep 22 2010 java14 drwxr-xr-x 7 bin bin ... (9 Replies)
Discussion started by: jeffs42885
9 Replies
roar_vs_connection_obj(3)				   RoarAudio Programmer's Manual				 roar_vs_connection_obj(3)

NAME
roar_vs_connection_obj, roar_vs_stream_obj, roar_vs_vio_obj - VS API interface for use of main API SYNOPSIS
#include <roaraudio.h> struct roar_connection * roar_vs_connection_obj(roar_vs_t * vss, int * error); struct roar_stream * roar_vs_stream_obj (roar_vs_t * vss, int * error); struct roar_vio_calls * roar_vs_vio_obj (roar_vs_t * vss, int * error); DESCRIPTION
Those functions return internal connection, stream and VIO object of the VS object. They are used to use the main API with a VS opened stream. roar_vs_connection_obj() returns the connection object used for the control connection to the server. roar_vs_stream_obj() returns the stream object storing information about the stream. roar_vs_vio_obj() returns the VIO object used to read data from or send data to the server. Returned objects are freed as soon as the VS object is closed. If the VS object was created using roar_vs_new_from_con(3) the connection is not closed by the VS object and stay valid after close until it is closed by the program or library. The VIO object MUST NOT be used while in buffered mode. PARAMETERS
vss The VS object to return internal objects from. error This is a pointer to a integer used to store the error value in case of error. This can be NULL if not used but it is very recom- mended to use this error value to report good error messages to the user. RETURN VALUE
On success these calls return the described object. On error, NULL is returned. EXAMPLES
FIXME SEE ALSO
roarvs(7), libroar(7), RoarAudio(7). RoarAudio May 2011 roar_vs_connection_obj(3)
All times are GMT -4. The time now is 09:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy