[Bug 430229] New: after closing child process of forked yast, bad things happen
https://bugzilla.novell.com/show_bug.cgi?id=430229 Summary: after closing child process of forked yast, bad things happen Product: openSUSE 11.1 Version: Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: mvidner@novell.com ReportedBy: jsuchome@novell.com QAContact: jsrain@novell.com CC: sh@novell.com, visnov@novell.com Found By: --- SCR agent in yast2-fingerprint-reader forks itself, so the child process can do some work and parent process returns back to YCP and reports the progress of the work done. When the child process is done, it exits. This worked fine in openSUSE11.0. Now, after the exit I get some red messages in y2log: 2008-09-26 16:04:12 <3> linux-1ps9(14373) [ui] YUI.cc(~YUI):73 shutdownThreads() was never called! 2008-09-26 16:04:12 <3> linux-1ps9(14373) [ui] YUI.cc(~YUI):74 shutting down now - this might segfault .. The parent process reports that the child process was killed, altough it should exit correctly (the check is done with waitpid and WIFSIGNALED): 2008-09-26 16:04:12 <3> linux-1ps9(14331) [agent-thinkfinger] ThinkFingerAgent.cc(Read):216 child process was killed -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=430229
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430229#c1
--- Comment #1 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=430229
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430229#c2
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=430229
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=430229
User visnov@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430229#c3
Stanislav Visnovsky
https://bugzilla.novell.com/show_bug.cgi?id=430229
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430229#c4
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=430229
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430229#c5
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=430229
User visnov@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430229#c6
--- Comment #6 from Stanislav Visnovsky
https://bugzilla.novell.com/show_bug.cgi?id=430229
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430229#c7
Jiří Suchomel
forked process does not inherit threads.
What does this mean? Is there a problem with my fork or with yast? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=430229
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430229#c8
--- Comment #8 from Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=430229
User dmueller@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430229#c9
--- Comment #9 from Dirk Mueller
https://bugzilla.novell.com/show_bug.cgi?id=430229
Dirk Mueller
https://bugzilla.novell.com/show_bug.cgi?id=430229
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430229#c10
--- Comment #10 from Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=430229
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430229#c11
--- Comment #11 from Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=430229
User dmueller@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430229#c12
--- Comment #12 from Dirk Mueller
https://bugzilla.novell.com/show_bug.cgi?id=430229
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430229#c13
--- Comment #13 from Jiří Suchomel
It should just work fine in this case when the one liner fix is applied. if not, please attach a valgrind trace.
Yes, it was enough. Thanks a much! -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=430229
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430229#c14
Jiří Suchomel
participants (1)
-
bugzilla_noreply@novell.com