Re: correctly run in Sun, core dumped in SGI

New Message Reply Date view Thread view Subject view Author view

From: Brian Furtaw (brian++at++sgi.com)
Date: 07/03/2001 06:14:37


Changhee,

You code is trying to access a memory location that is protected by the
kernel (0x30) that is why you are getting a SIGSEGV. This problem
usually is a result of over running the space allocated by an array. In
this case it looks like you have overrun an array and written the value
48 into a pointer. This problem just never bit you on the Sun but it is
still a coding error.

Brian

Changhee Han wrote:
>
> Hi all,
> I have a simple C code which is running correctly in Sun unix.
> But after the source code is transferred into SGI, it makes core
> dumped.
> Debugger says like below,
> [Program received signal SIGSEGV, Segmentation fault.
> main (argc=Cannot access memory at address 0x30) at vgasr.c:734"]
>
> This source code is just simple C having a little bit of math. like
> math.h and linking like -lm.
>
> I will appreciate very much if you comment this.
>
> Thanks in advance,
> changhee
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com

-- 
    ----oOOo----    ----oOOo----    ----oOOo----    ----oOOo----

Brian Furtaw (brian++at++sgi.com) Graphics Guru Office:(301)572-3293 Fax: (253)323-8182 12200-G Plum Orchard Drive OpenGL/Performer/OpenInventor/ImageVision Silver Spring, Maryland 20904 Volumizer/Optimizer/React/PCI Device Drivers


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Jul 03 2001 - 06:23:41 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.