[Bug 37025] Photo Renamer 3.x/4.x crashes on startup

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Dec 29 05:24:34 CST 2016


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
    Staged patchset|                            |https://github.com/wine-com
                   |                            |pholio/wine-staging/tree/ma
                   |                            |ster/patches/user32-WM_MEAS
                   |                            |UREITEM
            Summary|Photo Renamer 3.4 crashes   |Photo Renamer 3.x/4.x
                   |on startup                  |crashes on startup
             Status|NEW                         |STAGED
          Component|-unknown                    |user32

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

this patch from Dmitry fixes the issue:

https://github.com/wine-compholio/wine-staging/blob/master/patches/user32-WM_MEASUREITEM/0002-user32-Pass-correct-itemData-to-WM_MEASUREITEM-when-.patch

--- snip ---
Wine-dbg>b *0x47f48c  
Breakpoint 1 at 0x0047f48c
Wine-dbg>c
...
Wine-dbg>frame 12
1568            item->height = mis.itemHeight ? mis.itemHeight : 1;
Wine-dbg>info locals
0x7ec45b13 LISTBOX_InsertItem+0x21a: (0033ea78)
    LB_DESCR* descr=0x216f18 (parameter [EBP+8])
    INT index=0 (parameter [EBP+12])
    LPWSTR str="%Y-%m-%d %H-%M-%S" (parameter [EBP+16])
    ULONG_PTR data=0 (parameter [EBP+20])
    LB_ITEMDATA* item=0x21b060 (local [EBP-12])
    INT max_items=0x10 (local [EBP-16])
    INT oldfocus=0 (local [EBP-20])
    MEASUREITEMSTRUCT mis={CtlType=0x2, CtlID=0x3e8, itemID=0,
itemWidth=0x1f3b88, itemHeight=0x10, itemData=0} (local [EBP-68])
    UINT id=0x3e8 (local [EBP-32])
--- snip ---

(NULL itemData)

http://www.tgmdev.be/applications/photorenamer/bin/PhotoRenamer_Setup.exe

$ sha1sum PhotoRenamer_Setup.exe 
8723f260e5562873e94490621f02cd44999b3965  PhotoRenamer_Setup.exe

$ wine --version
wine-2.0-rc3

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