problem with virtualdub.

Gerard Patel gerard.patel at nerim.net
Mon Oct 29 11:04:51 CST 2001


At 05:17 PM 26/10/2001 -0400, you wrote:
>
>there seems to be a funky problem with virtualdub
>(http://virutaldub.sourceforge.net).  Get differing
>results between solaris and linux, but both seems to
>fail before the app comes up.
>
>Under solaris, it seems like something is screwed up
>with the loader - when it tries to load the binary, 
>it dies in dump_exports because what's at pe_exports
>is just garbage.   Not sure where it's dying under
>linux (probably the same place) - don't have a devel
>environment there (yet).
>
>Nothing unusual seems to happen before it gets there
>(both solaris/linux binaries run sol.exe and other stuff just fine). 
>My suspicion is that the IMAGE_DIRECTORY_ENTRY_EXPORT data isn't pointing
to what
>wine thinks is there, but would like someone who knows more
>about the loader to say something....
>
>can anyone help shed more light onto this?
>
>-r
>

Yes, I have looked at this application.
It loads fine under Windows - however, both dependancy walker and the
Nt quick viewer are not happy with it (one displays that there is a format
error in the exe, the other loops and finally crashes)
 
The web site says that this executable is compressed with a tool called UPX.
This
seems to be the reason for the problem, as the original program is compiled with
Ms VC++ - not a very exotic tool.

I think that a fix could be to detect a corrupted header in dump_exports and
to not try to display anything if numberoffunctions is not coherent with the
export
section size.

I tried a hack for that and virtualdub got further; however, I see that it is
trying to load avicap32.dll and this is not going to work - even under Linux
;:-)

Gerard





More information about the wine-devel mailing list