Lockup/Run-away

I wish I could give you more on this one, but here’s what I’ve got

  1. I was editing a project where I’m updating online course material.

  2. I was working with research documents

  3. I was looking at the card view of one of the folders when I decided to look at something that had been imported from a PDF

  4. When I selected the file to look at, the application stopped responding, COMPLETELY. After a few seconds, the hard disk started going more and more. I opened the Activity Monitor and saw disk reads peaking at 100% capacity. I went to the Force Quit window and saw the Scrivener was not responding. Here is a portion of the console log for the approximate time of the failure

2008-11-04 15:56:26.916 Scrivener[476] *** -[NSBundle load]: Error loading code /Library/InputManagers/SIMBL/SIMBL.bundle/Contents/MacOS/SIMBL for bundle /Library/InputManagers/SIMBL/SIMBL.bundle, error code 2 (link edit error code 0, error number 0 ())
2008-11-04 15:56:28.696 Scrivener[476] passed-in style: Alignment 4, LineSpacing 0, ParagraphSpacing 0, ParagraphSpacingBefore 12, HeadIndent 36, TailIndent 468, FirstLineHeadIndent 36, LineHeight 0/0, LineHeightMultiple 0, LineBreakMode 0, Tabs (), DefaultTabInterval 0, Blocks (null), Lists (null), BaseWritingDirection -1, HyphenationFactor 0, TighteningFactor 0.05, HeaderLevel 0, saved style: Alignment 4, LineSpacing 0, ParagraphSpacing 0, ParagraphSpacingBefore 24, HeadIndent 36, TailIndent 468, FirstLineHeadIndent 36, LineHeight 0/0, LineHeightMultiple 0, LineBreakMode 0, Tabs (), DefaultTabInterval 0, Blocks (null), Lists (null), BaseWritingDirection -1, HyphenationFactor 0, TighteningFactor 0.05, HeaderLevel 0, isEqual: 0
2008-11-04 15:56:28.696 Scrivener[476] passed-in style: Alignment 4, LineSpacing 0, ParagraphSpacing 0, ParagraphSpacingBefore 12, HeadIndent 180, TailIndent 450, FirstLineHeadIndent 180, LineHeight 0/0, LineHeightMultiple 0, LineBreakMode 0, Tabs (), DefaultTabInterval 0, Blocks (null), Lists (null), BaseWritingDirection -1, HyphenationFactor 0, TighteningFactor 0.05, HeaderLevel 0, saved style: Alignment 4, LineSpacing 0, ParagraphSpacing 0, ParagraphSpacingBefore 24, HeadIndent 36, TailIndent 468, FirstLineHeadIndent 36, LineHeight 0/0, LineHeightMultiple 0, LineBreakMode 0, Tabs (), DefaultTabInterval 0, Blocks (null), Lists (null), BaseWritingDirection -1, HyphenationFactor 0, TighteningFactor 0.05, HeaderLevel 0, isEqual: 0
2008-11-04 15:56:28.697 Scrivener[476] passed-in style: Alignment 4, LineSpacing 0, ParagraphSpacing 0, ParagraphSpacingBefore 0, HeadIndent 144, TailIndent 324, FirstLineHeadIndent 144, LineHeight 0/0, LineHeightMultiple 0, LineBreakMode 0, Tabs (), DefaultTabInterval 0, Blocks (null), Lists (null), BaseWritingDirection -1, HyphenationFactor 0, TighteningFactor 0.05, HeaderLevel 0, saved style: Alignment 4, LineSpacing 0, ParagraphSpacing 0, ParagraphSpacingBefore 24, HeadIndent 36, TailIndent 468, FirstLineHeadIndent 36, LineHeight 0/0, LineHeightMultiple 0, LineBreakMode 0, Tabs (), DefaultTabInterval 0, Blocks (null), Lists (null), BaseWritingDirection -1, HyphenationFactor 0, TighteningFactor 0.05, HeaderLevel 0, isEqual: 0
2008-11-04 15:56:28.697 Scrivener[476] passed-in style: Alignment 4, LineSpacing 0, ParagraphSpacing 0, ParagraphSpacingBefore 0, HeadIndent 108, TailIndent 360, FirstLineHeadIndent 108, LineHeight 0/0, LineHeightMultiple 0, LineBreakMode 0, Tabs (), DefaultTabInterval 0, Blocks (null), Lists (null), BaseWritingDirection -1, HyphenationFactor 0, TighteningFactor 0.05, HeaderLevel 0, saved style: Alignment 4, LineSpacing 0, ParagraphSpacing 0, ParagraphSpacingBefore 24, HeadIndent 36, TailIndent 468, FirstLineHeadIndent 36, LineHeight 0/0, LineHeightMultiple 0, LineBreakMode 0, Tabs (), DefaultTabInterval 0, Blocks (null), Lists (null), BaseWritingDirection -1, HyphenationFactor 0, TighteningFactor 0.05, HeaderLevel 0, isEqual: 0
2008-11-04 15:56:28.697 Scrivener[476] passed-in style: Alignment 1, LineSpacing 0, ParagraphSpacing 0, ParagraphSpacingBefore 12, HeadIndent 324, TailIndent 441, FirstLineHeadIndent 324, LineHeight 0/0, LineHeightMultiple 0, LineBreakMode 0, Tabs (), DefaultTabInterval 0, Blocks (null), Lists (null), BaseWritingDirection -1, HyphenationFactor 0, TighteningFactor 0.05, HeaderLevel 0, saved style: Alignment 4, LineSpacing 0, ParagraphSpacing 0, ParagraphSpacingBefore 24, HeadIndent 36, TailIndent 468, FirstLineHeadIndent 36, LineHeight 0/0, LineHeightMultiple 0, LineBreakMode 0, Tabs (), DefaultTabInterval 0, Blocks (null), Lists (null), BaseWritingDirection -1, HyphenationFactor 0, TighteningFactor 0.05, HeaderLevel 0, isEqual: 0
2008-11-04 15:56:28.698 Scrivener[476] passed-in style: Alignment 4, LineSpacing 0, ParagraphSpacing 0, ParagraphSpacingBefore 24, HeadIndent 36, TailIndent 468, FirstLineHeadIndent 36, LineHeight 0/0, LineHeightMultiple 0, LineBreakMode 0, Tabs (), DefaultTabInterval 0, Blocks (null), Lists (null), BaseWritingDirection -1, HyphenationFactor 0, TighteningFactor 0.05, HeaderLevel 0, saved style: Alignment 4, LineSpacing 0, ParagraphSpacing 0, ParagraphSpacingBefore 24, HeadIndent 36, TailIndent 468, FirstLineHeadIndent 36, LineHeight 0/0, LineHeightMultiple 0, LineBreakMode 0, Tabs (), DefaultTabInterval 0, Blocks (null), Lists (null), BaseWritingDirection -1, HyphenationFactor 0, TighteningFactor 0.05, HeaderLevel 0, isEqual: 1
2008-11-04 15:56:28.708 Scrivener[476] passed-in style: Alignment 4, LineSpacing 0, ParagraphSpacing 0, ParagraphSpacingBefore 12, HeadIndent 36, TailIndent 468, FirstLineHeadIndent 36, LineHeight 0/0, LineHeightMultiple 0, LineBreakMode 0, Tabs (), DefaultTabInterval 0, Blocks (null), Lists (null), BaseWritingDirection -1, HyphenationFactor 0, TighteningFactor 0.05, HeaderLevel 0, saved style: Alignment 4, LineSpacing 0, ParagraphSpacing 0, ParagraphSpacingBefore 24, HeadIndent 36, TailIndent 468, FirstLineHeadIndent 36, LineHeight 0/0, LineHeightMultiple 0, LineBreakMode 0, Tabs (), DefaultTabInterval 0, Blocks (null), Lists (null), BaseWritingDirection -1, HyphenationFactor 0, TighteningFactor 0.05, HeaderLevel 0, isEqual: 0
2008-11-04 15:56:28.708 Scrivener[476] passed-in style: Alignment 4, LineSpacing 0, ParagraphSpacing 0, ParagraphSpacingBefore 12, HeadIndent 180, TailIndent 450, FirstLineHeadIndent 180, LineHeight 0/0, LineHeightMultiple 0, LineBreakMode 0, Tabs (), DefaultTabInterval 0, Blocks (null), Lists (null), BaseWritingDirection -1, HyphenationFactor 0, TighteningFactor 0.05, HeaderLevel 0, saved style: Alignment 4, LineSpacing 0, ParagraphSpacing 0, ParagraphSpacingBefore 24, HeadIndent 36, TailIndent 468, FirstLineHeadIndent 36, LineHeight 0/0, LineHeightMultiple 0, LineBreakMode 0, Tabs (), DefaultTabInterval 0, Blocks (null), Lists (null), BaseWritingDirection -1, HyphenationFactor 0, TighteningFactor 0.05, HeaderLevel 0, isEqual: 0

the repeating line keeps going until 2008-11-04 15:56:44.427. Then I get this sequence:

/XRefStm encountered but not yet supported.
/XRefStm encountered but not yet supported.
/XRefStm encountered but not yet supported.
2008-11-04 16:01:26.065 Scrivener[476] CFLog (21): dyld returns 2 when trying to load /Library/Contextual Menu Items/SCFinderPlugin.plugin/Contents/MacOS/SCFinderPlugin
2008-11-04 16:01:26.065 Scrivener[476] CFLog (22): Cannot find function pointer SVNPluginFactory for factory 4C7A8218-138A-4A6E-99E7-40AC8AB895AD in CFBundle/CFPlugIn 0x16b45420 </Library/Contextual Menu Items/SCFinderPlugin.plugin> (bundle, not loaded)
/XRefStm encountered but not yet supported.
/XRefStm encountered but not yet supported.
/XRefStm encountered but not yet supported.

which I believe happens after the Force Quit.

  1. I forced Scrivener to quit and after several more seconds, the hard disk started to go back to normal.

Terry

Hi Terry,

Most of the stuff that appeared on the console (the stuff about “passed-in style” etc) is harmless debugging code that I accidentally left in Scrivener 1.11. All it does is print to the console the typing attributes whenever they change, and can be safely ignored. More relevant seem these lines:

/XRefStm encountered but not yet supported.

I’ve seen this printed to the console with certain PDF files. It is generated by Apple’s PDF viewer, which is used by Scrivener to view PDF files (it’s also used by Preview and Safari). This is usually harmless, too, as it is just the viewer complaining that there is an element of the PDF file that it doesn’t recognise. I’m saying it is usually harmless because it may be something to do with the PDF file that is causing the hang. However, before going down that route, I want to rule out something else that seems to be indicated by these lines:

[code]2008-11-04 15:56:26.916 Scrivener[476] *** -[NSBundle load]: Error loading code /Library/InputManagers/SIMBL/SIMBL.bundle/Contents/MacOS/SIMBL for bundle /Library/InputManagers/SIMBL/SIMBL.bundle, error code 2 (link edit error code 0, error number 0 ())

2008-11-04 16:01:26.065 Scrivener[476] CFLog (21): dyld returns 2 when trying to load /Library/Contextual Menu Items/SCFinderPlugin.plugin/Contents/MacOS/SCFinderPlugin
2008-11-04 16:01:26.065 Scrivener[476] CFLog (22): Cannot find function pointer SVNPluginFactory for factory 4C7A8218-138A-4A6E-99E7-40AC8AB895AD in CFBundle/CFPlugIn 0x16b45420 </Library/Contextual Menu Items/SCFinderPlugin.plugin> (bundle, not loaded)[/code]

These lines indicate that you have some sort of input manager installed (something to do with SVN maybe?). SIMBL (Smart Input Manager Bundle Loader) is a hack that installs input managers into programs. It seems that it is this that is causing the problem here, so I would recommend uninstalling that plugin and seeing if that helps.

All the best,
Keith