Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS的在[dateFormatter stringFromDate:[NSDate new]]崩溃了 #532

Open
hzx157 opened this issue Dec 19, 2024 · 0 comments
Open

iOS的在[dateFormatter stringFromDate:[NSDate new]]崩溃了 #532

hzx157 opened this issue Dec 19, 2024 · 0 comments

Comments

@hzx157
Copy link

hzx157 commented Dec 19, 2024

截屏2024-12-19 15 28 54

提示 malloc: Heap corruption detected, free list is damaged at 0x2807fe200
*** Incorrect guard value: 0

thread #181, queue = 'com.apple.root.default-qos'
frame #0: 0x00000001b14d7bf8 CoreFoundation_CFStringGetLength2 + 56 frame #1: 0x00000001ab8a1a54 Foundation-[NSString rangeOfString:] + 24
frame #2: 0x00000001057f9ef0 Logan-[Logan getThreadNum](self=0x000000028069f6e0, _cmd="getThreadNum") at Logan.m:237:26 frame #3: 0x00000001057f955c Logan-[Logan writeLog:logType:](self=0x000000028069f6e0, _cmd="writeLog:logType:", log=0x000000028348fc30, type=1) at Logan.m:167:21
frame #4: 0x00000001057f8bd0 Loganlogan(type=1, log=0x000000028348fc30) at Logan.m:80:5 frame #5: 0x00000001022f847c LDMobile__39+[LDLogan message:tag:state:file:line:]_block_invoke(.block_descriptor=) at LDLogan.m:15:9 [opt]
frame #6: 0x00000001064f8028 libdispatch.dylib_dispatch_call_block_and_release + 24 frame #7: 0x00000001064f9860 libdispatch.dylib_dispatch_client_callout + 16
frame #8: 0x00000001064fc048 libdispatch.dylib_dispatch_queue_override_invoke + 924 frame #9: 0x000000010650baa4 libdispatch.dylib_dispatch_root_queue_drain + 356
frame #10: 0x000000010650c414 libdispatch.dylib_dispatch_worker_thread2 + 208 frame #11: 0x00000001f9eccb14 libsystem_pthread.dylib_pthread_wqthread + 224

  • thread 200, queue = 'com.dianping.logan', stop reason = EXC_BAD_ACCESS (code=1, address=0x380000010)
    frame 0: 0x00000001aa83e014 libobjc.A.dylibobjc_msgSend + 20 frame 1: 0x00000001ab8e14b0 Foundation-[NSDateFormatter stringForObjectValue:] + 212
    • frame 2: 0x00000001057fce50 Logan+[Logan currentDate](self=0x000000010586d1c8, _cmd="currentDate") at Logan.m:529:12 frame 3: 0x00000001057f9728 Logan__26-[Logan writeLog:logType:]_block_invoke(.block_descriptor=0x00000002822b8c00) at Logan.m:179:27
      frame 4: 0x00000001064f8028 libdispatch.dylib_dispatch_call_block_and_release + 24 frame 5: 0x00000001064f9860 libdispatch.dylib_dispatch_client_callout + 16
      frame 6: 0x00000001065009bc libdispatch.dylib_dispatch_lane_serial_drain + 688 frame 7: 0x0000000106501634 libdispatch.dylib_dispatch_lane_invoke + 424
      frame 8: 0x000000010650d158 libdispatch.dylib_dispatch_workloop_worker_thread + 696 frame 9: 0x00000001f9eccb50 libsystem_pthread.dylib_pthread_wqthread + 284
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant