Bug: Crash when applying custom highlighting style

Page 1 of 1 (5 items)
This post has 4 Replies | 0 Followers

Posts 13360
Forum MVP
Mark Barnes | Forum Activity | Posted: Mon, Nov 15 2010 12:40 PM

The crash occurs when viewing the resource which has the highlighting style applied. Deleting the style solves the problem, but re-creating a similar style will reproduce it.

Program Version: 4.1 SR-4 (4.10.4.6514)
Windows Version: 6.1.7600.0
Time: 2010-11-04 23:33:05
Installed memory: 3,007 MB
Install path: D:\Logos 4 Videos\Program\Logos4\System\Logos4.exe
Data path: D:\Logos 4 Videos\Program\Logos4\Data\4alnsn10.aaw
Free disk space: 52,510 MB
Temp path: C:\Users\Logos Videos\AppData\Local\Temp\
Free temp space: 20,607 MB

Error ID: 2752
Error detail: Win32Exception: An error occurred in sending the command to the application

System.ComponentModel.Win32Exception: An error occurred in sending the command to the application
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start(String fileName)
   at LDLS4.Panels.ReadingListsPanel.ReadingListsViewModel.EditList()
   at Libronix.Utility.Windows.Behavior.Execute()
   at Libronix.Utility.Windows.Behavior.Libronix.Utility.Windows.IBehavior.Execute(Object parameter)
   at Libronix.Utility.Windows.CommandUtility.<>c__DisplayClass9.<CreateCommandBindingForBehavior>b__7(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
   at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
   at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
   at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
   at System.Windows.Input.RoutedCommand.ExecuteCore(Object parameter, IInputElement target, Boolean userInitiated)
   at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.CrackMouseButtonEventAndReRaiseEvent(DependencyObject sender, MouseButtonEventArgs e)
   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at System.Windows.Application.Run()
   at LDLS4.OurApp.InitializeAndRun(ReadOnlyCollection`1 listArgs, SingleInstanceManager sim)
   at LDLS4.OurApp.Main(String[] astrArgs)

Posts 4077
Melissa Snyder | Forum Activity | Replied: Mon, Nov 15 2010 3:23 PM

So I can try to reproduce the crash, what book are you trying to apply highighting to, and what is the style that is causing the problem? Since the LDLS4 line near the top references Reading Lists, did you open the resource from the Reading Lists panel, or was your Reading Lists panel open at the same time as the resource?

Posts 13360
Forum MVP
Mark Barnes | Forum Activity | Replied: Tue, Nov 16 2010 2:08 AM

On this account I have no reading lists created, and have never opened the Reading Lists tool!

The bug is reproducible in 4.2 beta on a different computer. The crash occurs whenever I view a resource with this style applied (and therefore also when I apply the style for the first time). Any style I create that looks like the style below causes the crash when the resource tries to display the style.

Posts 8012
LogosEmployee

Mark Barnes:

On this account I have no reading lists created, and have never opened the Reading Lists tool!

This crash is one of the rare errors that does not write a new Logos4Crash.txt file; the crash log pasted above is more than a week old (which is why it appears to be irrelevant to the issue).

Mark Barnes:

The bug is reproducible in 4.2 beta on a different computer. The crash occurs whenever I view a resource with this style applied (and therefore also when I apply the style for the first time). Any style I create that looks like the style below causes the crash when the resource tries to display the style.

Thanks for the detailed explanation of how to reproduce the issue; it will be fixed in the next 4.2 beta.

The problem is caused by having the font set to "Default Sans Serif". You can work around the bug by changing it to "Default" until the next beta comes out.

Posts 13360
Forum MVP
Mark Barnes | Forum Activity | Replied: Tue, Nov 16 2010 4:47 AM

Bradley Grainger:
This crash is one of the rare errors that does not write a new Logos4Crash.txt file; the crash log pasted above is more than a week old (which is why it appears to be irrelevant to the issue).

Whoops, sorry!

Bradley Grainger:
Thanks for the detailed explanation of how to reproduce the issue; it will be fixed in the next 4.2 beta.

Great.

Page 1 of 1 (5 items) | RSS