Repository: doublecmd/doublecmd

Issue #224: Right-clicking invalid MP4 file opens an error dialog instead of context menu
Created: 2021-10-25T07:48:45Z
When I right-click an invalid MP4 file inside the DC, the application gives me a following dialog:

Also happens when using a keyboard's "menu key".
It's 100% reproducible and makes DC unusable for this file.
Context menu is correctly opened when I right click from Windows File Explorer.
--
The content of doublecmd.err is:
--------------- 25-10-2021, 09:33:01 ---------------
| DC v1.0.0 beta Rev. 10 -- x86_64-Win64-win32/win64
| Windows 10 1607 x86_64 | PID 18112
Unhandled exception: EZeroDivide: Floating point division by zero
  Stack trace:
  $00007FFFF9F9E9B3 in C:\Windows\System32\mfmp4srcsnk.dll
  $00007FFFF9F9EAF9 in C:\Windows\System32\mfmp4srcsnk.dll
  $00007FFFF9F9D914 in C:\Windows\System32\mfmp4srcsnk.dll
  $00007FFFF9F995E5 in C:\Windows\System32\mfmp4srcsnk.dll
  $00007FFFF9F9D9C6 in C:\Windows\System32\mfmp4srcsnk.dll
  $00007FFFF9F9D8B2 in C:\Windows\System32\mfmp4srcsnk.dll
  $00007FFFF9F98910 in C:\Windows\System32\mfmp4srcsnk.dll
  $00007FFFF9F9D9A8 in C:\Windows\System32\mfmp4srcsnk.dll
  $00007FFFF9F976A5 in C:\Windows\System32\mfmp4srcsnk.dll
  $00007FFFF9F9D9B2 in C:\Windows\System32\mfmp4srcsnk.dll
  $00007FFFF9F94A8E in C:\Windows\System32\mfmp4srcsnk.dll
  $00007FFFF9F9373D in C:\Windows\System32\mfmp4srcsnk.dll
  $00007FFFF9FA8BCD in C:\Windows\System32\mfmp4srcsnk.dll
  $00007FFFF9FA7546 in C:\Windows\System32\mfmp4srcsnk.dll
  $00007FFFF9FA1F93 in C:\Windows\System32\mfmp4srcsnk.dll
  $00007FF87639BF51 in C:\Windows\System32\windows.storage.dll
  $00007FF8762C7253 in C:\Windows\System32\windows.storage.dll

File that causes this behavior:
https://user-images.githubusercontent.com/73643378/138655473-0fee4234-4107-418a-891c-6ee8bc123c0c.mp4

Duplicate issue #235: EZeroDivide: Floating point division by zero
Created: 2021-10-31T11:20:40Z
--------------- 31-10-2021, 11:52:57 ---------------
| DC v1.0.0 beta Rev. 10 -- x86_64-Win64-win32/win64
| Windows 10 20H2 x86_64 | PID 16960
Unhandled exception: EZeroDivide: Floating point division by zero
Stack trace:
$00007FFEB2441F5A in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB2441E0E in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB24560B1 in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB244B454 in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB24560B1 in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB24560B1 in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB24528CE in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB24560B1 in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB246712A in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB24560B1 in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB2445732 in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB245DA31 in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB2460D78 in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB245F6F9 in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB24612B8 in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB2462ECF in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB246AB9D in C:\Windows\System32\mfmp4srcsnk.dll
--------------- 31-10-2021, 11:53:18 ---------------
| DC v1.0.0 beta Rev. 10 -- x86_64-Win64-win32/win64
| Windows 10 20H2 x86_64 | PID 16960
Unhandled exception: EZeroDivide: Floating point division by zero
Stack trace:
$00007FFEB2441F5A in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB2441E0E in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB24560B1 in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB244B454 in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB24560B1 in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB24560B1 in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB24528CE in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB24560B1 in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB246712A in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB24560B1 in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB2445732 in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB245DA31 in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB2460D78 in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB245F6F9 in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB24612B8 in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB2462ECF in C:\Windows\System32\mfmp4srcsnk.dll
$00007FFEB246AB9D in C:\Windows\System32\mfmp4srcsnk.dll

Closing comment (2021-10-31T11:52:57Z): Already fixed in DC 1.0.1. Duplicate of #224.