crash

In App Purchase Crashes on [[SKPaymentQueue defaultQueue] addPayment:payment]

喜你入骨 提交于 2019-12-18 11:00:31
问题 My In-App-Purchases work. I present a ModalView with a "Buy" UIButton. You click the button and the In App Purchase goes through the process. You can even do it several times in a row. The problem occurs if you open the Modal View, then close the Modal View (using a UITabBarButtonItem), then reopen the Modal View and tap the "Buy" button. The app crashes and I get an NSZombie that reads *** -[InAppPurchaseManager respondsToSelector:]: message sent to deallocated instance 0x1c7ad0 The NSZombie

How to troubleshoot .NET 2.0 Error Reporting messages in the event log?

孤人 提交于 2019-12-18 10:30:15
问题 I work on an open source product called EVEMon written in C# targeting the .NET 2.0 platform, I have one user who is suffering from a strange .NET crash that we have been unable to resolve. Event Type: Error Event Source: .NET Runtime 2.0 Error Reporting Event Category: None Event ID: 5000 Date: 4/29/2009 Time: 10:58:10 PM User: N/A Computer: removed this Description: EventType clr20r3, P1 evemon.exe, P2 1.2.7.1301, P3 49ea37c8, P4 system.windows.forms, P5 2.0.0.0, P6 4889dee7, P7 6cd3, P8 18

Android ActivityThread.reportSizeConfigurations causes app to freeze with black screen and then crash

百般思念 提交于 2019-12-18 10:07:42
问题 I have a crash in my app. It happens for a lot of users and its multiple places in ActivityThread.java method reportSizeConfigurations. I dont know what this is used for, and why it freezes. The freeze happens right after the splash screen (when the main activity is started) and is only happening on upgrading of the app. If you reinstall the application the problem goes away. Problem is, I cant tell all the users to reinstall the application... Does anyone know what might cause this and why?

During startup program exited with code 0xc0000139 [duplicate]

折月煮酒 提交于 2019-12-18 08:59:13
问题 This question already has answers here : Why are all my C++ programs exiting with 0xc0000139? (2 answers) Closed 2 years ago . UPDATE: This turned out to be a compiler issue (I was using MinGW ) so a workaround is switching to another compiler (in this case Cygwin ). The (original) question I'm a student starting to learn C++ by myself and I have come across a problem when trying to work with string This is my test code (the one that isn't working) #include <iostream> #include <string> using

Why am I getting a crash when exiting my Activity?

蓝咒 提交于 2019-12-18 07:44:49
问题 I am experiencing a crash in my app when I quit (via the back button) out of my Activity. So far as I can tell this is happening in the Android codebase and not mine, but I'm not completely convinced of that. Here's the stacktrace from adb: AndroidRuntime E Uncaught handler: thread main exiting due to uncaught exception AndroidRuntime E java.lang.RuntimeException: Unable to stop activity {MyApp/MyApp.MainActivity}: java.lang.NullPointerException AndroidRuntime E at android.app.ActivityThread

Why am I getting a crash when exiting my Activity?

依然范特西╮ 提交于 2019-12-18 07:44:33
问题 I am experiencing a crash in my app when I quit (via the back button) out of my Activity. So far as I can tell this is happening in the Android codebase and not mine, but I'm not completely convinced of that. Here's the stacktrace from adb: AndroidRuntime E Uncaught handler: thread main exiting due to uncaught exception AndroidRuntime E java.lang.RuntimeException: Unable to stop activity {MyApp/MyApp.MainActivity}: java.lang.NullPointerException AndroidRuntime E at android.app.ActivityThread

Why does WriteFile crash when writing to the standard output?

孤者浪人 提交于 2019-12-18 07:36:47
问题 Here's a "Hello world" program that uses WinAPI's WriteFile (compiled in Microsoft Visual C++ 2008 Express): int _tmain(int argc, _TCHAR* argv[]) { wchar_t str[] = L"Hello world"; HANDLE out = GetStdHandle(STD_OUTPUT_HANDLE); if(out && out!=INVALID_HANDLE_VALUE) { WriteFile(out, str, sizeof(str), NULL, NULL); CloseHandle(out); } return 0; } If executed in a console window, it happily greets the world. If you try to redirect its standard output, however, as in hello.exe > output.txt the

glGetTexImage reads too much data with texture format GL_ALPHA

一个人想着一个人 提交于 2019-12-18 07:04:50
问题 I'm trying to retrieve the pixel information for an alpha-only texture via glGetTexImage. The problem is, the glGetTexImage-Call seems to read more data than it should, leading to memory corruption and a crash at the delete[]-Call. Here's my code: int format; glGetTexLevelParameteriv(target,0,GL_TEXTURE_INTERNAL_FORMAT,&format); int w; int h; glGetTexLevelParameteriv(target,0,GL_TEXTURE_WIDTH,&w); glGetTexLevelParameteriv(target,0,GL_TEXTURE_HEIGHT,&h); if(w == 0 || h == 0) return false; if

IOS 8 iPad App Crashes When UIActivityViewController Is Called

江枫思渺然 提交于 2019-12-18 06:07:00
问题 When a UIActivityViewController is called on the iPhone in this app, it works perfectly, but when called on a iPad, the app crashes. Below is the code I used: func shareButtonPress() { //when the share button is pressed, default share phrase is added, cropped image of highscore is added var sharingItems = [AnyObject]() var shareButtonHighscore = NSUserDefaults.standardUserDefaults().objectForKey("highscore") as Int! sharingItems.append("Just hit \(shareButtonHighscore)! Beat it! #Swath")

Kubernetes api server is not starting on a single kubeadm cluster

寵の児 提交于 2019-12-18 05:25:08
问题 I'm trying to set up a bare-metal k8s cluster. When creating the cluster, using flannel plugin ( sudo kubeadm init --pod-network-cidr=10.244.0.0/16 ) - it seems that the API server doesn't even run: root@kubernetes-master:/# kubectl cluster-info Kubernetes master is running at https://192.168.10.164:6443 To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'. The connection to the server 192.168.10.164:6443 was refused - did you specify the right host or port? i've