[Wine] Can't run amcap.exe with webcam

animals007 wineforum-user at winehq.org
Thu Jun 10 20:33:57 CDT 2010


OS: Ubuntu 10.04 with Gnome
wine version: 1.1.42
amcap.exe version: 9.00
wecam: Logictech QuickCam E3500

The webcam works very well with ubuntu (I just got  cheese to test the webcam). But I try to copy a amcap.exe and run 'wine amcap.exe' or 'sudo wine amcap.exe'. The amcap will crash when the amcap gui appears.

Following the Documents, I turn on the debug mode.What should I do for the next? What's wrong with wine/amcap ?
 

Code:

fixme:mixer:ALSA_MixerInit No master control found on USB Device 0x46d:0x9a4, disabling mixer
trace:qcap:DllGetClassObject ({bf87b6e1-8c27-11d0-b3f0-00aa003761c5},{00000001-0000-0000-c000-000000000046},0x62e03c)
trace:qcap:DSCF_CreateInstance (0x13f720)->((nil),{93e5a4e0-2d50-11d2-abfa-00a0c9c6e38d},0x630e60)
trace:qcap:QCAP_createCaptureGraphBuilder2 ((nil), 0x62dfcc)
trace:qcap:fnCaptureGraphBuilder2_QueryInterface (0x13f868/0x13f868)->({93e5a4e0-2d50-11d2-abfa-00a0c9c6e38d}, 0x630e60)
trace:qcap:fnCaptureGraphBuilder2_AddRef (0x13f868/0x13f868)->() AddRef from 1
trace:qcap:fnCaptureGraphBuilder2_QueryInterface -- Interface = 0x13f868
trace:qcap:fnCaptureGraphBuilder2_Release (0x13f868/0x13f868)->() Release from 2
trace:qcap:DllGetClassObject ({1b544c22-fd0b-11ce-8c63-00aa0044b51e},{00000001-0000-0000-c000-000000000046},0x62dfa8)
trace:qcap:DSCF_CreateInstance (0x13fa60)->((nil),{00000000-0000-0000-c000-000000000046},0x62e034)
trace:qcap:QCAP_createVFWCaptureFilter (nil) - 0x62df38
trace:qcap:OutputPin_Init 
trace:qcap:QCAP_createVFWCaptureFilter -- created at 0x13fbb0
trace:qcap:VfwCapture_QueryInterface ({00000000-0000-0000-c000-000000000046}, 0x62e034)
trace:qcap:VfwCapture_QueryInterface Returning {00000000-0000-0000-c000-000000000046} interface
trace:qcap:VfwCapture_AddRef 0x13fbb0->() New refcount: 2
trace:qcap:VfwCapture_Release 0x13fbb0->() New refcount: 1
trace:qcap:VfwCapture_QueryInterface ({37d84f60-42cb-11ce-8135-00aa004bb851}, 0x62e034)
trace:qcap:VfwCapture_QueryInterface Returning {37d84f60-42cb-11ce-8135-00aa004bb851} interface
trace:qcap:PPB_AddRef 0x13fbbc --> Forwarding to VfwCapture (0x13fbb0)
trace:qcap:VfwCapture_AddRef 0x13fbb0->() New refcount: 2
trace:qcap:PPB_Load 0x13fbbc/0x13fbb0-> (0x13f720, (nil))
trace:qcap:YUV_Init Filled hash table
trace:qcap_v4l:qcap_driver_init opening /dev/video0
trace:qcap_v4l:qcap_driver_init 1 inputs on UVC Camera (046d:09a4)
trace:qcap_v4l:qcap_driver_init depth 24 palette 4 (24 bit RGB values) hue 0 color 8224 contrast 8224
trace:qcap_v4l:qcap_driver_init Using the suggested format
trace:qcap_v4l:qcap_driver_init format: 24 bits - 320 x 240
trace:qcap:PPB_Release 0x13fbbc --> Forwarding to VfwCapture (0x13fbb0)
trace:qcap:VfwCapture_Release 0x13fbb0->() New refcount: 1
trace:qcap:VfwCapture_QueryInterface ({56a86895-0ad4-11ce-b03a-0020af0ba770}, 0x427ac4)
trace:qcap:VfwCapture_QueryInterface Returning {56a86895-0ad4-11ce-b03a-0020af0ba770} interface
trace:qcap:VfwCapture_AddRef 0x13fbb0->() New refcount: 2
trace:qcap:VfwCapture_Release 0x13fbb0->() New refcount: 1
trace:qcap:fnCaptureGraphBuilder2_SetFilterGraph (0x13f868/0x13f868)->(0x13ffb0)
trace:qcap:VfwCapture_JoinFilterGraph (0x13ffb0, L"UVC Camera (046d:09a4)")
trace:qcap:VfwCapture_AddRef 0x13fbb0->() New refcount: 2
trace:qcap:VfwCapture_SetSyncSource (0x1403f0)
fixme:qcap:fnCaptureGraphBuilder2_FindInterface (0x13f868/0x13f868)->({fb6c4281-0353-11d1-905f-0000c0cc16ba}, {73766169-0000-0010-8000-00aa00389b71}, 0x13fbb0, {c6e13343-30ac-11d0-a18c-00a0c9118956}, 0x427ab0) - workaround stub!
trace:qcap:VfwCapture_QueryInterface ({c6e13343-30ac-11d0-a18c-00a0c9118956}, 0x427ab0)
fixme:qcap:VfwCapture_QueryInterface No interface for {c6e13343-30ac-11d0-a18c-00a0c9118956}!
fixme:qcap:fnCaptureGraphBuilder2_FindInterface (0x13f868/0x13f868)->({fb6c4281-0353-11d1-905f-0000c0cc16ba}, {73646976-0000-0010-8000-00aa00389b71}, 0x13fbb0, {c6e13343-30ac-11d0-a18c-00a0c9118956}, 0x427ab0) - workaround stub!
trace:qcap:VfwCapture_QueryInterface ({c6e13343-30ac-11d0-a18c-00a0c9118956}, 0x427ab0)
fixme:qcap:VfwCapture_QueryInterface No interface for {c6e13343-30ac-11d0-a18c-00a0c9118956}!
fixme:qcap:fnCaptureGraphBuilder2_FindInterface (0x13f868/0x13f868)->({fb6c4281-0353-11d1-905f-0000c0cc16ba}, {73766169-0000-0010-8000-00aa00389b71}, 0x13fbb0, {c6e13340-30ac-11d0-a18c-00a0c9118956}, 0x427abc) - workaround stub!
trace:qcap:VfwCapture_QueryInterface ({c6e13340-30ac-11d0-a18c-00a0c9118956}, 0x427abc)
trace:qcap:VfwCapture_QueryInterface Returning {c6e13340-30ac-11d0-a18c-00a0c9118956} interface
trace:qcap:AMStreamConfig_AddRef 0x13fbb4 --> Forwarding to VfwCapture (0x13fbb0)
trace:qcap:VfwCapture_AddRef 0x13fbb0->() New refcount: 3
trace:qcap:AMStreamConfig_GetFormat 0x13fbb4 -> (0x62e0a4)
trace:qcap_v4l:qcap_driver_get_format Output format: 320x240 - 24 bits = 225 KB
trace:qcap:dump_AM_MEDIA_TYPE 	{73646976-0000-0010-8000-00aa00389b71}
	{e436eb7d-524f-11ce-9f53-0020af0ba770}
	...
	{05589f80-c356-11ce-bf01-00aa0055595a}
