[Bug 34070] Simutronics 'StormFront.exe' runs out of wndproc slots (ActiveSkin control)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jun 15 04:42:36 CDT 2014


http://bugs.winehq.org/show_bug.cgi?id=34070

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |focht at gmx.net
            Version|unspecified                 |1.6
            Summary|'fixme:win:alloc_winproc    |Simutronics
                   |too many winprocs' prevents |'StormFront.exe' runs out
                   |simutronics StormFront.exe  |of wndproc slots
                   |from updating widgets       |(ActiveSkin control)
     Ever confirmed|0                           |1

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

confirming.

Increasing the number of slots won't help you much.

There is an ActiveX control 'actskin4.ocx' (ActiveSkin) that causes new winproc
allocation/leakage on many actions.
It's popular with VB6 apps but doesn't add real value besides some fancy skins.

Start the app and do plain menu actions, e.g. open 'about' or other menu items.
It will leak wndprocs on every action.

--- snip ---
$ WINEDEBUG=+tid,+seh,+loaddll,+win wine ./StormFront.exe /GGS /H127.0.0.1
/P56730 /Kd0d83b8e7bc8b03ae5770673e7dd51be 2>&1 | grep alloc_winproc
--- snip ---

--- snip ---
Wine-dbg>bt

Backtrace:
=>0 0x7ebbf469 alloc_winproc+0x81(func=0xc22d4c, unicode=0)
[/home/focht/projects/wine/wine.repo/src/dlls/user32/winproc.c:160] in user32
(0x0033f238)
  1 0x7ebbfa15 WINPROC_AllocProc+0x17(func=0xc22d4c, unicode=0)
[/home/focht/projects/wine/wine.repo/src/dlls/user32/winproc.c:311] in user32
(0x0033f268)
  2 0x7ebb2f55 WIN_SetWindowLong+0x414(hwnd=0x500bc, offset=0xfffffffc,
size=0x4, newval=0xc22d4c, unicode=0)
[/home/focht/projects/wine/wine.repo/src/dlls/user32/win.c:2384] in user32
(0x0033f378)
  3 0x7ebb374f SetWindowLongA+0x2e(hwnd=0x500bc, offset=0xfffffffc,
newval=0xc22d4c)
[/home/focht/projects/wine/wine.repo/src/dlls/user32/win.c:2595] in user32
(0x0033f3ac)
  4 0x0034dc85 in actskin4 (+0xdc84) (0x0033f3e4)
  5 0x0036ec30 in actskin4 (+0x2ec2f) (0x0033f42c)
  6 0x0035bd21 in actskin4 (+0x1bd20) (0x0033f450)
  7 0x0042da01 in stormfront (+0x2da00) (0x000500bc)
--- snip ---

Could be a hooking problem (procs should be freed on destruction) or just
garbage app code that is worked around by Windows.

$ sha1sum StormFront.exe 
52e0de759bfb5592c4ffac3ace5e90bfe6d8cd2c  StormFront.exe

$ du -sh StormFront.exe 
3.1M    StormFront.exe

$ wine --version
wine-1.7.20

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