When I receive the SIGSEGV signal ?

When I receive the SIGSEGV signal ?

Post by Eunseok Cho » Sun, 21 Feb 1999 04:00:00



I receive the SIGSEGV signal on one occasion.
SIGSEGV means segmentation violation.
I hope to know in which case the SIGSEGV signal arise.

Let's suppose that user program is perfect.
In the UNIX system aspect,
which Kernel Configuration Parameter can create this problem.


P.S. I use SCO Open Server in NCR/S46 system.

 
 
 

When I receive the SIGSEGV signal ?

Post by Harald Kirs » Sun, 21 Feb 1999 04:00:00



> I receive the SIGSEGV signal on one occasion.
> SIGSEGV means segmentation violation.
> I hope to know in which case the SIGSEGV signal arise.

> Let's suppose that user program is perfect.

Next to impossible.

Quote:> In the UNIX system aspect,
> which Kernel Configuration Parameter can create this problem.

If we really assume the user program is perfect (which I don't believe
until I've seen it), then there is a bug in the kernel.

Harald Kirsch
--
---------------------+------------------+--------------------------


              gegen Punktfilitis hilft nur `chmod u-w ~'

 
 
 

When I receive the SIGSEGV signal ?

Post by Andrew Giert » Sun, 21 Feb 1999 04:00:00



 >> I receive the SIGSEGV signal on one occasion.
 >> SIGSEGV means segmentation violation.
 >> I hope to know in which case the SIGSEGV signal arise.
 >>
 >> Let's suppose that user program is perfect.

 Harald> Next to impossible.

:-)

 >> In the UNIX system aspect,
 >> which Kernel Configuration Parameter can create this problem.

 Harald> If we really assume the user program is perfect (which I
 Harald> don't believe until I've seen it), then there is a bug in the
 Harald> kernel.

Or in the hardware; this is particularly common with Intel systems
using substandard hardware (e.g. without memory parity checking) or
overclocking.

Another, very much less probable, explanation would be a stacksize
limit which is too small.

--
Andrew.

comp.unix.programmer FAQ: see <URL: http://www.erlenstar.demon.co.uk/unix/>
                           or <URL: http://www.whitefang.com/unix/>

 
 
 

When I receive the SIGSEGV signal ?

Post by Harald Kirs » Mon, 22 Feb 1999 04:00:00



>  >> In the UNIX system aspect,
>  >> which Kernel Configuration Parameter can create this problem.

>  Harald> If we really assume the user program is perfect (which I
>  Harald> don't believe until I've seen it), then there is a bug in the
>  Harald> kernel.

> Or in the hardware; this is particularly common with Intel systems
> using substandard hardware (e.g. without memory parity checking) or
> overclocking.

Oh yes, I forgot, there is even a www-site about `when gcc dumps core'
and it explains that it is almost always a hardware failure --- and
they're right.

Harald Kirsch
--
---------------------+------------------+--------------------------


              gegen Punktfilitis hilft nur `chmod u-w ~'

 
 
 

1. Display/Xpm received signal SIGSEGV

After compiling ImagMagic-3.3 using Xpm library 4.3 I get the
the following error when trying to write any .xpm file:

Program received signal SIGSEGV, Segmentation fault.
0x60034e3f in _end ()
(xxgdb)

Anyone have an idea how to fix this??

System:

   486dx266 w/16M ram 32 M swap, Linux 1.1.90
   XFree86 3.1.1 for the Mach32 w/2M vram

Thanks.

--
Steve

2. suid to change cd?

3. Fatal signal 11 received after receiving/losing IP address with ppp

4. UNIX (AIX) Shell Scripting Book

5. Help receiving signal when data is received on socket

6. defunct process

7. LinuxThreads+signals => SIGSEGV in system call?

8. Direct on-CD Printing

9. SIGSEGV signal handler

10. Change the SIGSEGV signal handler, any problems?

11. SIGSEGV signal handler

12. Konsole crashes with signal 11 (SIGSEGV).

13. Signal 11, SIGSEGV with Knode, and kmail.... Question.