fixme:qcap:fnCaptureGraphBuilder2_FindInterface (0x13f868/0x13f868)->({fb6c4281-0353-11d1-905f-0000c0cc16ba}, {73646976-0000-0010-8000-00aa00389b71}, 0x13fbb0, {d8d715a0-6e5e-11d0-b3f0-00aa003761c5}, 0x427ab4) - workaround stub!
trace:qcap:VfwCapture_QueryInterface ({d8d715a0-6e5e-11d0-b3f0-00aa003761c5}, 0x427ab4)
fixme:qcap:VfwCapture_QueryInterface No interface for {d8d715a0-6e5e-11d0-b3f0-00aa003761c5}!
trace:qcap:VfwCapture_EnumPins (0x62e088)
trace:qcap:IEnumPinsImpl_Next (1, 0x62e08c, 0x62e0b8)
trace:qcap:VfwPin_AddRef () -> new refcount: 2
trace:qcap:IPinImpl_QueryPinInfo (0x13fcf8/0x13fcf8)->(0x62e0d0)
trace:qcap:VfwCapture_AddRef 0x13fbb0->() New refcount: 4
trace:qcap:VfwCapture_Release 0x13fbb0->() New refcount: 3
trace:qcap:VfwPin_Release () -> new refcount: 1
trace:qcap:IEnumPinsImpl_Next (1, 0x62e08c, 0x62e0b8)
trace:qcap:IEnumPinsImpl_Release ()
trace:qcap:fnCaptureGraphBuilder2_FindPin (0x13f868/0x13f868)->(0x13fbb0, 1, {fb6c4284-0353-11d1-905f-0000c0cc16ba}, (null), 0, 0, 0x62e0a0)
trace:qcap:VfwCapture_QueryInterface ({56a86891-0ad4-11ce-b03a-0020af0ba770}, 0x62e014)
fixme:qcap:VfwCapture_QueryInterface No interface for {56a86891-0ad4-11ce-b03a-0020af0ba770}!
trace:qcap:VfwCapture_QueryInterface ({56a86895-0ad4-11ce-b03a-0020af0ba770}, 0x62e010)
trace:qcap:VfwCapture_QueryInterface Returning {56a86895-0ad4-11ce-b03a-0020af0ba770} interface
trace:qcap:VfwCapture_AddRef 0x13fbb0->() New refcount: 4
trace:qcap:VfwCapture_EnumPins (0x62e018)
trace:qcap:IEnumPinsImpl_Reset IEnumPinsImpl::Reset()
trace:qcap:IEnumPinsImpl_Next (1, 0x62e014, (nil))
trace:qcap:VfwPin_AddRef () -> new refcount: 2
trace:qcap:fnCaptureGraphBuilder2_FindPin Testing match
trace:qcap:IPinImpl_QueryDirection (0x13fcf8/0x13fcf8)->(0x62df84)
fixme:qcap:pin_matches Ignoring category/type
trace:qcap:pin_matches Match made in heaven
trace:qcap:IEnumPinsImpl_Release ()
trace:qcap:VfwPin_Release () -> new refcount: 1
fixme:qcap:fnCaptureGraphBuilder2_RenderStream (0x13f868/0x13f868)->({fb6c4282-0353-11d1-905f-0000c0cc16ba}, {73766169-0000-0010-8000-00aa00389b71}, 0x13fbb0, (nil), (nil)) Stub!
trace:qcap:fnCaptureGraphBuilder2_FindPin (0x13f868/0x13f868)->(0x13fbb0, 1, {fb6c4282-0353-11d1-905f-0000c0cc16ba}, {73766169-0000-0010-8000-00aa00389b71}, 1, 0, 0x62e348)
trace:qcap:VfwCapture_QueryInterface ({56a86891-0ad4-11ce-b03a-0020af0ba770}, 0x62e2c4)
fixme:qcap:VfwCapture_QueryInterface No interface for {56a86891-0ad4-11ce-b03a-0020af0ba770}!
trace:qcap:VfwCapture_QueryInterface ({56a86895-0ad4-11ce-b03a-0020af0ba770}, 0x62e2c0)
trace:qcap:VfwCapture_QueryInterface Returning {56a86895-0ad4-11ce-b03a-0020af0ba770} interface
trace:qcap:VfwCapture_AddRef 0x13fbb0->() New refcount: 5
trace:qcap:VfwCapture_EnumPins (0x62e2c8)
trace:qcap:IEnumPinsImpl_Reset IEnumPinsImpl::Reset()
trace:qcap:IEnumPinsImpl_Next (1, 0x62e2c4, (nil))
trace:qcap:VfwPin_AddRef () -> new refcount: 2
trace:qcap:fnCaptureGraphBuilder2_FindPin Testing match
trace:qcap:IPinImpl_QueryDirection (0x13fcf8/0x13fcf8)->(0x62e234)
fixme:qcap:pin_matches Ignoring category/type
trace:qcap:pin_matches Match made in heaven
trace:qcap:IEnumPinsImpl_Release ()
trace:qcap:fnCaptureGraphBuilder2_FindPin (0x13f868/0x13f868)->((nil), 0, {fb6c4282-0353-11d1-905f-0000c0cc16ba}, {73766169-0000-0010-8000-00aa00389b71}, 1, 0, 0x62e344)
wine: Unhandled page fault on read access to 0x00000000 at address 0x3a590b14 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x3a590b14).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:3a590b14 ESP:0062e25c EBP:0062e2e4 EFLAGS:00010206(  R- --  I   - -P- )
 EAX:000000aa EBX:3a5a1ff4 ECX:00000000 EDX:00000000
 ESI:0041f8c0 EDI:0041e450
Stack dump:
0x0062e25c:  00000003 3a5a2934 3a59a3c8 3a59a0e8
0x0062e26c:  0013f868 0013f868 00000000 00000000
0x0062e27c:  7bcb4ded 7bcb4dc6 00000001 00000000
0x0062e28c:  0062e344 00110000 00000010 6a5deff4
0x0062e29c:  00000000 3a5a2934 00000000 3a5a2934
0x0062e2ac:  3a59a3c8 3a599f02 00000000 7bcb4dc6
Backtrace:
=>0 0x3a590b14 fnCaptureGraphBuilder2_FindPin+0x34(iface=0x13f868, pSource=(nil), pindir=PINDIR_INPUT, pCategory=0x41e450, pType=0x41f8c0, fUnconnected=0x0001, num=0, ppPin=0x62e344) [/build/buildd/wine1.2-1.1.42/dlls/qcap/capturegraph.c:404] in qcap (0x0062e364)
  1 0x3a5910ac fnCaptureGraphBuilder2_RenderStream+0xdb(iface=0x13f868, pCategory=0x41e450, pType=0x41f8c0, pSource=0x13fbb0, pfCompressor=(nil), pfRenderer=(nil)) [/build/buildd/wine1.2-1.1.42/dlls/qcap/capturegraph.c:294] in qcap (0x0062e56c)
0x3a590b14 fnCaptureGraphBuilder2_FindPin+0x34 [/build/buildd/wine1.2-1.1.42/dlls/qcap/capturegraph.c:404] in qcap: movl	0x0(%edx),%ecx
Unable to open file ''
Modules:
Module	Address			Debug info	Name (118 modules)
PE	  400000-  42c000	Export          amcap
ELF	20000000-20015000	Deferred        avicap32<elf>
  \-PE	20010000-20015000	\               avicap32
ELF	20015000-200c8000	Deferred        quartz<elf>
  \-PE	20030000-200c8000	\               quartz
ELF	200c8000-200ff000	Deferred        winealsa<elf>
  \-PE	200d0000-200ff000	\               winealsa
ELF	20102000-20144000	Deferred        libpulse.so.0
ELF	20144000-2014a000	Deferred        libxtst.so.6
ELF	2014a000-20197000	Deferred        libflac.so.8
ELF	20197000-2019e000	Deferred        libogg.so.0
ELF	2019e000-201a5000	Deferred        libasound_module_pcm_pulse.so
ELF	201a5000-201bb000	Deferred        midimap<elf>
  \-PE	201b0000-201bb000	\               midimap
ELF	201bb000-201c1000	Deferred        libv4l1.so.0
ELF	29b63000-29bd0000	Deferred        libv4lconvert.so.0
ELF	2cc25000-2cc6d000	Deferred        dsound<elf>
  \-PE	2cc30000-2cc6d000	\               dsound
ELF	2da9d000-2dac2000	Deferred        msvfw32<elf>
  \-PE	2daa0000-2dac2000	\               msvfw32
ELF	351da000-351e3000	Deferred        libwrap.so.0
ELF	39824000-398ec000	Deferred        libasound.so.2
ELF	3a57d000-3a5a4000	Dwarf           qcap<elf>
  \-PE	3a580000-3a5a4000	\               qcap
ELF	4ca85000-4cb81000	Deferred        libvorbisenc.so.2
ELF	4f194000-4f1b6000	Deferred        devenum<elf>
  \-PE	4f1a0000-4f1b6000	\               devenum
ELF	5081d000-50828000	Deferred        libv4l2.so.0
ELF	58685000-586d0000	Deferred        libpulsecommon-0.9.21.so
ELF	5c106000-5c12f000	Deferred        libvorbis.so.0
ELF	5f214000-5f27c000	Deferred        libsndfile.so.1
ELF	677b5000-677cd000	Deferred        msacm32<elf>
  \-PE	677c0000-677cd000	\               msacm32
ELF	68000000-6801d000	Deferred        ld-linux.so.2
ELF	6801d000-68036000	Deferred        libpthread.so.0
ELF	68036000-68190000	Deferred        libc.so.6
ELF	68190000-68194000	Deferred        libdl.so.2
ELF	68194000-6819c000	Deferred        libnss_compat.so.2
ELF	6819c000-681b3000	Deferred        libnsl.so.1
ELF	681b3000-681bf000	Deferred        libnss_files.so.2
ELF	681bf000-682ce000	Deferred        user32<elf>
  \-PE	681d0000-682ce000	\               user32
ELF	682ce000-68358000	Deferred        gdi32<elf>
  \-PE	682e0000-68358000	\               gdi32
ELF	68358000-683b1000	Deferred        advapi32<elf>
  \-PE	68360000-683b1000	\               advapi32
ELF	683b1000-6845c000	Deferred        comdlg32<elf>
  \-PE	683c0000-6845c000	\               comdlg32
ELF	6845c000-684bb000	Deferred        shlwapi<elf>
  \-PE	68470000-684bb000	\               shlwapi
ELF	684bb000-68589000	Deferred        comctl32<elf>
  \-PE	684c0000-68589000	\               comctl32
ELF	68589000-685bf000	Deferred        winspool<elf>
  \-PE	68590000-685bf000	\               winspool
ELF	685bf000-68646000	Deferred        winmm<elf>
  \-PE	685d0000-68646000	\               winmm
ELF	68646000-6866c000	Deferred        msacm32<elf>
  \-PE	68650000-6866c000	\               msacm32
ELF	6866c000-68680000	Deferred        olepro32<elf>
  \-PE	68670000-68680000	\               olepro32
ELF	68680000-68766000	Deferred        oleaut32<elf>
  \-PE	686a0000-68766000	\               oleaut32
ELF	68766000-687dc000	Deferred        libfreetype.so.6
ELF	687dc000-6880c000	Deferred        libfontconfig.so.1
ELF	6880c000-68833000	Deferred        libexpat.so.1
ELF	68833000-688d2000	Deferred        winex11<elf>
  \-PE	68840000-688d2000	\               winex11
ELF	688d2000-688eb000	Deferred        libice.so.6
ELF	688eb000-688fb000	Deferred        libxext.so.6
ELF	688fb000-68a18000	Deferred        libx11.so.6
ELF	68a18000-68a1d000	Deferred        libuuid.so.1
ELF	68a1d000-68a37000	Deferred        libxcb.so.1
ELF	68a37000-68a3b000	Deferred        libxau.so.6
ELF	68a3b000-68a41000	Deferred        libxdmcp.so.6
ELF	68a41000-68a62000	Deferred        imm32<elf>
  \-PE	68a50000-68a62000	\               imm32
ELF	68a62000-68a66000	Deferred        libxinerama.so.1
ELF	68a66000-68a6c000	Deferred        libxxf86vm.so.1
ELF	68a6c000-68a76000	Deferred        libxrender.so.1
ELF	68a76000-68a7e000	Deferred        libxrandr.so.2
ELF	68a7e000-68a82000	Deferred        libxcomposite.so.1
ELF	68a82000-68a88000	Deferred        libxfixes.so.3
ELF	68a88000-68a92000	Deferred        libxcursor.so.1
ELF	68a92000-68ad8000	Deferred        libcups.so.2
ELF	68ad8000-68b07000	Deferred        libgssapi_krb5.so.2
ELF	68b07000-68ba2000	Deferred        libgnutls.so.26
ELF	68ba2000-68bb3000	Deferred        libavahi-client.so.3
ELF	68bb3000-68c64000	Deferred        libkrb5.so.3
ELF	68c64000-68c88000	Deferred        libk5crypto.so.3
ELF	68c88000-68c8c000	Deferred        libcom_err.so.2
ELF	68c8c000-68c94000	Deferred        libkrb5support.so.0
ELF	68c94000-68ca8000	Deferred        libresolv.so.2
ELF	68ca8000-68cb9000	Deferred        libtasn1.so.3
ELF	68cb9000-68d2c000	Deferred        libgcrypt.so.11
ELF	68d2c000-68d35000	Deferred        librt.so.1
ELF	68d35000-68d3a000	Deferred        libgpg-error.so.0
ELF	68fc1000-69155000	Deferred        shell32<elf>
  \-PE	68fd0000-69155000	\               shell32
ELF	69b38000-69b71000	Deferred        libdbus-1.so.3
ELF	6a275000-6a281000	Deferred        libavahi-common.so.3
ELF	6a4b8000-6a5f3000	Deferred        libwine.so.1
ELF	70807000-7080b000	Deferred        libkeyutils.so.1
ELF	71437000-71440000	Deferred        libsm.so.6
ELF	7219f000-721d2000	Deferred        uxtheme<elf>
  \-PE	721b0000-721d2000	\               uxtheme
ELF	72a2f000-72a3d000	Deferred        libxi.so.6
ELF	73992000-73a03000	Deferred        rpcrt4<elf>
  \-PE	739a0000-73a03000	\               rpcrt4
ELF	75975000-7599b000	Deferred        libm.so.6
ELF	75bd8000-75bed000	Deferred        libz.so.1
ELF	78d43000-78e3f000	Deferred        ole32<elf>
  \-PE	78d60000-78e3f000	\               ole32
ELF	7b800000-7b93a000	Deferred        kernel32<elf>
  \-PE	7b810000-7b93a000	\               kernel32
ELF	7bc00000-7bcb6000	Deferred        ntdll<elf>
  \-PE	7bc10000-7bcb6000	\               ntdll
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
ELF	7bf79000-7bf83000	Deferred        libnss_nis.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) Z:\home\test\ww0193\amcap.exe
	00000009    0 <==
0000000e services.exe
	00000017    0
	00000015    0
	00000014    0
	00000010    0
	0000000f    0
00000011 winedevice.exe
	00000018    0
	00000016    0
	00000013    0
	00000012    0
00000019 explorer.exe
	0000001a    0
Backtrace:
=>0 0x3a590b14 fnCaptureGraphBuilder2_FindPin+0x34(iface=0x13f868, pSource=(nil), pindir=PINDIR_INPUT, pCategory=0x41e450, pType=0x41f8c0, fUnconnected=0x0001, num=0, ppPin=0x62e344) [/build/buildd/wine1.2-1.1.42/dlls/qcap/capturegraph.c:404] in qcap (0x0062e364)
  1 0x3a5910ac fnCaptureGraphBuilder2_RenderStream+0xdb(iface=0x13f868, pCategory=0x41e450, pType=0x41f8c0, pSource=0x13fbb0, pfCompressor=(nil), pfRenderer=(nil)) [/build/buildd/wine1.2-1.1.42/dlls/qcap/capturegraph.c:294] in qcap (0x0062e56c)










More information about the wine-users mailing list