ok... attached is the wine output for the above
I *finally* got it back to working order. Ended up that the last checkin
caused a reconfiguration that latched onto the X11 4.1.0 tree on my system
(as opposed to the openwin one). For some reason (as stated before),
wine crashes when compiled/linked against the XFree tree, but runs fine
when compiled against the openwin tree. My suspicion is that it is a
funky threading issue - probably should be in a readme somewhere.
Also, I got the following message from Avery Lee (the author of VirtualDub).
Am posting it here as an FYI and for archival reasons.
Please feel free to forward this on to other developers or onto the
Wine list.
I read the discussion about VirtualDub crashing the Wine loader with
great interest today. (It's a bit weird that the only way I heard
about a problem with my Win32 program was via a Unix-oriented mailing
list.) Yes, the exports header points to garbage, and yes, it was
caused by UPX -- UPX left the export header RVA and size in the PE32
optional header exactly was it was in the unpacked image. You can
safely hex edit the bytes at 180-187 to null to kill the bogus export
directory, since it turns out I exported those functions by mistake in
some hasty cut-and-paste and they aren't used.
As for other compatibility problems with Wine, I have gotten
VirtualDub to run in the past under Linux, although I ran into severe
problems with the handling of custom templates in GetOpenFileName()
and slow updates in the trackbar common control. The last time I
tried I had to remove two calls to SetUnhandledExceptionFilter() to
get it to run.
One more thing: There is an undocumented Wine compatibility switch /w
that you can specify on the command line to force VirtualDub to use
StretchDIBits() to blit to the screen instead of a DIB section. It
was a workaround for an old problem where Wine wouldn't mark a GDI DIB
section dirty if it was written to through an aliased, memory-mapped
section.
--
Roger Fujii
rmf@lookhere.com
Underemployed, and trying to keep it that way....
Script started on Fri 09 Nov 2001 03:45:17 AM EST
router.lookhere.com[1]% dowine
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-pc-solaris2.8"...
(gdb) run / --debugmsg +msacm tr /home/rmf/pc/vdub/VirtualDub.exe
Starting program: /home/rmf/playcvs/wine/./wine --debugmsg +msacm /home/rmf/pc/vdub/VirtualDub.exe
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
Could not stat /mnt/fd0 (No such file or directory), ignoring drive A:
Could not stat /cdrom (No such file or directory), ignoring drive D:
Line 181563: Key is too long '[Software\Microsoft\Protected Storage System Provider\rmf\Data\e161255a-37c3-11d2-bcaa-00c04fd929db\e161255a-37c3-11d2-bcaa-00c04fd929db\
http://javashoplm.sun.com/servlet/EComActionServlet/ECom.WelcomePageInfo;jse...]'
Line 181563: Error creating key '[Software\Microsoft\Protected Storage System Provider\rmf\Data\e161255a-37c3-11d2-bcaa-00c04fd929db\e161255a-37c3-11d2-bcaa-00c04fd929db\
http://javashoplm.sun.com/servlet/EComActionServlet/ECom.WelcomePageInfo;jse...]'
Line 181564: Value without key '"Behavior"=hex:02,00,00,00,02,00,00,00,10,00,00,00,57,00,69,00,6e,00,64,00,6f,'
Line 181565: Unrecognized input ' 00,77,00,73,00,00,00,14,00,00,00,83,69,ed,13,38,8d,13,13,59,70,7e,56,fb,54,'
Line 181566: Unrecognized input ' d0,cc,81,38,3a,ec'
Line 181567: Value without key '"Item Data"=hex:02,00,00,00,18,00,00,00,61,2d,ad,05,70,75,3a,64,1d,56,e0,84,8f,'
Line 181568: Unrecognized input ' 80,a1,61,4b,4f,fd,27,46,e4,c6,58,30,00,00,00,40,27,66,51,f3,c7,28,06,74,de,'
Line 181569: Unrecognized input ' 20,e4,01,51,36,bd,cd,ab,8d,ce,ca,5f,77,ef,d9,ba,96,1b,3e,79,5f,ac,b6,34,de,'
Line 181570: Unrecognized input ' cd,4d,55,5f,01,ed,48,89,d0,3e,c0,97,ee'
Line 181572: Key is too long '[Software\Microsoft\Protected Storage System Provider\rmf\Data\e161255a-37c3-11d2-bcaa-00c04fd929db\e161255a-37c3-11d2-bcaa-00c04fd929db\
http://javashoplm.sun.com/servlet/EComActionServlet/ECom.WelcomePageInfo;jse...]'
Line 181572: Error creating key '[Software\Microsoft\Protected Storage System Provider\rmf\Data\e161255a-37c3-11d2-bcaa-00c04fd929db\e161255a-37c3-11d2-bcaa-00c04fd929db\
http://javashoplm.sun.com/servlet/EComActionServlet/ECom.WelcomePageInfo;jse...]'
Line 181573: Value without key '"Behavior"=hex:02,00,00,00,02,00,00,00,10,00,00,00,57,00,69,00,6e,00,64,00,6f,'
Line 181574: Unrecognized input ' 00,77,00,73,00,00,00,14,00,00,00,55,af,f8,de,7a,b4,0b,fa,dd,45,5f,f0,96,bb,'
Line 181575: Unrecognized input ' de,f0,c5,c5,0d,8f'
Line 181576: Value without key '"Item Data"=hex:02,00,00,00,18,00,00,00,80,58,f9,8b,65,ed,de,c0,7d,40,94,84,4f,'
Line 181577: Unrecognized input ' cb,6f,a1,9b,18,27,1a,d7,45,01,f5,58,00,00,00,08,a6,e1,69,2c,31,7d,0e,f3,2d,'
Line 181578: Unrecognized input ' a4,36,5f,94,b6,9f,8a,df,78,66,f9,7f,7f,b0,bd,52,a1,e5,a9,cc,9a,c7,1f,b1,73,'
Line 181579: Unrecognized input ' 74,ea,9d,85,77,87,aa,76,74,ca,5c,a7,47,a0,86,cc,94,5a,94,bd,41,e1,86,11,09,'
Line 181580: Unrecognized input ' c9,42,30,bc,e6,0a,a1,e3,5e,d5,99,0b,5c,71,f5,1d,94,12,12,b9,be,a9,30,27,4f,'
Line 181581: Unrecognized input ' 2a,34,af'
err:module:BUILTIN32_LoadLibraryExA loaded .so but dll avicap32.dll still not found
trace:msacm:MSACM32_LibMain 0xdef85000 0x1 0
trace:msacm:MSACM_RegisterDriver ('msacm.lhacm', 'lhacm.acm', 0x00000000)
trace:msacm:MSACM_RegisterDriver ('MSACM.imaadpcm', 'imaadp32.acm', 0x00000000)
trace:msacm:MSACM_RegisterDriver ('MSACM.msadpcm', 'msadp32.acm', 0x00000000)
trace:msacm:MSACM_RegisterDriver ('MSACM.msgsm610', 'msgsm32.acm', 0x00000000)
trace:msacm:MSACM_RegisterDriver ('msacm.msg711', 'msg711.acm', 0x00000000)
trace:msacm:MSACM_RegisterDriver ('MSACM.trspch', 'tssoft32.acm', 0x00000000)
trace:msacm:MSACM_RegisterDriver ('msacm.msg723', 'msg723.acm', 0x00000000)
trace:msacm:MSACM_RegisterDriver ('msacm.iac2', 'C:\WINDOWS\SYSTEM\IAC25_32.AX', 0x00000000)
trace:msacm:MSACM_RegisterDriver ('msacm.l3acm', 'L3codeca.acm', 0x00000000)
trace:msacm:MSACM_RegisterDriver ('msacm.sl_anet', 'sl_anet.acm', 0x00000000)
trace:msacm:MSACM_RegisterDriver ('msacm.voxacm160', 'vct3216.acm', 0x00000000)
trace:msacm:MSACM_RegisterDriver ('msacm.msaudio1', 'msaud32.acm', 0x00000000)
trace:msacm:MSACM_RegisterDriver ('msacm.divxa32', 'DivXa32.acm', 0x00000000)
trace:msacm:MSACM_RegisterDriver ('msacm.dvacm', 'dvacm.acm', 0x00000000)
trace:msacm:MSACM_RegisterDriver ('msacm.ctmp3', 'C:\WINDOWS\SYSTEM\ctmp3.acm', 0x00000000)
trace:msacm:MSACM_RegisterDriver ('msacm32.dll', 'msacm32.dll', 0x00000000)
trace:msacm:acmDriverOpen (df5e6958, deae0fbc, 00000000)
trace:msacm:PCM_DriverProc (00000000 df6cb42c 1 00000000 00000000);
trace:msacm:PCM_DriverProc (00000000 df6cb42c 2 00000000 00000000);
trace:msacm:PCM_DriverProc (00000000 df6cb42c 3 00000000 00000000);
trace:msacm:PCM_DriverProc (00000000 df6cb454 3 00000000 df5e60a0);
trace:msacm:acmDriverOpen 'msacm32.dll' => deae0108
trace:msacm:PCM_DriverProc (00000001 df6cb454 24586 df5e624c 00000000);
trace:msacm:PCM_DriverProc (00000001 df6cb454 24602 df5e6134 00000000);
trace:msacm:PCM_DriverProc (00000001 df6cb454 4 00000000 00000000);
trace:msacm:WAVEMAP_DriverProc (00000000, DF6CA760, 00000001, 00000000, 00000000)
trace:msacm:WAVEMAP_DriverProc (00000000, DF6CA760, 00000002, 00000000, 00000000)
trace:msacm:WAVEMAP_DriverProc (00000000, DF6CA760, 00000003, 00000000, 00000000)
trace:msacm:WAVEMAP_widMessage (0, 0064, 00000000, 00000000, 00000000);
trace:msacm:WAVEMAP_widMessage (0, 0032, 00000000, 00000000, 00000000);
trace:msacm:WAVEMAP_wodMessage (0, 0064, 00000000, 00000000, 00000000);
trace:msacm:WAVEMAP_wodMessage (0, 0003, 00000000, 00000000, 00000000);
trace:msacm:MIDIMAP_modMessage (0, 0064, 00000000, 00000000, 00000000);
trace:msacm:MIDIMAP_modMessage (0, 0001, 00000000, 00000000, 00000000);
fixme:msvideo:DrawDibRealize (1086,0x000008ec,0), stub
fixme:ddraw:DDRAW_DllCanUnloadNow (void): stub
fixme:msvideo:DrawDibRealize (1086,0x000008ec,0), stub
trace:msacm:acmMetrics (0x00000000, 50, df5e6800);
fixme:msvideo:DrawDibRealize (1086,0x000008ec,0), stub
trace:msacm:MSACM32_LibMain 0xdef85000 0x0 1
trace:msacm:PCM_DriverProc (00000001 df6cb42c 4 00000000 00000000);
trace:msacm:PCM_DriverProc (00000001 df6cb42c 5 00000000 00000000);
trace:msacm:PCM_DriverProc (00000001 df6cb42c 6 00000000 00000000);
Program exited normally.
(gdb) quit
router.lookhere.com[2]% exit
script done on Fri 09 Nov 2001 03:46:52 AM EST