A problem with winmm and word
Duane Clark
dclark at akamail.com
Sun Jun 2 22:23:45 CDT 2002
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. 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.
More information about the wine-devel
mailing list