Android :: Segmentation Fault On Emulator Startup?

Nov 23, 2009

When I start the emulator with the command emulator -avd Android2.0 it comes up with Segmentation fault (core dumped) if i start it without sound it works emulator -no-audio -avd Android2.0. I'm using Fedora Core 12 64bit. If i run emulator -verbose -avd Android2.0

.................

why the emulator is getting a problem with sound? I'm trying to write an app that uses sound so really need to get this working but i'm stumped.

Android :: Segmentation fault on Emulator startup?


Android :: How To Use MediaRecorder To Record Video Without Causing A Segmentation Fault

Nov 30, 2009

I'm trying to use android.media.MediaRecorder to record video, and no matter what I do the android runtime segmentation faults when I call prepare().

Here's an example:

CODE:....................

View 2 Replies View Related

General :: Java Shell Root Access (segmentation Fault)

Aug 24, 2013

So i've been trying to flash modules from within the phone without having to boot into the recovery, and i found that i can just extract the update-binary and execute it through shell and it will do the trick!!

However, know im trying to do that through my app, I successfully got root access using Chainfire's libsuperuser, however, whenever i send the commands to run update-binary i get "segmentation fault(core dumped)" Error.

the command i using in both shell and from within the app is "./update-binary 3 stdout ./modules.zip".

This might be irrelevent but when ever i add a number before stdout (e.g 7stdout) i get segmentation fault during shell as well, other than that, i can't find the problem.

This is a logcat of the process through strace, if we have a linux debugger here

Code:
08-24 17:06:43.568 8703-9188/com.thunder.kernel.lighter D/libsuperuser: [libsuperuser][SU*] execve("./update-binary", ["./update-binary", "3", "recovery", "./KernelLighter.zip"], [/* 24 vars */]) = 0
08-24 17:06:43.573 8703-9188/com.thunder.kernel.lighter D/libsuperuser: [libsuperuser][SU*] gettid() = 9202

[Code] .......

View 5 Replies View Related

Android :: Emulator Hanging On Startup?

Jun 23, 2010

I've been modifying/editing parts of the Android platform, but have run into a problem when trying to test my edits. After making my changes to the platform source, I was able to successfully compile the source - thus creating system.img, ramdisk.img, and userdata.img. When I go to test this in the emulator, the emulator just hangs on the "ANDROID_" screen, with the underscore blinking, but never seems to load. Any suggestions? The command I used to run the emulator is as follows:

./emulator -system $HOME/android/platform/out/target/product/generic/system.img -ramdisk $HOME/android/platform/out/target/product/generic/ramdisk.img -data $HOME/android/platform/out/target/product/generic/userdata.img

View 1 Replies View Related

Android :: Emulator Not Startup On Winxp + Msys

May 4, 2009

I succeeded in compiling emulator source code on msys. but it could not run on msys (winxp) when type "emulator", prompting words below: ./emulator This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. If type "emulator -verbose", following information shows: $ emulator -verbose This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. If type "emulator -debug", window shows android emulator usage like below:

$ emulator -debug unknown option '-debug' Android Emulator usage: emulator [options] [-qemu args] options: -system <dir> search system, ramdisk and userdata images in <dir> -kernel <file> use <file> as the emulated kernel -ramdisk <file> use <file> as the ramdisk image (default is <system>/ramdisk.img) -image <file> use <file> as the system image (default is <system>/system.img) -nand0 <file> obsolete, same as -image -data <file> use <file> as the working user data disk image ..............................................?

View 2 Replies View Related

Android :: Startup Emulator With Landscape Orientation Instead Of Portrait

Jun 19, 2010

As u know, since android 1.6, there are not dirs on dirs like HVGA-L. Instead, there is only one dir like HVGA. That is, HVGA-P and HVGA-L are merged into one dir, HVGA. So, only HVGA can be selected and by default the emulator is started with portrait mode. Though I can press CTRL+F11/F12 to switch it to landscape mode, I do not like it. What I want is to start the emulator with default mode of landscape. Would anyone know how to do it?

View 3 Replies View Related

Motorola Droid :: Startup Programs - Edit What Loads On Startup

Jan 7, 2010

Every time I start my phone it seems that every program in the app catalog starts up. Until I activate the Advanced Task Killer and shut them all down, the thing runs like a hog. I have quite a few programs installed, but I dont use them all all of the time. Why do they all start up and is there any way beside the ATK to stop them? Is there any way to modify the startup files?

View 4 Replies View Related

Android :: App Fault - SIGSEGV

Oct 27, 2009

Why this can happen? ...........

View 4 Replies View Related

Android :: Out Of Memory Error Due To App's Fault?

Jun 16, 2010

i have a aplication on the android market, in wich exceptions and errors are catched and sent to me by acra. But i receive quite a lot out of memory errors.. In different kind of classes...some my app, some general java.. Does this always mean there is a problem in my app, or can it also be the phone ran out of memory due to a other process? Will users also get a fc dialog?.....................

View 7 Replies View Related

Android :: XMLRPC Fault Code

Jun 10, 2010

We have been using XMLRPC for android and it was working well until we got our hands dirty with Base64 encoding for byte[] (images) -- (we did base64_string.replace("/","$$") for transmission). We have tried undoing the changes and its looking like an XMLRPC error. We are getting the following error in the DDMS:

06-10 23:27:02.970: DEBUG/Test(343): org.xmlrpc.android.XMLRPCFault: XMLRPC Fault: [code 0]
06-10 23:27:02.970: DEBUG/Test(343): at org.xmlrpc.android.XMLRPCClient.callEx(XMLRPCClient.java:308)
06-10 23:27:02.970: DEBUG/Test(343): at org.xmlrpc.android.XMLRPCMethod.run(XMLRPCMethod.java:33)

Just before this I checked the body (xml message -- which is perfect) and the response received:

06-10 23:27:02.940: INFO/System.out(343): Response received: org.apache.http.message.BasicHttpResponse@437762f8

Since the message is not even reaching our cloud, the issue is mostly with XMLRPC for android.

View 1 Replies View Related

Android :: SIGSEGV Fault When Create And Exit App

Jan 10, 2010

Im getting this error caused by VM( logcat below from emulator, it also happens on the device) This is a know bug filed at least 3 times with different issues. I am getting it if I close my app and then open it a few times(it happens too often), you can close the app by "back button". I also have a service running in the background which updates my widget( i stop the service when it finishes), which launches an activity through a PendingIntent. Is there any workaround for this error, if I know what causes this exactly i may be able to prevent it, something must be triggering this....................

View 3 Replies View Related

HTC Hero :: No Signal Or Sim Fault?

Feb 7, 2010

Every so often i get a picture of a sim card with a line through on the lock screen(quite large icon in the centre of the screen),it also says no service. Does this mean no signal or sim card lose/faulty? Here's the odd thing it only happens when im in a town where i know the signal is good?

View 8 Replies View Related

HTC Hero :: Gmail Auto Sync Fault?

Oct 1, 2009

T-Mobile UK user here. I've searched through this forum but can't seem to find anyone else reporting this.I've had a G2 for approx 3 weeks now, however, the thing just won't sync Gmail as it should - either via Auto-sync or by manually trying. I've had a G1 for the last 12 months so feel experienced enough to know when something's not quite right. I am using the G2 in exactly the same locations as the G1 so it cannot be a reception issue. I've tried sending test emails from my work email address to my Gmail account: Out of the 10 test emails sent over the space of 8 hours, only 2 came through (the G2 was on Auto-Sync the whole time). The others eventually came through via a combination of manually instigating Sync (1 success) or, in most cases, having to switch the phone off and on - even this only worked twice. Whenever I sent emails from work to G1 they would appear on the phone instantly. There isn't a prob with the emails leaving my work domain as I can see that they have all been delivered successfully viewing my Gmail account over the web. If I leave the phone on the Data Synchronization screen, the round sync indicator is constantly running next to "Google Mail" and intermittantly pauses with the error message that "Sync is currently experiencing problems. It will be back shorlty". have also found that the reception doesn't appear to be as good as the G1 - I work in central London and live 10 miles south of the river.I'm running FW 1.5 Kernal 2.6.27-a5504199 Software 1.0.0.A6288

View 3 Replies View Related

HTC Desire :: Auto-Rotation Fault Since Update

Nov 21, 2010

This morning I installed update 2.17.61.2 and since then I've noticed a fault with the auto-rotation feature. For things such as internet, SMS inbox, email inbox etc. the screen view is stuck on landscape and will not auto-rotate back to portrait when I tilt the phone

Also I tried playing Teeter and the ball doesn't move no matter how much I tilt the phone. I've tried resetting the G-Sensor Calibration but it doesn't resolve the fault.

View 2 Replies View Related

Samsung Vibrant :: User Fault Not Kernel Panic Upload Mode

Sep 10, 2010

My Vibrant just crashed with this message, "user fault not kernel panic upload mode". All I was doing was updating a word document using the application FREETHINK which comes with the phone. I pulled the battery out and restarted, and went to do the same thing I was trying to do before the crash and it crashed again.I looked this message up online using "google". There isn't much. People seem to think it has to do with GPS, and it seems like it's a reoccurring problem, which factory reset will not fix. I'm switched back to my Blackberry, incase that it does reoccur. And I will call T-Mobile I guess or maybe try restarting again, and see if it crashes again doing something different other than FREETHINK.Not panicking yet.Anyone else experiencing this problem?I hope it doesn't reoccur,I'll let you know.

View 3 Replies View Related

HTC Desire : Good Ole LMFAO - Users Report "fault" On IPhone 4

Jun 24, 2010

BBC News - Users report "fault" on iPhone 4. That is all.

View 22 Replies View Related

Android :: SQLite - Works Perfect In 1.6 Emulator - Won't Work On The Phone - 2.2 - Or 2.0 - Emulator

Aug 6, 2010

I created a sqlite database to store playlists for a media player I am developing because of extended feature (rather than using the Content Provider). It works perfectly on the 1.6 emulator but FCs on anything higher than 2.0... what has changed that I need to know about as far as opening databases in SDK 2.0+? Here is the logcat.

CODE:.............

Here is the dbhelper class

CODE:................

why can't stackoverflow just use tags like a normal syntax highlighter.

View 2 Replies View Related

Android :: Unable To Play Youtube Videos On SDK 1.5 Emulator - But Playing Well On SDK 1.0 Emulator

May 19, 2009

Unable to play youtube videos on SDK 1.5 emulator - but playing well on SDK 1.0 emulator. Can you update the source....

View 7 Replies View Related

Android :: Emulator - ERROR - User Data Image Is Used By Another Emulator

Apr 13, 2010

Finally strace gave me this:

CODE:................

And several other attempts to call "link" that also fail (sshfs does not support hard links).

Is it possible to change the emulator's behavior to create lock files somewhere in /tmp (using some hash of image path as lock file name)? I am OK to try this myself: which repositories from https://android.git.kernel.org/ are necessary to rebuild the emulator alone, and where in the sources is the code responsible for image locks?

View 4 Replies View Related

Android :: Emulator - SDK 1.1_r1 For Widndows XP - Crash Using Emulator -data

Apr 20, 2009

I need to run several emulator instances to test my application. When i try to run instances using emulator -data <path> option, the emulator crashes.

I got a MS Visual Studio window informing that emulator throws a "unhandled win32 exception".

The exception message in the debugger (MS Visual Studio 2008) is: "Unhandled exception at 0x77c4706c in emulator.exe: 0xC0000005: Access violation reading location 0x03216848"

The emulator runs normally without "-data" option.

View 2 Replies View Related

Android :: Emulator Error - User Data Image Is Used By Another Emulator

Nov 1, 2010

I am getting the following error when I try running my program in the emulator:

emulator: ERROR: the user data image is used by another emulator. aborting`

View 1 Replies View Related

Android :: Application In Emulator Without Restarting Emulator In Eclipse?

Apr 8, 2009

Is there a way to reload an Android application in the emulator without closing the emulator, saving any code changes, and running the emulator again? If I make even a simple change to the layout, it takes about 30 seconds by time I run it in Eclipse and Android "boots", and I can unlock the emulator to run the application. Is there any way to shorten this time when making changes, or is it something I just have to deal with?

View 3 Replies View Related

Android :: Start-emulator Task Never Gets Emulator Running

Mar 16, 2010

I downloaded the most recent version of Android for linux (android-sdk_r05-linux_86.tgz). I was trying to use the the Android Ant task(s) for packaging, building, and deploying my code. I should mention that I'm running AMD64, but have the 32-bit libraries installed. The Android Ant tasks are all broken.

First, the start-emulator task never gets the emulator running. It does get past starting adb, but then just sits there.

Second, the SDK is missing the aapt binary in the tools directory. So, the example notepad sample application will not even package correctly.

I have all the dependencies configured for Android. I can run it from the command line just fine.I assume the Ant code is out of sync with the recent SDK updates. Can anyone shed some light on this problem? At this point, I'm considering writing my own Python scripts to interact with the Android SDK. Ugh.

View 1 Replies View Related

Android :: Way To Get An App To Run At Startup?

Dec 17, 2009

Is there any way to get an app to run at startup? There is a volume control app (ladybug icon) that I use to keep my ringer volume always at vibrate. When I accidentally hit the volume rocker, the app returns the ringer to vibrate. However, I must remember to run the app when I restart the Droid. So, is there anyway to have it run when the Droid powers on? Or is that something that would have to involve rooting?

View 9 Replies View Related

Android :: Application Startup On Boot

Jun 8, 2010

Other than downloading a 3rd party application that auto-starts apps on boot, is there a way within the OS itself to autostart programs when the phone reboots? I have a few apps I use for work and would be nice if they autostarted on my Droid without having to launch each one independently.

View 2 Replies View Related

Android :: Playing Sound On App Startup

Nov 7, 2010

How do I go about getting my app to play an mp3 (in my res) on startup? Or how how about if I wanted this to happen when a button is clicked?

View 1 Replies View Related

Android :: SharedPreference - Defaults Not Set At Startup

May 1, 2010

I have Listpreferences in my app. They don't appear to be setting to their defaults right after installation - they appear to be null. I'm trying to figure out why my default preferences are not being set right after installation.

In my main code I have:

CODE:......

Right after the above code executes, each variable contains "defValue" instead of the actual values I have assigned in my ListPreference below.

My preference xml file is called, "settings.xml". Here's what one of the ListPreferences there looks like:

CODE:.............

Here's what some of my strings.xml file looks like:

CODE:.................

When I go to menu, and then settings, I can see my defaults checked (radiobuttoned). Then when I go back from the settings menu to my main screen - all is well - for life! ...then each var above is assigned the proper default value.

This only happens when I first install my app on the phone. After I go to the settings screen once and then right out of it, the app is fine and accepts any setting changes.

By the way, as you can see, "List1" is the android:key within a file called settings.xml in my res/xml folder.

View 1 Replies View Related

Android :: How To Create Startup Application

May 26, 2010

I am new to android. I need to create an auto startup application. That application will control the files( if we open a image file from Gallery (or) mail attachments, on that time our application give a alert dialog to the user). Please guide to how to create an auto startup application to control all the file format in the android emulator.

View 3 Replies View Related

Android : How To Cancel An OnItemSelected Upon Startup?

Aug 5, 2009

1) I have a Spinner with several options provided by an ArrayAdapter and have an onItemSelected listener on this Spinner. When selecting an item from the spinner, I want to display another view (list-view) but this method is unintentionally invoked upon initially displaying the view. The list-view is therefore displayed upon startup of the application. It is possible to add a spinner-on-item-select listener that won't fire upon initially displaying the view but only by the user selecting an item?

View 2 Replies View Related

Android : How To Add Adb Shell Startup Script?

Sep 4, 2009

i would like to add some commands to be executed every time I run "adb shell" (for example "alias ls="ls -l""). is there a .bashrc or a .sh that i could add that to?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved