Em Ter, 2005-08-09 às 23:08 +0200, Jan Christoph Uhde escreveu: > [EMAIL PROTECTED]:~$ gksu -u foo bar > Segmentation fault > > strace output:
An strace may help a bit, but without a full backtrace I'm afraid I may be unable to fix this problem unless I am able to reproduce it. > open("/etc/passwd", O_RDONLY) = 13 [...] > close(13) = 0 > --- SIGSEGV (Segmentation fault) @ 0 (0) --- > +++ killed by SIGSEGV +++ This gives me an idea, though. Could you try applying the attached patch to gksu and trying again? Just droping it in the debian/patches directory and rebuilding the package should do. Thanks, -- [EMAIL PROTECTED]: Gustavo Noronha <http://people.debian.org/~kov> Debian: <http://www.debian.org> * <http://www.debian-br.org>
--- gksu/gksu.c~ 2005-08-06 21:26:12.000000000 -0300 +++ gksu/gksu.c 2005-08-09 22:31:51.930727470 -0300 @@ -1054,7 +1054,7 @@ pwentry = getpwnam (gksu_context_get_user (context)); - if (pwentry->pw_uid == geteuid ()) + if (pwentry && pwentry->pw_uid == geteuid ()) return g_spawn_command_line_sync (gksu_context_get_command (context), NULL, NULL, NULL, NULL); }
signature.asc
Description: This is a digitally signed message part