linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* segmentation fault when using "signal"
@ 2002-04-22  5:04 Walser, Martin
  2002-04-22 14:55 ` Wolfgang Denk
  2002-04-22 22:00 ` Wolfgang Denk
  0 siblings, 2 replies; 3+ messages in thread
From: Walser, Martin @ 2002-04-22  5:04 UTC (permalink / raw)
  To: linuxppc-embedded


Hi,

I've a probelm using the signal function.
I'm using Kernel 2.4.4 from Denx. When I install a signalhandler for SIGCHLD, I
get an segmentation fault, when the child process is finished.

I've found out that this happens, when the function installed by signal returns.

Any ideas?

regards
Martin"

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: segmentation fault when using "signal"
  2002-04-22  5:04 segmentation fault when using "signal" Walser, Martin
@ 2002-04-22 14:55 ` Wolfgang Denk
  2002-04-22 22:00 ` Wolfgang Denk
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2002-04-22 14:55 UTC (permalink / raw)
  To: Walser, Martin; +Cc: linuxppc-embedded


In message <8D4C69676E66D511A1CB00508BBBB1921BCF21@ranmx1.ran.harris.com> you wrote:
>
> I've a probelm using the signal function.
> I'm using Kernel 2.4.4 from Denx. When I install a signalhandler for SIGCHLD, I
> get an segmentation fault, when the child process is finished.
>
> I've found out that this happens, when the function installed by signal returns.
>
> Any ideas?

You probably have a problem with  your  cross  tools  /  libraries  /
header files.

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Knowledge, sir, should be free to all!
	-- Harry Mudd, "I, Mudd", stardate 4513.3

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: segmentation fault when using "signal"
  2002-04-22  5:04 segmentation fault when using "signal" Walser, Martin
  2002-04-22 14:55 ` Wolfgang Denk
@ 2002-04-22 22:00 ` Wolfgang Denk
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2002-04-22 22:00 UTC (permalink / raw)
  To: Walser, Martin; +Cc: linuxppc-embedded


In message <8D4C69676E66D511A1CB00508BBBB1921BCF21@ranmx1.ran.harris.com> you wrote:
>
> I've a probelm using the signal function.
> I'm using Kernel 2.4.4 from Denx. When I install a signalhandler for SIGCHLD, I
> get an segmentation fault, when the child process is finished.
>
> I've found out that this happens, when the function installed by signal returns.
>
> Any ideas?

Bad cross tools, header files, and/or libraries...

Works here...

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Any technology distinguishable from magic is insufficiently advanced.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-04-22 22:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-22  5:04 segmentation fault when using "signal" Walser, Martin
2002-04-22 14:55 ` Wolfgang Denk
2002-04-22 22:00 ` Wolfgang Denk

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).