scrod / nv

Notational Velocity: modeless, mouseless Mac OS X note-taking application
http://notational.net
GNU General Public License v3.0
2.07k stars 404 forks source link

Testers needed: Crash in Lion while/after deleting notes and syncing to Simplenote #175

Open scrod opened 13 years ago

scrod commented 13 years ago

I'm informed that the following crash can occur after adding many notes, waiting for syncing to begin, and then deleting some of them. If anyone can reproduce this more reliably I'd appreciate your help.

You can use the build below for Simplenote synchronization on Lion: http://dl.dropbox.com/u/1886801/Notational_Velocity_2.0b4-10.7-compat.zip

Crashing on exception: fetcherForDeletingNote: got deleted note and couldn't find a key anywhere!

Application Specific Backtrace 1:
0   CoreFoundation                      0x00007fff96664e66 __exceptionPreprocess + 198
1   libobjc.A.dylib                     0x00007fff94e31dca objc_exception_throw + 43
2   CoreFoundation                      0x00007fff96664c9a +[NSException raise:format:arguments:] + 106
3   Foundation                          0x00007fff920ef610 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 169
4   Notational Velocity                 0x0000000100061fdc Notational Velocity + 401372
5   CoreFoundation                      0x00007fff966df6ad -[NSObject performSelector:withObject:] + 61
6   Notational Velocity                 0x0000000100061adc Notational Velocity + 400092
7   Notational Velocity                 0x000000010005cb3c Notational Velocity + 379708
8   CoreFoundation                      0x00007fff9663b02c __invoking___ + 140
9   CoreFoundation                      0x00007fff9663aec4 -[NSInvocation invoke] + 132
10  Notational Velocity                 0x000000010005ccd9 Notational Velocity + 380121
11  CoreFoundation                      0x00007fff966df6ad -[NSObject performSelector:withObject:] + 61
12  Notational Velocity                 0x00000001000623d8 Notational Velocity + 402392
13  Notational Velocity                 0x000000010005f78c Notational Velocity + 391052
14  Foundation                          0x00007fff9218fd22 ___NSURLConnectionDidReceiveResponse_block_invoke_1 + 125
15  Foundation                          0x00007fff920b0b73 _NSURLConnectionDidReceiveResponse + 85
16  CFNetwork                           0x00007fff94f6c3d7 _ZN19URLConnectionClient29_clientSendDidReceiveResponseEP14_CFURLResponsePNS_26ClientConnectionEventQueueE + 55
17  CFNetwork                           0x00007fff95023725 _ZN19URLConnectionClient26ClientConnectionEventQueue33processAllEventsAndConsumePayloadEP20XConnectionEventInfoI12XClientEvent18XClientEventParamsEl + 1053
18  CFNetwork                           0x00007fff95023849 _ZN19URLConnectionClient26ClientConnectionEventQueue33processAllEventsAndConsumePayloadEP20XConnectionEventInfoI12XClientEvent18XClientEventParamsEl + 1345
19  CFNetwork                           0x00007fff94f5e7af _ZN19URLConnectionClient13processEventsEv + 185
20  CFNetwork                           0x00007fff94f5e662 _ZN17MultiplexerSource7performEv + 212
21  CoreFoundation                      0x00007fff96605f4d __CFRunLoopDoSources0 + 253
22  CoreFoundation                      0x00007fff96605919 __CFRunLoopRun + 905
23  CoreFoundation                      0x00007fff96605356 CFRunLoopRunSpecific + 230
24  HIToolbox                           0x00007fff90829bdf RunCurrentEventLoopInMode + 277
25  HIToolbox                           0x00007fff908299d9 ReceiveNextEventCommon + 355
26  HIToolbox                           0x00007fff90829866 BlockUntilNextEventMatchingListInMode + 62
27  AppKit                              0x00007fff8ddfffd1 _DPSNextEvent + 659
28  AppKit                              0x00007fff8ddff8d6 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
29  AppKit                              0x00007fff8ddc453e -[NSApplication run] + 456
30  AppKit                              0x00007fff8ddbd33d NSApplicationMain + 860
31  Notational Velocity                 0x000000010000923c Notational Velocity + 37436
32  ???                                 0x0000000000000002 0x0 + 2
darrylhthomas commented 13 years ago

I'll try it out on Lion in the morning (or in a little bit if I catch a second wind).