08-14-2008
Sounds like spos is going out of bounds. Can you print out its value just before? How large is stack[] and how is it defined?
Last edited by era; 08-14-2008 at 07:56 AM..
Reason: Hey, a fellow computational linguist! http://xkcd.com/114/
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
I was able to solve my previous problem (link directory)... but now i have this following problem.
I have mounted a disk from other machine using "mount -F nfs" command. When i run a batch which generates some files in that drive.... after a certain number of files i get... (1 Reply)
Discussion started by: nileshkarania
1 Replies
2. Programming
Hi,
We are trying to run dbx on a core file for which we have the original executable and libs, but not the source / object tree. We have recompiled the objects from the original source, but dbx complains that they were compiled at a different time, and refuses to read them:
Object file:... (0 Replies)
Discussion started by: Sabari Nath S
0 Replies
3. Programming
Didn't have this problem in AIX, but ported to Linux with GCC compiler and am now getting a runtime error:
tssutil: symbol lookup error: /work/agility/devel/bin/libagam.so: undefined symbol: fstat
I'm sure most of you know that fstat is an intrinsic function just like printf, memcpy, etc. When I... (5 Replies)
Discussion started by: marcus121
5 Replies
4. Shell Programming and Scripting
Hi,
I have a perl script which is interacting with Database.
I have following line of code :
=================================================
sub BEGIN
{
#use Getopt::Std;
#getopt ('S');
#($STEAP)=($opt_S);
use lib ("/home/perl_lib");
use... (1 Reply)
Discussion started by: rawat_me01
1 Replies
5. Shell Programming and Scripting
p="-e"
echo $p
It is not returning the value "-e" stored. Instead returns null.
I am wondering how could this happen. Please help me out.I tried all possibilities like p='-e' | p="\-e". Nothing seems to work.
:confused::confused: (10 Replies)
Discussion started by: shanneykar
10 Replies
6. Solaris
I'm posting here as it didn't seem quite right in the hardware section (as it's LOM commands). My apologies if I have that wrong though :)
I've finally gotten round to configuring the LOM on my Netra X1, but I can't get it to change the hostname via the "set" command:
lom>show hostname... (2 Replies)
Discussion started by: Smiling Dragon
2 Replies
7. Shell Programming and Scripting
Hi All,
I need to get the version of python installed and store it in a variable for later use. Whereas it is printing on the console instead of storing to variable. I am able to store output of ls command in a variable. Please check the below code :
root@myhost:/volumes/srini# cat... (4 Replies)
Discussion started by: srinivasan.neel
4 Replies
8. Solaris
Hi,
I am trying to get an HPz420 workstation instaled (zfs root pool) via a jump-start server.
I have a zfs image (from this workstation) the Solaris release is 10 1/13 update 11.
I use a sparc U25 install server, upgraded to the same solaris build 10 1/13.
This server is configured to install... (8 Replies)
Discussion started by: sc0rpie
8 Replies
9. Solaris
Hello,
Each time a user log on to host, they receive below error:
-sh: /tmp/outfile: cannot create
Example:
$ ssh host
user@host's password:
Last login: Fri Dec 4 08:17:28 2015 from client.ref
|-----------------------------------------------------------------|
-sh:... (2 Replies)
Discussion started by: feroccimx
2 Replies
LEARN ABOUT SUNOS
stack_setbounds
stack_setbounds(3C) Standard C Library Functions stack_setbounds(3C)
NAME
stack_setbounds - update stack boundaries
SYNOPSIS
#include <ucontext.h>
int stack_setbounds(const stack_t *sp);
DESCRIPTION
The stack_setbounds() function updates the current base and bounds of the stack for the current thread to the bounds specified by the
stack_t structure pointed to by sp. The ss_sp member refers to the virtual address of the base of the stack memory. The ss_size member
refers to the size of the stack in bytes. The ss_flags member must be set to 0.
RETURN VALUES
Upon successful completion, stack_setbounds() returns 0. Otherwise, -1 is returned and errno is set to indicate the error.
ERRORS
The stack_setbounds() function will fail if:
EFAULT The sp argument does not refer to a valid address or the ss_sp member of the stack_t structure pointed to by sp points to
an illegal address.
EINVAL The ss_sp member of the stack_t structure pointed to by sp is not properly aligned, the ss_size member is too small or is
not properly aligned, or the ss_flags member is non-zero.
USAGE
The stack_setbounds() function is intended for use by applications that are managing their own alternate stacks.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |Async-Signal-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
getustack(2), _stack_grow(3C), stack_getbounds(3C), stack_inbounds(3C), stack_violation(3C), attributes(5)
SunOS 5.10 18 Jul 2002 stack_setbounds(3C)