Segfault in "profiles" binary
Jelmer Vernooij
jelmer at samba.org
Wed Jun 27 12:08:53 GMT 2007
Hi,
On Tue, 2007-06-26 at 13:38 +0200, ant at bankaktiengesellschaft.de wrote:
> during the testing stage of an XP migration with roaming user profiles
> which are currently hosted on an NT4 machine we've experienced a segfault
> in the profiles binary.
>
> The segfault occurres during the rewriting stage of the user profiles to
> achieve the algorithmic RID-UID mapping which samba has and NT not as we
> already have Unix-UIDs for each and every user and to prevent permission
> problems by not abiding to the RID=( (uid * 2) + 1000 ) rule of samba.
>
> Debugger output of the segfault follows:
>
> (gdb) set args -c S-1-5-21-596271630-1476544438-1821 -n
> S-1-5-21-596271630-14765 44438-2175 ntuser.dat
> (gdb) r
> Starting program: /root/profiles -c S-1-5-21-596271630-1476544438-1821
> -n S-1-5- 21-596271630-1476544438-2175 ntuser.dat
> Failed to read a valid object file image from memory.
^^^^ I wonder where this error comes from - maybe the mmap profiles
tries to do is failing?
> Is anybody able to give some hints to track down this issue?
Can you perhaps run profiles under valgrind and see if that reveals any
errors?
valgrind /root/profiles -c S-1-5-21-596271630-1476544438-1821 -n S-1-5-
21-596271630-1476544438-2175 ntuser.dat
Cheers,
Jelmer
--
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
More information about the samba-technical
mailing list