Figure53 / F53FeedbackKit

Framework for sending feedback and system information reports from your Cocoa application.
Apache License 2.0
4 stars 3 forks source link

Crash when attaching a document #18

Closed c-had closed 6 years ago

c-had commented 6 years ago

Someone tried to submit feedback and attach a document, and we got a crash

Application Specific Information:
Performing @selector(send:) from sender NSButton 0x60800014ffc0
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSDictionaryM setObject:forKey:]: object cannot be nil (key: Document name.zip)'
abort() called
terminating with uncaught exception of type NSException

Application Specific Backtrace 1:
0   CoreFoundation                      0x00007fff451a06bb __exceptionPreprocess + 171
1   libobjc.A.dylib                     0x00007fff6c8a4942 objc_exception_throw + 48
2   CoreFoundation                      0x00007fff451e07cc _CFThrowFormattedException + 194
3   CoreFoundation                      0x00007fff450a7d45 -[__NSDictionaryM setObject:forKey:] + 997
4   F53FeedbackKit                      0x000000010933d6db __35-[FRDocumentList documentsToUpload]_block_invoke + 2006
5   libdispatch.dylib                   0x00007fff6d48964a _dispatch_call_block_and_release + 12
6   libdispatch.dylib                   0x00007fff6d481e08 _dispatch_client_callout + 8
7   libdispatch.dylib                   0x00007fff6d48ed15 _dispatch_queue_override_invoke + 880
8   libdispatch.dylib                   0x00007fff6d4839f9 _dispatch_root_queue_drain + 515
9   libdispatch.dylib                   0x00007fff6d4837a5 _dispatch_worker_thread3 + 101
10  libsystem_pthread.dylib             0x00007fff6d7d3169 _pthread_wqthread + 1387
11  libsystem_pthread.dylib             0x00007fff6d7d2be9 start_wqthread + 13

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fff6d60bd8a __semwait_signal + 10
1   libsystem_c.dylib               0x00007fff6d586724 nanosleep + 199
2   com.apple.Foundation            0x00007fff472d46e7 +[NSThread sleepForTimeInterval:] + 156
3   com.figure53.F53FeedbackKit     0x000000010933ce44 -[FRDocumentList documentsToUpload] + 457
4   com.figure53.F53FeedbackKit     0x00000001093384e7 -[FRMacFeedbackController parametersForFeedbackReport] + 1471
5   com.figure53.F53FeedbackKit     0x0000000109336f20 -[FRFeedbackController send:] + 792
6   com.figure53.F53FeedbackKit     0x000000010933f8ed -[FRMacFeedbackWindowController send:] + 79
7   com.apple.AppKit                0x00007fff42e44a43 -[NSApplication(NSResponder) sendAction:to:from:] + 312
8   com.apple.AppKit                0x00007fff428ea53f -[NSControl sendAction:to:] + 86

They then tried again after recovering, and it sent successfully, but the document was "Document name.qlab4.zip". Maybe something with hiding extensions?

r80582 / feedback 20752