On Apr 13, 12:23 pm, Dianne Hackborn <
hack...@android.com> wrote:
> I have never seen anything like that before. I suggest putting logs in
> PackageManagerService around the code the emits those messages to see why
> this is happening. (There may be some existing logs you can turn on with
> the final boolean constants at the top of the class.)
Thanks. I will try adding more logging and enabling the Config.LOGV-
guarded logging.
>
> The only things I can think to look at is some strange setup going on with
> the apps involving android:sharedUserId, <original-package>, or other things
> that impact uid assignment.
I am not using a shared user id for these 2 particular packages, if
that matters.
Since I posted this, I did some more investigation and it now looks
like this might be a problem with our yaffs2 partition, not in
PackageManager. It looks like there are 2 different /data/system's
with different inodes that yaffs is oscillating between for some
reason. So this is probably not a problem in the android runtime,
sorry for the false alarm.
I assume that if there is no /data/system/packages.xml file and
android generates a new one, it is more or less random what UIDs get
assigned to what packages (and it could vary from time to time),
right?
Anyway, here is the post to the yaffs list, in case anyone is
interested:
http://www.yaffs.net/lurker/message/20110413.170054.cb3358fa.en.html
Thanks again.