LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Closed Thread
  Search this Thread
Old 12-12-2005, 11:50 AM   #1
ayeletst
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Rep: Reputation: 0
kernal message :application bug: app_name(20791) has SIGCHLD set to SIG_IGN but ca...


we have a problem of defuncts.
to solv that problem, we used the following code:

int i;
struct sigaction act;
act.sa_handler = NULL;
act.sa_sigaction = SIG_IGN;
for (i=0;i<_SIGSET_NWORDS ;i++ )
{
act.sa_mask.__val[i] = 0;
}
act.sa_flags = 0;

if (!nocldwait_installed) {
sigaction(SIGCHLD, &act, &oact);
nocldwait_installed = 1;
} else {
sigaction(SIGCHLD, &act, NULL);
}


now, in RadHat advanced server 3, we get the following message:
kernel: application bug: ong_agent(20791) has SIGCHLD set to SIG_IGN but calls wait().
kernel: (see the NOTES section of 'man 2 wait'). Workaround activated.


how can we change the code, so that message will not appear?

other details: we are working with TCL, the code change is within the tcl code.
 
Old 12-13-2005, 07:56 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

Continue here: http://www.linuxquestions.org/questi...d.php?t=392223
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigchld ckamheng Programming 1 10-09-2005 11:11 PM
Kernel bug message at shutdown and in syslog? M$ISBS Linux - General 2 05-24-2005 09:12 PM
signal function. SIG_IGN? blackzone Programming 1 07-26-2004 05:47 AM
Application Bug Rsync (9946) denniswj Linux - General 0 04-15-2004 02:28 AM
acpi set up on kernal jerrit Linux - Laptop and Netbook 4 02-05-2004 03:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration