hi, all
    I am porting android to loongson2f, when I boot the system, the
system tips kernel panic. By adding printf, I found that the bug, the
following figure explain the position of bug,

main
    |--->property_init
                |---->init_property_area
                |---->load_properties_from_file
                                    |----->load_properties
                                                   |----->load_properties
 
|------>property_set
                                                                                
|------>  pi =
pa_info_array + pa->count;     #pi=0
 
|------>  pi->serial = (valuelen << 24);       #oops

I searched in the internet and someone said that "Enable the Anonymous
Shared Memory Subsystem" option of the linux kernel is not enabled
result in property_set failure, but I had enable that option.  Any
suggestion?

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to