http://bugs.winehq.org/show_bug.cgi?id=37025
Bug ID: 37025 Summary: Photo Renamer does not work, gives error report Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: bart.kuijer@ziggo.nl
Created attachment 49197 --> http://bugs.winehq.org/attachment.cgi?id=49197 Error report
Photo Renamer does not work, gives error report Installation works fine
http://bugs.winehq.org/show_bug.cgi?id=37025
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW URL| |http://www.tgmdev.be/applic | |ations/photorenamer/photore | |namer.php CC| |focht@gmx.net Version|unspecified |1.6.2 Summary|Photo Renamer does not |Photo Renamer 3.4 crashes |work, gives error report |on startup Ever confirmed|0 |1
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/PhotoRenamer
$ WINEDEBUG=+tid,+seh,+relay wine ./PhotoRenamer.exe >>log.txt 2>&1 ... 0027:Call user32.SendMessageA(000201c0,00000143,00000000,00a9ccd8) ret=004193b0 0027:Call window proc 0x44f9a2 (hwnd=0x201c0,msg=CB_ADDSTRING,wp=00000000,lp=00a9ccd8) 0027:Call user32.CallWindowProcA(7ecec571,000201c0,00000143,00000000,00a9ccd8) ret=0044c375 0027:Call window proc 0x7ecec571 (hwnd=0x201c0,msg=CB_ADDSTRING,wp=00000000,lp=00a9ccd8) 0027:Call window proc 0x7ecec68d (hwnd=0x101c2,msg=LB_ADDSTRING,wp=00000000,lp=00a9ccd8) 0027:Call window proc 0x44f9a2 (hwnd=0x201c0,msg=WM_MEASUREITEM,wp=000003e8,lp=0033e7b4) 0027:Call user32.GetWindowLongA(000201c0,fffffff0) ret=00452409 0027:Ret user32.GetWindowLongA() retval=50010223 ret=00452409 0027:trace:seh:raise_exception code=c0000005 flags=0 addr=0x41a04c ip=0041a04c tid=0027 0027:trace:seh:raise_exception info[0]=00000000 0027:trace:seh:raise_exception info[1]=00000014 0027:trace:seh:raise_exception eax=00000000 ebx=0041a030 ecx=0033f238 edx=7ed69764 esi=0033f238 edi=0033e7b4 0027:trace:seh:raise_exception ebp=0033df2c esp=0033df24 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00210246 0027:trace:seh:call_stack_handlers calling handler at 0x5d32db code=c0000005 flags=0 ... Unhandled exception: page fault on read access to 0x00000014 in 32-bit code (0x0041a04c). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:0041a04c ESP:0033df24 EBP:0033df2c EFLAGS:00210246( R- -- I Z- -P- ) EAX:00000000 EBX:0041a030 ECX:0033f238 EDX:7ed69764 ESI:0033f238 EDI:0033e7b4 ... Backtrace: =>0 0x0041a04c in photorenamer (+0x1a04c) (0x0033df2c) 1 0x0045162e in photorenamer (+0x5162d) (0x0033dfe4) 2 0x0044c4ea in photorenamer (+0x4c4e9) (0x0033e004) 3 0x0044f949 in photorenamer (+0x4f948) (0x0033e078) 4 0x0044f9d8 in photorenamer (+0x4f9d7) (0x0033e098) ... 12 0x7ec89d2e LISTBOX_InsertItem+0x26f(descr=0x1c9b08, index=0, str="%d-%b-%Y-%H-%M-%S", data=0) [/home/focht/projects/wine/wine.repo/src/dlls/user32/listbox.c:1554] in user32 (0x0033e7f8) 13 0x7ec89fcc LISTBOX_InsertString+0x12a(descr=0x1c9b08, index=0, str="%d-%b-%Y-%H-%M-%S") [/home/focht/projects/wine/wine.repo/src/dlls/user32/listbox.c:1610] in user32 (0x0033e848) ... 22 0x7ec50432 ComboWndProc_common+0xcfb(hwnd=0x201c0, message=0x143, wParam=0, lParam=0xa9ccd8, unicode=0) [/home/focht/projects/wine/wine.repo/src/dlls/user32/combo.c:2041] in user32 (0x0033eca8) 23 0x7ecec5b1 ComboWndProcA+0x3f(hwnd=0x201c0, message=0x143, wParam=0, lParam=0xa9ccd8) [/home/focht/projects/wine/wine.repo/src/dlls/user32/winproc.c:1067] in user32 (0x0033ecd8) 24 0x7ece9b6a WINPROC_wrapper+0x19() in user32 (0x0033ed08) 25 0x7ece9cdf call_window_proc+0xcc(hwnd=0x201c0, msg=0x143, wp=0, lp=0xa9ccd8, result=0x33ed78, arg=0x7ecec571) [/home/focht/projects/wine/wine.repo/src/dlls/user32/winproc.c:244] in user32 (0x0033ed48) 26 0x7ecebff8 CallWindowProcA+0x69(func=0x7ecec571, hwnd=0x201c0, msg=0x143, wParam=0, lParam=0xa9ccd8) [/home/focht/projects/wine/wine.repo/src/dlls/user32/winproc.c:955] in user32 (0x0033ed88) 27 0x7bc6db6a relay_call+0x39() in ntdll (0x0033edb8) 28 0x7ec3f255 in user32 (+0xf254) (0x0033ede8) 29 0x0044c375 in photorenamer (+0x4c374) (0x0033ede8) ... 0x0041a04c: movl 0x14(%eax),%ecx Modules: Module Address Debug info Name (116 modules) PE 400000- 94b000 Export photorenamer ELF 4dbde000-4dc0b000 Deferred libpng15.so.15 ELF 7ac00000-7ac6a000 Deferred riched20<elf> -PE 7ac10000-7ac6a000 \ riched20 ELF 7b800000-7ba64000 Dwarf kernel32<elf> -PE 7b810000-7ba64000 \ kernel32 ELF 7bc00000-7bcee000 Dwarf ntdll<elf> -PE 7bc10000-7bcee000 \ ntdll ... 00000026 (D) C:\Program Files\PhotoRenamer\PhotoRenamer.exe 00000029 0 00000028 0 00000027 0 <== --- snip ---
$ sha1sum PhotoRenamer_Setup.exe 59dab971b48518b97fd524f0e53c6ba38b94c7ac PhotoRenamer_Setup.exe
$ du -sh PhotoRenamer_Setup.exe 2.5M PhotoRenamer_Setup.exe
$ wine --version wine-1.7.23-33-gc654b7b
Regards
https://bugs.winehq.org/show_bug.cgi?id=37025
roger@mailinator.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |roger@mailinator.com
--- Comment #2 from roger@mailinator.com --- still crashing 1.7.31
https://bugs.winehq.org/show_bug.cgi?id=37025
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #3 from super_man@post.com --- Still crashing 1.7.48 component seems to be user32
https://bugs.winehq.org/show_bug.cgi?id=37025
--- Comment #4 from super_man@post.com --- still crashes 1.7.51
https://bugs.winehq.org/show_bug.cgi?id=37025
--- Comment #5 from super_man@post.com --- Feels too complicated to analyze, I dont even try.
still fails wine-1.9.11-60-g03fa4cf and staging 1.9.11
https://bugs.winehq.org/show_bug.cgi?id=37025
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #6 from winetest@luukku.com ---
From the download site.
"Mask like %Y-%m-%d %H-%M-%S - Street Artist in Vienna renames the file IMG_0160.JPG as 2010-08-24 21-53-48 - Street Artist in Vienna.jpg in a snap. At first glance, mask could look hard to understand but a simple editor makes it really easy to use."
I quess it's related to this
12 0x7ec89d2e LISTBOX_InsertItem+0x26f(descr=0x1c9b08, index=0, str="%d-%b-%Y-%H-%M-%S", data=0)
https://bugs.winehq.org/show_bug.cgi?id=37025
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #7 from Louis Lenders xerox_xerox2000@yahoo.co.uk ---
I quess it's related to this
12 0x7ec89d2e LISTBOX_InsertItem+0x26f(descr=0x1c9b08, index=0, str="%d-%b-%Y-%H-%M-%S", data=0)
This starts fine for me in wine-2.0-rc2 (Staging)
So one of the patches from Staging fixes this bug.
https://bugs.winehq.org/show_bug.cgi?id=37025
--- Comment #8 from winetest@luukku.com --- (In reply to Louis Lenders from comment #7)
I quess it's related to this
12 0x7ec89d2e LISTBOX_InsertItem+0x26f(descr=0x1c9b08, index=0, str="%d-%b-%Y-%H-%M-%S", data=0)
This starts fine for me in wine-2.0-rc2 (Staging)
So one of the patches from Staging fixes this bug.
Did you test the version title mentiones? THe website offers version 4.0 now. If you tested the old version it's quite recent change in staging that fixed it. 1.9.11 wasn't still working.
https://bugs.winehq.org/show_bug.cgi?id=37025
--- Comment #9 from Louis Lenders xerox_xerox2000@yahoo.co.uk ---
This starts fine for me in wine-2.0-rc2 (Staging)
So one of the patches from Staging fixes this bug.
Did you test the version title mentiones? THe website offers version 4.0 now. If you tested the old version it's quite recent change in staging that fixed it. 1.9.11 wasn't still working.
I tested version 4.0, but it crashes (apparently) in plain wine the same way as version 3.4. So reproducable with the version that can be downloaded now.
As said, In Staging it runs fine so if someone might have an idea what patch fixes this, it could be added to this bug.
sha1sum PhotoRenamer_Setup.exe 8723f260e5562873e94490621f02cd44999b3965 PhotoRenamer_Setup.exe
wine --version wine-2.0-rc2 (Staging)
https://bugs.winehq.org/show_bug.cgi?id=37025
--- Comment #10 from winetest@luukku.com --- If you could somehow limit the amount of patches to test I could test them. It's huge work manually adding them one by one. Would think that the crash location gives some clue what component it is. And staging uses categories for patches.
https://bugs.winehq.org/show_bug.cgi?id=37025
--- Comment #11 from winetest@luukku.com --- I tested wine-staging and it indeed solves the crash. I was about to do regression testing too, but it was somehow more complicated than I thought. After applying patches on top of wine git wanted to get rid of the patches so I could start doing regressions testing. I did the regression testing somehow wrong.
https://bugs.winehq.org/show_bug.cgi?id=37025
Anastasius Focht focht@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@gmx.net --- Hello folks,
this patch from Dmitry fixes the issue:
https://github.com/wine-compholio/wine-staging/blob/master/patches/user32-WM...
--- 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
https://bugs.winehq.org/show_bug.cgi?id=37025
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dmitry@baikal.ru, | |erich.e.hoover@wine-staging | |.com, michael@fds-team.de, | |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=37025
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |3c5c9b157771828419cb5d7e831 | |d46813ede041f
--- Comment #13 from Nikolay Sivov bunglehead@gmail.com --- Looks like it's working now, 3c5c9b157771828419cb5d7e831d46813ede041f.
https://bugs.winehq.org/show_bug.cgi?id=37025
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.3.