ADP1 now $329!

by Richard Makaras » Thu, 21 Jan 2010 02:32:01 GMT


Sponsored Links
 --



Other Threads

1. Calling System.exit(0) causes Dalvik crash

Dear everyone,

I am porting Dalvik on MIPS/Vxworks.

I am trying to run my small sample app. It only call System.exit(0) in
main function.

When I run the first time, it can run and after call System.exit(0),
Dalvik exits, that's ok.

However when I tried to my sample app again, Dalvik cannot run and
crashes and the board reboot automatically.

Below is the stack trace:

showException
core0:
exception cause        :TLB exception(store) (0x3)
exception error counter:1
time stamp             :THU JAN 01 00:06:40 1970
errno                  :0x00000000

MIPS32 R4K CP0 registers:
   Status:0x50008ce3      EPC:0x8006f5b0    Cause:0x0000000c
 BadVAddr:0x00000018 ErrorEPC:0x096bf3ec
    Debug:0x00018000     DEPC:0x00000000   DeSave:0xff7f7fb6

    Cause: BD:0 IP:0x00 ExcCode:0x03
   Status: CU:05 RE:0 BEV:0 SR:0 NMI:0
           IM:0x8c UM:0 ERL:0 EXL:1 IE:1

system special registers:

MIPS32 R4K CPU registers:
     LO:0x0000000000000000   HI:0x0000000000989680
   zero:0x0000000000000000   at:0xffffffff81c90000
     v0:0x0000000000000000   v1:0x00000000000001e0
     a0:0x0000000000000018   a1:0x0000000000000000
     a2:0x0000000000000000   a3:0x0000000000000018
     t0:0x00000000000001e8   t1:0x0000000000000000
     t2:0x0000000000002003   t3:0x0000000000080c8c
     t4:0x0000000000000000   t5:0x00000000000497eb
     t6:0xffffffff81943760   t7:0xffffffff856e11d3
     s0:0x0000000000000018   s1:0x0000000000000010
     s2:0x0000000000000010   s3:0x0000000001800000
     s4:0x0000000000000000   s5:0xffffffff828c0000
     s6:0xffffffff816e0000   s7:0xffffffff85d56d10
     t8:0xffffffff858034ba   t9:0x0000000000003e8d
     k0:0x0000000000000010   k1:0x0000000000000000
     gp:0xffffffff81c940b0   sp:0xffffffff8ee01690
     s8:0x0000000000000000   ra:0xffffffff80e56980

stack trace information:
    SP:0x8ee01690(unknown stack base:0x8fa00000)
    0x8006f5b0:bfill + 0x68
    0x80e56980:memset + 0x20 -> bfill()
    0x80c4320c:mspace_malloc_stats + 0x1b4 -> memset()
    0x80c43308:create_mspace_with_base + 0x68 -> mspace_malloc_stats()
    0x80c4341c:create_contiguous_mspace_with_name + 0xec ->
create_mspace_with_base()
    0x80cbe390:dvmHeapSourceShutdown + 0xe0 ->
create_contiguous_mspace_with_name()
    0x80cbeb5c:dvmHeapSourceStartup + 0xa4 -> dvmHeapSourceShutdown()
    0x80c73ed8:dvmHeapStartup + 0x28 -> dvmHeapSourceStartup()
    0x80ca16a8:dvmStartup + 0xa0 -> dvmHeapStartup()
    0x80ca9bdc:JNI_CreateJavaVM + 0x1ec -> dvmStartup()
    0x80c4ff24:dalvik_main + 0x144 -> JNI_CreateJavaVM()
    0x80c505c0:DalvikStart + 0x48 -> dalvik_main()
    0x80e6fb58:yyparse + 0x1370 -> DalvikStart()
    0x80e70814:execute + 0x19c -> yyparse()
    0x80e70558:shellPromptSet + 0x4e0 -> execute()
    0x80e708ec:shell + 0xb4 -> shellPromptSet()
    0x80072b68:vxTaeskEntry + 0x14 -> shell()
core1:

Could you advise me what is the current issue with above stack trace
and how to fix it?

Thanks and best regards,
Bao Nguyen

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. It's the Apps, Stupid!

Anyone think Google should have a certification process for apps?
Continue to allow most apps but for an extra small fee have apps given
a seal of approval?  This would give confidence in the market,
something iPhone users enjoy and Apple uses for marketing.


--~--~---------~--~----~------------~-------~--~----~

3. Issue with alarm clock

4. how to load a .so library in a apk?

5. Getting content in browser launched activity

6. Using AsyncTask as Serializable or Parcelable --> To void activity destruction(orientation or during incoming phone call)

7. How to use PopupWindow()