A problem with winmm and word

Andriy Palamarchuk apa3a at yahoo.com
Mon Jun 3 11:37:41 CDT 2002


--- Duane Clark <dclark at akamail.com> wrote:
> Word2000 seems to work good for me, except when I
> exit. It than 
> invariably crashes in winmm, of all places:
> Backtrace:
> =>0 0x44056d9f
> (MULTIMEDIA_PlaySound+0x12f(pszSound=0x0, hmod=0x0, 
> fdwSound=0x40, bUnicode=0x0) [mmsystem.c:639] in
> winmm.dll.so) 
> (ebp=405b6bfc)
>    1 0x44056e37 (WINMM.DLL.PlaySound+0x13 in
> winmm.dll.so) (ebp=405b6c14)
>    2 0x30962b08 (MSO9.DLL._MsoFShowTooltip at 8+0x123b
> in C:\PROGRAM 
> FILES\MICROSOFT OFFICE\OFFICE\MSO9.DLL)
> (ebp=405b6d78)
>    3 0x30a92306
> (MSO9.DLL._MsoFGetCursorLocation at 8+0x23f in
> C:\PROGRAM 
> FILES\MICROSOFT OFFICE\OFFICE\MSO9.DLL)
> (ebp=405b6d9c)
>    4 0x30170343 (winword.exe.EntryPoint+0x16d9a3 in
> C:\Program 
> Files\Microsoft Office\Office\winword.exe)
> (ebp=307cd7d0)
>    5 0x00000012 (ebp=00000000)
> 
> MULTIMEDIA_PlaySound() gets called three times. The
> first two times work 
> ok, but on the third time, it is called with a NIL
> pszSound.

According to msdn
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/mmfunc_9uxw.asp):

"pszSound - A string that specifies the sound to play.
If this parameter is NULL, any currently playing
waveform sound is stopped."

> This causes 
> wps to never be set, causing the crash on line 639:
>      wps->lpNext = iData->lpPlaySound;
> 
> I added a simple test to return if wps is not set,
> and Word exits fine. 
> But I have no idea whether that is the right thing
> to do.

You so nicely researched and described this bug. It
would be pity if this information is lost :-)

If nobody takes it now, could you submit the
information to Bugzilla?

Andriy

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



More information about the wine-devel mailing list