crash

UsbRequest.queue crashing Android 3.1 application

a 夏天 提交于 2019-12-19 10:31:37
问题 I'm developing an Android 3.1 application that uses USB Host mode to communicate with my keyboard (Korg M3) via MIDI over USB. This is running on my Xoom with Android 4.0.3 installed. I'm able to receive MIDI messages over USB without any problems, but sending note data back to my keyboard is having mixed success, with frequent crashes after a half-second delay. Here's the error I keep getting as I tap the button on the Action Bar to send a note: E/dalvikvm(6422): JNI ERROR (app bug):

What to: Collect Information When Software Crashes

天涯浪子 提交于 2019-12-19 08:57:19
问题 I notice that a lot of desktop apps ( such as Firefox, Google Chrome, VS 2008 etc) have a crash dump that can be sent to the software vendors for analysis purpose. I am intended to create such a crash dump myself. I am doing .Net What are the best practices when comes to what data to collect, so that the data collected is just enough to reproduce and fix the bugs, but nothing more? 回答1: I collect exception name, stack trace and ask customer what he was doing at time of crash. Usually that is

Application crash with no explanation

时光总嘲笑我的痴心妄想 提交于 2019-12-19 07:40:07
问题 I'd like to apologize in advance, because this is not a very good question. I have a server application that runs as a service on a dedicated Windows server. Very randomly, this application crashes and leaves no hint as to what caused the crash. When it crashes, the event logs have an entry stating that the application failed, but gives no clue as to why. It also gives some information on the faulting module, but it doesn't seem very reliable, as the faulting module is usually different on

Crashlytics iOS - Crash at line 0 - Swift sources

☆樱花仙子☆ 提交于 2019-12-19 06:59:33
问题 I'm currently facing a problem with some Swift source files when a crash occurs. Indeed, on Crashlytics I have a weird info about the line and the reason of the crash. It tells me the source has crashed at the line 0 and it gives me a SIGTRAP error. I read that this error occurs when a Thread hits a BreakPoint. But the problem is that this error occurs while I'm not debugging (application test from TestFlight). Here is an example when Crashlytics tells me there's a SIGTRAP Error at line 0 : /

Collect crash .dmp and .hdmp files after a crash of C++ service and a user-mode app

左心房为你撑大大i 提交于 2019-12-19 04:18:26
问题 I'm coding in C++/MFC using WinAPIs. My software consists of a local service and a user-mode app that provides user interface for a logged in Windows user. I'm looking for a way to collect .dmp and .hdmp files in case of crash in either of those modules. I know that WER supposedly collects them and submits them to Microsoft. Is there a way to collect those files and keep them somewhere on the hard drive? PS. I need this to work under Windows XP SP3, Vista, 7, 8. 回答1: Windows 2000 and XP

iPad app only shows black screen after updating to iOS4 SDK

浪子不回头ぞ 提交于 2019-12-19 04:11:00
问题 I just opened an iPad app I'd been working on and it was working fine, until now. I open it and the screen remains black, even after it's loaded! It's an OpenGL and I just downloaded the iOS4 SDK. I also added a provisioning profile. Would any of these changes result in a completely black screen with no error for no reason at all? It loads the MainWindow.xib but doesn't show it. It's thinking but doesn't register touch events. All this was working until now. 回答1: Solution: open your

NSFastEnumerationMutationHandler crash

六月ゝ 毕业季﹏ 提交于 2019-12-19 03:26:06
问题 Could anyone possibly help me here, why I am getting NSFastEnumerationMutationHandler crash all of a sudden in my code. I am all but blank why this crash poped up all of a sudden and how to squash this one. Thanks. 回答1: Crash Error: **** Terminating app due to uncaught exception 'NSGenericException', reason: ' * **Collection <__NSArrayM: 0x610000859410> was mutated while being enumerated .'* You must be trying to change an array while you using fast enumeration. Example for ( id anObject in

OpenCV 2.2 Windows XP MinGW build crashes on namedWindow, imshow

三世轮回 提交于 2019-12-19 03:18:58
问题 I downloaded the latest OpenCV 2.2 sources for Windows and compiled on Windows XP using MinGW 4.4.1, with the help of CMake 2.8. Everything went smoothly and compilation (mingw32-make) and installation (mingw32-make install) completed successfully. However, when I compile some code containing namedWindow() and imshow() functions of highgui, it compiles but the program crashes. The following single line of code crashes: namedWindow("img", CV_WINDOW_AUTOSIZE); The sample programs coming with

When saving recorded video that is too long, app crashes

二次信任 提交于 2019-12-19 03:12:07
问题 The problem: When saving a video that is recorded in my app, if the video size/duration is too big/long, my app crashes without a log/exception. My Setup: In my App I use a UIImagePickerController to record videos. Now I have noticed that if I make my videos very long in length (for example 30minutes with UIImagePickerControllerQualityTypeMedium, or more than a minute with UIImagePickerControllerQualityTypeIFrame1280x720), when saving the video, the app crashes. Sometimes with and sometimes

User control always crashes Visual Studio

柔情痞子 提交于 2019-12-18 15:31:41
问题 I'm trying to open a user control in one of our projects. It was created, I believe, in VS 2003, and the project has been converted to VS2008. I can view the code fine, but when I try to load the designer view, VS stops responding and I have to close it with the task manager. I have tried leaving it running for several minutes, but it does not do anything. I ran "devenv /log" but didn't see anything unusual in the log. I can't find a specific error message anywhere. Any idea what the problem