我最近收到了来自itunes connect的崩溃报告.实际上这是我从成千上万的用户那里得到的唯一崩溃报告.这是一台iPod4,1设备.有趣的部分是:
Date/Time: 2012-02-27 22:53:27.596 +0800
OS Version: iPhone OS 5.0.1 (9A405)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x338958bf __exceptionPreprocess + 163
1 libobjc.A.dylib 0x303891e5 objc_exception_throw + 33
2 UIKit 0x31259749 -[UIViewController mutableChildViewControllers] + 1
3 UIKit 0x31259349 -[UINavigationController pushViewController:animated:] + 37
4 MyApp 0x000081e5 -[MyListController tableView:didSelectRowAtIndexPath:] (MyListController.m:207)
5 UIKit 0x312d3565 -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 945
6 UIKit 0x3134bce7 -[UITableView _userSelectRowAtPendingSelectionIndexPath:] + 159
Run Code Online (Sandbox Code Playgroud)
当选择表视图中的行并将新视图控制器推入导航时,似乎发生崩溃.根据我的代码,新的视图控制器已经创建,因此发生了崩溃UINavigationController.
它看起来不像我写的代码的错误.我想知道我是否正确?我该如何调试此问题?
我在使Eclipse Luna工作时遇到了一些麻烦.我从eclipse网站下载了tar.gz,并下载了Java JDK的tar.gz.我提取了所有内容并且Eclipse正常打开,但是当我尝试创建一个新项目时,它就崩溃了.在终端我跑了java -version,它告诉我我有1.8.0_25版本,所以我认为我没有java的问题.现在,如果我尝试制作任何类型的项目,就会发生这种情况.Eclipse打开向导以创建特定类型的新项目,然后整个应用程序崩溃.当我开始这样做时,我将它安装在KDE桌面下.当Eclipse崩溃时,我收到了消息 java: /build/buildd/gtk2-engines-oxygen-1.4.5/src/animations/oxygencomboboxdata.cpp:87??: void Oxygen::ComboBoxData::setButton(GtkWidget*): Assertion '!_button._widget' failed.因此,我决定安装xfce桌面以解决它,因为氧气是KDE主题.我卸载了eclipse并在xfce下重新安装它,我有相同的行为和相同的错误.当我从命令行运行eclipse时,我在启动时遇到此异常:
java.lang.ClassCastException: org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast to java.lang.String
at org.eclipse.m2e.logback.configuration.LogHelper.logJavaProperties(LogHelper.java:26)
at org.eclipse.m2e.logback.configuration.LogPlugin.loadConfiguration(LogPlugin.java:189)
at org.eclipse.m2e.logback.configuration.LogPlugin.configureLogback(LogPlugin.java:144)
at org.eclipse.m2e.logback.configuration.LogPlugin.access$2(LogPlugin.java:107)
at org.eclipse.m2e.logback.configuration.LogPlugin$1.run(LogPlugin.java:62)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Run Code Online (Sandbox Code Playgroud)
有没有人对还有什么想法尝试?
我已经通过Selenium webdriver调用了新的实例firefox浏览器
driver = new FirefoxDriver();
Run Code Online (Sandbox Code Playgroud)
但是有一个错误
问题事件名称:APPCRASH
应用程序名称:firefox.exe应用程序版本:38.0.1.5611
应用程序时间戳:55540a1a故障模块名称:xul.dll故障模块版本:38.0.1.5611故障模块时间戳:55541969异常代码:c0000005异常偏移量:0035669b操作系统版本:6.1.7600.2.0.0.256.48地区ID:1033附加信息1:0a9e附加信息2:0a9e372d3b4ad19135b953a78882e789附加信息3:0a9e
附加信息4:0a9e372d3b4ad19135b953a78882e789在线阅读我们的隐私声明:http:
//go.microsoft.com/fwlink/?linkid = 104288&clcid = 0x400如果没有在线隐私声明,请离线阅读我们的隐私声明:C:\ Windows\system32\en-US\erofflps.txt
我必须单击关闭程序继续并显示firefox浏览器
Firefox 38 Selenium 2.45 windown 7 x64或windown 8 x64
谢谢
我刚刚使用这个官方说明安装了Crashlitycs .
我为Debug和Release以及禁用的Bitcode设置了调试信息格式为"DWARF with dSYM File"(有些人写道它可以提供帮助):
AppDelegate中:
Fabric.sharedSDK().debug = true
Fabric.with([Crashlytics.self])
Run Code Online (Sandbox Code Playgroud)
为了模拟我使用的崩溃
Crashlytics.sharedInstance().crash()
Run Code Online (Sandbox Code Playgroud)
和
var ggg: Int!
print(ggg)
Run Code Online (Sandbox Code Playgroud)
Crashlitics收集有关会话的一些信息.例如,它更新包版本信息:
所以与Crashlitics的联系起作用.但崩溃信息为空:
我正在使用XCode 8和iOS 9/10.我做错了什么?
编辑:
我在没有XCode调试器连接的模拟器和设备上测试过它(即从sumulator/device屏幕启动)
最后,我在崩溃后7-8小时收到了一些Crashlytics报告.我之前期待它们,因为根据文件:
在几分钟内,您应该会看到Fabric Dashboard上出现崩溃.
但是我没有收到我正在等待的所有崩溃.在我的实验中,我尝试了不同的方法来初始化Crashlytics:
Fabric.with([Crashlytics.self])
and
Fabric.with([Crashlytics.self()])
Run Code Online (Sandbox Code Playgroud)
可能是原因吗?我也发现了类似的未回答的问题.
我有一个将 HTML 字符串转换为NSAttributedString.
iOS 15 发布后,我看到了很多用户的崩溃情况。所有这些崩溃都发生在 iOS 15 上并且发生在主线程上。
这是来自 Crashlytics 的典型崩溃报告。
Crashed: com.apple.main-thread
0 libsystem_platform.dylib 0x1f29d60c0 _os_unfair_lock_recursive_abort + 36
1 libsystem_platform.dylib 0x1f29d0a10 _os_unfair_lock_lock_slow + 304
2 Foundation 0x183d5e730 -[NSProcessInfo(NSProcessInfoHardwareState) isLowPowerModeEnabled] + 68
3 WebCore 0x192011004 <redacted> + 56
4 CoreFoundation 0x182535ee8 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 28
5 CoreFoundation 0x1825d1b9c ___CFXRegistrationPost_block_invoke + 52
6 CoreFoundation 0x1825a4f54 _CFXRegistrationPost + 456
7 CoreFoundation 0x18254bd54 _CFXNotificationPost + 716
8 Foundation 0x183d50028 -[NSNotificationCenter postNotificationName:object:userInfo:] + 96
9 Foundation 0x183dc89d4 NSProcessInfoNotifyPowerState + 188 …Run Code Online (Sandbox Code Playgroud) 我有一个Ruby on Rails网站,可以对外部Web服务进行HTTP调用.
大约每天一次我得到一个SystemExit(下面的堆栈跟踪)错误电子邮件,其中对服务的调用失败.如果我稍后在我的网站上尝试完全相同的查询,它可以正常工作.自从该网站上线以来,它一直在发生,我没有找到导致它的原因.
Ruby是版本1.8.6,rails是版本1.2.6.
其他人有这个问题吗?
这是错误和堆栈跟踪.
发生了SystemExit /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/fcgi_handler.rb:116:in exit'/usr/local/lib/ruby/gems/1.8/gems/ rails-1.2.6/lib/fcgi_handler.rb:116:在exit_now_handler'/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/inflector.rb:250:into_proc '/usr/local/lib/ruby/1.8/net/protocol.rb:133:in调用'/usr/local/lib/ruby/1.8/net/protocol.rb:133:in sysread'/ usr/local/lib/ruby/1.8/net/protocol.rb:133:在rbuf_fill'/usr/local/lib/ruby/1.8/timeout.rb:56:in timeout'/usr/local/lib/ruby/1.8/timeout. rb:76:在超时'/usr/local/lib/ruby/1.8/net/protocol.rb:132:in rbuf_fill'/usr/local/lib/ruby/1.8/net/protocol.rb:116:in readuntil '/usr/local/lib/ruby/1.8/net/protocol.rb:126:in readline'/usr/local/lib/ruby/1.8/net/http.rb:2017:在read_status_line'/usr/local/lib/ruby/1.8/net/http.rb:2006:in read_new'/usr/local/lib/ruby/1.8/net/http.rb:1047:in request'/ usr/local/lib/ruby/1.8/net/http.rb:945:in request_get'/usr/local/lib/ruby/1.8/net/http.rb:380:in get_response'/ usr/local/lib/ruby/1.8/net/http.rb:543:在启动'/usr/local/lib/ruby/1.8/net/http.rb:379:in get_response'
有关此问题的更新 - 请参阅下文.
我经历了(可重现的,至少对我而言)jvm 崩溃(不是OutOfMemoryError)(崩溃的应用程序是eclipse 3.6.2).但是,查看崩溃日志让我想知道:
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 65544 bytes for Chunk::new
# Possible reasons:
# The system is out of physical RAM or swap space
# In 32 bit mode, the process size limit was hit
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap …Run Code Online (Sandbox Code Playgroud) 我使用以下命令运行以下脚本php.exe:
preg_replace('#(?:^[^\pL]*)|(?:[^\pL]*$)#u','',$string);
Run Code Online (Sandbox Code Playgroud)
或等同物:
preg_replace('#(?:^[^\pL]*|[^\pL]*$)#u','',$string);
Run Code Online (Sandbox Code Playgroud)
如果$string="S"或$string=" ?? " 它有效,如果 string='?'它产生?不正确,并且string='??'PHP崩溃.
但它适用于4.4.0 - 4.4.9,5.0.5 - 5.1.6版本.
怎么了 ?
见:http://3v4l.org/T3rpV
<?php
$string='??';
echo preg_replace('#(?:^[^\pL]*)|(?:[^\pL]*$)#u','',$string);
Run Code Online (Sandbox Code Playgroud)
输出为5.4.0 - 5.5.0alpha6
Run Code Online (Sandbox Code Playgroud)Process exited with code 139.输出为5.2.0 - 5.3.22,5.5.0beta1
输出为4.4.0 - 4.4.9,5.0.5 - 5.1.6
Run Code Online (Sandbox Code Playgroud)??输出为4.3.11,5.0.0 - 5.0.4
Run Code Online (Sandbox Code Playgroud)Warning: preg_replace(): Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 7 in /in/T3rpV on line 3输出为4.3.0 …
我在Xcode的"Crashes"部分检索到以下崩溃日志时遇到了一些问题.此崩溃报告仅影响少数设备.
我已经分析了这个问题,但我猜这是Apple框架上的一个错误.但我找不到复制它的方法.
这里有类似的讨论:在removeObserver中帮助崩溃:forKeyPath : .
任何提示?
线程0名称:线程0崩溃:
0基础
0x23507591 _NSKeyValueReplaceObservationInfoForObject + 69(NSKeyValueObserving.m:1166)1基金会
0x23506fe7 - [NSObject(NSKeyValueObserverRegistration)_removeObserver:forProperty:] + 327(NSKeyValueObserving.m:1552)2基础
0x23506b03 - [NSObject(NSKeyValueObserverRegistration)removeObserver:forKeyPath:] + 163(NSKeyValueObserving.m:1696)3基础
0x235069a7 - [NSObject(NSKeyValueObserverRegistration)removeObserver:forKeyPath:context:] + 219(NSKeyValueObserving.m:1663)4 ApplicationName 0x0002e233 - [Supervisor removeObjectObserver:forKeyPath:] + 115(Supervisor.m:344)
这里removeObjectObserver:forKeyPath:是
- (void) removeObjectObserver:(id)object forKeyPath:(NSString *)keyPath {
@try {
[object removeObserver:self forKeyPath:keyPath context:PrivateKVOContext];
} @catch (NSException *exception) { }
}
Run Code Online (Sandbox Code Playgroud) 如果未授予照片访问权限且请求权限的对象即将解除分配,应用程序将崩溃.
Apple的示例代码(用于Photos框架)也崩溃了.
我的应用程序崩溃了以下堆栈跟踪:
*** Terminating app due to uncaught exception 'NSObjectInaccessibleException', reason: 'This application is not allowed to access Photo data.'
*** First throw call stack:
(
0 CoreFoundation 0x000000010a324f65 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x000000010c030deb objc_exception_throw + 48
2 PhotoLibraryServices 0x000000011c1f7e2d -[PLPhotoLibrary initWithTransientContext:name:] + 1183
3 Photos 0x000000011bd6a445 __30-[PHPhotoLibrary photoLibrary]_block_invoke + 59
4 libdispatch.dylib 0x0000000110f5e49b _dispatch_client_callout + 8
5 libdispatch.dylib 0x0000000110f49e28 dispatch_once_f + 543
6 Photos 0x000000011bd6a404 -[PHPhotoLibrary photoLibrary] + 140
7 Photos 0x000000011bd3e5e8 -[PHCoreImageManager _cancelAndFlushPreheatItemsForAssets:CPLPrefetching:domain:operation:passingTestHandler:didCancelHandler:] + 174
8 …