- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我的Monotouch iOS应用程序出现随机崩溃。使用该应用程序一段时间后会发生崩溃。它们也经常在锁定和解锁设备后发生。在此崩溃中出现了两个堆栈跟踪,这是:
0 ogaza 0x00003382 + 0
1 ogaza 0x00003fac + 0
2 libsystem_c.dylib 0x327e17ec _sigtramp + 48
3 libsystem_c.dylib 0x327d720e pthread_kill + 54
4 libsystem_c.dylib 0x327d029e abort + 94
5 ogaza 0x00684666 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 6626814
6 ogaza 0x005dc0ee _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 5937286
7 ogaza 0x005dc3b6 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 5937998
8 ogaza 0x006501a0 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 6412600
9 ogaza 0x00650f16 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 6416046
10 ogaza 0x00650fd8 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 6416240
11 ogaza 0x005e8244 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 5986780
12 ogaza 0x005e83f0 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 5987208
13 ogaza 0x005e70c2 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 5982298
14 ogaza 0x002ffd87 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 2938143
15 ogaza 0x004579eb _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 4346243
16 ogaza 0x00457d0b _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 4347043
17 ogaza 0x00458e73 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 4351499
18 ogaza 0x00457c17 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 4346799
19 ogaza 0x004577bb _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 4345683
20 ogaza 0x00415ed3 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 4077163
21 ogaza 0x00415abf _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 4076119
22 ogaza 0x004807db _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 4513651
23 ogaza 0x004801eb _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 4512131
24 ogaza 0x0046db27 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 4436671
25 ogaza 0x003fdc7b _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 3978259
26 ogaza 0x003ffacb _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 3986019
27 ogaza 0x0004d2a3 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 109115
28 ogaza 0x002aa467 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 2587647
29 ogaza 0x005d4172 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 5904650
30 ogaza 0x0064f996 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 6410542
31 ogaza 0x005bf8d6 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 5820526
32 CoreFoundation 0x3532f3fc -[NSObject performSelector:withObject:withObject:] + 52
33 UIKit 0x32e24e06 -[UIApplication sendAction:to:from:forEvent:] + 62
34 UIKit 0x32e24dc2 -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 30
35 UIKit 0x32e24da0 -[UIControl sendAction:to:forEvent:] + 44
36 UIKit 0x32e24b10 -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 492
37 UIKit 0x32e25448 -[UIControl touchesEnded:withEvent:] + 476
38 UIKit 0x32e17b86 _UIGestureRecognizerUpdate + 5222
39 CoreFoundation 0x353a9b1a __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 18
40 CoreFoundation 0x353a7d56 __CFRunLoopDoObservers + 258
41 CoreFoundation 0x353a80b0 __CFRunLoopRun + 760
42 CoreFoundation 0x3532b4a4 CFRunLoopRunSpecific + 300
43 CoreFoundation 0x3532b36c CFRunLoopRunInMode + 104
44 GraphicsServices 0x36fc7438 GSEventRunModal + 136
45 UIKit 0x32e37cd4 UIApplicationMain + 1080
46 ogaza 0x000712b3 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 256587
47 ogaza 0x003d7777 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 3821327
48 ogaza 0x002aa467 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 2587647
49 ogaza 0x005d4172 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 5904650
50 ogaza 0x0064f996 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 6410542
51 ogaza 0x006526ae _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 6422086
52 ogaza 0x00655fda _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 6436722
53 ogaza 0x005d8bce _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 5923686
54 ogaza 0x00695697 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 6696495
55 ogaza 0x00032bfb _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 915
0 ogaza 0x00003382 + 0
1 ogaza 0x00003fac + 0
2 libsystem_c.dylib 0x327e17ec _sigtramp + 48
3 ogaza 0x00053b8f _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 135975
4 ogaza 0x0047abff _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 4490135
5 ogaza 0x00406cdb _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 4015219
6 ogaza 0x002aa467 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 2587647
7 ogaza 0x005d4172 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 5904650
8 ogaza 0x0064f996 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 6410542
9 ogaza 0x005cc522 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 5872826
10 UIKit 0x32e4bb94 -[UIViewController _setViewAppearState:isAnimating:] + 144
11 UIKit 0x32ea5d84 -[UIViewController _endAppearanceTransition:] + 264
12 UIKit 0x32e68250 -[UINavigationController navigationTransitionView:didEndTransition:fromView:toView:] + 680
13 UIKit 0x32e67fa0 -[UINavigationTransitionView _notifyDelegateTransitionDidStopWithContext:] + 292
14 UIKit 0x32e67cba -[UINavigationTransitionView _cleanupTransition] + 650
15 UIKit 0x32e67a2e -[UINavigationTransitionView _navigationTransitionDidStop] + 62
16 UIKit 0x32e1eaaa -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 470
17 UIKit 0x32e243d4 -[UIViewAnimationState animationDidStop:finished:] + 52
18 QuartzCore 0x3222ac2e _ZN2CA5Layer23run_animation_callbacksEPv + 202
19 libdispatch.dylib 0x34264ee6 _dispatch_main_queue_callback_4CF$VARIANT$mp + 194
20 CoreFoundation 0x353a82ac __CFRunLoopRun + 1268
21 CoreFoundation 0x3532b4a4 CFRunLoopRunSpecific + 300
22 CoreFoundation 0x3532b36c CFRunLoopRunInMode + 104
23 GraphicsServices 0x36fc7438 GSEventRunModal + 136
24 UIKit 0x32e37cd4 UIApplicationMain + 1080
25 ogaza 0x000712b3 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 256587
26 ogaza 0x003d7777 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 3821327
27 ogaza 0x002aa467 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 2587647
28 ogaza 0x005d4172 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 5904650
29 ogaza 0x0064f996 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 6410542
30 ogaza 0x006526ae _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 6422086
31 ogaza 0x00655fda _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 6436722
32 ogaza 0x005d8bce _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 5923686
33 ogaza 0x00695697 _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 6696495
34 ogaza 0x00032bfb _ZNSt6vectorIhSaIhEEC2IPKhEET_S5_RKS0_ + 915
最佳答案
1.尝试在设备上调试,这是how to
2.尝试添加尝试进入点
public class Application
{
private static void Main(string[] args)
{
try
{
UIApplication.Main(args, null, "AppDelegate");
}
catch (Exception ex)
{
Logger.Error(ex);
}
}
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
AppDomain.CurrentDomain.UnhandledException += OnUnhandledException;
.....
}
private static void OnUnhandledException(object sender, UnhandledExceptionEventArgs e)
{
Logger.Error(e.ExceptionObject);
}
关于crash - Monotouch应用中的随机崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11936902/
在下图中,您可以看到在列表的 StyleStringElement 中,当快速滚动时标题呈现黑色。如果我旋转 ipad,列表会重新呈现并且没问题。 有变通办法吗? 最佳答案 不确定是什么问题,但之前已
如何将 UISegmentedControl 放入 MonoTouch.Dialog header 部分? 最佳答案 是的,您可以像操作任何常规 UIView 一样操作 Section 类的 Head
我正在使用 MonoTouch 构建一个 iPhone 应用程序,它从网络服务获取数据。 我遇到的麻烦是第一个屏幕显示了国家列表。当用户选择一个国家时,它应该只从网络服务中检索该选定国家的城市列表..
我正在使用 MonoTouch 开发一款仅限 iPad 的调查应用程序。使用 monotouch.dialog (mt.d),我发现构建这些界面可以很快,这太棒了。 但是...我还发现 mt.d 只能
我有一个标准 View ,顶部有一个导航栏。我还在它自己的源文件中设置了一个 Monotouch.Dialog。我四处寻找解决方案,但似乎找不到关于如何将 MTD 添加到普通 View 的明确答案。
我需要来自 monotouch-bindings 的 facebook api 包装器,所以我从 github 下载了 monotouch-bindings 的整个包. 我无法编译 facebook
关闭。这个问题需要更多focused .它目前不接受答案。 想改进这个问题吗? 更新问题,使其只关注一个问题 editing this post . 关闭 9 年前。 Improve this q
到目前为止,我发现的所有关于在 iPad/iPhone 应用程序中使用 Sqlite 数据库的代码示例都使用脚本在应用程序部署后创建数据库。 但是是否可以在 monotouch 中创建数据库、构建结构
我的应用程序在 MT 3.0 中运行良好。现在,当我升级时。当按钮位于 ContentView 中时,我看到错误。单击按钮时会发生崩溃。代码: public override UITableViewC
我已经决定开始编写一个 iPhone 应用程序并且来自 c# 背景,我想我会开始使用单声道进行开发。 虽然这个问题可能是主观的,但我希望您能提供一些指导。 使用这项技术开发我的应用是否安全,或者我应该
每次我尝试部署我的项目时,都会收到以下错误: Compiling to native code /Developer/MonoTouch/usr/bin/mtouch -sdkroot "/Appli
下面的代码给出了警告: Warning CS0618: MonoTouch.Dialog.Section.Add(System.Collections.Generic.IEnumerable)' is
在我用 MonoDevelop (3.0.3.5) 创建的解决方案中,我有 3 个项目: 带 UI 的 MonoTouch 项目, 带有 iOS 特定代码的 MonoTouch 库项目, 具有域模型的
我已经用模拟器简单地试用了 MT,并决定在加入开发计划的同时购买它。程序似乎可以在模拟器上运行,但当部署到我的(运行 5.1 的最新型号)iPad 上时,程序会在运行时立即崩溃。这是在做任何事情之前!
我希望能够捕捉图像(或从照片库中选择图像)并使用 Monotouch 将其上传到远程服务器。我不确定如何获取和编码图像或如何上传图像,而且我很难找到相关说明。你能帮我开始吗?谢谢你。 最佳答案 您要找
我是一名 .NET 开发人员,试图跨入 Objective-C iPhone 编程。我创建了我的第一个应用程序 - 只是一个包含多个 xib 的简单组合。 我刚刚接触到 MonoTouch,它可以让您
当 iPhone 或 iPad 应用程序抛出错误时,建议使用 Monotouch 获取报告数据的方法是什么? 最佳答案 我只是使用 Console.WriteLine 和一个围绕它的小包装器,这可以帮
在 iPhone/iPod 上的 Monotouch 中,如何检测是否有可用的互联网连接? 最佳答案 现在最好的方法是使用 Miguel de Icaza 的 GitHub 存储库中的此类: http
众所周知,Apple does not provide automatic garbage collection on the iPhone to prolong battery life 。然而据报
MonoTouch 总是与 C# 一起提及。该框架和工具集实际上仅限于 C#,还是其他 CLR 语言(如 IronRuby 和 F#)也可以工作? 最佳答案 它不仅限于 C#,但运行其他语言有一些注意
我是一名优秀的程序员,十分优秀!