* RE: Whate kind of kernel errors cause an Segmentation Fault
@ 2001-03-30 14:32 Kári Davíðsson
2001-03-30 14:43 ` Kenneth Johansson
0 siblings, 1 reply; 5+ messages in thread
From: Kári Davíðsson @ 2001-03-30 14:32 UTC (permalink / raw)
To: Embedded Linux list
EFAULT i believe
check linux/include/asm/errno.h
K.D.
> -----Original Message-----
> From: Ralph Blach [mailto:rcblach@raleigh.ibm.com]
> Sent: 30. mars 2001 14:19
> To: Embedded Linux list
> Subject: Whate kind of kernel errors cause an Segmentation Fault
>
>
> What kind of kernel return codes will cause the C library to print out
> the message
>
> "Segmentation Fault"
>
> Thanks
>
> Chip
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Whate kind of kernel errors cause an Segmentation Fault
2001-03-30 14:32 Whate kind of kernel errors cause an Segmentation Fault Kári Davíðsson
@ 2001-03-30 14:43 ` Kenneth Johansson
0 siblings, 0 replies; 5+ messages in thread
From: Kenneth Johansson @ 2001-03-30 14:43 UTC (permalink / raw)
To: Kári Davíðsson; +Cc: Embedded Linux list
No segmentation fault is sent as signal 11 it's not a return value.
Happens when the program uses memory it dose not own.
Kári Davíðsson wrote:
>
> EFAULT i believe
>
> check linux/include/asm/errno.h
>
> K.D.
>
> > -----Original Message-----
> > From: Ralph Blach [mailto:rcblach@raleigh.ibm.com]
> > Sent: 30. mars 2001 14:19
> > To: Embedded Linux list
> > Subject: Whate kind of kernel errors cause an Segmentation Fault
> >
> >
> > What kind of kernel return codes will cause the C library to print out
> > the message
> >
> > "Segmentation Fault"
> >
> > Thanks
> >
> > Chip
> >
>
--
Kenneth Johansson
Ericsson Business Innovation AB Tel: +46 8 404 71 83
Viderögatan 3 Fax: +46 8 404 72 72
164 80 Stockholm kenneth.johansson@inn.ericsson.se
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Whate kind of kernel errors cause an Segmentation Fault
@ 2001-03-30 14:54 Kári Davíðsson
0 siblings, 0 replies; 5+ messages in thread
From: Kári Davíðsson @ 2001-03-30 14:54 UTC (permalink / raw)
To: linuxppc-embedded
Well he asked what kind of kernel error causes segfault.
If I am not wrong returning EFAULT, e.g. from driver causes
the kernel to send signal 11 (SIGSEGV) to the application
which has default signal handler that causes the application
to crash.
K.D.
> -----Original Message-----
> From: Kenneth Johansson [mailto:kenneth.johansson@inn.ericsson.se]
> Sent: 30. mars 2001 14:44
> To: Kári Davíðsson
> Cc: Embedded Linux list
> Subject: Re: Whate kind of kernel errors cause an Segmentation Fault
>
>
> No segmentation fault is sent as signal 11 it's not a return value.
>
> Happens when the program uses memory it dose not own.
>
> Kári Davíðsson wrote:
> >
> > EFAULT i believe
> >
> > check linux/include/asm/errno.h
> >
> > K.D.
> >
> > > -----Original Message-----
> > > From: Ralph Blach [mailto:rcblach@raleigh.ibm.com]
> > > Sent: 30. mars 2001 14:19
> > > To: Embedded Linux list
> > > Subject: Whate kind of kernel errors cause an Segmentation Fault
> > >
> > >
> > > What kind of kernel return codes will cause the C library
> to print out
> > > the message
> > >
> > > "Segmentation Fault"
> > >
> > > Thanks
> > >
> > > Chip
> > >
> >
>
> --
> Kenneth Johansson
> Ericsson Business Innovation AB Tel: +46 8 404 71 83
> Viderögatan 3 Fax: +46 8 404 72 72
> 164 80 Stockholm kenneth.johansson@inn.ericsson.se
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Whate kind of kernel errors cause an Segmentation Fault
@ 2001-03-30 14:19 Ralph Blach
2001-03-30 14:38 ` Jim Lewis
0 siblings, 1 reply; 5+ messages in thread
From: Ralph Blach @ 2001-03-30 14:19 UTC (permalink / raw)
To: Embedded Linux list
[-- Attachment #1: Type: text/plain, Size: 118 bytes --]
What kind of kernel return codes will cause the C library to print out
the message
"Segmentation Fault"
Thanks
Chip
[-- Attachment #2: Card for Ralph Blach --]
[-- Type: text/x-vcard, Size: 247 bytes --]
begin:vcard
n:Blach;Ralph
tel;work:919-543-1207
x-mozilla-html:TRUE
url:www.ibm.com
org:IBM MicroElectronics
adr:;;3039 Cornwallis ;RTP;NC;27709;USA
version:2.1
email;internet:rcblach@raleigh.ibm.com
x-mozilla-cpt:;15936
fn:Ralph Blach
end:vcard
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Whate kind of kernel errors cause an Segmentation Fault
2001-03-30 14:19 Ralph Blach
@ 2001-03-30 14:38 ` Jim Lewis
0 siblings, 0 replies; 5+ messages in thread
From: Jim Lewis @ 2001-03-30 14:38 UTC (permalink / raw)
To: Ralph Blach, Embedded Linux list
"Segmentation Fault" gets printed when a SIGSEGV is sent to a process.
Look in arch/ppc/kernel for SIGSEGV. Two exceptions I know will cause
it are Machine-check and Alignment.
-Jim Lewis
> -----Original Message-----
> From: owner-linuxppc-embedded@lists.linuxppc.org
> [mailto:owner-linuxppc-embedded@lists.linuxppc.org]On
> Behalf Of Ralph
> Blach
> Sent: Friday, March 30, 2001 8:19 AM
> To: Embedded Linux list
> Subject: Whate kind of kernel errors cause an Segmentation Fault
>
>
> What kind of kernel return codes will cause the C library
> to print out
> the message
>
> "Segmentation Fault"
>
> Thanks
>
> Chip
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-03-30 14:54 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-30 14:32 Whate kind of kernel errors cause an Segmentation Fault Kári Davíðsson
2001-03-30 14:43 ` Kenneth Johansson
-- strict thread matches above, loose matches on Subject: below --
2001-03-30 14:54 Kári Davíðsson
2001-03-30 14:19 Ralph Blach
2001-03-30 14:38 ` Jim Lewis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).