[Fixed] Win: Unknown error occurs when pause and then start

Archive of historical bug reports.
Please use the GitHub link above to report issues.
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.

*******************************
Post Reply
Sprinterdriver
Posts: 36
Joined: Wed Jun 05, 2013 9:43 pm

[Fixed] Win: Unknown error occurs when pause and then start

Post by Sprinterdriver »

Windows XP SP3
Handbrake version 0.9.9.5470 - 32 bit

While in queue list. I stopped encoding and then started it again. I got the error message below when I clicked the start button to continue.
Handbrake failed to create a log file for the video file that was running at the time I clicked the pause button.

I cannot remember excacly hoow many items in queue list, but it was in the middle somewhere.

Code: Select all

An Unknown Error has occured.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: HandBrake is already encodeing.
   at HandBrake.ApplicationServices.Services.Encode.Start(QueueTask encodeQueueTask, Boolean enableLogging) in c:\HandBrake\Hudson\workspace\Release_WindowsGUI\0.9.9\win\CS\HandBrake.ApplicationServices\Services\Encode.cs:line 206
   at HandBrakeWPF.Services.EncodeServiceWrapper.Start(QueueTask job, Boolean enableLogging) in c:\HandBrake\Hudson\workspace\Release_WindowsGUI\0.9.9\win\CS\HandBrakeWPF\Services\EncodeServiceWrapper.cs:line 190
   at HandBrake.ApplicationServices.Services.QueueProcessor.ProcessNextJob() in c:\HandBrake\Hudson\workspace\Release_WindowsGUI\0.9.9\win\CS\HandBrake.ApplicationServices\Services\QueueProcessor.cs:line 601
   at HandBrake.ApplicationServices.Services.QueueProcessor.Start() in c:\HandBrake\Hudson\workspace\Release_WindowsGUI\0.9.9\win\CS\HandBrake.ApplicationServices\Services\QueueProcessor.cs:line 439
   at HandBrakeWPF.ViewModels.QueueViewModel.StartEncode() in c:\HandBrake\Hudson\workspace\Release_WindowsGUI\0.9.9\win\CS\HandBrakeWPF\ViewModels\QueueViewModel.cs:line 308
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Caliburn.Micro.ActionMessage.<.cctor>b__d(ActionExecutionContext context) in C:\Projects\Blue Spire\Caliburn.Micro\src\Caliburn.Micro.Silverlight\ActionMessage.cs:line 263
   at Caliburn.Micro.ActionMessage.Invoke(Object eventArgs) in C:\Projects\Blue Spire\Caliburn.Micro\src\Caliburn.Micro.Silverlight\ActionMessage.cs:line 227
   at System.Windows.Interactivity.TriggerBase.InvokeActions(Object parameter)
   at System.Windows.Interactivity.EventTriggerBase.OnEvent(EventArgs eventArgs)
   at System.Windows.Interactivity.EventTriggerBase.OnEventImpl(Object sender, EventArgs eventArgs)
   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 e)
   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.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.RaiseTrustedEvent(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, WindowMessage 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, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
Last edited by Rodeo on Mon Aug 12, 2013 3:27 pm, edited 1 time in total.
Reason: Logs must be placed in between [code] [/code] blocks

User avatar
s55
HandBrake Team
Posts: 9784
Joined: Sun Dec 24, 2006 1:05 pm

Re: Windows: Unknown error occurs when pause and then start

Post by s55 »

Try a nightly build. I suspect this one may have been fixed

Sprinterdriver
Posts: 36
Joined: Wed Jun 05, 2013 9:43 pm

Re: Windows: Unknown error occurs when pause and then start

Post by Sprinterdriver »

When running the latest nightly build, I got an error message saying this is not a valid win32 program file.

I was downloading and installing from this locaton:
http://download.handbrake.fr/nightly/Ha ... in_GUI.exe

I'm currently using Windows XP sp3, 32 bit.


[edit]
Ok, I just downloaded and installed HandBrake-svn5675_i686-Win_GUI.exe instead, and it seems to run fine (haven't tried to encode anything with the nightly build version thaught)

I have an fairly old computer running an AMD Athlon 64 X2 4400+. Shouldn't I expect that an executable with "x86" in the file name would run on that computer? What about a warning in the installer telling if hardware is not compatible with the program version?

Smithcraft
Veteran User
Posts: 2691
Joined: Thu Jan 22, 2009 8:04 pm

Re: Windows: Unknown error occurs when pause and then start

Post by Smithcraft »

It's x86_64 which is a 64bit build.

SC

Post Reply