V2EX BruceHong
BruceHong

BruceHong

  研发工程师
V2EX member #109381, joined on 2015-04-06 11:04:28 +08:00
BruceHong's recent replies
GWIT 九尾
回报率不够
15 plus
Sep 21, 2024
Replied to a topic by BruceHong Apple macos15 上 iterm2 闪退
error 没有判空
Sep 21, 2024
Replied to a topic by BruceHong Apple macos15 上 iterm2 闪退
看代码,找到原因了,你们看下谁能提交给 iterm2 官方修复下。
原因是:legacyApplicationSupportDirectory 函数 ELog 没有判空

- (NSString *)legacyApplicationSupportDirectory {
NSError *error;
NSString *result = [self findOrCreateDirectory:NSApplicationSupportDirectory
inDomain:NSUserDomainMask
appendPathComponent:@"iTerm"
error:&error];
if (!result) {
ELog(@"Unable to find or create application support directory:\n%@", error);
}
return result;
}


删除 ~/Library/Application Support/iTerm 即可。
Sep 19, 2024
Replied to a topic by BruceHong Apple macos15 上 iterm2 闪退
Process: iTerm2 [2999]
Path: /Applications/iTerm.app/Contents/MacOS/iTerm2
Identifier: com.googlecode.iterm2
Version: 3.5.4 (3.5.4)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2024-09-19 17:10:16.7540 +0800
OS Version: macOS 15.0 (24A335)
Report Version: 12
Anonymous UUID: CFAF19D7-2B0D-ADFD-3160-C2C4C6EC746C


Time Awake Since Boot: 250 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000066ebea78
Exception Codes: 0x0000000000000001, 0x0000000066ebea78

Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [2999]

VM Region Info: 0x66ebea78 is not in any region. Bytes before following region: 2651149704
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 104f14000-105a4c000 [ 11.2M] r-x/r-x SM=COW /Applications/iTerm.app/Contents/MacOS/iTerm2

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 CoreFoundation 0x185a28558 __CFStringAppendFormatCore + 10068
1 CoreFoundation 0x185b5df30 _CFStringCreateWithFormatAndArgumentsReturningMetadata + 184
2 CoreFoundation 0x185a25df8 _CFStringCreateWithFormatAndArgumentsAux2 + 44
3 iTerm2 0x105488280 AppendPinnedDebugLogMessage + 92
4 iTerm2 0x105488aa0 LogForNextCrash + 1044
5 iTerm2 0x10529c1cc -[NSFileManager(iTerm) legacyApplicationSupportDirectory] + 232
6 iTerm2 0x10548af90 +[iTermMigrationHelper migrateApplicationSupportDirectoryIfNeeded] + 104
7 iTerm2 0x105072e4c -[iTermApplicationDelegate applicationWillFinishLaunching:] + 636
8 CoreFoundation 0x185a6ef80 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148
9 CoreFoundation 0x185b00274 ___CFXRegistrationPost_block_invoke + 88
10 CoreFoundation 0x185b001bc _CFXRegistrationPost + 436
11 CoreFoundation 0x185a3d634 _CFXNotificationPost + 732
12 Foundation 0x186be5924 -[NSNotificationCenter postNotificationName:object:userInfo:] + 88
13 AppKit 0x1895aedcc -[NSApplication finishLaunching] + 248
14 AppKit 0x1895aea98 -[NSApplication run] + 252
15 AppKit 0x18958544c NSApplicationMain + 888
16 iTerm2 0x104f17e44 main + 132
17 dyld 0x185610274 start + 2840
Jun 1, 2024
Replied to a topic by BruceHong 全球工单系统 联通神操作
@Tufutogo 和 VOLTE 无关,是一个校园网服务问题,取消就好了
Sep 17, 2023
Replied to a topic by BruceHong 全球工单系统 联通神操作
@Jason404 确实换卡解决了,不知道什么原理
Sep 17, 2023
Replied to a topic by BruceHong 全球工单系统 联通神操作
@Jason404 我试试,感谢
About     Help     Advertise     Blog     API     FAQ     Solana     5551 Online   Highest 6679       Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 22ms UTC 03:10 PVG 11:10 LAX 20:10 JFK 23:10
Do have faith in what you're doing.
ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86