[PATCH 2/5] winepulse: Add format and period probing

Alexandre Julliard julliard at winehq.org
Mon Oct 19 10:19:20 CDT 2015


Andrew Eikum <aeikum at codeweavers.com> writes:

> From: Maarten Lankhorst <m.b.lankhorst at gmail.com>
>
> Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
> ---
>  dlls/winepulse.drv/mmdevdrv.c | 128 ++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 128 insertions(+)

It breaks the tests here:

../../../tools/runtest -q -P wine -T ../../.. -M devenum.dll -p devenum_test.exe.so devenum && touch devenum.ok
wine: Unhandled page fault on execute access to 0x7dd57d70 at address 0x7dd57d70 (thread 0026), starting debugger...
Unhandled exception: page fault on execute access to 0x7dd57d70 in 32-bit code (0x7dd57d70).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7dd57d70 ESP:0053e900 EBP:0053e928 EFLAGS:00010206(  R- --  I   - -P- )
 EAX:00000000 EBX:7dd64260 ECX:00000087 EDX:7dd64830
 ESI:7d6004b8 EDI:7dd64830
Stack dump:
0x0053e900:  7dd64830 0053e942 0000000a 7dce2a74
0x0053e910:  7d6004f8 7d6007f0 7dd57d5b 7dd1a000
0x0053e920:  7d6004b8 00000000 7dd57d50 7dce26d2
0x0053e930:  7d604e40 00000003 ffffffff 00000000
0x0053e940:  575704b8 57575757 0000009c 25aac200
0x0053e950:  0053e9e8 00000801 7dce2629 7dd1a000
Backtrace:
=>0 0x7dd57d70 (0x0053e928)
  1 0x7dce26d2 pa_mainloop_poll+0xb1() in libpulse.so.0 (0x7dd57d50)
  2 0x7dce2def pa_mainloop_iterate+0x3e() in libpulse.so.0 (0x0053e9e8)
  3 0x7dce2eac pa_mainloop_run+0x2b() in libpulse.so.0 (0x0053e9e8)
  4 0x7dd57d18 (0x0053e9e8)
  5 0x7bc7ea60 call_thread_func_wrapper+0xb() in ntdll (0x0053ea08)
  6 0x7bc817cf call_thread_func+0xde(entry=0x7dd57cb0, arg=0x0(nil), frame=0x53eb08) [/home/julliard/wine/wine/dlls/ntdll/signal_i386.c:2732] in ntdll (0x0053eae8)
  7 0x7bc7ea3e call_thread_entry_point+0x11() in ntdll (0x0053eb08)
  8 0x7bc89483 start_thread+0xa2(info=0x7ffd4fb8) [/home/julliard/wine/wine/dlls/ntdll/thread.c:449] in ntdll (0x0053f358)
  9 0xf755defb start_thread+0xca() in libpthread.so.0 (0x0053f428)
0x7dd57d70: -- no code accessible --
Modules:
Module	Address			Debug info	Name (108 modules)
ELF	7b800000-7ba60000	Deferred        kernel32<elf>
  \-PE	7b810000-7ba60000	\               kernel32
ELF	7bc00000-7bcec000	Dwarf           ntdll<elf>
  \-PE	7bc10000-7bcec000	\               ntdll
ELF	7bf00000-7bf03000	Deferred        <wine-loader>
ELF	7d4f4000-7d600000	Deferred        libasound.so.2
ELF	7d764000-7d794000	Deferred        winealsa<elf>
  \-PE	7d770000-7d794000	\               winealsa
ELF	7d794000-7d7c1000	Deferred        libvorbis.so.0
ELF	7d7c1000-7d7ca000	Deferred        libogg.so.0
ELF	7d7ca000-7d7df000	Deferred        libgpg-error.so.0
ELF	7d7df000-7d852000	Deferred        libpcre.so.3
ELF	7d852000-7d8de000	Deferred        libvorbisenc.so.2
ELF	7d8de000-7d93f000	Deferred        libflac.so.8
ELF	7d93f000-7d95c000	Deferred        libgcc_s.so.1
ELF	7d95c000-7da0d000	Deferred        libgcrypt.so.20
ELF	7da0d000-7da36000	Deferred        liblzma.so.5
ELF	7da36000-7da4d000	Deferred        libresolv.so.2
ELF	7da4d000-7da75000	Deferred        libselinux.so.1
ELF	7da75000-7da7b000	Deferred        libuuid.so.1
ELF	7da7b000-7da81000	Deferred        libattr.so.1
ELF	7da81000-7da88000	Deferred        libasyncns.so.0
ELF	7da88000-7db01000	Deferred        libsndfile.so.1
ELF	7db01000-7db0b000	Deferred        libwrap.so.0
ELF	7db0b000-7db97000	Deferred        libsystemd.so.0
ELF	7db97000-7db9f000	Deferred        libxtst.so.6
ELF	7db9f000-7dba9000	Deferred        libsm.so.6
ELF	7dba9000-7dbc6000	Deferred        libice.so.6
ELF	7dbc6000-7dbcf000	Deferred        librt.so.1
ELF	7dbcf000-7dc2b000	Deferred        libdbus-1.so.3
ELF	7dc2b000-7dcb5000	Deferred        libpulsecommon-7.0.so
ELF	7dcb5000-7dcc1000	Deferred        libjson-c.so.2
ELF	7dcc1000-7dd1b000	Dwarf           libpulse.so.0
ELF	7dd65000-7dd87000	Deferred        mmdevapi<elf>
  \-PE	7dd70000-7dd87000	\               mmdevapi
ELF	7dd87000-7ddbd000	Deferred        uxtheme<elf>
  \-PE	7dd90000-7ddbd000	\               uxtheme
