http://bugs.winehq.org/show_bug.cgi?id=31890
Bug #: 31890 Summary: Cicso communicator throws a segmentation fault when call is initiated Product: Wine Version: 1.5.13 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: fastalan@gmail.com Classification: Unclassified
Description of problem: While emulator the Cisco IP Communicator 8-6-1, sometimes the application seg faults after the call is initiated. STDOUT shows:
fixme:mmdevapi:AEV_GetMasterVolumeLevelScalar stub
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce: 1. wine ./communicatork9.exe 2. Make a call on the soft phone
Actual results: When call initiates, the app crashes. The cisco CUCM continues the call, but the UA Endpoint client is dead.
Expected results: Caller should hear a ringing sound and call should complete.
Additional info: 3.5.4-2.fc17.x86_64 wine-1.5.13
http://bugs.winehq.org/show_bug.cgi?id=31890
--- Comment #1 from Alan Walker fastalan@gmail.com 2012-10-05 13:50:35 CDT --- I should mention, it seems to only happen when I change my default sound card in X to the USB headset. If I change back to the PCI/Analog sound card and reboot the system the problem is gone. If I change the sound card back to the USB Headset, the crash returns consistently.
http://bugs.winehq.org/show_bug.cgi?id=31890
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
--- Comment #2 from Austin English austinenglish@gmail.com 2012-10-05 14:51:54 CDT --- Please attach a log as specified at http://wiki.winehq.org/Sound
http://bugs.winehq.org/show_bug.cgi?id=31890
--- Comment #3 from Alan Walker fastalan@gmail.com 2012-10-05 15:56:06 CDT --- (In reply to comment #2)
Please attach a log as specified at http://wiki.winehq.org/Sound
I am having trouble reproducing it now. I will be back to testing with it on Tuesday and I will aim to get you the debug log. Thank you.
http://bugs.winehq.org/show_bug.cgi?id=31890
--- Comment #4 from Alan Walker fastalan@gmail.com 2012-10-09 11:41:33 CDT --- Created attachment 42036 --> http://bugs.winehq.org/attachment.cgi?id=42036 Crash debug log as requested
WINEDEBUG=+tid,+mmdevapi,+winmm,+driver,+midi,+dsound,+dsound3d,+dmusic,+mci,+oss,+alsa,+coreaudio wine ./communicatork9.exe &> /tmp/wineciscocrash.log
http://bugs.winehq.org/show_bug.cgi?id=31890
--- Comment #5 from Alan Walker fastalan@gmail.com 2012-10-09 11:52:10 CDT --- Created attachment 42037 --> http://bugs.winehq.org/attachment.cgi?id=42037 Screenshot of device chosen causing crash
When I change to the USB device selected as the default sound device, the application crashes consistently. There has been cases where changing to this device did not crash the application, but most of the time it will cause the issue.
http://bugs.winehq.org/show_bug.cgi?id=31890
--- Comment #6 from Alan Walker fastalan@gmail.com 2012-10-09 11:53:13 CDT --- Created attachment 42038 --> http://bugs.winehq.org/attachment.cgi?id=42038 Example of the debug output for a working call that did not crash
http://bugs.winehq.org/show_bug.cgi?id=31890
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #42038|application/octet-stream |text/plain mime type| |
--- Comment #7 from Bruno Jesus 00cpxxx@gmail.com 2012-10-09 11:57:24 CDT --- Comment on attachment 42038 --> http://bugs.winehq.org/attachment.cgi?id=42038 Example of the debug output for a working call that did not crash
Please, use .txt in the future.
http://bugs.winehq.org/show_bug.cgi?id=31890
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #8 from Bruno Jesus 00cpxxx@gmail.com 2012-10-09 12:01:24 CDT ---
0009:trace:driver:DRIVER_TryOpenDriver32 Unable to load 32 bit module L"msacm.winemp3": Not a 32 bit lib 0009:trace:driver:DRIVER_TryOpenDriver32 Unable to load 32 bit module L"winemp3.acm": Not a 32 bit lib
Is this normal?
0027:fixme:winediag:AUDDRV_GetAudioEndpoint Winepulse is not officially supported by the wine project 0027:fixme:winediag:AUDDRV_GetAudioEndpoint For sound related feedback and support, please visit http://ubuntuforums.org/showthread.php?t=1960599
You could try in vanilla wine just to be sure it's not PulseAudio related.
http://bugs.winehq.org/show_bug.cgi?id=31890
--- Comment #9 from Andrew Eikum aeikum@codeweavers.com 2012-10-09 12:11:16 CDT --- Do you get a backtrace or any other output after dismissing the crash dialog?
This is strange: 0027:trace:mmdevapi:load_driver Unable to load L"winealsa.drv": 126 0027:trace:mmdevapi:init_driver Failed to load driver L"alsa"
Even with Ubuntu's modifications, I'd expect the ALSA driver to still exist.
Your setup seems very strange. Can you try with an unmodified version Wine?
http://bugs.winehq.org/show_bug.cgi?id=31890
--- Comment #10 from Andrew Eikum aeikum@codeweavers.com 2012-10-09 12:13:31 CDT --- Apologies, just noticed you're on Fedora. Still, it would be best if you could get an unmodified version of Wine to see if this is an issue with your distro's modifications.
http://bugs.winehq.org/show_bug.cgi?id=31890
--- Comment #11 from Andrew Eikum aeikum@codeweavers.com 2012-10-09 13:05:21 CDT --- One more thing, since getting vanilla Wine can sometimes be a pain...
(In reply to comment #4) WINEDEBUG=+tid,+mmdevapi,+winmm,+driver,+midi,+dsound,+dsound3d,+dmusic,+mci,+oss,+alsa,+coreaudio
wine ./communicatork9.exe &> /tmp/wineciscocrash.log
Try adding +pulse to the channels and attaching the new log. Maybe that will tell us if the error is in winepulse.
http://bugs.winehq.org/show_bug.cgi?id=31890
--- Comment #12 from Alan Walker fastalan@gmail.com 2012-10-09 13:23:31 CDT --- Created attachment 42042 --> http://bugs.winehq.org/attachment.cgi?id=42042 Debug log with +pulse as per request
WINEDEBUG=+tid,+pulse,+mmdevapi,+winmm,+driver,+midi,+dsound,+dsound3d,+dmusic,+mci,+oss,+alsa,+coreaudio wine ./communicatork9.exe &> /tmp/wineciscocrash.log
http://bugs.winehq.org/show_bug.cgi?id=31890
Maarten Lankhorst m.b.lankhorst@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |m.b.lankhorst@gmail.com
--- Comment #13 from Maarten Lankhorst m.b.lankhorst@gmail.com 2012-10-09 15:37:02 CDT --- Fedora packages a real old version of winepulse, you might want to update it first with the patches from http://repo.or.cz/w/wine/multimedia.git
skip the first few patches, everything up to and including "valgrind prevent crash hack" is not meant to be used by others and just dumb hacks I kept carrying around. The rest should improve sound though.
I usually update it shortly after each wine release if there are conflicting changes.
Seems like in this bug, AEV_GetMastervolumeLevelScalar should just return S_OK and set *level to something sensible (probably 1.0f)..
http://bugs.winehq.org/show_bug.cgi?id=31890
--- Comment #14 from Alan Walker fastalan@gmail.com 2012-10-12 11:40:12 CDT --- Is there a different RPM I can install to test the build you suggest?
http://bugs.winehq.org/show_bug.cgi?id=31890
--- Comment #15 from Alan Walker fastalan@gmail.com 2012-10-12 11:49:16 CDT --- Today I noticed there is a switch on the USB head set to change between headphones and headset. I flipped the switch to headset (mic/speakers) and I made a call with no crash. I will test this for a few days and see if I can reproduce the crash. Is it possible this could be related to the crash?
http://bugs.winehq.org/show_bug.cgi?id=31890
dichoso@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dichoso@gmail.com
--- Comment #16 from dichoso@gmail.com 2012-12-07 15:29:47 CST --- Are there any news? I'm having same problem on Ubuntu 12.10 using wine's ppa repository. Everytime I tried to establish a call it will terminate the app with the message posted in the first comment
http://bugs.winehq.org/show_bug.cgi?id=31890
Pitecantrop swordnik@meta.ua changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |swordnik@meta.ua
https://bugs.winehq.org/show_bug.cgi?id=31890
--- Comment #17 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.37 or newer) wine? If so, please attach the terminal output in 1.7.37 (see http://wiki.winehq.org/FAQ#get_log).
https://bugs.winehq.org/show_bug.cgi?id=31890
Pitecantrop swordnik@meta.ua changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|swordnik@meta.ua |
https://bugs.winehq.org/show_bug.cgi?id=31890
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=31890
Anastasius Focht focht@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@gmx.net Keywords| |download Status|UNCONFIRMED |NEW
--- Comment #18 from Anastasius Focht focht@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-endpoin...
Wine source:
https://source.winehq.org/git/wine.git/blob/7332de64a5a204cc285bdc1f8768d321...
--- 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
https://bugs.winehq.org/show_bug.cgi?id=31890
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |3ea35e7ea1fce242d9242febe13 | |7de36add55ebb Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #19 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit https://source.winehq.org/git/wine.git/commitdiff/3ea35e7ea1fce242d9242febe1... ("mmdevapi: Report 100% volume in GetMasterVolumeLevelScalar stub.")
Thanks Alex
$ wine --version wine-5.4-306-g9c190f8118
Regards
https://bugs.winehq.org/show_bug.cgi?id=31890
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #20 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.5.
https://bugs.winehq.org/show_bug.cgi?id=31890
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |5.0.x
https://bugs.winehq.org/show_bug.cgi?id=31890
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|5.0.x |---
--- Comment #21 from Michael Stefaniuc mstefani@winehq.org --- Removing the 5.0.x milestone from bug fixes included in 5.0.2.
https://bugs.winehq.org/show_bug.cgi?id=31890
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://github.com/cairoshe |https://web.archive.org/web |ll/cairoshell/releases/down |/20210121152823/https://git |load/v0.3.6842/CairoSetup_3 |hub.com/cairoshell/cairoshe |2bit.exe |ll/releases/download/v0.3.6 | |842/CairoSetup_32bit.exe