Menu

#906 Fatal error when dragging a folder into the one-click encoder

General
closed-fixed
nobody
None
5
2018-05-03
2018-01-25
Chris
No

When dragging a folder into the main UI for batch processing, MeGUI crashes with an error saying:

MeGUI encountered a fatal error and may not be able to proceed. Reason: Cannot access a disposed object. Object name: 'OneClickWindow'.

1 Attachments

Discussion

  • Chris

    Chris - 2018-01-25

    Here's a screenshot of the error message as I couldn't figure out how to add multiple attachments.

     
  • Zathor

    Zathor - 2018-02-01
    • status: open --> pending
     
  • Zathor

    Zathor - 2018-02-01

    Thanks for the report. Sadly I cannot reproduce it. Does it happen for you every time? Any specific steps needed to reproduce it?

    Btw. I noticed that you are using 4 displays. nice :-)

     
  • Chris

    Chris - 2018-02-01

    It happens every time I drag a folder into MeGui. That's the only step to it and the crash happens. :(
    I've tested it with different containers and video/audio formats and the fatal error happens every time.
    Here's my whole MeGui folder with my settings. I don't know if it will help but it can't hurt trying.
    https://drive.google.com/file/d/1BLM-TS6QjjzYZpCnffjKpd-1BS3AKLJE/view?usp=sharing

    Thanks! I can't get enough screen space when working with videos lol.

     
  • Andrew

    Andrew - 2018-03-05

    I have the same problem : When dragging a folder to MeGUI, the "Automated folder processing" pops up, you say yes to use the profile indicated, the "Please enter a leading name" pops up and you just click Ok, MeGUI will add the first file to the Queue, and then pop up a window saying : "MeGUI encountered a fatal error and may not be able to proceed. Reason: Cannot access a disposed object. Object name: 'OneClickWindow'". When you click Ok on this dialog box, megui will crash.

    And yes, it happens every time. Please note there must be more than 2 files to encode in the folder otherwise MeGUI just pops up the One-Click encoder window.

     
  • Chris

    Chris - 2018-03-20

    Bringing in some way overdue Windows error logs:

    For .NET Runtime:

    Application: MeGUI.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.ObjectDisposedException
       at System.Windows.Forms.Control.MarshaledInvoke(System.Windows.Forms.Control, System.Delegate, System.Object[], Boolean)
       at System.Windows.Forms.Control.Invoke(System.Delegate, System.Object[])
       at System.Windows.Forms.Control.Invoke(System.Delegate)
       at MeGUI.MainForm+<>c__DisplayClass113_0.<MeGUI_DragDrop>b__0()
       at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
       at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
       at System.Threading.ThreadHelper.ThreadStart()
    

    Application error:

    Faulting application name: MeGUI.exe, version: 1.0.2828.0, time stamp: 0x5aa3c4a5
    Faulting module name: KERNELBASE.dll, version: 10.0.16299.309, time stamp: 0xd3aa915c
    Exception code: 0xe0434352
    Fault offset: 0x001008f2
    Faulting process ID: 0x46c
    Faulting application start time: 0x01d3c0069243f334
    Faulting application path: C:\Users\Chris\Downloads\__Video Tools\MeGUI-2715-32\MeGUI.exe
    Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
    Report ID: 2bfed303-2fdf-4aec-8d44-457166d16ccc
    Faulting package full name: 
    Faulting package-relative application ID: 
    

    I don't know if it will bring any helpful information but we can only hope.

     
  • Chris

    Chris - 2018-03-25

    So I decided to try to open a folder by using the Input field in the One-Click Encoder window and selecting "Select folder" instead of dragging it into the interface which causes the fatal error.

    It only adds the first file in the folder and throws a MediaInfo error at me:

    [Warning] MediaInfo
    -[Information] [25.03.2018 21.30.20] File: E:_Video Tools\TBBT\Season 09
    -[Warning] [25.03.2018 21.30.20] The file cannot be opened

     

    Last edit: Chris 2018-03-25
  • Zathor

    Zathor - 2018-04-29

    I am very sorry for the late reply. Somehow I have not received any ticket update mails :-(
    Based on your great information I was now able to reproduce it. A fix should be available soon.

     
  • Zathor

    Zathor - 2018-04-29

    I fixed the problem locally. While working on it however I found a subsequent error, working on that currently. A fix should be available in the next 24 hours.

     
  • Zathor

    Zathor - 2018-04-30

    Fixed in 2840 - should be online within the next 12 hours on the development update server

     
  • Chris

    Chris - 2018-04-30

    Fantastic! This is going to save me a lot of clicks when encoding my TV shows. I'll report back when the update arrives.

     
  • Chris

    Chris - 2018-05-01

    The good news is it doesn't crash anymore!
    The bad news is that it still only adds the first file of the folder.

    There are no errors from MeGui this time and the log doesn't show anything useful.

    The Windows application logs throws an AviSynth error for the eedi3.dll plugin but it apperas to be unrelated as it happens every time AviSynth loads, both with MeGUI and other tools that use AviSynth. Here is the error just in case:

    Activation context generation failed for "C:\Program Files (x86)\AviSynth\plugins\eedi3.dll". Dependent Assembly Microsoft.VC80.OpenMP,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.4053" could not be found. Please use sxstrace.exe for detailed diagnosis.

    I tried to remove the plugin to see if it would solve the issue in MeGUI but it did not. The error does not appear when it's removed but still only the first file in the folder shows up. Both when dragged into the interface and when opened by the One-Click Encoder

     
  • Zathor

    Zathor - 2018-05-01

    Thanks for the feedback.

    1. Regarding your plugin - one of the redist files is missing. It must be either Visual C++ Redistributable 2005 or 2008 (x86). Try to install both and check if the error is gone.

    2. 6 monitors :-)

    3. There is no job in the log. Try to run the OneClick job(s). The second file is not added before the OneClick job is processed.

     
  • Andrew

    Andrew - 2018-05-01

    Fixed for me. Thanks.

     
  • Chris

    Chris - 2018-05-01

    Visual C++ Redistributable 2005 x64 worked! Thank you for that! :)

    I used to have 9 but the USB video cards I was using caused too many issues so I had to give that up, haha!

    Now I feel stupid. I actually never tried to start the first job as I was expecting some visual feedback that the whole folder was processed. Everything is now working perfectly! Thank you very much! :)

     
  • Zathor

    Zathor - 2018-05-03
    • status: pending --> closed-fixed
    • discussion: enabled --> disabled
     
  • Zathor

    Zathor - 2018-05-03

    Welcome & thanks for the feedback

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.