[Bug 227719] New: beagle-index leaves unreaped children
https://bugzilla.novell.com/show_bug.cgi?id=227719 Summary: beagle-index leaves unreaped children Product: openSUSE 10.2 Version: Final Platform: 64bit OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Janne.Karhunen@gmail.com QAContact: qa@suse.de 4 Zombies and counting (one day uptime). 6867 ? Z 0:01 [mono] <defunct> 6868 ? Z 0:00 [mono] <defunct> 6870 ? Z 0:00 [mono] <defunct> 6872 ? Z 0:00 [mono] <defunct> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |bnc-team-gnome@forge.provo.novell.com |screening@forge.provo.novell| |.com | Severity|Normal |Minor -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 stbinner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |mhorvath@novell.com ------- Comment #1 from stbinner@novell.com 2006-12-12 02:08 MST ------- Why do you think this is minor!? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 jpr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |joeshaw@novell.com |gnome@forge.provo.novell.com| Severity|Minor |Normal Status|NEEDINFO |NEW Info Provider|mhorvath@novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 joeshaw@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |Janne.Karhunen@gmail.com ------- Comment #2 from joeshaw@novell.com 2006-12-12 20:12 MST ------- This almost certainly isn't beagle. The process name would be "beagled", "beagled-helper", "beagle-search", or "beagle-build-index", not "mono". My guess is that this is probably zmd. cat /proc/<pid>/cmdline to see what the full command-line for the program was. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 ------- Comment #3 from Janne.Karhunen@gmail.com 2006-12-12 22:53 MST ------- Next to everything in /proc/<pid>/* is NULL, including cmdline and exe links. Stat was there but does not give a hint. Touching 'mounts' element forced me to reboot the node as it seemed to think 'enter' (as in key) was on constantly after touching it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 ------- Comment #4 from joeshaw@novell.com 2006-12-13 06:42 MST ------- Do you have the "pstree" tool? If so, try running that and seeing what the parent process is. Hopefully it's something other than init; zombies are usually unreaped child processes. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 ------- Comment #5 from Janne.Karhunen@gmail.com 2006-12-15 08:15 MST ------- Turns out this happens only with mainline (2.6.19) kernel. With SUSE kernel all is well; or at least hasn't happened since. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 joeshaw@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|Janne.Karhunen@gmail.com | Resolution| |INVALID ------- Comment #6 from joeshaw@novell.com 2006-12-15 10:47 MST ------- Ok, going to close this bug out then. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 Janne.Karhunen@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | ------- Comment #7 from Janne.Karhunen@gmail.com 2007-01-04 10:38 MST ------- Happened again, now with SUSE kernel. 5845 ? Z 0:00 [mono] <defunct> 5971 ? Z 0:01 [mono] <defunct> 5977 ? Z 0:01 [mono] <defunct> 19452 ? Z 0:00 [mono] <defunct> 19453 ? Z 0:00 [mono] <defunct> init-+-acpid |-auditd---{auditd} |-beagled-+-3*[mono] | `-7*[{beagled}] |-beagled-helper-+-2*[mono] | `-5*[{beagled-helper}] -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 joeshaw@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |Janne.Karhunen@gmail.com ------- Comment #8 from joeshaw@novell.com 2007-01-04 12:19 MST ------- Can you attach full "ps ax" output? Are there any other mono processes running, are there any other beagle-related processes running? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 ------- Comment #9 from Janne.Karhunen@gmail.com 2007-01-04 12:31 MST ------- These were only mono processes in 'ps ax' listing. I just killed all beagled & beagled-helper to reap them, so we'd have to wait for another occurrence. It may take some time; uname -a ; uptime Linux deepthought 2.6.18.2-34-default #1 SMP Mon Nov 27 11:46:27 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux 9:28pm up 18 days 3:59, 7 users, load average: 0.05, 0.05, 0.06 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 ------- Comment #10 from Janne.Karhunen@gmail.com 2007-01-12 14:02 MST ------- jmk@deepthought:~> ps ax | grep Z 5441 ? Z 0:00 [mono] <defunct> 5442 ? Z 0:01 [mono] <defunct> 5449 ? Z 0:00 [mono] <defunct> 5450 ? Z 0:01 [mono] <defunct> jmk@deepthought:~> pstree | grep mono |-beagled-+-2*[mono] |-beagled-helper-+-2*[mono] Anything else? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 ------- Comment #11 from joeshaw@novell.com 2007-01-12 14:14 MST ------- The only thing I can think of at this point is to try running beagled in the foreground and seeing if there is an event that would cause it to go zombie. Ie, run "beagled --fg --debug" in some terminal and let it run, and see if you ever see a zombie. Another thing to try is if you can get other mono apps to go zombie. All the "beagled" shell script does is run "mono BeagleDaemon.exe &", so I don't know how this could go zombie unless there's a bug in mono or bash. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 ------- Comment #12 from pnemec@novell.com 2007-03-06 00:36 MST ------- Created an attachment (id=122497) --> (https://bugzilla.novell.com/attachment.cgi?id=122497&action=view) ~/.beagle/Log/current* I have exactly same problem. Many defunct mono instances. When run beagle-shutdown everyone of them vanish. All logs from beagle. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 ------- Comment #14 from joeshaw@novell.com 2007-03-07 09:36 MST ------- (In reply to comment #12)
Created an attachment (id=122497) --> (https://bugzilla.novell.com/attachment.cgi?id=122497&action=view) [edit] ~/.beagle/Log/current*
This tarball contains only symlinks, which is what the current-Foo files are. Can you include the whole directory, or at least the files they pointed to? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 ------- Comment #15 from joeshaw@novell.com 2007-03-07 09:37 MST ------- Also, Pavel, are you seeing this on 64-bit openSUSE 10.2? Janne wasn't running the default kernel; if you are, that'll hopefully make it a lot easier to reproduce. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 ------- Comment #16 from Janne.Karhunen@gmail.com 2007-03-07 09:44 MST ------- Hey! I am running the default kernel (just not always) on both x86-64 AND x86 (IBM T41 laptop)! Both see this see this same thing regardless of kernel version. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 ------- Comment #17 from joeshaw@novell.com 2007-03-07 10:34 MST ------- Ok, my mistake then. :) Janne, are you using the Beagle that shipped with 10.2, or a newer one from the openSUSE build service? I'll see if I can whip up some packages that have debugging information about what processes are spawned and when, and we'll see if we can track these PIDs and why they're not reaped. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 pnemec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #122497|0 |1 is obsolete| | ------- Comment #18 from pnemec@novell.com 2007-03-08 00:36 MST ------- Created an attachment (id=123085) --> (https://bugzilla.novell.com/attachment.cgi?id=123085&action=view) all logs from ~/.bealge/Log Sorry, i didn`t realize that links will not be followed ;) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 ------- Comment #19 from joeshaw@novell.com 2007-03-08 14:07 MST ------- I think this might be this bug: http://bugzilla.ximian.com/show_bug.cgi?id=79885 The version numbers seem right. At least, Pavel has 1.1.18.1 installed, and the above bug was reported against 1.1.18. Janne, what version of mono-core do you have? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 ------- Comment #20 from joeshaw@novell.com 2007-03-08 14:17 MST ------- I just checked into it, that code first went into the 1.2.2 release. Can one of you test with the latest (1.2.3.1 as of this writing) mono and see if the problem persists? http://www.go-mono.com/download-stable/suse-102-i586/ Based on the fact that the zombie processes are children of either beagled or beagled-helper makes me believe that they're not a bug in Beagle, because all processes spawned from Beagle are reparented to init to avoid needing to manually reap them. Another thing you can try which might be helpful is to get the strace output from Beagle before it spawns any zombie processed. Something like: strace -f -tt -p `pidof beagled` -e clone,fork,execve,_exit,exit_group,waitpid 2>&1 | tee strace.out would do it. Wait for a zombie process to occur, then beagle-shutdown and attach the strace.out file. That might give us an idea of what is spawning it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 joeshaw@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bnc-team-mono@forge.provo.novell.com ------- Comment #21 from joeshaw@novell.com 2007-03-08 14:18 MST ------- Adding the mono maintainers to the CC list so they can confirm this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 ------- Comment #22 from Janne.Karhunen@gmail.com 2007-03-08 22:42 MST ------- rpm -qa | grep mono mono-data-sqlite-1.1.18.1-12.2 mono-core-1.1.18.1-12.2 mono-data-1.1.18.1-12.2 dbus-1-mono-0.63-28 mono-web-1.1.18.1-12.2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 joeshaw@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joeshaw@novell.com AssignedTo|joeshaw@novell.com |bnc-team-mono@forge.provo.novell.com Status|NEEDINFO |NEW Info Provider|Janne.Karhunen@gmail.com | ------- Comment #23 from joeshaw@novell.com 2007-04-23 12:27 MST ------- Reassigning to the mono maintainers; I don't know if they'll want to ship an update for 10.2 for this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 wberrier@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aj@novell.com, wberrier@novell.com ------- Comment #24 from wberrier@novell.com 2007-04-25 20:50 MST ------- Joe, was r68378 (from the above bug link) the confirmed fix for this? AJ, if so, should we push this out in 10.2? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |ast@novell.com ------- Comment #25 from aj@novell.com 2007-04-26 00:58 MST ------- Yes, please push out for 10.2. Anja will help you with the update process. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 ast@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|ast@novell.com | ------- Comment #26 from ast@novell.com 2007-04-26 06:27 MST ------- For sure :-) Wade, please submit patch and patchinfo file. The SWAMPID for this is 9636. Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 wberrier@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fmfischer@gmx.net ------- Comment #27 from wberrier@novell.com 2007-04-27 11:38 MST ------- *** Bug 223536 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 wberrier@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dick@novell.com Status|NEW |NEEDINFO Info Provider| |dick@novell.com ------- Comment #28 from wberrier@novell.com 2007-04-27 12:26 MST ------- Dick, is it feasible to backport the fixes in bxc #79885 to 1.1.18.1 for an update to 10.2? (The specific revision of 68378 doesn't apply cleanly to 1.1.18.1, I'm afraid we'd have to take a few revisions, namely: 67720, 68042, 68064, 68130, 68372, 68378, and while we were at it, Paolo's mem fixes as well: 69509, 69660, 69666, 69667) I'll attach the resulting patch. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 ------- Comment #29 from wberrier@novell.com 2007-04-27 12:27 MST ------- Created an attachment (id=136009) --> (https://bugzilla.novell.com/attachment.cgi?id=136009&action=view) iolayer fixes -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 ------- Comment #30 from wberrier@novell.com 2007-04-27 15:16 MST ------- I built some test rpms with this patch and some basic testing of mono apps worked (banshee, f-spot, monodevelop, tomboy, monodoc, rug/zmd). (zmd froze on an update at 99%, but I'm not sure if this is related to the update or not. I did another update and it went through...?) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 dick@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|dick@novell.com | ------- Comment #31 from dick@novell.com 2007-04-27 16:24 MST ------- I looked at the patch attachment, but its impossible to say for certain that it's safe to apply all those changes. It will probably work, if all the patches apply cleanly (ie without fuzz). I would have thought it would be safer though to just update the whole mono build to a modern version, rather than apply a pick-and-mix of patches. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 ------- Comment #32 from wberrier@novell.com 2007-04-27 17:07 MST ------- I agree that it's hard to be sure whether a mix of patches is safe or not... but typically major version updates aren't done once a distro released. The method I got for gathering those revisions was to do svn log on processes.c so that they would apply cleanly. I'm unable to reproduce the original issue. So if someone who saw the problem could try this build, that would help a lot: http://primates.ximian.com/~wberrier/tmp/mono_bnc_227719.zip -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 ------- Comment #33 from wberrier@novell.com 2007-05-02 14:55 MST ------- Dick mentioned that he'd feel more comfortable about updating all of the io-layer, rather than picking a few patches. It would really come down to making sure this update was well tested. AJ, would the suse team be testing this update as well? (I'm not sure of the procedure for testing updates within suse before they go out.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719 ------- Comment #34 from aj@novell.com 2007-05-03 00:14 MST ------- We can ask the community for testing, we only do minimal testing for openSUSE internally and only if needed. Will these patches break anything? Do they change any ABI? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227719#c35
Miguel de Icaza
https://bugzilla.novell.com/show_bug.cgi?id=227719#c36
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=227719#c39
Wade Berrier
https://bugzilla.novell.com/show_bug.cgi?id=227719#c40
--- Comment #40 from Thomas Wiest
https://bugzilla.novell.com/show_bug.cgi?id=227719#c41
--- Comment #41 from Wade Berrier
https://bugzilla.novell.com/show_bug.cgi?id=227719#c42
--- Comment #42 from Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=227719#c43
Wade Berrier
participants (1)
-
bugzilla_noreply@novell.com