Segmentation fault if i run dalvikvm on ppc

by an...@android » Wed, 11 Mar 2009 14:08:20 GMT


Sponsored Links
 hey guys i could able to build 'dalvikvm' on ppc .
i didnt build it for an emulator.

I dont now how to test the 'dalvikvm' binary .
but when i ran the executable, i got  an segmentation fault.
The log file of this can be found below.

can anyone here help me out to test the 'dalvikvm' binary in ppc?

--------------------------------------------------------------------------------
$ gdb  dalvikvm

GNU gdb Red Hat Linux (6.6-8.fc7rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "ppc-redhat-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) r
Starting program: /home/cupcake/out/debug/host/linux-ppc64/bin/
dalvikvm
[Thread debugging using libthread_db enabled]
[New Thread -136015872 (LWP 780)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -136015872 (LWP 780)]
0x0ff1a880 in dvmAbort () at dalvik/vm/Init.c:1433
1433        *((char*)0xdeadd00d) = 38;
(gdb)

------------------------------------------------------------------------------------------------

Thanks in advance
Ananda


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



Segmentation fault if i run dalvikvm on ppc

by Jean-Baptiste Queru » Wed, 11 Mar 2009 14:14:54 GMT


 This would be a better discussion for the android-platform list. We
prefer to keep android-framework for discussions about items that
directly affect developers using the SDK.

Thanks,
JBQ






-- 
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

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


Sponsored Links


Segmentation fault if i run dalvikvm on ppc

by an...@android » Wed, 11 Mar 2009 19:32:59 GMT


 hey guys,
i could able to build 'dalvikvm' on ppc .
i didnt build it for an emulator.

I dont now how to test the 'dalvikvm' binary .
but when i ran the executable, i got  an segmentation fault.
The log file of this can be found below.

can anyone here help me out to test the 'dalvikvm' binary in ppc?

--------------------------------------------------------------------------------
$ gdb  dalvikvm

GNU gdb Red Hat Linux (6.6-8.fc7rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "ppc-redhat-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) r
Starting program: /home/cupcake/out/debug/host/linux-ppc64/bin/
dalvikvm
[Thread debugging using libthread_db enabled]
[New Thread -136015872 (LWP 780)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -136015872 (LWP 780)]
0x0ff1a880 in dvmAbort () at dalvik/vm/Init.c:1433
1433        *((char*)0xdeadd00d) = 38;
(gdb)

------------------------------------------------------------------------------------------------

Thanks in advance
Ananda
--~--~---------~--~----~------------~-------~--~----~

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



Segmentation fault if i run dalvikvm on ppc

by David Turner » Wed, 11 Mar 2009 20:31:58 GMT


 0xdeadd00d is a special address used by the dvmAbort() function to
voluntarily crash the VM.
Can you provide a stack trace ? that would give more information regarding
the reason for this
failure.





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

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



Segmentation fault if i run dalvikvm on ppc

by Anand Android » Thu, 12 Mar 2009 06:36:16 GMT


 Hi David, thanks for your reply.
As you requested for the 'strace' output,here i will be sending it as an
attachment.

Thanks

Ananda






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

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



Other Threads

1. Question: How to change android:keyTextColor in PopupKeyboard...

Hi There,
My first post. Hopfully, I'm doing these right...

[Question]
How can I change keyTextColor for the key on PopupKeyboard (I use
SoftKeyboard as testbed)?

[My investigation]
I have tried to set the keyTextColor for the popup keyboard to be the same
as the main layout.
After serveral of reading, it comes to the following layout that I have no
idea how to make it right...
    - input.xml  (set this tag ==> android:popupLayout)
    - my_popuplayout.xml  (Layout for PopupWindow to inflate against)

Thank you and Best Regards,
RLek



*[input.xml - Where the (main) keyboardView uses for inflation]*
...
...
<com.example.android.softkeyboard.LatinKeyboardView

xmlns:android="http://schemas.android.com/apk/res/android"

android:id="@+id/keyboard"



android:keyTextColor="#ff0000"

android:popupLayout="@layout/my_popuplayout"

/>

...
...


*[my_popuplayout.xml - Where (supposedly) the popupWindow should inflate
against... But not]*

...
<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

xmlns:app="http://schemas.android.com/apk/res/com.example.android.apis"

android:layout_width="wrap_content"

android:layout_height="wrap_content">


<com.example.android.softkeyboard.LatinKeyboardView

xmlns:android="http://schemas.android.com/apk/res/android"

android:id="@id/keyboardView"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:keyTextColor="#ff0000"

/>


<Button

android:id="@id/button_close"

android:layout_width="fill_parent"

android:layout_height="wrap_content"

android:gravity="center_vertical"

android:text="@string/hello" />

/>

</LinearLayout>

...

-- 

2. INTENT.ACTION_SEND

Hi all
how to send a mail with attachment using INTENT.ACTION_SEND
and explain me.

-- 

3. Button inside an EditText?

4. Wap Receiver

5. 2-D Graphics Performance after Motorola Droid 2.1 Update

6. hello 锛?get trouble with surf aceview switch.

7. Updating bounds with animation