Dear All
I landed in a very severe problem (using gpc 2.1 version on solaris)
I am seeing the below error in while debugging in gdb
Actuall my code handles shared memory ****************************************************************** Program received signal SIGSEGV, Segmentation fault. 0xd49ec in Create_mea (Buf_type=@0xffbe4d74, Default=void, Pages=void, Out_toggle=void, Copy=void, Funct=0, First_mea=@0xfc8082c4, Start_page=void, Dat_ref=0xffba0598) at /home/kvsspl/esipas81/lib/crt_obj.pas:3886 ****************************************************************** I have gone through the several documentation on the above error. I have no clue as why am I getting this error,when I try to debug this,I found that real variable in my record is not getting accesssed.
Please suggest me to get rod of this problem.
My machine has been setup with max shared memory of 512 MB.
I have one more doubt,is _SC_PAGESIZE configurable.Right now it is having 8192 bytes.
Regards Hari
__________________________________ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs
vanam srihari kumar wrote:
Dear All
I landed in a very severe problem (using gpc 2.1 version on solaris)
I really don't know but the first thing to check with a segmentation fault is that it isn't a stack overflow. You can try to compile with --stack-checking or --stack-check or you can increase the system limit for the stack size (command "limit" or "ulimit" ??).
I wouldn't stick with gpc 2.1 by the way, even if it is labeled the latest stable release version.
Regards,
Adriaan van Os