crash

KVO crash on UITextField initWithFrame

≯℡__Kan透↙ 提交于 2020-01-14 03:25:07
问题 A customer of my app sent me this strange crash report and I cannot figure out how this could ever crash. I cannot reproduce the problem myself, so am reliant on the crash report. It crashes on the following very simple line of code: UITextField *value = [[UITextField alloc] initWithFrame:frame]; The crash seems to be related to key-value-observing (KVO), but I am not doing anything with that here; it's a simply constructor! The only possibility I could see, is that another thread is writing

Django, Javascript: Form injected into DOM via javascript innerHtml crashes google chrome tab on submit. Works in IE

僤鯓⒐⒋嵵緔 提交于 2020-01-13 16:23:29
问题 I have written a bookmarklet that receives a Django form and inserts it into the Dom via the innerHtml of a new div element created via javascript and appended to the body of an existing html document. The first submit is an ajax request (works fine), if the form is rejected by Django due to an unknown user, the submit function is unbound from ajax and resubmitted without ajax to a pop-up window to authenticate the user without CORS. The process works flawlessly in IE but crashes the chrome

Django, Javascript: Form injected into DOM via javascript innerHtml crashes google chrome tab on submit. Works in IE

不羁的心 提交于 2020-01-13 16:21:45
问题 I have written a bookmarklet that receives a Django form and inserts it into the Dom via the innerHtml of a new div element created via javascript and appended to the body of an existing html document. The first submit is an ajax request (works fine), if the form is rejected by Django due to an unknown user, the submit function is unbound from ajax and resubmitted without ajax to a pop-up window to authenticate the user without CORS. The process works flawlessly in IE but crashes the chrome

Eclipse keep closing suddenly

三世轮回 提交于 2020-01-13 11:02:07
问题 Recently I have lots of problems with eclipse, it keeps on crashing, closing abruptly, don't work well at all. It happens too much, like in every 10 -15 minutes. The CPU and RAM are 50% free when this happens. This is the eclipse.ini file: -startup plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120522-1813 -showsplash org.eclipse.platform --launcher.XXMaxPermSize --launcher.defaultAction openFile

C# ReadKey crashing console app when called using <nul

社会主义新天地 提交于 2020-01-13 09:22:09
问题 So I decided to start programming in C#, and one of the things I did was to create a "pausec.exe" (a pause.exe clone). It works, but when calling it like: < nul pausec ...it crashes. The error I get - translated from Spanish to the best of my knowledge - goes like this: Unhandled exception: System.InvalidOperationException: Can't read keys when any of the applications doesn't have a console or when the console input has been redirected from a file. Try with Console.Read. And the stacktrace

iOS crash: library not loaded mremap_encrypted

走远了吗. 提交于 2020-01-13 05:18:07
问题 The app review team says my app always crash on launch, they gave me some crash logs, looks like this: Dyld Error Message: Dyld Message: Library not loaded: @rpath/RestKit.framework/RestKit Referenced from: /var/mobile/Containers/Bundle/Application/EF2027CE-CEE4-4DB3-AC86-7AA3796FE67C/Udinn.app/Udinn Reason: no suitable image found. Did find: /private/var/mobile/Containers/Bundle/Application/EF2027CE-CEE4-4DB3-AC86-7AA3796FE67C/Udinn.app/Frameworks/RestKit.framework/RestKit: mremap_encrypted(

Why does connecting back to an iOS background NSURLSession take too long waiting on a lock, crashing the app?

拟墨画扇 提交于 2020-01-12 18:51:48
问题 Why would connecting with an NSURLSession through its configuration take so long that it would crash the app on start up: 'failed to launch in time'? I've seen similar crash dumps in many iOS apps including NY Times iOS app and Evernote app. [NSURLSession sessionWithConfiguration:configuration delegate:self delegateQueue:queue] Here's the stack trace: Thread 0: 0 libsystem_kernel.dylib 0x3afb7aa0 semaphore_wait_trap + 8 1 libdispatch.dylib 0x3af04d3d _dispatch_semaphore_wait_slow + 173 2

Visual studio 2008 crashes when starting to debug

∥☆過路亽.° 提交于 2020-01-12 18:21:32
问题 When I press F5, everything compiles fine, but when the app is to be started, VS crashes, showing the "Just in time debugger" dialog. More than one (similar) solution has this problem. A new solution containing just a form, works. This problem started out of the blue, I have made no changes to the environment as far as I can understand. I can start the app without debugging (ctrl+F5), and then attach the debugger. I'm using VS 2008 sp 1. 回答1: Never seen this issue, have you tried turning off

reloadRowsAtIndexPaths:withRowAnimation: crashes my app

最后都变了- 提交于 2020-01-12 06:36:46
问题 I got a strange problem with my UITableView: I use reloadRowsAtIndexPaths:withRowAnimation: to reload some specific rows, but the app crashes with an seemingly unrelated exception: NSInternalInconsistencyException - Attempt to delete more rows than exist in section. My code looks like follows: [self.tableView reloadRowsAtIndexPaths:[NSArray arrayWithObject:[NSIndexPath indexPathForRow:0 inSection:0]] withRowAnimation:UITableViewRowAnimationFade]; When I replace that reloadRowsAtIndexPaths

How to diagnose eclipse crashes?

两盒软妹~` 提交于 2020-01-12 04:39:49
问题 OMG, eclipse (it's Gallileo, but with previous versions I also had such problems) crashed again, silently as always. That can happen one time per week, but this is really annoying. All I have now is a crash log. Are there any ways of discovering the true reason of these crashes? Header of crash log, can't see anything useful: # # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d80f8d4, pid=1388, tid=3180 # # Java VM: Java