FAQ Database Discussion Community


My app crashes as soon i closed it in the multitasking drawer [closed]

android,crash
My app starts as soon the system is booted up, it runs well but when i closed it in the multitasking drawer it crashes. Any ideas why??? please any feedback will be apreciated.

Code executed after an error has occured

c++,crash,runtime-error
I have compiled and run the following C++ code with g++ version 4.8.2: vector<int> ivec{0,1,2}; int& iref = ivec[1]; for (int i=3;i<100;++i) ivec.push_back(i); iref = 10; cerr<<"After Error"<<'\n'; return 0; The program will crash as expected at line iref = 10;, because the reference is invalidated. But the string "After...

How crash reporting tools really work

ios,crash
I know there are many crash reporting tools available in the market to collect crashes from the real devices. I would like to know how a crash reporting tool really collects its data?. Does it collect a crash report from the operating system once the crashed application launched again? or...

iOS - My app crashes with memory Error if only runs on Device

ios,xcode,memory,crash
My app runs perfectly on simulator. But when I run it on device to test, the app crashed. The displayed error : "malloc: * error for object 0x17415d0c0: Invalid pointer dequeued from free list * set a breakpoint in malloc_error_break to debug"; And another error sometimes happens : "Thread 6...

Crash in SwiftyJSON during string comparison: swift_unknownRetain

swift,crash,crashlytics,swifty-json
I'm switching on a flag from the server in order to determine what type of object to instantiate. Each type is a subclass of the return type (Snack, in the example.) My guess is that the whole subclass thing is irrelevant to the main issue, but I include it for...

How to generate windows memory dump when application crashes.?

windows,crash,crash-dumps
Is there an easy way of generating the memory dump for the crashed application? I have a situation in which the customer received the code which is generating the crash, as the code itself has no signal handlers for the backtrace generation on abort I was wondering if there is...

App crashes in release mode only, how to configure proguard?

android,crash,proguard,release-mode
My app crashes in release mode only, due to proguard (confirmed, I disabled it and worked)... I see somebody had the same problem and tried some solutions like this one: Android: app crashed when starting after signing in release mode . I first tried keeping the MainActivity, then tried keeping...

Marshal.PtrToStructure crashing on 64bit

c#,crash,64bit,pinvoke
My unit tests crash on this bit of code when running in 64bit. The crash happens on the Marshal.PtrToStructure call on the 2nd iteration of the loop. The "entriesRead" says 4 so it should be able to read correctly, but it does not. The Marshal.SizeOf(typeof(WinAPI.NETAPI32.USER_INFO_4)) is 192 bytes in 64bit....

Calling free() causes my program to crash

c,crash,printf,malloc,free
I'm having a really weird issue where trying to call free on an allocated piece of memory causes my program to crash. Here's the relevant code: int i, count; char *specifier; char aisle[1]; count = 0; /*Find name of the new item and assign to the name field of new_node...*/...

Application Crashes when an Activity that Extends ListView is 'Launched'

java,android,listview,crash,listactivity
Here is my InfoBookActivity.java package thesleeplesselite.drgreenthumb; import android.app.ListActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; public class InfoBookActivity extends ListActivity { // -- AUTO-GENERATED CODE -- @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_infobook); } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action...

Python program runs for a week, then fails mysteriously

python,crash,raspberry-pi
I have a python program that runs normally, then fails after a long time, I don't understand why this would happen. This is to drive a PiGlow board on my raspberry pi. Having nothing better to do with it, I let it display the time in binary format, with clock.py,...

SKScene Fails to deallocate memory resulting in bounded memory growth

crash,sprite-kit,dealloc,skscene
I have been struggling with this for days, for some reason my SKScenes are not deallocating correctly, this results in bounded memory growth as each time i exit and enter a scene the memory jumps up. This means after say 10 rounds of the game the App crashes. As far...

Libgdx app crashes on Android: Could not find class 'java.awt.Rectangle',

android,linux,crash,libgdx
I have a problem with running project on android device. When I run it as desktop app everything is fine. I tried to run it on other devices but results were same. Here is the .java code from core project: public class UGame extends ApplicationAdapter { private SpriteBatch batch; private...

Can not Identify the crash Exception Type: EXC_CRASH (SIGABRT) . Crash log included

ios,ipad,crash,ios8.3
I can not identify the problem from this crash log. I have seen several post about EXC_CRASH (SIGABRT) and CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER but those didn't help either.This happens in OS Version:iOS 8.3 (12F69) and in iPad2. Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Triggered by Thread: 0 Last Exception Backtrace: 0...

Why does removing a listbox Item crash the second time through the loop?

c#,for-loop,listbox,crash,windows-ce
This has been an ongoing problem; In the code below, the old code (which also failed) is commented out. The new code behaves the same way, though: private void UpdateGUIAfterTableSend(String listboxVal) { ExceptionLoggingService.Instance.WriteLog("Reached frmMain.UpdateGUIAfterTableSend"); try { //listBoxWork.DataSource = null; // <= This (at one time, anyway) seemed necessary to circumvent...

Crash cause of own template

c++,qt,templates,crash,qvector
why is my program crashing when I use my template? What I'm doing wrong? That's a test program, because the actual program is too big for posting here. The first qDebug with test1 are displayed but the second not. #include <QCoreApplication> #include <QDebug> #include <QMutex> class MutexLocker { public: MutexLocker(QMutex&...

Windows phone 8.1 application crashing just after opening share ui

c#,crash,windows-phone-8.1
I have 2 pages in my windows 8.1 application. Both of them have a share button. On the first page which is my home page the share button works as it is suppossed to, i.e. open share ui (shown below). But on my other page (which is has a webview...

Xcode assistant editor won't show some of the code

xcode,swift,crash,editor,assistant
First of all, I would like you to know that the class IS set to the correct file in each ViewController - I know that because it did work before, but then I got a "crash" in Xcode that blinked quickly without me being able to read it before it...

Recover file in Android Studio?

java,android,ubuntu,android-studio,crash
I create a project in Android Studio (Version 1.2) and after working on that project for a few weeks, my PC suddenly shut down (Android Studio was open at that time). After starting the PC again, I found that one of my file was completely erased. Here is the snapshot...

Image freeze when a continuation is called

crash,pharo,continuation
I'm trying to test the continuation facility in Pharo, with this code(in the playground): | cont f | f:=[ |i| i:=0. Continuation currentDo: [ :cc | cont:=cc ]. i:=i+1. ]. f value. "1" cont. "a Continuation" However, as soon as I call the continuation saved in cont(replacing cont. by cont...

Strange crash on ARM and Intel

c++,assembly,crash,memory-corruption
Haters gonna hate, but I can not provide source code for this problem, since I can not separate the issue, but I will try to provide as much information as I can. So my problem is, that a my application crashes in well defined circumstances, at a well defined point...

NSUserDefaults key initialization when app starts for the first time

ios,swift,crash,initialization,nsuserdefaults
If I start an app for the first time, the boolean key for a NSUserDefaults is nil and the app crashes when it tries out the state of the setting in an if-statement. I try to initialize the key in viewDidLoad() as follows but the key seems to keep undefined:...

Eclipse Android Application Crash

android,xml,eclipse,crash,supportmapfragment
I am building a GPS application using Google Maps v2 API. The activity has SupportMapFragment and some text strings. When I run the application on my Android smartphone, it crashes. I dont understand the LogCat. Source code below. Paramedic.java package ie.itsligo.medication; import android.support.v7.app.ActionBarActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import...

App android crash when opening camera on samsung galaxy s4 mini

android,camera,crash,photo
i just want to ask you something that i can't find a solution. I have a samsung galaxy s4 mini and i'm trying to do something with the camera, and sometimes it crashes, but it doesn't give me any error. I got this code: private void dispatchTakePictureIntent() { Intent takePictureIntent...

WPF - Program fails when using ToggleButton Trigger on IsMouseOver

wpf,crash,togglebutton,eventtrigger
I am getting a weird crash whenever I am trying to change a path fill using a trigger on a ToggleButton. After doing some process of elimination it seems that the actual trigger property is causing the program to crash. When it crashes I am getting this: Problem signature: Problem...

Stack with push and pop functions not working

c++,null,crash,stack
This is the program. #include<iostream> #include<string> using namespace std; struct stack { int inf; stack* link; } *start, *p; void push(stack*, stack*, int); void pop(stack*, stack*); int main() { int s = 0; string thing; cin >> thing; while (thing != "end") { if (thing == "push") { push(start, p,...

Visual Studio 2013 crashes when writing opening angle bracket

visual-studio,xaml,crash,intellisense,xamarin.forms
everytime I try to write an opening angle bracket in vs13 it crashes. The Problem only happens in a xamarin.forms project and in an xaml-file. Every other key works fine, just the opening angle bracket causes the problem. If I copy/paste it in the code it works fine, as well......

ConcurrentModificationException not happening

java,concurrency,crash
I have the following code: List list = getItems(); //where getItems() returns List<Item> do { list.add(adPosition); adPosition = adPosition + (AD_REPEAT_VALUE + 1); adsNumber++; } while (adsNumber < MAX_NUMBER_OF_ADS && adPosition < list.size()); And from what I know this code should crash with ConcurrentModificationException because the list size is modified....

C - Program crashes while using malloc

c,crash,malloc,xor-linkedlist
So I'm making a XOR linked list, and whenever I'm trying to allocate memory for a new node, program crashes. Here's my code for insert function: void add(DataType value, XORList ** xlist) { XORListNode * node; node = ( XORListNode* )malloc( sizeof (XORListNode) ); printf("node memory allocated\n"); if ((*xlist)->head->prevPNext ==...

IOS xcode crash when I'm building to device

ios,xcode,crash
I had updated xcode 6.2, after that, when I build application to device, xcode has crash. I cannot build to device after updated xcode 6.2 ...

ResultSet ->getString() crashes when value is >=16

c++,mysql,crash,database-connection,mysql-connector
ResultSet *search; .... .... search= prepareStatement->executeQuery(); while (search->next()) { cout << "Email Found: " << search->getString("EmailColumn") << endl; //crashes here } From the code above, calling getString() function actually gets the value from the database. But then it crashes the program. It displays the value then crashes the program. I...

Xamarin App crashes on Reopen NullReference

c#,android,xamarin,crash,activity-lifecycle
I have an app on Xamarin, it works fine, if I press back button, to move to main menu it hides in app stack, so when I open it back from app stack it suddenly crashes with NullReference 06-10 15:59:57.363 I/MonoDroid(14891): UNHANDLED EXCEPTION: 06-10 15:59:57.363 I/MonoDroid(14891): System.NullReferenceException: Object reference not...

LibLas crashes when setting spatial reference manually

c++,crash,liblas
I am trying to set the spatial reference manually, but it is crashing. std::ofstream ofs; liblas::Header header; liblas::SpatialReference srs; srs.SetFromUserInput("EPSG:4326"); // It crashes here header.SetSRS(srs); header.SetPointRecordsCount(1); ofs.open("test.las", std::ios::out | std::ios::binary); liblas::Writer writer(ofs, header); Any ideas?...

Getting NullPointerException, but dont understand why

java,android,nullpointerexception,crash,login-system
I have this school project where I have to implement a login/register system in an Android app. Now the app is working and I can enter email and password but as soon as I send the data by submitting, the app instantly crashes. I get a NullPointerException, however I can't...

Program that will output three integers in descending ordrer

java,crash,order
This program is meant to prompt a user to enter three integers, store the integers in three separate variables, and output the three integers in descending order (highest to lowest values). import java.util.Scanner; public class ProgramToo { public static void main(String [] args) { Scanner kbd = new Scanner(System.in); System.out.println("Enter...

MFC application Crashes in NTDLL.dll

windows,mfc,crash,ntdll
I have an MFC based application. It keeps looking for a file after few seconds (using CreateTimerQueueTimer based timer) and perform some action. This is always crashing (for unknown reason) on XP. This application works fine on windows 7 and windows 8. But problem on XP is persistent. Below is...

Objective-C Property Getter/Setter crash EXC_BAD_ACCESS

objective-c,cocoa,properties,crash,nil
I was wondering why assigning values to properties in another class causes EXC_BAD_ACCESS. I can't seem to figure out why. 1.) The value being sent into the setter is non-nil; 2.) When trying to assign the value, EXC_BAD_ACCESS happens, the variable is nil; Using this pattern in both Cocoa and...

Crash When Using Arrays.fill

java,arrays,crash
I have a school project that I'm working, where I fill two small arrays with data. To do this I used java.util's Arrays.fill method, which after about ten seconds would cause java to completely crash. It was simple to fix once I pinpointed the problem by commenting out code until...

iOS Crash: Terminating app due to uncaught exception reason: UIPopoverPresentationController should have a non-nil sourceView

ios,objective-c,crash,uipopovercontroller
I need help figuring this crash out. I checked stackoverflow for answers, but non of the answers relates to my situation. This is my code. - (void)addImagesActionSheetClickedButtonAtIndex:(NSInteger)buttonIndex { // Cancel if (buttonIndex == 2) return; //Take picture if (buttonIndex == 0) { //Take picture isFromLibrary = NO; [self.imagePicker setSourceType:UIImagePickerControllerSourceTypeCamera]; [self.navigationController...

NSRangeException randomly crash app in object at index

crash
NSDictionary *latestCollection=[json objectWithString:responseString error:&error]; NSDictionary *data=[latestCollection valueForKey:@"results"]; if([data count]>0 && data!=nil) { arrayAddress=[[NSMutableArray alloc]initWithArray:[data valueForKey:@"formatted_address"]]; /*********Showing address of new location******/ [lblAddress setText:[NSString stringWithFormat:@"%@",[arrayAddress objectAtIndex:0]]]; [lblPickUpAddress setText:[NSString stringWithFormat:@"%@",[arrayAddress objectAtIndex:0]]]; } else {...

Windows phone 8.1 app crash. How can I see the exception?

memory,crash,windows-phone-8.1
I have an application in Windows Phone 8.1. I debug it in an actual device and it works ok. However, when I run the app outside the visual studio, sometimes (random) it crashes. Is there any way to see if there is an exception? In Android and iOS you can...

Fortran Program Crashes when running

crash,fortran,fortran90,gfortran
I'm a starter in Fortran, using it to solve mathematical models in economics. I wrote a program (below) that is crashing when running. Windows show that message of error and nothing seems to happen. I haven't got a clue of what may be wrong, I already debugged it and it...

Why do crashes in iOS relating to dyld_stub_binder occur?

ios,crash,dyld
It's widely known that dynamic link libraries aren't allowed in iOS apps, they may only link to dynamic system libraries. But I do run into some pretty confusing crashes with the 3rd frame from the top of the stack being dyld_stub_binder. It's tough to find some solid information, but I'm...

Visual Studio crashes when opening project in designer view

asp.net,visual-studio,visual-studio-2012,crash
I've recently started making a website in ASP.NET, but I can barely progress because of Visual Studio crashing when opening the design view. At first, I used Visual Studio 2012, and it started crashing. Now, I've installed Visual Studio 2015 (still a preview) because I needed to use a newer...

Cocos2d on iOS: EXC_BAD_ACCESS in CCGraphicsBufferGLUnsynchronized when leaving app after ad

ios,cocos2d-iphone,crash,interstitial
I have integrated the SKD of UnityAds into my game to show full screen interstitial video ads. When the video is finished, a link to the AppStore is provided by the ad framework. When I select this link, the AppStore is opened. My app crashes in this moment, throwing EXC_BAD_ACCESS...

IOS App crashed on iTunes' version, but works fine on local simulator & real device testing

ios,xcode,crash,simulator
I have an IOS app successfully uploaded to iTunes, the app has also been testing successfully on both local simulator & real device. however, when I download the app from App Store (with same device, same OS version), the app will load initially, and crash on a specific view. I...

Expression: IsLocked() == false, crashing when World is referenced?

java,crash,box2d
The Error AL lib: (EE) alc_cleanup: 1 device not closed Assertion failed! Program: C:\Program Files\Java\jre1.8.0_25\bin\javaw.exe File: /var/lib/jenkins/workspace/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/b2World.cpp, Line 109 Expression: IsLocked() == false The following line is the last line before the error occurs: Body body = world.createBody(bodyDef); I don't understand how this is causing a problem. world and bodyDef...

Android - Compiles And Runs But Crashes

android,crash
So I'm trying to write code which will spawn a red circle at a random spot on the screen every 5 seconds. I wrote the code which will just spawn a red circle without repeating it every 5 seconds and it works fine. Then, when I added code (commented out)...

Intellij IDEA crashes when trying to compile/run a program

intellij-idea,windows-7,crash
I wanted to try out IDEA because I kinda want to move away from Eclipse. However, everytime I try to build or run code from inside IDEA, it just crashes with no error message. The only information I get is from Windows itself: Problemsignatur (Problem signature): Problemereignisname (Problem event name):...

Unity3D Crash When Leaving Tango Scene

unity3d,crash,google-project-tango
When leaving a scene that uses Motion Tracking, Area Learning, and WebcamTexture and moving to a menu scene that uses a standard Camera and no Tango prefabs, the application will crash. 02-25 13:32:46.285 886-1005/? W/InputDispatcher﹕ channel '6510e8f0 com.google.atap.app/com.unity3d.player.UnityPlayerNativeActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9 02-25...

App crash (The Specified child already has a parent)

java,android,crash
my app is crashing and cant figure out the problem. Please have a look at the code below. Country_Select.java: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_country_select); } private static final String TAG = "BOBLogs"; public static final String PREFS_NAME = "PrefsFile"; // // Button ke_button = (Button) findViewById(R.id.btn_ke); //...

HTML website crashes on JavaScript execution

javascript,html,crash
Whenever I load the website located here, the screen turns almost completely black and crashes. Along with this, the linked server page also crashes. Can I get some help finding the error. I have checked multiple validation sites, and none of them show an error. Here is the code: <html>...

Crash at launch - ios 8.1 because adding UIButton's subview. EXC_BREAKPOINT (SIGTRAP)

ios,tabs,crash,launch,symbolicate
I have just got rejected by Apple with the following reason: We were unable to review your app, as it crashed on launch on the following device(s): - iPhone 5S running iOS 8.1- iPhone 6 running iOS 8.1- iPhone 6 Plus running iOS 8.1 Here is what I did: I...

Android Studio - Can't display string in notification

android,string,crash
I have encountered yet another issue. I am trying to display battery info in a status bar notification, but my app crashes when I open the app's Settings. I am at a loss here, I don't know what to do at this point. The logcat says: Caused by: java.lang.NullPointerException: Attempt...

Visual Studio ASP.NET crashes after Stop Debug in Chrome

visual-studio-2013,crash
I'm working on a website which can stream audio files to the browser. It's a asp.net application which im developing in Visual Studio 2013. To stream the audio to the client im using partial content response using the range request headers. The code looks like this: [HttpGet, ActionName("GetFile")] public HttpResponseMessage...

Why does this print statement stop program from crashing in C?

c,struct,crash,printf,dfs
I have the following program which first stores the direct flights between some cities and then uses DFS to query if two cities are connected by indirect flights. The program kept crashing during the query step, so I tried to find the problem using print statements and strangely the program...

Accessing Iterator After Deletion Causes Crash

c++,pointers,crash,iterator
so I'm used to coding in C# and have just started using C++ again after a pretty substantial break. Essentially what I'm trying to do is to create a program that has lists of students with IDs, in courses. I have this code that essentially prints out all available students...

Perl Command Line Interpreter crashing on exit

perl,user-interface,crash,interpreter,tkx
I have an issue where exiting a Perl Tkx script causes the Perl Command Line Interpreter to crash. Ex: use strict; use warnings; use Tkx; my $mw = Tkx::widget->new('.'); my $button = $mw->new_ttk__button(-text => "Hello", -command => \&main); Tkx::pack($button); Tkx::MainLoop; sub main { print "TESTING\n"; exit 0; } This code...

Android app crashes when nothing is entered when button is pressed

java,android,crash
Trust you are well. You helped a fellow member out for a query (Android app crashes when nothing is entered and button is pressed) on App crashing when nothing is entered in the EditText field. I am having the same issue but my application still crashes when I input your...

ndk-stack give me only have libc frame

android,c++,android-ndk,crash
I'm working with ndk develop, and it crashed when running, i get the info from logcat, and ndk-stack it, got this: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- Stack frame I/DEBUG ( 2418): #00 pc 000221a8 /system/lib/libc.so (tgkill+12) Stack frame I/DEBUG ( 2418): #01 pc 00013265 /system/lib/libc.so (pthread_kill+48)...

Android Button Click Method In Fragment (Crash)

android,eclipse,button,methods,crash
My app crashes on start up, the reason for the crash is the button method in the following code. I am wondering where I need to place the method in order for it to execute successfully. Fragment1.java package ie.itsligo.medication; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import...

'NSInternalInconsistencyException' ?'The layout constraints still need update after sending

ios,ipad,crash,runtime-error,uialertview
I am facing a problem, i have a forgot password option in which i have placed a uialertview with input field. UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"Forgot Password?" message:@"Please enter your username to retrieve password" delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"Ok", nil]; [alertView setAlertViewStyle:UIAlertViewStylePlainTextInput]; [alertView show]; when app is launch it works fine...

C++ delete [] object causes crash

c++,class,object,crash,delete
I made a dynamic array of objects. When i call delete[] , program crashes and stops responding. But it does strange behavior: calls all destructors and crashes. look at this code and output. All the memory for all arrays is allocated. //main file #include "myobject.h" int size; myObject *foo; //some...

Where does Powershell ISE store tabs when it crashes?

windows,powershell,crash,powershell-ise
My Powershell ISE is crashing upon being launched; and I believe it is due to a tab/file that is being loaded when ISE returns from being exited incorrectly. As a result, I'm currently unable to launch ISE.. I'm looking for the file/location where Powershell ISE stores the tabs/files that are...

incompatible types when assigning to type 'char[50]' from type 'char *'

c,list,hyperlink,crash,delete
I am trying to create a link list. I have a function that deletes (delete function) stuff from my link list. But it seems to crash when I try to compare strings. It works up until the last random printf statement. Here is the code: #include <stdio.h> #include <stdlib.h> #include...

Trying to reload an Android activity from itself not working

android,crash,recreate
My problem is: I can't figure out a way to restart my activity from itself. For example in a game, if you die, there's a menu with an option to retry, which restart the stage instantly. That's exactly the case. As i have read from a lot of others answers...

C++ program crashes. Graph implementation

c++,pointers,crash
I'm trying to implement a Graph data structure which uses an adjacency list. To populate, I have to read data from a file. The file is a text file where the first line contains two numbers. The first is the number of vertices n and the second is the number...

Python IDLE crash on mac Snow Leopard

python,osx,crash,osx-snow-leopard,python-idle
I have a Mac OS X 10.6 64bit, the problem is simple: When I try to run something on the Python IDLE, it crashes. It crashes also when I try simply to copy/paste something. It's happening with all python versions I've tried: 2.5 2.6 2.7 and 3.3. I avoided this...

Visual Studio 2010 crashes, when running a edited solution

visual-studio-2010,crash
When i open a solution(specific project) in VS2010 and start with or without debugging ,it works fine but once i edit or add lines of code and then start the program ,it crashes . 1- Other Solutions are working fine . 2- Sometime it works fine , forexample two days...

SKProduct crash - only in store version of app

ios,swift,crash,skproduct
I have a swift app with below SKProduct code func validateProductIdentifiers() { let identifiers:NSSet = NSSet(array: kProductIdentifiers) let productRequest = SKProductsRequest(productIdentifiers: identifiers) productRequest.delegate = self productRequest.start() } func productsRequest(request: SKProductsRequest!, didReceiveResponse response: SKProductsResponse!) { let product:SKProduct = response.products[0] as SKProduct homeView!.stopActivityAnimating() loadBulletBuy() bulletBuy!.loadBuyData(response) } I have been testing this app...

Copying a 2D array to a dinamically allocated 2D array outside of the function

c,pointers,multidimensional-array,crash,copy
I have fullNames, which is a 2D array that has sorted full names in it and I want to copy its content into sortedNames, which is a 2D array that exists out side of this function. (I get ***sortedNames as a parameter). I dynamically allocated this array, but the copying...

Weird non-lisp errors with capturing labels with a lambda and `reduce`

lambda,crash,closures,common-lisp,allegro-cl
I stumbled across a very weird bug (?) while I was developing an application in Allegro Common Lisp, v9.0 for Windows. I do not get the regular lisp errors, instead I get system errors encapsulated in a lisp condition. I managed to create a simple test-case to reproduce the error...

How to debug a crash that occur even if there is breakpoint at line 1?

c++,debugging,crash
I'm working on a program but this program crashes no matter where I put a breakpoint ( even when it's before the first instruction in main() ). I use the very basic code::blocks. Do you know a method to debug it? If I set no breakpoint, main() is fully executed...

iOS app crash on launch using XCode debugger, runs fine without debugger

ios,xcode,debugging,crash,launch
When running the app on a device (iphone), it crashes at startup without any error messages. But if the device is not connected to xcode (not in debug mode), just open up the app, it runs fine. Same code runs perfect on simulator. Never seen this before, I guess something...

Android - admob banner crashes when setting back to visible

android,crash,admob
I'm displaying a SMART BANNER at the top of my game but only want it displayed in the frontend. Upon entering the game I call: GameMainActivity.mAdView.setVisibility (View.INVISIBLE); This works find and the game continues until the player dies. Then I call: GameMainActivity.mAdView.setVisibility (View.VISIBLE); Then it crashes. Is there more to...

Localycs iOS Crash

ios,exception,sdk,crash,localytics
I keep getting this issue in my Fabric crash log: Fatal Exception: NSInvalidArgumentException -[__NSCFNumber length]: unrecognized selector sent to instance 0xb0000000000a8d23 -[LLNetworkHandlerBase createRequestWithURL:installId:libraryVersion:customerId:] com.apple.main-thread APPNAME -[LLManagerBase syncExecuteBlock:] APPNAME -[LLAnalyticsManager applicationKey] APPNAME +[Localytics customerIdInMemory] APPNAME +[Localytics upload] Crashed: com.localytics.LLAnalyticsManager_queue -[LLNetworkHandlerBase...

Java throws out an exception where I think it shouldnt

java,exception,crash,try-catch
System.out.println("\nHow many sticks do you want?"); while(sticks==0){ try{ sticks=startInput.nextInt(); }catch(InputMismatchException e){ sticks=0; System.out.println("Please enter a valid number."); } sticks=startInput.nextInt(); } What I try to do: It asks for an int but when someone types in chars it should ask again instead of crashing....

Eclipse workspace corrupts on every single close

java,eclipse,crash
Every single time I close Eclipse, the workspace corrupts. The only thing that I can do to get back into the workspace is delete the .metadata folder, but after I do that I have to re-import all my projects. Switching the workspace to another folder doesn't work, as that one...

Crash while trying to sort a list

c,list,sorting,crash
I am learning C, so forgive me for any error. (and do the same for my bad english, since i am not english.) I have to sort a numerical int list. This is the pseudocode, on how it should work: /* it takes the minimum of the entire list and...

How to resolve an internet address?

iphone,xcode,crash
I have a problem: How can I convert (resolve) an ip address (like www.google.com) into ip address (array of byte)? I tried different code but every time the code crash if the address don't exist. There is a way to check also this? + (void) resolveIPAddress: (NSString*) dnsAddress { struct...

XNA - Reconnecting Content Project

visual-studio-2010,crash,xna,xna-4.0
I'm working with XNA 4 in VS2010. Recently a crash corrupted a .contentproj file of mine. So I deleted the content project inside VS, created a new one and repopulated it with the contents of the old one. However the new content project did not properly hook up to the...

Pointer casting leads to crash in c++

c++,pointers,casting,crash,virtual
#include <iostream> class Base { public: virtual void print() = 0; }; class Derived : public Base { public: void print() { std::cout << "test\n"; } }; Base* getBase (Derived* d) { return (Base*) d; } int main() { Derived* d; Base* b = getBase(d); b->print(); return 0; } This...

Piece of Javascript code causing unpredictable crashes in browsers

javascript,crash,cross-browser
There is some code a co-worker implemented a while back on a dev environment that we never got to test and implement into production, but now we are wanting to. Testing out the code I have no issues when using Chrome v43, or Firefox v37 on Ubuntu 12.04, however some...

iOS App Terminating with Uncaught NSException

ios,core-data,crash,nsexception
I'm new to iOS programming, and I was working through an older tutorial. As I run my app, I keep getting an error. It says, "uncaught exception of type NSException." I'm very lost, the following is from the debugger. 2015-05-06 18:55:11.118 Gilligizer[5728:196574] *** Terminating app due to uncaught exception 'NSInvalidArgumentException',...

how do we know if ios app is crashed in last launch?

ios,objective-c,xcode,crash,crash-reports
How do we know if ios app is crashed in last launch? I would like to reset some settings when app is launched and finds that app was crashed in last session. Like not to prompt for rating. ...

Unknown cause of crash in lambda function using Armadillo types

c++,lambda,crash,armadillo
EDIT: Updated code to make two functions more similar I have a problem using armadillo types in a lambda function, which causes a crash when something tries to read an invalid memory location. If I move the same expression into a normal function everything works smoothly. So, simple working example:...

Conversion of an iOS app to 64 bit causes crash on app launch

ios,objective-c,crash,64bit,arm64
I'm trying to convert an app from 32-bit app to 64-bit. I've had issues with TestFlight beta testers' apps crashing immediately, before the crash could be logged to TestFlight (or now, iTunes connect.) The app launch screen displays for a moment, and then a black screen is shown and the...

How to test iOS app like iTunesConnect?

ios,objective-c,xcode,crash,itunesconnect
I want to put my app online in AppStore, but ItunesConnect finds crash. When I test on Xcode it works fine, no crash. I symbolicated the crash log, but I would like to have the same result like ItunesConnect : crash. Does ItunesConnect have special configuration for testing app ?...

Predictable exit code of crashed process in Windows

c++,windows,crash,exit-code
For a process exiting normally in Windows, the exit code of the process is generally either the return value from main, or the exit code passed to std::exit. %ERRORLEVEL% can then be used to query the exit code, and that can be used to determine whether the program executed either...

Android Studio reload application inside application

android,android-studio,crash,reset
I've got an application which crashes when it is resumed. The application can go into the pause phase just fine, but once it is resumed, the application simply crashes. I want to make the application be able to restart itself when it is resumed. I don't want a full application...

ImageView Causing Crash

android,android-layout,crash,imageview,runtime-error
I am still fairly new to android development so any help is truly appreciated. I have an app that uses the light sensor to read the amount of light and display it on the screen. I am developing it on android studio. Under the title, which is a textView, is...

dyld: Symbol not found: _UITransitionContextFromViewControllerKey

ios,iphone,ios6,crash,dyld
I've been getting reports of my app crashing on load in iOS 6. It's built with the iOS 8 SDK and works fine on 7 & 8. I've just managed to get hold of an iOS 6 device to test and it does in fact crash on launch with the...

What is: Bad_dump!missing_teb (Windows Phone Dev Center Crash Log)

crash,windows-phone-8.1,out-of-memory,crash-reports,crash-dumps
The following 2 crashes are being reported as our WP 8.1 app's highest occurance crashes based on Window's developer center's crash logs. Any clue what they mean or how to debug them? I suspect 'out of memory' but would like to confirm. First: bad_dump!missing_teb BAD_DUMP_MISSING_MEMORY_MISSING_CLR_METADATA_bad_dump!missing_teb Second: bad_dump!missing_teb BAD_DUMP_MISSING_MEMORY_NULL_CLASS_PTR_READ_ZEROED_STACK_MISSING_CLR_METADATA_bad_dump!missing_teb ...

Xcode: App quits without error

ios,xcode,crash
I'm having a weird bug on Xcode (6.1.1). My app is exiting without an error. It's the same behavior that happens when we click on the stop button on Xcode. It seems that the exit() method is being called, but it's not. I already added an exception breakpoint, but could...

Swift REPL mode random crash with reflect

swift,reflection,crash,closures,read-eval-print-loop
After learning about reflect() to learn types dynamically, I started using it and getting this curious crash: # swift -version Swift version 1.1 (swift-600.0.56.1) Target: x86_64-apple-darwin14.1.0 # swift Welcome to Swift! Type :help for assistance. 1> println(reflect({1})) Swift._OpaqueMirror 2> reflect({1}) Segmentation fault: 11 HOWEVER: 1> reflect({1}).dynamicType $R0: MirrorType.Type = Swift._OpaqueMirror...

Android Fragment Simple Button [closed]

java,android,android-fragments,crash,fragment
Why is my application crashing on start up? I am trying to control layout elements from the Placeholder fragment. import android.support.v7.app.ActionBarActivity; import android.support.v7.app.ActionBar; import android.support.v4.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; import android.os.Build; import android.widget.Button; import android.widget.TextView; public class MainActivity extends...

Eclipse Luna stop working in Debian when pop-up open

eclipse,crash,debian,eclipse-luna,kali-linux
every time I go to the Eclipse-luna IDE and enter a line of code in a class that I created and code assist opens the pop-up with suggestions, stop working the eclipse and only runs again if I kill process and re-run the eclipse. My OS is the latest stable...

Github App for Mac crashes upon opening

osx,github,crash,repository
Downloaded the Github for Mac app and it crashes instantly upon opening. Here is the error report: Application Specific Information: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Received error from name: in binding for key path "currentActionViewModel" on : NSError { domain: GTGitErrorDomain, code: -12, description: "Failed to...

which process is sending SIGKILL

linux,crash,signals,dbus,sigkill
In my linux system I have a daemon which starts very early ( during bootup ). The daemon during boot-up is just initializing the g_dbus name. Specifically : guint id = g_bus_own_name ( G_BUS_TYPE_SESSION, DBUS_NAME, G_BUS_NAME_OWNER_FLAGS_NONE, bus_acquired_handler, name_acquired_handler, name_lost_handler, NULL, NULL); But to my surprize I always get this :...

Xcode 6.3.2 unexpectedly crashing on App Store submission

crash,xcode6.3
I was about to submit my app for TestFlight testers , the Xcode has crashed for 6th consecutive time and it is still crashing , I'm just hanged in the middle . Any suggestions what to do ? Thank you in advance for the help. Process: Xcode [1917] Path: /Applications/Xcode.app/Contents/MacOS/Xcode...