[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-13 Thread Milan Bouchet-Valat
Cool. Thanks for your help debugging that!

This fix will be released upstream with 2.10.0, in about 10 days. I've
also committed the changes to liboobs, to be sure we don't run in
similar issues later.

Please continue to test Lucid, and especially the gnome-system-tools!

** Package changed: liboobs (Ubuntu) = system-tools-backends (Ubuntu)

** Also affects: system-tools-backends
   Importance: Undecided
   Status: New

** Changed in: system-tools-backends
   Status: New = Fix Committed

** Changed in: liboobs
   Status: Confirmed = Invalid

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to system-tools-backends in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-12 Thread Milan Bouchet-Valat
Yes, that's what it should do - else you haven't installed it... :-)

You can check that by running apt-cache policy system-tools-backends.

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to liboobs in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-12 Thread Asif Youssuff
It seems like I have them both installed --

a...@asif-laptop:~$ apt-cache policy system-tools-backends
system-tools-backends:
  Installed: 2.9.2-0ubuntu1
  Candidate: 2.9.2-0ubuntu1
  Version table:
 *** 2.9.2-0ubuntu1 0
500 http://us.archive.ubuntu.com lucid/main Packages
100 /var/lib/dpkg/status
a...@asif-laptop:~$ apt-cache policy system-tools-backends-dbgsym 
system-tools-backends-dbgsym:
  Installed: 2.9.2-0ubuntu1
  Candidate: 2.9.2-0ubuntu1
  Version table:
 *** 2.9.2-0ubuntu1 0
100 /var/lib/dpkg/status

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to liboobs in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-12 Thread Milan Bouchet-Valat
Not, that means you have the official version installed only... ;-)

Are you sure you opened my PPA package with GDebi and correctly
installed it? You may remove the -dbgsym package before if that causes
problems. Also, instead of running GDebi on my package, you can call
'sudo dpkg -i PATH_TO_FILE'.

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to liboobs in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-12 Thread Asif Youssuff
a...@asif-laptop:~/Downloads$ apt-cache policy 
system-tools-backendssystem-tools-backends:
  Installed: 2.9.2-0ubuntu1+ppa0
  Candidate: 2.9.2-0ubuntu1+ppa0
  Version table:
 *** 2.9.2-0ubuntu1+ppa0 0
100 /var/lib/dpkg/status
 2.9.2-0ubuntu1 0
500 http://us.archive.ubuntu.com lucid/main Packages

Not fixed in this version, sadly.

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to liboobs in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-12 Thread Milan Bouchet-Valat
Hmm, be sure to restart the system-tools-backends by rebooting your
computer after installing the package and before testing.

If you've already done this and that doesn't work, please install this fixed 
liboobs package too, reboot and retry:
https://launchpad.net/~nalimilan/+archive/ppa/+build/1559161/+files/liboobs-1-4_2.29.91-0ubuntu1+ppa0_amd64.deb

Thanks for your time!

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to liboobs in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-12 Thread Asif Youssuff
Success!

Rebooting and using your patched system-tools-backends works without a
hitch. I can change my name without any errors, and change it to the
same name, and reopening users-admin shows the correct name if I changed
it previously.

Great work, thanks a ton!

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to liboobs in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-11 Thread Milan Bouchet-Valat
Yeah, by reproduce the problem I meant starting users-admin. But don't
worry, I think I've found the problem. The UID we found out thanks to
your debugging was 140733193389032, whose hexadecimal representation is
0x7FFF03E8: if you only keep the lowest 8 bytes, you get 0x3E8,
which is 1000 in decimal. So that means the code is wrong and doesn't
work on 64 bits CPUs: garbage appears on the second half of the number.

Looking at the code in liboobs, I could check that this part is the only
one which doesn't copy the UID/GID to a guint32 before passing it to
dbus_message_append_args(). Instead, it passes directly an uid_t
integer, which is likely to be only 32 bits on every architecture. These
games with integer types are quite complex!

Much thanks for your help, I'll try to check on a 64 bits machine that
this fix actually works, and push it before we release the next version.
Please continue testing the gnome-system-tools in Lucid to get them as
bug-free as we can!

** Package changed: gnome-system-tools (Ubuntu) = liboobs (Ubuntu)

** Changed in: liboobs (Ubuntu)
   Status: Incomplete = Triaged

** Also affects: liboobs
   Importance: Undecided
   Status: New

** Changed in: liboobs
   Status: New = Confirmed

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to liboobs in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-11 Thread Milan Bouchet-Valat
I've a possible fix in my PPA, in the system-tools-backends. Could you install 
my package from
https://launchpad.net/~nalimilan/+archive/ppa/+files/system-tools-backends_2.9.2-0ubuntu1+ppa0_amd64.deb
 when it's ready (in about 2h), and test if that works?

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to liboobs in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-11 Thread Asif Youssuff
Sorry to report that it is still broken with the debug package -- this
doesn't replace the system-tools-backends package, right?

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to liboobs in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-10 Thread Milan Bouchet-Valat
Actually, that error should only happen when you try to change your
*own* name. The fact that the name seems to change while it doesn't is
an unrelated bug that should be easy to fix.

I'd need deeper debugging to understand what's going on. Could you install the 
package for your architecture from:
http://ddebs.ubuntu.com/pool/main/s/system-tools-backends/

and then run
sudo killall system-tools-backends
sudo gdb /usr/sbin/system-tools-backends
break dispatcher.c:547

then reproduce the problem, and when gdb stops, type
print (message_uid == uid)
print message_uid
print uid
and print the result here.

In short, it seems that we're not detecting the right UID for your user,
which means you're not allowed to change your own information. Thanks
for your help!

** Changed in: gnome-system-tools (Ubuntu)
   Status: Triaged = Incomplete

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-10 Thread Milan Bouchet-Valat
Oh, and I forgot one step: after
break dispatcher.c:547
and before starting users-admin, type
run
in gdb.

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-10 Thread Milan Bouchet-Valat
...and since you say the second time the problem doesn't occur, once you've 
followed my above instructions, please type in gdb
continue

And then reproduce the problem once again, repeating the last steps in
gdb. Then we'll see if something is different. Hope it's not too
confusing...

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-10 Thread Asif Youssuff
Even weirder stuff.

After starting up gdb with the commands you instructed, starting users-
admin shows no users in the list, making it impossible for me to
reproduce the problem.

Showing the gdb log here anyway, hope it can be some help.

a...@asif-laptop:~$ sudo killall system-tools-backends
system-tools-backends: no process found
a...@asif-laptop:~$ sudo gdb /usr/sbin/system-tools-backends
GNU gdb (GDB) 7.0.1-ubuntu
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type show copying
and show warranty for details.
This GDB was configured as x86_64-linux-gnu.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /usr/sbin/system-tools-backends...Reading symbols from 
/usr/lib/debug/usr/sbin/system-tools-backends...done.
(no debugging symbols found)...done.
(gdb) break dispatcher.c:547
Breakpoint 1 at 0x40431f: file dispatcher.c, line 547.
(gdb) run
Starting program: /usr/sbin/system-tools-backends 
[Thread debugging using libthread_db enabled]

Breakpoint 1, dispatch_self_config (connection=value optimized out, 
message=0x61c190, data=value optimized out) at dispatcher.c:547
547 dispatcher.c: No such file or directory.
in dispatcher.c
(gdb) print (message_uid == uid)
$1 = 1
(gdb) print message_uid
$2 = value optimized out
(gdb) print uid
$3 = value optimized out
(gdb)

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-10 Thread Asif Youssuff
Oh, and:

a...@asif-laptop:~$ apt-cache policy system-tools-backends-dbgsym 
system-tools-backends-dbgsym:
  Installed: 2.9.2-0ubuntu1
  Candidate: 2.9.2-0ubuntu1
  Version table:
 *** 2.9.2-0ubuntu1 0
100 /var/lib/dpkg/status

In case the no debugging symbols found means something -- i *did*
install that first package. :)

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-10 Thread Milan Bouchet-Valat
Sorry, silly me. The breakpoint is reached when users-admin starts, so you 
should simply type
continue
in gdb right after running users-admin, and then follow the procedure as stated.

no debugging symbols is not really a problem, it seems that the basic
symbols are here.

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-10 Thread Asif Youssuff
Here is the updated debug log.

a...@asif-laptop:~$ sudo killall system-tools-backends
system-tools-backends: no process found
a...@asif-laptop:~$ sudo gdb /usr/sbin/system-tools-backends
GNU gdb (GDB) 7.0.1-ubuntu
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type show copying
and show warranty for details.
This GDB was configured as x86_64-linux-gnu.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /usr/sbin/system-tools-backends...Reading symbols from 
/usr/lib/debug/usr/sbin/system-tools-backends...done.
(no debugging symbols found)...done.
(gdb) break dispatcher.c:547
Breakpoint 1 at 0x40431f: file dispatcher.c, line 547.
(gdb) run
Starting program: /usr/sbin/system-tools-backends 
[Thread debugging using libthread_db enabled]

Breakpoint 1, dispatch_self_config (connection=value optimized out, 
message=0x61c190, data=value optimized out) at dispatcher.c:547
547 dispatcher.c: No such file or directory.
in dispatcher.c
(gdb) continue
Continuing.

Breakpoint 1, dispatch_self_config (connection=value optimized out, 
message=0x618250, data=value optimized out) at dispatcher.c:547
547 in dispatcher.c
(gdb) print (message_uid == uid)
$1 = 1
(gdb) print message_uid
$2 = value optimized out
(gdb) print uid
$3 = value optimized out
(gdb) 

Now, without closing users-admin (this is what I mean by the second time
-- doing the same steps during the same session is still reproducible,
it is only if I try it again without closing users-admin that I don't
see an error), I get a new dialog after I click on change:

You are not allowed to modify the system configuration.

An error occurred while checking for authorizations: Did not receive a reply. 
Possible causes include: the remote application did not send a reply, the 
message bus security policy blocked the reply, the reply timeout expired, or 
the network connection was broken.
You may report this as a bug.

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-10 Thread Milan Bouchet-Valat
Thanks! Here's another procedure to get more information:
sudo killall system-tools-backends
sudo gdb /usr/sbin/system-tools-backends
break dispatcher.c:547

Then, type this block everytime gdb stops, i.e. once when you start 
users-admin, and once everytime you change your name:
next
print (message_uid == uid)
print message_uid
print uid
continue

The error during the second attempt was coming from the fact that gdb
was blocking the program - it needed 'continue' to go on.

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-10 Thread Asif Youssuff
Reading symbols from /usr/sbin/system-tools-backends...Reading symbols from 
/usr/lib/debug/usr/sbin/system-tools-backends...done.
(no debugging symbols found)...done.
(gdb) break dispatcher.c:547
Breakpoint 1 at 0x40431f: file dispatcher.c, line 547.
(gdb) run
Starting program: /usr/sbin/system-tools-backends 
[Thread debugging using libthread_db enabled]

Breakpoint 1, dispatch_self_config (connection=value optimized out, 
message=0x61f8c0, data=value optimized out) at dispatcher.c:547
547 dispatcher.c: No such file or directory.
in dispatcher.c
(gdb) continue 
Continuing.

Breakpoint 1, dispatch_self_config (connection=value optimized out, 
message=0x6136d0, data=value optimized out) at dispatcher.c:547
547 in dispatcher.c
(gdb) next
556 in dispatcher.c
(gdb) print (message_uid == uid)
$1 = 0
(gdb) print message_uid
$2 = 140733193389032
(gdb) print uid
$3 = value optimized out
(gdb) continue
Continuing.

Breakpoint 1, dispatch_self_config (connection=value optimized out, 
message=0x6136d0, data=value optimized out) at dispatcher.c:547
547 in dispatcher.c
(gdb) next
556 in dispatcher.c
(gdb) print (message_uid == uid)
$4 = 0
(gdb) print message_uid
$5 = 140733193389032
(gdb) print uid
$6 = value optimized out
(gdb)

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-10 Thread Milan Bouchet-Valat
Thanks for these details. What's your UID (you can find this out using
the 'id' command)?

Could you also install debugging packages for liboobs? See
http://ddebs.ubuntu.com/pool/main/libo/liboobs/

Then, please run 'gdb users-admin' and type:
break oobs-selfconfig.c:87
break oobs-selfconfig.c:178
run
next
print priv-uid
print getuid()
continue

Then reproduce the problem, and type
print priv-uid

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-10 Thread Asif Youssuff
my uid is 1000.

a...@asif-laptop:~$ gdb users-admin
GNU gdb (GDB) 7.0.1-ubuntu
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type show copying
and show warranty for details.
This GDB was configured as x86_64-linux-gnu.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /usr/bin/users-admin...(no debugging symbols found)...done.
(gdb) break oobs-selfconfig.c:87
No symbol table is loaded.  Use the file command.
Make breakpoint pending on future shared library load? (y or [n]) y

Breakpoint 1 (oobs-selfconfig.c:87) pending.
(gdb) break oobs-selfconfig.c:178
No symbol table is loaded.  Use the file command.
Make breakpoint pending on future shared library load? (y or [n]) y

Breakpoint 2 (oobs-selfconfig.c:178) pending.
(gdb) run
Starting program: /usr/bin/users-admin 
[Thread debugging using libthread_db enabled]

(users-admin:7931): atk-bridge-WARNING **: AT_SPI_REGISTRY was not
started at session startup.

(users-admin:7931): atk-bridge-WARNING **: IOR not set.

(users-admin:7931): atk-bridge-WARNING **: Could not locate registry

Breakpoint 1, oobs_self_config_init (config=0x6d7410) at oobs-selfconfig.c:87
87  oobs-selfconfig.c: No such file or directory.
in oobs-selfconfig.c
(gdb) next
89  in oobs-selfconfig.c
(gdb) print priv-uid
Cannot access memory at address 0x0
(gdb) print getuid()
$1 = 1000
(gdb) continue
Continuing.

(users-admin:7931): Liboobs-WARNING **: There was an unknown error
communicating asynchronously with the backends: Malformed message was
sent

Breakpoint 2, oobs_self_config_commit (object=0x6d7410)
at oobs-selfconfig.c:178
178 in oobs-selfconfig.c
(gdb) print priv-uid
$2 = 1000
(gdb) continue
Continuing.

(users-admin:7931): Liboobs-WARNING **: There was an unknown error
communicating with the backends: Malformed message was sent

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-10 Thread Milan Bouchet-Valat
Thanks again. Seems to be fine here, but it's tricky to debug with
missing source, the first error about address 0x0 must come from next
not working due to that. Shouldn't really matter, though.

So I'm running a little out of ideas now. It can come from a D-Bus issue, 
likely in conjunction with 64bits arch.
Yet another try, again on the backend side:
sudo killall system-tools-backends
sudo gdb /usr/sbin/system-tools-backends
break dispatcher.c:547
print dbus_message_get_args (message, NULL, DBUS_TYPE_UINT32, message_uid, 
DBUS_TYPE_INVALID)
print message_uid
continue
[reproduce problem]
print dbus_message_get_args (message, NULL, DBUS_TYPE_UINT32, message_uid, 
DBUS_TYPE_INVALID)
print message_uid

Another question: you say the second time you try without closing users-
admin, it works. But the gdb trace from above shows that the very same
issue occurs. Can you confirm the name is actually changed, or is it
simply that no error is reported?

After that, if I don't find the issue I'll try to test this myself on a
64 bits CPU.

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-10 Thread Asif Youssuff
The second time I try to change my name, it still doesn't work -- I
changed the name the second time and reopened users admin, my previous
name still appeared.

The instructions you gave last don't seem to be doing much:

Reading symbols from /usr/sbin/system-tools-backends...Reading symbols from 
/usr/lib/debug/usr/sbin/system-tools-backends...done.
(no debugging symbols found)...done.
(gdb) break dispatcher.c:547
Breakpoint 1 at 0x40431f: file dispatcher.c, line 547.
(gdb) print dbus_message_get_args (message, NULL, DBUS_TYPE_UINT32, 
message_uid, DBUS_TYPE_INVALID)
No symbol message in current context.
(gdb) print message_uid
No symbol message_uid in current context.
(gdb) continue
The program is not being run.
(gdb) 

Am I missing a step (loading users-admin) here? :)

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-09 Thread Milan Bouchet-Valat
Hmm, very weird. I can't reproduce this problem here. Are you able to
change Real name *when setting it to a different value*?

** Changed in: gnome-system-tools (Ubuntu)
   Status: Incomplete = Triaged

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-09 Thread Asif Youssuff
Something even weirder happens when I try to change the name to a
different value:

1. Open users and groups
2. Click change next to name
3. Add a letter, hit OK

What happens:

4. I get an error saying: The configuration could not be saved

An unknown error occurred.

5. The name *changes* in the users settings window (to the name i
input).

If I then close the window, and reopen it, the setting has not been
applied -- my old Real Name appears.

Adding the logs when doing this set of events as well (up to closing the
window).

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-09 Thread Asif Youssuff

** Attachment added: stb-users.log
   http://launchpadlibrarian.net/40614221/stb-users.log

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-09 Thread Asif Youssuff

** Attachment added: users-admin.log
   http://launchpadlibrarian.net/40614284/users-admin.log

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-07 Thread Asif Youssuff

** Attachment added: usersadmin-3.ogv
   http://launchpadlibrarian.net/40425625/usersadmin-3.ogv

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/40425121/Dependencies.txt

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-07 Thread Milan Bouchet-Valat
Thanks for the report and the screencast. Does the error happen when
trying to change other settings (e.g. account type)? Could you reproduce
the bug following the instructions For Users at
https://wiki.ubuntu.com/DebuggingGnomeSystemTools and attach the result
here? Thanks!

** Changed in: gnome-system-tools (Ubuntu)
   Importance: Undecided = Medium

** Changed in: gnome-system-tools (Ubuntu)
   Status: New = Incomplete

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-07 Thread Asif Youssuff

** Attachment added: stb-users.log
   http://launchpadlibrarian.net/40463554/stb-users.log

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-07 Thread Asif Youssuff

** Attachment added: users-admin.log
   http://launchpadlibrarian.net/40463556/users-admin.log

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 533870] Re: Changing the long name in users-admin to the same name results in an error

2010-03-07 Thread Asif Youssuff
Changing other settings does not exhibit the same problems -- trying to
change the account type brings up a policykit dialog, and changing the
account type or password without changing anything in them causes no
issues.

Attaching resulting files.

-- 
Changing the long name in users-admin to the same name results in an error 
https://bugs.launchpad.net/bugs/533870
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs