Subject: kern/35312: "linux_sys_getppid: missing group leader PID XXXX" every 2 seconds in /var/log/messages
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <adrianp@stindustries.net>
List: netbsd-bugs
Date: 12/23/2006 01:05:01
>Number:         35312
>Category:       kern
>Synopsis:       "linux_sys_getppid: missing group leader PID XXXX" every 2 seconds in /var/log/messages
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 23 01:05:00 +0000 2006
>Originator:     Adrian Portelli
>Release:        4.0_BETA2
>Organization:
STIndustries
>Environment:
NetBSD quimby.stindustries.local 4.0_BETA2 NetBSD 4.0_BETA2 (STI-QUIMBY.ACPI-2006122101) #0: Fri Dec 22 17:36:19 GMT 2006  bb@quimby.stindustries.local:/var/builds/kernels/STI-QUIMBY.ACPI/sys/arch/amd64/compile/STI-QUIMBY.ACPI amd64
>Description:
When running a java program a message is printed out every 2 seconds:

Dec 23 00:39:09 quimby /netbsd: linux_sys_getppid: missing group leader PID 8919
Dec 23 00:39:11 quimby /netbsd: linux_sys_getppid: missing group leader PID 8919
Dec 23 00:39:13 quimby /netbsd: linux_sys_getppid: missing group leader PID 8919
Dec 23 00:39:15 quimby /netbsd: linux_sys_getppid: missing group leader PID 8919
Dec 23 00:39:17 quimby /netbsd: linux_sys_getppid: missing group leader PID 8919

Also if you kill the process from the command line (i.e. control-c) the program, it continues to run and print out the message above.  The only way to kill it is to get its PID and kill -9 it.  Don't know if this is related to the above problem or not.
>How-To-Repeat:
I was running jflex (http://www.jflex.de/) when I spotted this.
>Fix: