crash

Strange error when using “Double.NaN” and “double.MaxValue” in c#

跟風遠走 提交于 2019-12-24 15:42:58
问题 I have a function in my code like (C#, NET 3.5, Visual Studio 2008): public double function CalculateSomething() { ... double a = double.NaN; // Or double.MaxValue, with same behaviour ... } This function is called by the main class, like this: ... double res = o.CalculateSomething(); ... Although it looks like incredible (for me, it is) and ONLY on certain computers (only in 2 computers from 60) without anything special (WinXP SP3), if I use the "alias" (double.NaN or double.MaxValue) the

Ionic-3 Photo-library plugin crashes in iOS version 13. Unexpectedly found nil while unwrapping an Optional value: file

ぃ、小莉子 提交于 2019-12-24 15:31:39
问题 Ionic-3 Photo-library plugin crashes in iOS version 13. Works fine in iOS 12 version. Here is the log: 2019-09-30 12:03:03.878478+0530 destinate[453:135517] [core] "Error returned from daemon: Error Domain=com.apple.accounts Code=7 “(null)”" Fatal error: Unexpectedly found nil while unwrapping an Optional value: file /Volumes/Data/Projects/Destinate/destinate/platforms/ios/destinate/Plugins/cordova-plugin-photo-library/PhotoLibraryService.swift, line 314 2019-09-30 12:03:04.117471+0530

App Crashes When TextField is Empty

旧城冷巷雨未停 提交于 2019-12-24 14:52:46
问题 I have tried too many things but after pressing calculate(hesapla) button app crashes everytime. For example: if (vize1.getText().toString().equals("") || fina1.getText().toString().equals("") || sort1.getText().toString().equals("")){ islem_yazi.setText("FILL THE FIELDS"); } // IT DOESN'T WORK What should I write/do? import android.app.ActionBar; import android.content.SharedPreferences; import android.os.Bundle; import android.support.v7.widget.Toolbar; import android.text.TextUtils; import

Windows Phone 8 app randomly crashes with error code -2147220717 (0x80040313)

大憨熊 提交于 2019-12-24 14:27:52
问题 I am currently developing a stopwatch and timer app in C#/XAML for Windows Phone 8. While using my app on my phone, I found that it randomly closed out/crashed and that too at different points of use (i.e. I wasn't doing the same thing each time it closed out). While debugging, I found that my app closed out with the following error code in my output window: "The program '[1100] TaskHost.exe' has exited with code -2147220717 (0x80040313)." I am very confused as to why this is happening. I

XCode 9.3 WatchKit crash on WKInterfaceButton tap

一个人想着一个人 提交于 2019-12-24 13:33:36
问题 A button crashes on tap (watch simulator and real device) : Thread 1: EXC_BAD_ACCESS (code=1, address=0x0) inside the framework/function libswiftCore.dylib swift_getObjectType The button has a “ Sent Action ” defined in the storyboard , but no segue, other buttons work well, adding a segue to the button seems to resolve this issue. This occurs on Xcode 9.3 ( did not occur on previous versions) Any ideas? I want to understand whats causing the crash - hate leaving stuff unresolved. 来源: https:/

MySQL on Windows crashes on connection attempts

江枫思渺然 提交于 2019-12-24 13:23:55
问题 I have a windows application that I am making for a friend, but for some reason, when I try to connect, the app crashes. a message box pops up and says "DBTest hastopped working, windows is checking for a solution to the problem..." after 5 seconds, it closes and the app doesn't launch. However, when I comment out the info from the app, it works again, but only the app launches, and I can't connect anymore?? I checked the connection on MySQL workbench, and it lets me connect to the website's

Interpreting a crash log without references to App functions/classes

萝らか妹 提交于 2019-12-24 12:54:00
问题 I'm getting a "random" crash on my last application (around the 2% of the users seems to experience the crash) but I'm not able to find any useful info from the crash logs. It seems that I don't have any reference to my code and I find extremely difficult to understand what is going on and how this crash is generated... I paste here the relevant part of the crash log, any hints or thoughts about it? is there anything obvious that I'm missing ... Exception Type: EXC_CRASH (SIGABRT) Exception

Detect App Crash on Launch

限于喜欢 提交于 2019-12-24 12:38:19
问题 I saw a couple applications that detect whether an app crashed the last time it was used to encourage the user to report the bug. How can I do that? I tried this solution, but didn't get it to work in my swift project... An approach I thought of is to save something each time the app is about to be closed and then read the value when launching the app, I guess when the app crashes then it won't be able to save anything anymore, right? But, this is not very elegant. Is there a better way for

Exc_Bad_Access in alertview show

浪子不回头ぞ 提交于 2019-12-24 11:24:44
问题 Getting Exc_Bad_Access in UIAlertView show message. UIAlertView *systemAlert1 = [[UIAlertView alloc]initWithTitle:@"System message" message:@"note" delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil]; [systemAlert1 show]; **//Crashing on this line [EXC_BAD_ACCESS]** [systemAlert1 release]; Why i am getting this?? Please help 回答1: ANY UI stuff including the showing of alerts should be done on Main thread. If you are doing this on some other thread, it will definitely crash. 回答2: It may

Crash Log - need help to find the crash [closed]

喜夏-厌秋 提交于 2019-12-24 11:08:12
问题 This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 7 years ago . I am getting the following crash log and i can't find what makes the app cash. Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000,