cporrasa / xy-vsfilter

Automatically exported from code.google.com/p/xy-vsfilter
0 stars 0 forks source link

Issues running under a debugger #141

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Running under a debugger

What is the expected output? What do you see instead?
I expect to be able to debug code.

What version of the product are you using? On what operating system?
3.0.211

Please provide any additional information below.
I am having the strangest thing, when running under a debugger (Delphi), the 
moment my code calls the GraphBuilder.ConnectDirect to connect the video output 
pin to the xy-vsfilter's vidaeo input pin, my application is terminated, just 
closes, no error, no nothing.

Downgrading to 3.0.65 and the problem is gone.

I manually create the filter, not using the auto-loading method and this 
happens only when using external subs (.srt for example).

No issues when running without a debugger.

Original issue reported on code.google.com by inmat...@gmail.com on 10 Mar 2013 at 10:38

GoogleCodeExporter commented 8 years ago
Does the same issue occur when using a xy-VSFilter 3.0.0.211 Debug build?

Does downgrading to 3.0.0.65 mean the same issue also occurred in builds 
3.0.0.111 through 3.0.0.144?

When not called through the Delphi debugger, everything functions normally?

Original comment by cyber.sp...@gmail.com on 11 Mar 2013 at 9:34

Attachments:

GoogleCodeExporter commented 8 years ago
When running the debug version under a debugger, I get:
*******************************************************************************
---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Assertion Failed!

Program: Z:\zp\zplayer.exe
File: f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\filetxt.cpp
Line: 351

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.

(Press Retry to debug the application)
---------------------------
Abort   Retry   Ignore   
---------------------------
*******************************************************************************

I get the same error when running without a debugger.
If I select "retry" outside the debugger I get "External exception 80000003."

If I select "ignore" outside the debugger I get:
*******************************************************************************
---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Assertion Failed!

Program: C:\Program Files (x86)\Zoom Player\zplayer.exe
File: f:\dd\vctools\crt_bld\self_x86\crt\src\ftell.c
Line: 48

Expression: (stream != NULL)

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.

(Press Retry to debug the application)
*******************************************************************************

No issues using 3.0.211 non-debug outside a debugger.
I didn't try 3.0.111 or .144, they are not available for download anymore.

Original comment by inmat...@gmail.com on 11 Mar 2013 at 1:27

GoogleCodeExporter commented 8 years ago
xy-VSFilter 3.0.0.111, 3.0.0.112, and 3.0.0.144 are still available under 
depreciated downloads.

http://xy-vsfilter.googlecode.com/files/xy-VSFilter_3.0.0.111_v2_Test.7z
http://xy-vsfilter.googlecode.com/files/xy-VSFilter_3.0.0.112_Test.7z
http://xy-vsfilter.googlecode.com/files/xy-VSFilter_3.0.0.144_Test.7z

Your debug messages seem to point to "ftell" error within 
"CStdioFile::GetPosition".
http://msdn.microsoft.com/en-us/library/0ys3hc0b%28v=vs.100%29.aspx
http://msdn.microsoft.com/en-us/library/6b2hf282%28v=vs.100%29.aspx

If 3.0.0.144 doesn't crash, please also test the attached builds.

Original comment by cyber.sp...@gmail.com on 11 Mar 2013 at 6:00

Attachments:

GoogleCodeExporter commented 8 years ago
We just tracked down an external subtitle issue which may be related to this.

Try the attached build.

Original comment by cyber.sp...@gmail.com on 14 Mar 2013 at 2:29

Attachments:

GoogleCodeExporter commented 8 years ago
Cool,
I can confirm this build fixes the issue.

Original comment by inmat...@gmail.com on 18 Mar 2013 at 3:14

GoogleCodeExporter commented 8 years ago
Is there an ETA for a bug-fix release?

Original comment by inmat...@gmail.com on 18 Mar 2013 at 3:21

GoogleCodeExporter commented 8 years ago
Our next official xy-VSFilter (VSFilter.dll) release will come after we release 
a stable build of XySubFilter. There are no plans for a bug-fix release.

Original comment by cyber.sp...@gmail.com on 22 Jul 2013 at 2:51