crash

Exception For Sqlite Database Pragma?

若如初见. 提交于 2019-12-12 14:22:24
问题 I got this error when app was crashed i dont understand this error what this error said. here i put my crash log report from mail. check below for what i have used below method for open and close database i have define 2954 line for error private void Open_Database() { //this is 2954 line mDB_Helper = new DB_Helper(this); mSQLiteDatabase = mDB_Helper.getWritableDatabase(); } /* Closing DB */ private void Close_Database() { if (mSQLiteDatabase != null && mDB_Helper != null) { mSQLiteDatabase

System UI has stopped after update Android 5.1

╄→гoц情女王★ 提交于 2019-12-12 13:58:23
问题 [SOLVED] I am facing a big problem. My app works normally before update Android 5.1. After upgrading my Nexus 5 to Android 5.1, app works well. But my users, who have Nexus 6 devices, report that they got error "System UI has stopped" after upgrading to 5.1. I haven't never got this error before. I don't understand what happened. EDIT: I finally found out what happened. It is a bug of Android 5.1 with screen capture permission. If user selects "Don't show again" tick box of screen capture

Nested optimization should never be triggered. This is probably due to autolayout work happening inside an NSISVariable delegate callback

拈花ヽ惹草 提交于 2019-12-12 13:32:51
问题 App crashed and log gave me this message: "Nested optimization should never be triggered. This is probably due to autolayout work happening inside an NSISVariable delegate callback, which is not allowed." How to fix this? 回答1: Think I was updating UI in a background thread. Try putting: if ([NSThread isMainThread]) { NSLog(@"isMainThread"); } else { NSLog(@"isNotMainThread"); } next to UI updating lines, in order to find UI updates in background thread. Example: if ([NSThread isMainThread]) {

OpenAL application crashes/hangs when I pass non-nullptr to `alBufferData()` from native code

≡放荡痞女 提交于 2019-12-12 13:24:00
问题 I'm trying to play some sound on Android using OpenAL and C/C++. I'm using SDL framework. I keep getting mysterious crashes with alBufferData() even when my code is as simple as: ALuint buf, src; alGenBuffers(1, &buf); alGenSources(1, &src); uint8_t data[8000]{}; alBufferData(buf, AL_FORMAT_MONO8, data, 8000, 8000); alSourcei(src, AL_BUFFER, buf); alSourcePlay(src); Every time the program reaches alBufferData() it crashes or hangs. I'm not getting any kind of error message. Surprisingly

App crashes after receving phone call

帅比萌擦擦* 提交于 2019-12-12 12:34:11
问题 After I either receive a phone call or make one, (and other undocumented interruptions) my application gets a NullPointerException when resuming my activity. Can any explain to me where it is and/or how to fix it? When my activity resumes, it is calling onCreate it seems, and it is trying to execute something that is null after Resuming. How do I prevent onCreate() from being called? My activity seems to terminate when I press the call button, because when I try to debug this error, the

Android 6.0 Native tgkill Crash

我只是一个虾纸丫 提交于 2019-12-12 12:22:51
问题 I'm having this native crash from today. It has been reported on only Android 6.0. with the stacktrace: native: pc 0000000000049c34 /system/lib/libc.so (tgkill+12) native: pc 00000000000474cd /system/lib/libc.so (pthread_kill+36) native: pc 000000000001bbe3 /system/lib/libc.so (raise+10) native: pc 000000000001848d /system/lib/libc.so (__libc_android_abort+36) native: pc 00000000000164ec /system/lib/libc.so (abort+4) native: pc 0000000000331875 /system/lib/libart.so (_ZN3art7Runtime5AbortEv

LZMA SDK decompress for iOS (xcode) using too much RAM

南楼画角 提交于 2019-12-12 12:04:18
问题 I am trying to use the LZMA SDK in an iPhone/iPad app, my starting point was the LZMA example project for iPhone provided by Mo Dejong, available here: https://github.com/jk/lzmaSDK Original was here: http://www.modejong.com/iOS/lzmaSDK.zip (I tried both and I get the same result from both). The problem is that the extract uses as much RAM as the .7z contains uncompressed. In other words, say I have a 40MB compressed file, the uncompressed file is a binary sqlite DB that is about 250MB, it

Visual Studio soft-crashing when encountering XAML Errors in initialize

孤者浪人 提交于 2019-12-12 11:58:41
问题 I've been having some serious issues with Visual Studio 2010 as of late. It's been crashing in a peculiar way when I encounter certain types of XAML errors during the InitializeComponent() of a control/window. The program breaks and visual studio gears up like it's catching an exception (because it is) and then stops midway displaying a broken highlight in my XAML file with no details as to what is wrong. Example: There is not pop outs, or details Anywhere about what is wrong, only a

Java Randomly Crashing (Possible Culprite: ntdll.dll?)

痞子三分冷 提交于 2019-12-12 11:37:33
问题 I have a program that I've written in Java and have set up with Windows Task Scheduler to run every 5 minutes. It executes "C:\Program Files\Java\jre7\bin\javaw.exe" and passes along the jar file and all of the command-line parameters. For the most part, this runs perfectly fine, but every now and then, I would come back to my computer and see a popup saying that "Java(TM) Platform SE binary has stopped working". So, at first, I thought it was something to do with my code, and added in a lot

SKProductsRequest crashing app at startup with iOS 7.0.3

旧时模样 提交于 2019-12-12 11:12:33
问题 Reports of our app crashing started flooding in last night. Many users who upgraded to 7.0.3 had the app crash at startup. Analyzing the itunes crash logs it was due to the app getting killed for taking too long to startup. Apparently the call to check for available in-app purchases is what was causing the crash. We removed all in-app purchases from sale and now users are reporting that the app is now working. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions: