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. Juggling the price tag of "Radio's Diabetes Companion"

Hi All,

Since the launch I've literally gotten no downloads.  I have no idea
if their is a technical glitch or my app just isn't worth $5 to
people.  I've now reduced my price to $0.99, so, if it's a price issue
it will be resolved that way.

My settings are as follows:

Compiled under:  Android 1.1
Locking Option:   Yes
Pre-Release Downloads: ~1200

Does anybody have matching settings and downloads have worked?
Hopefully, it's just that the market can't support obscure
applications at the $5 price point, and I'll see some downloads today.

Thanks for listening,

John Leone aka Radiolistener
President
RadiolistenersElectricEasel.com, Inc.
--~--~---------~--~----~------------~-------~--~----~

2. kml file upload

hi,
i have data/laocation/gps folder in emulator.
i pushed kml file into gps folder.
i am using gps provider in my code,trying to get coordinates from kml
file and display on phone.

for (String provider : providers) {
                sb.append("\n").append(provider).append(":");
                Location location = locationManager.getLastKnownLocation("gps");

                                if (location != null) {
                                        double lat = location.getLatitude();
                                        double lng = location.getLongitude();
                                        sb.append(lat).append(",").append(lng);
                                }
                                else
                                {
                                        Location myLocation =  
locationManager.getLastKnownLocation
("gps");
                                        sb.append("No Location");
                                }
                dispText.setText(sb);
                }
provider it is displaying as gps correct only,but location always 0,0
means nolocation...is coming
what could be the problem
regards,
android_d


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

3. Anyone who want to learn Android Courses?

4. How to debug android c programs by gdbserver on G1

5. Need help about Intent

6. Fwd: Android cupcacke for Openmoko freerunner

7. Confused about handling SSL Errors in WebView