Apache OpenOffice (AOO) Bugzilla – Issue 103845
OOoSpotlightImporter.mdimporter causes mdworker to repeatedly crash
Last modified: 2013-08-22 17:08:04 UTC
Expected Results: Expect spotlight index to be rebuilt in a timely manner, and for searches to work correctly. Actual Results: During rebuild, witness mdworker processes quitting and relaunching along with crashreporter writing out multiple instances of crashes over the course of 30 minutes. Did not recover on its own, and therefore does not create an index that is accurate or complete. Some searches fail to find files in plain sight. Regression: Crash log indicates something to do with the OpenOffice spotlight importer, OOoSpotlightImporter.mdimporter. Opened the package contents to find the import and tossed it alone into the trash. Problem resolved. This bug has been filed with Apple as BUG ID: 6483763 "mdworker constantly crashing"
@ pl: Please have a look.
tentative target @hi: can you confirm this ?
@chrismurphy: What OS version(s) did you really test?
At the time I had tested mac OS X 10.5.x. Today I have 10.6.1, and I have downloaded OO 3.1.1 and the problem remains. Console, system.log reports numerous instances of the following two events: Oct 16 12:20:25 mingisapsycho com.apple.launchd[1] (0x10051c410.mach_init.mdworker32[297]): Job appears to have crashed: Bus error Oct 16 12:20:25 mingisapsycho com.apple.ReportCrash.Root[287]: 2009-10-16 12:20:25.815 ReportCrash[287:512b] Saved crash report for mdworker32[297] version ??? (???) to /Library/Logs/DiagnosticReports/mdworker32_2009-10- 16-122025_localhost.crash A copy of that crash log follows: Process: mdworker32 [297] Path: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/ Metadata.framework/Versions/A/Support/mdworker32 Identifier: mdworker32 Version: ??? (???) Code Type: X86 (Native) Parent Process: launchd [1] PlugIn Path: /Applications/OpenOffice.org.app/Contents/Library/Spotlight/OOoSpotlightImp orter.mdimporter/Contents/MacOS/OOoSpotlightImporter PlugIn Identifier: org.openoffice.mdimporter PlugIn Version: ??? (1.0) Date/Time: 2009-10-16 12:20:25.665 -0400 OS Version: Mac OS X 10.6.1 (10B504) Report Version: 6 Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000020 Crashed Thread: 3 Application Specific Information: objc_msgSend() selector name: release Thread 0: Dispatch queue: com.apple.main-thread 0 libSystem.B.dylib 0x911bd7da mach_msg_trap + 10 1 libSystem.B.dylib 0x911bdf47 mach_msg + 68 2 com.apple.CoreFoundation 0x90052dbf __CFRunLoopRun + 2447 3 com.apple.CoreFoundation 0x90051d34 CFRunLoopRunSpecific + 452 4 com.apple.CoreFoundation 0x900577a4 CFRunLoopRun + 84 5 mdworker32 0x0000a7e7 0x1000 + 38887 6 mdworker32 0x00002bfd 0x1000 + 7165 Thread 1: Dispatch queue: com.apple.libdispatch-manager 0 libSystem.B.dylib 0x911e403a kevent + 10 1 libSystem.B.dylib 0x911e4768 _dispatch_mgr_invoke + 215 2 libSystem.B.dylib 0x911e3bf9 _dispatch_queue_invoke + 183 3 libSystem.B.dylib 0x911e398a _dispatch_worker_thread2 + 234 4 libSystem.B.dylib 0x911e3401 _pthread_wqthread + 390 5 libSystem.B.dylib 0x911e3246 start_wqthread + 30 Thread 2: 0 libSystem.B.dylib 0x911e3092 __workq_kernreturn + 10 1 libSystem.B.dylib 0x911e3628 _pthread_wqthread + 941 2 libSystem.B.dylib 0x911e3246 start_wqthread + 30 Thread 3 Crashed: 0 libobjc.A.dylib 0x9253b917 objc_msgSend + 23 1 com.apple.CoreFoundation 0x9003af10 __CFBasicHashStandardCallback + 384 2 com.apple.CoreFoundation 0x9003ab1e __CFBasicHashDrain + 478 3 com.apple.CoreFoundation 0x90022bab _CFRelease + 363 4 com.apple.CoreFoundation 0x9004f5bd _CFAutoreleasePoolPop + 253 5 com.apple.Foundation 0x95e3de62 NSPopAutoreleasePool + 76 6 com.apple.Foundation 0x95e3ecbe -[NSAutoreleasePool release] + 130 7 org.openoffice.mdimporter 0x000d3e6d GetMetadataForFile + 400 (GetMetadataForFile.m:72) 8 mdworker32 0x00007cdc 0x1000 + 27868 9 mdworker32 0x0000b895 0x1000 + 43157 10 libSystem.B.dylib 0x911eaf39 _pthread_start + 345 11 libSystem.B.dylib 0x911eadbe thread_start + 34 Thread 3 crashed with X86 Thread State (32-bit): eax: 0x00309740 ebx: 0x9002294d ecx: 0x983df260 edx: 0x00000000 edi: 0x003096f0 esi: 0x00309740 ebp: 0xb01839b8 esp: 0xb0183998 ss: 0x0000001f efl: 0x00010202 eip: 0x9253b917 cs: 0x00000017 ds: 0x0000001f es: 0x0000001f fs: 0x0000001f gs: 0x00000037 cr2: 0x00000020 Binary Images: 0x1000 - 0x38ff7 mdworker32 ??? (???) <51C5C297-05CA-2109-E303- D1FED042074A> /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.fr amework/Versions/A/Support/mdworker32 0xd1000 - 0xd5fff +org.openoffice.mdimporter ??? (1.0) /Applications/OpenOffice.org.app/Contents/Library/Spotlight/OOoSpotlightImp orter.mdimporter/Contents/MacOS/OOoSpotlightImporter 0x8fe00000 - 0x8fe4162b dyld 132.1 (???) <211AF0DD-42D9-79C8-BB6A- 1F4BEEF4B4AB> /usr/lib/dyld 0x90016000 - 0x9018dfef com.apple.CoreFoundation 6.6 (550) <193E33D6- 2E92-3452-773B-60A1A9CCC573> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoun dation 0x901f6000 - 0x901f9fe7 libmathCommon.A.dylib ??? (???) <1622A54F- 1A98-2CBE-B6A4-2122981A500E> /usr/lib/system/libmathCommon.A.dylib 0x901fa000 - 0x90297ff3 com.apple.LaunchServices 360.3 (360.3) <C8590D53-E46A-F58A-7CF2-03A8159D8569> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/ LaunchServices.framework/Versions/A/LaunchServices 0x902a3000 - 0x9033ffe7 com.apple.ApplicationServices.ATS 4.0 (???) <81700C90-2614-F7E2-CC6A-B01C24A2BD75> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frame works/ATS.framework/Versions/A/ATS 0x904c1000 - 0x9059bfff com.apple.DesktopServices 1.5.1 (1.5.1) <D9C18268-699B-A996-1035-4EA3695F4074> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A /DesktopServicesPriv 0x9059c000 - 0x905a9ff7 com.apple.NetFS 3.2 (3.2) <E6FD80B0-0238- 0C42-A3EC-EBDEC107A1C3> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS 0x90741000 - 0x90752ff7 com.apple.LangAnalysis 1.6.5 (1.6.5) <E77440D0- 76EE-EB4C-3D00-9EDE417F13CF> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frame works/LangAnalysis.framework/Versions/A/LangAnalysis 0x90753000 - 0x90767ffb com.apple.speech.synthesis.framework 3.10.35 (3.10.35) <57DD5458-4F24-DA7D-0927-C3321A65D743> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frame works/SpeechSynthesis.framework/Versions/A/SpeechSynthesis 0x90d3e000 - 0x90d84ff7 libauto.dylib ??? (???) <FAB17F30-A28B-E33D- 6E21-C7119C9C83ED> /usr/lib/libauto.dylib 0x90d85000 - 0x90e16fe3 com.apple.print.framework.PrintCore 6.0 (312) <C588530A-0F2C-DD72-E308-3B8735125189> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frame works/PrintCore.framework/Versions/A/PrintCore 0x9105e000 - 0x91062ff7 libGIF.dylib ??? (???) <51848EBF-27D4-0F85- C22A-D1AE10D328F3> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frame works/ImageIO.framework/Versions/A/Resources/libGIF.dylib 0x91181000 - 0x911b4ff7 com.apple.AE 496 (496) <B638FDD4-7322-F0E4- ACEB-777D8A1399E1> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/ AE.framework/Versions/A/AE 0x911bd000 - 0x91361feb libSystem.B.dylib ??? (???) <E58B649F-FFDC-AB09- 2028-8B706BEF7C0F> /usr/lib/libSystem.B.dylib 0x9146c000 - 0x91494ff7 libxslt.1.dylib ??? (???) <769EF4B2-C1AD-73D5- AAAD-1564DAEA77AF> /usr/lib/libxslt.1.dylib 0x914dd000 - 0x91584fe7 com.apple.CFNetwork 454.4 (454.4) <7C563385- 9893-3B48-8607-5BC81DA2C4CF> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/ CFNetwork.framework/Versions/A/CFNetwork 0x91585000 - 0x91599fe7 libbsm.0.dylib ??? (???) <14CB053A-7C47-96DA- E415-0906BA1B78C9> /usr/lib/libbsm.0.dylib 0x915a1000 - 0x915deff7 com.apple.SystemConfiguration 1.10 (1.10) <897AEEAF-CF5D-2843-C33B-31A0A7C98A6A> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/Syst emConfiguration 0x91631000 - 0x91e12497 com.apple.CoreGraphics 1.535.5 (???) <0B93D29C-D957-AD00-10F3-94112D75D6D9> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frame works/CoreGraphics.framework/Versions/A/CoreGraphics 0x9215c000 - 0x921dcfeb com.apple.SearchKit 1.3.0 (1.3.0) <9E18AEA5- F4B4-8BE5-EEA9-818FC4F46FD9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/ SearchKit.framework/Versions/A/SearchKit 0x922a5000 - 0x922ffff7 com.apple.framework.IOKit 2.0 (???) <7618DDEC- 2E3B-9C6E-FDC9-15169E24B4FB> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x92300000 - 0x92482fe7 libicucore.A.dylib ??? (???) <FBB66376-CBA9- 8149-A1AA-10AB8578C3B3> /usr/lib/libicucore.A.dylib 0x92483000 - 0x924f2ff7 libvMisc.dylib ??? (???) <59243A8C-2B98-3E71- 8032-884D4853E79F> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/ve cLib.framework/Versions/A/libvMisc.dylib 0x924f3000 - 0x92535fe7 libvDSP.dylib ??? (???) <8F8FFFB3-81E3-2969- 5688-D5B0979182E6> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/ve cLib.framework/Versions/A/libvDSP.dylib 0x92536000 - 0x925e3fe7 libobjc.A.dylib ??? (???) <410DD065-A18F-F054- 0457-65525F4D1039> /usr/lib/libobjc.A.dylib 0x9260f000 - 0x92660ff7 com.apple.HIServices 1.8.0 (???) <B8EC13DB-A81A- 91BF-8C82-66E840C64C91> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frame works/HIServices.framework/Versions/A/HIServices 0x92821000 - 0x9282ffe7 libz.1.dylib ??? (???) <7B7A02AB-DA99-6180- 880E-D28E4F9AA8EB> /usr/lib/libz.1.dylib 0x92830000 - 0x9289afe7 libstdc++.6.dylib ??? (???) <411D87F4-B7E1- 44EB-F201-F8B4F9227213> /usr/lib/libstdc++.6.dylib 0x92b13000 - 0x92b73fe7 com.apple.CoreText 3.0.0 (???) <8F4FCAE2-8E6F- F0DE-A6AA-15D0228B7F13> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frame works/CoreText.framework/Versions/A/CoreText 0x92e3d000 - 0x92e61ff7 libJPEG.dylib ??? (???) <265DBF67-994E-E320- 4CB1-9C3DE792C3B2> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frame works/ImageIO.framework/Versions/A/Resources/libJPEG.dylib 0x9319e000 - 0x931aaff7 libkxld.dylib ??? (???) <152C8DBB-0149-5827- 3240-E57CA85CFE5F> /usr/lib/system/libkxld.dylib 0x9333a000 - 0x9333aff7 com.apple.ApplicationServices 38 (38) <8012B504- 3D83-BFBB-DA65-065E061CFE03> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Applic ationServices 0x9333b000 - 0x93384fe7 libTIFF.dylib ??? (???) <6EF87001-6FB4-1405- C588-F6D8042D3534> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frame works/ImageIO.framework/Versions/A/Resources/libTIFF.dylib 0x93999000 - 0x93a31fe7 edu.mit.Kerberos 6.5.8 (6.5.8) <BA9BD282-FF56- 3BFD-E78C-7DBE73B48480> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos 0x93a32000 - 0x93a33ff7 com.apple.TrustEvaluationAgent 1.0 (1) <71E2DA16-83EC-6056-FFEE-862A04B5599F> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/ A/TrustEvaluationAgent 0x93a35000 - 0x93addff7 com.apple.QD 3.31 (???) <40FCAC85-4E4F-2290- 90D4-F66D550ADFDC> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frame works/QD.framework/Versions/A/QD 0x94ef6000 - 0x95158ff3 com.apple.security 6.0 (36910) <F045B57C-054F- F06F-EF7E-EABEC2700274> /System/Library/Frameworks/Security.framework/Versions/A/Security 0x959ef000 - 0x95aa8fe7 libsqlite3.dylib ??? (???) <16CEF8E8-8C9A-94CD- EF5D-05477844C005> /usr/lib/libsqlite3.dylib 0x95ba1000 - 0x95ca2fe7 libxml2.2.dylib ??? (???) <C242A74D-280A-90C3- 3F79-891624AA45D2> /usr/lib/libxml2.2.dylib 0x95e36000 - 0x95e38ff7 libRadiance.dylib ??? (???) <0E03CF64-0931-7B9A- F617-4387B809D6D8> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frame works/ImageIO.framework/Versions/A/Resources/libRadiance.dylib 0x95e39000 - 0x95e39ff7 com.apple.CoreServices 44 (44) <AC35D112-5FB9- 9C8C-6189-5F5945072375> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices 0x95e3a000 - 0x960aaffb com.apple.Foundation 6.6 (751) <A61B645E-1A15- 5BCA-3043-C8AB85C6AD30> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation 0x961e7000 - 0x965fdff7 libBLAS.dylib ??? (???) <C4FB303A-DB4D-F9E8- 181C-129585E59603> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/ve cLib.framework/Versions/A/libBLAS.dylib 0x9664c000 - 0x96667ff7 libPng.dylib ??? (???) <38DD4AA1-0643-85A0- F2F5-EE9269729975> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frame works/ImageIO.framework/Versions/A/Resources/libPng.dylib 0x96668000 - 0x9669cff7 libcups.2.dylib ??? (???) <9078BA07-DEE1-6597- D15D-7BE3A20CB5A0> /usr/lib/libcups.2.dylib 0x9682f000 - 0x968e1ffb libFontParser.dylib ??? (???) <EB089832-660F- 0B34-3AC8-CCDA937987D9> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frame works/ATS.framework/Versions/A/Resources/libFontParser.dylib 0x96ad3000 - 0x96b9dfef com.apple.CoreServices.OSServices 352 (352) <D9F21CA4-EED0-705F-8F3C-F1322D114B52> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/ OSServices.framework/Versions/A/OSServices 0x96c2b000 - 0x96c2bff7 com.apple.Accelerate.vecLib 3.5 (vecLib 3.5) <3E039E14-2A15-56CC-0074-EE59F9FBB913> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/ve cLib.framework/Versions/A/vecLib 0x96c2c000 - 0x96c4cfe7 libresolv.9.dylib ??? (???) <A48921CB-3FA7-3071- AF9C-2D86FB493A3A> /usr/lib/libresolv.9.dylib 0x96d70000 - 0x96d70ff7 com.apple.Accelerate 1.5 (Accelerate 1.5) <F642E7A0-3720-FA19-0190-E6DBD9EF2D9B> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate 0x96ee7000 - 0x9731cff7 libLAPACK.dylib ??? (???) <5E2D2283-57DE-9A49- 1DB0-CD027FEFA6C2> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/ve cLib.framework/Versions/A/libLAPACK.dylib 0x974bf000 - 0x974c8ff7 com.apple.DiskArbitration 2.3 (2.3) <E9C40767- DA6A-6CCB-8B00-2D5706753000> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitr ation 0x974fb000 - 0x9753ffe7 com.apple.Metadata 10.6.0 (507.1) <CBD1B22B- 5F10-C784-03A2-35106B97DF3F> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/ Metadata.framework/Versions/A/Metadata 0x97581000 - 0x978a0fe7 com.apple.CoreServices.CarbonCore 859.1 (859.1) <2E72AF56-4BE6-294A-7372-19C360688B8B> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/ CarbonCore.framework/Versions/A/CarbonCore 0x978e3000 - 0x97992fef com.apple.ColorSync 4.6.0 (4.6.0) <66ABAE86- B0EC-D641-913D-08ACA965F9FA> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frame works/ColorSync.framework/Versions/A/ColorSync 0x97993000 - 0x979b9fff com.apple.DictionaryServices 1.1 (1.1) <07694B30- 56A9-5C98-B8BC-DA0628715FA8> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/ DictionaryServices.framework/Versions/A/DictionaryServices 0x988c7000 - 0x989a4ff7 com.apple.vImage 4.0 (4.0) <64597E4B-F144- DBB3-F428-0EC3D9A1219E> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vI mage.framework/Versions/A/vImage 0x98b97000 - 0x98c89ff7 libcrypto.0.9.8.dylib ??? (???) <792B8722-3091- 5E9F-E25F-67499CFE0599> /usr/lib/libcrypto.0.9.8.dylib 0x98c8a000 - 0x98e46fef com.apple.ImageIO.framework 3.0.0 (3.0.0) <A37E541F-3D6A-2BE9-AB32-F60CCDE13608> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frame works/ImageIO.framework/Versions/A/ImageIO 0xffff0000 - 0xffff1fff libSystem.B.dylib ??? (???) <E58B649F-FFDC-AB09- 2028-8B706BEF7C0F> /usr/lib/libSystem.B.dylib
@fheckl: I don't seem to be able to reliably reproduce this issue. Do you have an idea ? The stack trace above looks like duplicate release; however there do not seem to be that many autoreleases in the spotlight plugin (I found one and that one seems good).
Unfortunately I cannot reproduce it either (tried with my Documents folder containing nearly 58000 files) @chrismurphy: 1) May I build a special version of the importer for you that prints out the filename of each file it scans? 2) If the answer to 1) is YES, would you be willing to send me the files that are near such a crash (of course only for evaluation purposes)?
target
Resetting target accroding to new task handling scheme announced here: http://blogs.sun.com/ratte/entry/some_changes_for_the_openoffice
Had the same problem with OO.o 3.3 on OS X 10.7 (fresh install of both, but existing copy of user directory). The crash log suggested an mdutil -t _num_ command to discover the offending file. Said file turned out to be under the directory ~/Library/Application Support/OpenOffice.org/3/user/uno_packages/cache On the assumption that a cache directory in a user directory would probably be re-created as needed, I deleted that entire directory, and restored the importer plugin to its usual name (had renamed it to keep from repeatedly crashing mdworker). Ran OO.o, played with some files, no crashes. It may be that it's just _fragile_ if it encounters a corrupted file (might have gotten corrupted if the system crashed while OO.o was running, for example).
I also had a (empty battery)macbook crash after which the problem described above occurred in the middle of Finder's indexing process. For now I just renamed the "/Applications/OpenOffice.org.app/Contents/Library/Spotlight/OOoSpotlightImp orter.mdimporter/Contents/MacOS/OOoSpotlightImporter" plugin so mdworker is no longer finding it... "27-09-11 10:06:09,787 mdworker32: (Error) ImportPluginLoading: Couldn't load plugin 'Spotlight/OOoSpotlightImporter.mdimporter/ -- /Applications/OpenOffice.org.app/Contents/Library…..'" After Finder was finished reindexing, renaming 'OOoSpotlightImporter' plugin back to normal and after running disk utility --> repair permissions life went back to normal again for me….
This Issue requires more information ('needmoreinfo'), but has not been updated within the last year. Please provide feedback as requested and re-test with the the latest version of OpenOffice - the problem(s) may already be addressed. You can download Apache OpenOffice 3.4.1 from http://www.openoffice.org/download Please report back the outcome of your testing, so this Issue may be closed or progressed as necessary - otherwise the issue may be Resolved as Invalid in the future.
Reset assignee on issues not touched by assignee in more than 2000 days.
Issue reported on Twitter as being and issue in AOO 4.0 as well: https://twitter.com/Chasapple/status/370561506884071424 On that basis, I'm marking issue as CONFIRMED