ELF	7ddbd000-7de32000	Deferred        shlwapi<elf>
  \-PE	7ddd0000-7de32000	\               shlwapi
ELF	7de32000-7df2a000	Deferred        comctl32<elf>
  \-PE	7de40000-7df2a000	\               comctl32
ELF	7df2a000-7df74000	Deferred        dsound<elf>
  \-PE	7df30000-7df74000	\               dsound
ELF	7df74000-7e061000	Deferred        quartz<elf>
  \-PE	7df90000-7e061000	\               quartz
ELF	7e061000-7e117000	Deferred        winmm<elf>
  \-PE	7e070000-7e117000	\               winmm
ELF	7e172000-7e175000	Deferred        libx11-xcb.so.1
ELF	7e175000-7e19e000	Deferred        msvfw32<elf>
  \-PE	7e180000-7e19e000	\               msvfw32
ELF	7e19e000-7e1c7000	Deferred        msacm32<elf>
  \-PE	7e1a0000-7e1c7000	\               msacm32
ELF	7e1c7000-7e1db000	Deferred        avicap32<elf>
  \-PE	7e1d0000-7e1db000	\               avicap32
ELF	7e1db000-7e202000	Deferred        devenum<elf>
  \-PE	7e1e0000-7e202000	\               devenum
ELF	7e224000-7e22b000	Deferred        libxfixes.so.3
ELF	7e22b000-7e237000	Deferred        libxcursor.so.1
ELF	7e237000-7e24a000	Deferred        libxi.so.6
ELF	7e24a000-7e24e000	Deferred        libxcomposite.so.1
ELF	7e24e000-7e25b000	Deferred        libxrandr.so.2
ELF	7e25b000-7e267000	Deferred        libxrender.so.1
ELF	7e267000-7e26e000	Deferred        libxxf86vm.so.1
ELF	7e26e000-7e272000	Deferred        libxinerama.so.1
ELF	7e272000-7e279000	Deferred        libxdmcp.so.6
ELF	7e279000-7e27d000	Deferred        libxau.so.6
ELF	7e27d000-7e2a3000	Deferred        libxcb.so.1
ELF	7e2a3000-7e3f5000	Deferred        libx11.so.6
ELF	7e3f5000-7e40a000	Deferred        libxext.so.6
ELF	7e40a000-7e410000	Deferred        libcap.so.2
ELF	7e434000-7e4c0000	Deferred        winex11<elf>
  \-PE	7e440000-7e4c0000	\               winex11
ELF	7e4c0000-7e4e3000	Deferred        imm32<elf>
  \-PE	7e4d0000-7e4e3000	\               imm32
ELF	7e5c3000-7e5ed000	Deferred        libexpat.so.1
ELF	7e5ed000-7e62f000	Deferred        libfontconfig.so.1
ELF	7e62f000-7e65c000	Deferred        libpng12.so.0
ELF	7e65c000-7e679000	Deferred        libz.so.1
ELF	7e679000-7e728000	Deferred        libfreetype.so.6
ELF	7e728000-7e74c000	Deferred        libtinfo.so.5
ELF	7e74c000-7e772000	Deferred        libncurses.so.5
ELF	7e79c000-7e81a000	Deferred        rpcrt4<elf>
  \-PE	7e7b0000-7e81a000	\               rpcrt4
ELF	7e81a000-7e833000	Deferred        version<elf>
  \-PE	7e820000-7e833000	\               version
ELF	7e833000-7e94a000	Deferred        gdi32<elf>
  \-PE	7e840000-7e94a000	\               gdi32
ELF	7e94a000-7ea97000	Deferred        user32<elf>
  \-PE	7e960000-7ea97000	\               user32
ELF	7ea97000-7eb0a000	Deferred        advapi32<elf>
  \-PE	7eaa0000-7eb0a000	\               advapi32
ELF	7eb0a000-7ec3c000	Deferred        ole32<elf>
  \-PE	7eb20000-7ec3c000	\               ole32
ELF	7ec3c000-7ed69000	Deferred        oleaut32<elf>
  \-PE	7ec50000-7ed69000	\               oleaut32
ELF	7ef69000-7ef76000	Deferred        libnss_files.so.2
ELF	7ef76000-7ef90000	Deferred        libnsl.so.1
ELF	7ef90000-7efd6000	Deferred        libm.so.6
ELF	7efe8000-7f000000	Deferred        devenum_test<elf>
  \-PE	7eff0000-7f000000	\               devenum_test
ELF	f73a6000-f73ab000	Deferred        libdl.so.2
ELF	f73ab000-f7556000	Dwarf           libc.so.6
ELF	f7557000-f7573000	Dwarf           libpthread.so.0
ELF	f7574000-f7580000	Deferred        libnss_nis.so.2
ELF	f7594000-f759d000	Deferred        libnss_compat.so.2
ELF	f759d000-f7753000	Dwarf           libwine.so.1
ELF	f7755000-f7777000	Deferred        ld-linux.so.2
ELF	f7777000-f7778000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) Z:\home\julliard\wine\wine\dlls\devenum\tests\devenum_test.exe
	00000028    0
	00000027    0
	00000026    0 <==
	00000009    0
0000000e services.exe
	0000001e    0
	0000001d    0
	00000017    0
	00000016    0
	00000014    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001c    0
	00000019    0
	00000018    0
	00000013    0
0000001a plugplay.exe
	00000020    0
	0000001f    0
	0000001b    0
00000021 explorer.exe
	00000025    0
	00000024    0
	00000023    0
	00000022    0
System information:
    Wine build: wine-1.7.53-39-g51c5fea1f275
    Platform: i386
    Host system: Linux
    Host version: 3.16.0-4-amd64
Makefile:161: recipe for target 'devenum.ok' failed
make: *** [devenum.ok] Error 5

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list