[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

1571.0. "MCC_T_OCTETSTRING data type... Beware" by TOOK::JESURAJ () Tue Oct 01 1991 16:43

    
T.RTitleUserPersonal
Name
DateLines
1571.1<ooops!!>TOOK::JESURAJTue Oct 01 1991 16:4520
We have done quite a lot of testing in VAX VMS and everything went ok.

Today for the first time we used MIPS ULTRIX. We encountered the 
error "segmentation fault" in one of our routines. After a little bit of
debugging we guessed that it could be a problem of stack memory crossing segment
boundaries !! Yes we had a variable on the stack of data type 
MCC_T_OCTETSTRING (which is unsigned char of 64K bytes). I removed that 
variable and put an work around. The problem went away and all worked fine.


 I am glad that I have reduced my stack space requirement by 64K, but concerned
about other types of problems that we are going to encounter.


.... Jay