The crash apparently takes place in the quick search functionality. I wonder, did you have anything in the search field (in the toolbar) at that point?
As I've seen this crash before (there are a few on the bug tracker) and I've never been able to discover anything wrong in the code, I suspect this is a bug in SearchKit. Very annoying. I've never been able to reproduce the crash myself though. I wouldn't really know a good alternative, except perhaps a search&replace of the .bib file in a plain text editor. Christiaan On 4 Mar 2009, at 10:25 AM, Rolf Schmolling wrote: > Hi, > > got me a crash today (no apparent data-loss) while trying to replace a > keyword with another. > > I wanted to replace "Eig. Promotion" with "Promotion" for > symplification. I used the Field Search & replace Script, having > selected all records with that particular keyword. Script started > dialog, asking for field, search and replace string then appeared to > start (no visible change) then Bibdesk crashed. > > The crash report is pasted in below. Any idea how to accomplish this > task differently? I am talking about 894 entries… > > Thanks a bunch, > > Rolf > > *** > Process: BibDesk [470] > Path: /Applications/TeX/BibDesk.app/Contents/MacOS/BibDesk > Identifier: edu.ucsd.cs.mmccrack.bibdesk > Version: 1.3.20 (1412) > Code Type: X86 (Native) > Parent Process: launchd [228] > > Date/Time: 2009-03-04 10:19:35.606 +0100 > OS Version: Mac OS X 10.5.6 (9G55) > Report Version: 6 > > Exception Type: EXC_BAD_ACCESS (SIGSEGV) > Exception Codes: KERN_INVALID_ADDRESS at 0x00000000c5aa65db > Crashed Thread: 10 > > Thread 0: > 0 com.apple.SearchKit 0x93a8eefc > TermUpdateCFSetEqualCallBack(void const*, void const*) + 12 > 1 com.apple.CoreFoundation 0x908238a5 __CFSetFindBuckets1b + > 293 > 2 com.apple.CoreFoundation 0x90823fbd CFSetGetValue + 141 > 3 com.apple.SearchKit 0x93a8bcc8 > TermIndex::DefaultInvertDocumentToUpdateSet(OpaqueIATextAnalysisRef*, > IADoc*, OpaqueIATextStreamRef*, unsigned long*) + 472 > 4 com.apple.SearchKit 0x93a8b9fc > TermIndex::AddDocInternal(IADoc*, unsigned int, > OpaqueIATextStreamRef*) + 1260 > 5 com.apple.SearchKit 0x93a87c10 > TIAIndex::Add(OpaqueIADocKeyRef*, OpaqueIATextStreamRef*, unsigned > char) + 144 > 6 com.apple.SearchKit 0x93a87a08 > IAIndexAddDocWithTextStream + 136 > 7 com.apple.SearchKit 0x93a87851 > SKIndexAddDocumentWithText + 273 > 8 edu.ucsd.cs.mmccrack.bibdesk 0x0015911a -[BDSKItemSearchIndexes > addPublications:] + 428 > 9 edu.ucsd.cs.mmccrack.bibdesk 0x00029b68 -[BibDocument > handleBibItemChangedNotification:] + 438 > 10 com.apple.Foundation 0x91e61e1a _nsnote_callback + 106 > 11 com.apple.CoreFoundation 0x907fe8da __CFXNotificationPost + > 362 > 12 com.apple.CoreFoundation 0x907febb3 > _CFXNotificationPostNotification + 179 > 13 com.apple.Foundation 0x91e5f080 -[NSNotificationCenter > postNotificationName:object:userInfo:] + 128 > 14 edu.ucsd.cs.mmccrack.bibdesk 0x0004ac41 -[BibItem > setField:toValue:] + 76 > 15 edu.ucsd.cs.mmccrack.bibdesk 0x000823e7 -[BDSKField setValue:] + > 100 > 16 com.apple.Foundation 0x91e83cee - > [NSObject(NSKeyValueCoding) setValue:forKey:] + 142 > 17 com.apple.Foundation 0x91fb0430 - > [NSObject(NSScriptingInternal) _scriptingSetValue:forKey:] + 112 > 18 com.apple.Foundation 0x92037de3 -[NSSetCommand > performDefaultImplementation] + 227 > 19 com.apple.Foundation 0x91f22815 - > [NSScriptingAppleEventHandler handleCommandEvent:withReplyEvent:] + > 389 > 20 com.apple.Foundation 0x91e8743f -[NSAppleEventManager > dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 655 > 21 com.apple.Foundation 0x91e8714f > _NSAppleEventManagerGenericHandler + 223 > 22 com.apple.AE 0x95f5a648 > aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned > char*) + 144 > 23 com.apple.AE 0x95f637be AESendMessage + 988 > 24 com.apple.AE 0x95f665ab aeSend + 173 > 25 com.apple.HIToolbox 0x93ee25af AESend + 85 > 26 com.apple.applescript 0x1efdb176 AEDefaultSendProc(AEDesc > const*, AEDesc*, long, short, long, unsigned char (*)(EventRecord*, > long*, OpaqueRgnHandle**), unsigned char (*)(EventRecord*, long, long, > AEDesc const*), long) + 60 > 27 com.apple.applescript 0x1efdedf9 ComponentSend(AEDesc > const*, AEDesc*, long, long) + 107 > 28 com.apple.applescript 0x1efed380 > TUASApplication::Send(TStackFrame_UASRemoteSend*, AEDesc*, AEDesc*, > unsigned char, unsigned char, unsigned char) + 2548 > 29 com.apple.applescript 0x1f008879 UASRemoteSend(unsigned > char, unsigned char, unsigned char, unsigned char, unsigned char, > unsigned char*) + 447 > 30 com.apple.applescript 0x1f000ada > UASRemoteSetData(TUASObjectAlias*, TUASApplication*, TUASValue*) + 144 > 31 com.apple.applescript 0x1f01500a UASSetData(unsigned > char, unsigned char) + 342 > 32 com.apple.applescript 0x1eff093c BCSetData() + 26 > 33 com.apple.applescript 0x1eff12f7 UASExecute1() + 2439 > 34 com.apple.applescript 0x1eff183c UASExecute(unsigned > char) + 178 > 35 com.apple.applescript 0x1efc309c ASExecute(unsigned long, > unsigned long, long, unsigned long*) + 302 > 36 ...ple.CoreServices.CarbonCore 0x92e4ed3d > CallComponentFunctionCommon + 537 > 37 ...ple.CoreServices.CarbonCore 0x92e942b4 CallComponentFunction + > 122 > 38 com.apple.applescript 0x1efbea9a AppleScriptComponent + > 1744 > 39 com.apple.applescript 0x1efda8df > AGenericManager::HandleOSACall(ComponentParameters*) + 63 > 40 ...ple.CoreServices.CarbonCore 0x92e4ea05 CallComponentDispatch > + 29 > 41 com.apple.openscripting 0x922c0040 OSAExecute + 61 > 42 com.apple.Foundation 0x91f4b58b - > [NSAppleScript(NSPrivate) _executeWithMode:andReturnError:] + 107 > 43 com.apple.Foundation 0x91f4b461 -[NSAppleScript > executeAndReturnError:] + 49 > 44 edu.ucsd.cs.mmccrack.bibdesk 0x000c3edd - > [BDSKScriptMenu(Private) executeScript:] + 666 > 45 com.apple.AppKit 0x9323353b -[NSApplication > sendAction:to:from:] + 112 > 46 edu.ucsd.cs.mmccrack.bibdesk 0x0012e3b4 -[BDSKApplication > sendAction:to:from:] + 236 > 47 com.apple.AppKit 0x932e217c -[NSMenu > performActionForItemAtIndex:] + 493 > 48 com.apple.AppKit 0x932e1e81 -[NSCarbonMenuImpl > performActionWithHighlightingForItemAtIndex:] + 220 > 49 com.apple.AppKit 0x932beb5a AppKitMenuEventHandler + > 6608 > 50 com.apple.HIToolbox 0x93dcf143 > DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, > HandlerCallRec*) + 1181 > 51 com.apple.HIToolbox 0x93dce57d > SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, > HandlerCallRec*) + 405 > 52 com.apple.HIToolbox 0x93deaed2 SendEventToEventTarget + > 52 > 53 com.apple.HIToolbox 0x93e1f23d > SendHICommandEvent(unsigned long, HICommand const*, unsigned long, > unsigned long, unsigned char, OpaqueEventTargetRef*, > OpaqueEventTargetRef*, OpaqueEventRef**) + 411 > 54 com.apple.HIToolbox 0x93e45a8f > SendMenuCommandWithContextAndModifiers + 59 > 55 com.apple.HIToolbox 0x93e45a4c > SendMenuItemSelectedEvent + 134 > 56 com.apple.HIToolbox 0x93e4595e > FinishMenuSelection(MenuData*, MenuData*, MenuResult*, MenuResult*, > unsigned long, unsigned long, unsigned long, unsigned char) + 162 > 57 com.apple.HIToolbox 0x93e224ec > MenuSelectCore(MenuData*, Point, double, unsigned long, > OpaqueMenuRef**, unsigned short*) + 640 > 58 com.apple.HIToolbox 0x93e21ed7 _HandleMenuSelection2 + > 383 > 59 com.apple.HIToolbox 0x93e21d4b _HandleMenuSelection + > 53 > 60 com.apple.AppKit 0x931fb50b _NSHandleCarbonMenuEvent > + 244 > 61 com.apple.AppKit 0x9316226a _DPSNextEvent + 1918 > 62 com.apple.AppKit 0x93161630 -[NSApplication > nextEventMatchingMask:untilDate:inMode:dequeue:] + 128 > 63 com.apple.AppKit 0x9315a66b -[NSApplication run] + > 795 > 64 com.omnigroup.OmniAppKit 0x003947f4 -[OAApplication run] + > 580 > 65 com.apple.AppKit 0x931278a4 NSApplicationMain + 574 > 66 edu.ucsd.cs.mmccrack.bibdesk 0x00003116 main + 576 > 67 edu.ucsd.cs.mmccrack.bibdesk 0x00002ebc _start + 210 > 68 edu.ucsd.cs.mmccrack.bibdesk 0x00002de9 start + 41 <snip> ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Bibdesk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bibdesk-users
