maybe rebuilding synaptic with libvte-2.91-0 could help
** Description changed: Got that new error each time i'm upgrading a package from synaptic + + ****** comment from https://bugs.debian.org/cgi- + bin/bugreport.cgi?bug=743995#39 **** + + in my opinion this is caused this way: + - synaptic calls vte_terminal_forkpty which calls __vte_pty_fork + - Now we have a parent process which gets in the variable pid the pid of + the child process. A call to vte_terminal_watch_child is needed and + gives no warning. + - But also we have now the child process, which has in variable pid a 0 (man fork(2)). + In the child process we call now vte_terminal_watch_child with pid=0 + and get therefore the warning. + + Therefore I think: + - problem lies in package libvte-2.90-9 + - with attached patch the warning could be avoided. + + Kind regards, + Bernhard + + + pid_t + vte_terminal_forkpty(VteTerminal *terminal, + char **envv, const char *working_directory, + gboolean lastlog, gboolean utmp, gboolean wtmp) + { + #ifdef HAVE_FORK + VtePty *pty; + GPid pid; + + g_return_val_if_fail(VTE_IS_TERMINAL(terminal), -1); + + pty = vte_pty_new(__vte_pty_get_pty_flags(lastlog, utmp, wtmp), NULL); + if (pty == NULL) + return FALSE; + + if (!__vte_pty_fork(pty, + &pid, + NULL)) { + g_object_unref(pty); + return FALSE; + } + + vte_terminal_set_pty_object(terminal, pty); + // FIXMEchpe is that really right? + vte_terminal_watch_child(terminal, pid); + + return pid; + #else + return -1; + #endif + } + ******************** available patch : https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;msg=39;bug=743995;filename=26_avoid-call-to-vte_terminal_watch_child-in-child-process.patch ****************** ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: libc-bin 2.18-0ubuntu7 ProcVersionSignature: Ubuntu 3.13.0-10.30-generic 3.13.3 Uname: Linux 3.13.0-10-generic i686 ApportVersion: 2.13.2-0ubuntu5 Architecture: i386 CurrentDesktop: GNOME Date: Thu Feb 20 13:26:55 2014 Dependencies: - gcc-4.9-base 4.9-20140217-0ubuntu1 - libc6 2.18-0ubuntu7 - libcap2 1:2.22-1.2ubuntu2 - libgcc1 1:4.9-20140217-0ubuntu1 - multiarch-support 2.18-0ubuntu7 + gcc-4.9-base 4.9-20140217-0ubuntu1 + libc6 2.18-0ubuntu7 + libcap2 1:2.22-1.2ubuntu2 + libgcc1 1:4.9-20140217-0ubuntu1 + multiarch-support 2.18-0ubuntu7 InstallationDate: Installed on 2013-10-25 (117 days ago) InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20131021.1) SourcePackage: eglibc UpgradeStatus: No upgrade log present (probably fresh install) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1282542 Title: (synaptic:3405): GLib-CRITICAL **: g_child_watch_add_full: assertion 'pid > 0' failed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/synaptic/+bug/1282542/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs