crash

Understanding Crashlytics Crash Report (partial apply)

别说谁变了你拦得住时间么 提交于 2020-08-26 08:23:56
问题 Having trouble understanding a crash report in Crashlytics. I do not have much experience in analyzing crash report. Appreciate your help. This is the crash log: Crashed: com.apple.main-thread 0 My App 0x100f77180 specialized closure #1 in closure #1 in ConfirmItemCheckInViewController.doneButtonPressed() (ConfirmItemCheckInViewController.swift:175) 1 My App 0x100f77c94 partial apply for closure #1 in closure #1 in ConfirmItemCheckInViewController.doneButtonPressed()

Mysterious crash inside CoreAnalytics::Client / FrameworkConfiguration::init

[亡魂溺海] 提交于 2020-08-26 07:29:20
问题 I'm getting a strange crash that is proving difficult to debug. I can trigger it at will, immediately after launching my app, simply by pressing and releasing the Command key a couple of times; no other interaction with my app is needed. Needless to say, my app does not do anything when the command key changes state. Other keypresses also trigger the crash, actually, including letter keys; there's nothing special about Command except that it seems unlikely to have other side effects. The

CIFilter with CIQRCodeGenerator cause crash

强颜欢笑 提交于 2020-08-10 19:52:07
问题 I'm trying to generate QR code with following code : DispatchQueue.main.async { let image = generateQRCode(from: qrCodeString) } func generateQRCode(from string: String?) -> UIImage? { if let data = string?.data(using: .utf8, allowLossyConversion: false) { if let filter = CIFilter(name: "CIQRCodeGenerator") { filter.setValue(data, forKey: "inputMessage") let transform = CGAffineTransform(scaleX: 5, y: 5) if let output = filter.outputImage?.transformed(by: transform) { return UIImage(ciImage:

MapView by Here crashes when calling mapView.onCreate in a single Activity architecture

断了今生、忘了曾经 提交于 2020-08-10 13:39:14
问题 I'm using a single-activity architecture, with Fragments as screen, and using the Navigation component. In the first fragment, I initialize the map in onViewCreated and destroy it in onDestroyView. override fun onViewCreated(view: View, savedInstanceState: Bundle?) { super.onViewCreated(view, savedInstanceState) mapView.onCreate(savedInstanceState) loadMapScene() } override fun onDestroyView() { mapView?.onDestroy() super.onDestroyView() } From this fragment, user can navigate to another

Chrome OS Emulator is crashing on startup

为君一笑 提交于 2020-07-21 06:39:27
问题 I tried to debug my Android app on Chrome OS emulator in Android studio. This is the tutorial I followed: https://developer.android.com/topic/arc/emulator The problem is, it crashes on startup. If I try to launch it via terminal, I get this output: ./emulator -avd Pixelbook_beta_API_25 emulator: WARNING: encryption is off emulator: WARNING: Running on a system with less than 6 logical cores. Setting number of virtual cores to 1 qemu-system-x86_64: -usbdevice tablet: '-usbdevice' is deprecated

Chrome OS Emulator is crashing on startup

帅比萌擦擦* 提交于 2020-07-21 06:38:29
问题 I tried to debug my Android app on Chrome OS emulator in Android studio. This is the tutorial I followed: https://developer.android.com/topic/arc/emulator The problem is, it crashes on startup. If I try to launch it via terminal, I get this output: ./emulator -avd Pixelbook_beta_API_25 emulator: WARNING: encryption is off emulator: WARNING: Running on a system with less than 6 logical cores. Setting number of virtual cores to 1 qemu-system-x86_64: -usbdevice tablet: '-usbdevice' is deprecated

How does the Linux kernel compile debuginfo and debuginfo-common packages in kernel-ml-4.19.1-1.el7.elrepo.x86_64

寵の児 提交于 2020-07-10 10:24:52
问题 The production host has been restarted frequently recently, kdump has been started, vmcore has been obtained, and the root cause is ready to be analyzed by crash, but the debuginfo and debuginfo-common packages of the same kernel version should be installed. But I did not find this version debuginfo package from http://debuginfo.centos.org/7/x86_64/ How to compile the debuginfo and debuginfo-common packages of the Linux kernel? Need to compile the kernel: kernel-ml-4.19.1-1.el7.elrepo.x86_64

Activity crash lifecycle method - android

試著忘記壹切 提交于 2020-07-06 09:48:10
问题 I'm developing an app which in a case of crash, needs to save some data with the time of the crash. Now, I'm saving the data in onDestroy() like this: @Override protected void onDestroy() { saveState(); super.onDestroy(); } But whenever I crash my app on purpose, onDestroy() is not called and my data is not saved. My question is, how can I save my data on a crash? Which approach should I take? Because I need the time of the crash to be also saved, it's mandatory. 回答1: The