[Bug 31890] Multiple applications need IAudioEndpointVolume::GetMasterVolumeLevelScalar method implementation (Cisco IP Communicator, Cairo Shell v0.3.x)

WineHQ Bugzilla wine-bugs at winehq.org
Sun Feb 16 10:09:27 CST 2020


https://bugs.winehq.org/show_bug.cgi?id=31890

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Cicso communicator throws a |Multiple applications need
                   |segmentation fault when     |IAudioEndpointVolume::GetMa
                   |call is initiated           |sterVolumeLevelScalar
                   |                            |method implementation
                   |                            |(Cisco IP Communicator,
                   |                            |Cairo Shell v0.3.x)
     Ever confirmed|0                           |1
          Component|-unknown                    |mmdevapi
                URL|                            |https://github.com/cairoshe
                   |                            |ll/cairoshell/releases/down
                   |                            |load/v0.3.6842/CairoSetup_3
                   |                            |2bit.exe
                 CC|                            |focht at gmx.net
           Keywords|                            |download
             Status|UNCONFIRMED                 |NEW

--- Comment #18 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

confirming. I've found another app, requiring this API: Cairo Shell v0.3.x
(.NET 4.7 app). Refining summary to reflect this.

Project site: https://cairoshell.com/

https://github.com/cairoshell/cairoshell/releases/tag/v0.3.6842

Prerequisite:

* bug 48611

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files (x86)/Cairo Shell

$ WINEDEBUG=+seh,+relay wine ./CairoDesktop.exe >>log.txt 2>&1
...
002c:fixme:mmdevapi:AEV_GetMasterVolumeLevelScalar stub 
...
002c:Call KERNEL32.GetLastError() ret=00a2c672
002c:Ret  KERNEL32.GetLastError() retval=000036b7 ret=00a2c672 
...
002c:trace:seh:raise_exception code=e0434352 flags=1 addr=0x7b00dae1
ip=7b00dae1 tid=002c
002c:trace:seh:raise_exception  info[0]=80004001
002c:trace:seh:raise_exception  info[1]=00000000
002c:trace:seh:raise_exception  info[2]=00000000
002c:trace:seh:raise_exception  info[3]=00000000
002c:trace:seh:raise_exception  info[4]=00a10000
002c:trace:seh:raise_exception  eax=0032f194 ebx=00000005 ecx=0032f28c
edx=0032f194 esi=00000005 edi=0032f200
002c:trace:seh:raise_exception  ebp=0032f1e8 esp=0032f194 cs=320023 ds=ffff002b
es=002b fs=f7c10063 gs=006b flags=00200212
002c:trace:seh:call_vectored_handlers calling handler at 0xbb4ec0 code=e0434352
flags=1 
...
002c:trace:seh:raise_exception code=e0434352 flags=1 addr=0x7b00dae1
ip=7b00dae1 tid=002c
002c:trace:seh:raise_exception  info[0]=80004001
002c:trace:seh:raise_exception  info[1]=00000000
002c:trace:seh:raise_exception  info[2]=00000000
002c:trace:seh:raise_exception  info[3]=00000000
002c:trace:seh:raise_exception  info[4]=00a10000
002c:trace:seh:raise_exception  eax=0032f194 ebx=00000005 ecx=0032f28c
edx=0032f194 esi=00000005 edi=0032f200
002c:trace:seh:raise_exception  ebp=0032f1e8 esp=0032f194 cs=320023 ds=ffff002b
es=002b fs=f7c10063 gs=006b flags=00200212
002c:trace:seh:call_vectored_handlers calling handler at 0xbb4ec0 code=e0434352
flags=1 
--- snip ---

Managed backtrace:

--- snip ---
System.NotImplementedException: The method or operation is not implemented.
   at
CairoDesktop.Common.VolumeUtilities.IAudioEndpointVolume.GetMasterVolumeLevelScalar()
   at CairoDesktop.Common.VolumeUtilities.GetMasterVolume()
   at CairoDesktop.MenuBar.volumeIcon_Tick()
   at CairoDesktop.MenuBar.initializeVolumeIcon()
   at CairoDesktop.MenuBar.setupMenu()
   at CairoDesktop.MenuBar..ctor(Screen screen)
   at CairoDesktop.Startup.Main(String[] args)
--- snip ---

Microsoft docs:

https://docs.microsoft.com/en-us/windows/win32/api/endpointvolume/nf-endpointvolume-iaudioendpointvolume-getmastervolumelevelscalar

Wine source:

https://source.winehq.org/git/wine.git/blob/7332de64a5a204cc285bdc1f8768d3217103b7dd:/dlls/mmdevapi/audiovolume.c#l156

--- snip ---
 156 static HRESULT WINAPI
AEV_GetMasterVolumeLevelScalar(IAudioEndpointVolumeEx *iface, float *level)
 157 {
 158     TRACE("(%p)->(%p)\n", iface, level);
 159     if (!level)
 160         return E_POINTER;
 161     FIXME("stub\n");
 162     return E_NOTIMPL;
 163 }
--- snip ---

$ sha1sum CairoSetup_32bit.exe 
ba4098fce86a2d63a9107c0c18b2f68eb9417039  CairoSetup_32bit.exe

$ du -sh CairoSetup_32bit.exe 
2.2M    CairoSetup_32bit.exe

$ wine --version
wine-5.1-391-g7332de64a5

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list