http://bugs.winehq.org/show_bug.cgi?id=30569
Bug #: 30569 Summary: DVDRanger4: Error at startup Product: Wine Version: 1.5.3 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: lukasz.wojnilowicz@gmail.com Classification: Unclassified
Created attachment 39992 --> http://bugs.winehq.org/attachment.cgi?id=39992 Error Window
Steps to reproduce: 1) remove ~/.wine 2) install DVDRanger4 3) wine DVDRanger4.exe 4) Press "Use trial"
Behaviour: Error window hidden beyond progresbar window (please see attachment)
Expected behaviour: No error window
http://bugs.winehq.org/show_bug.cgi?id=30569
--- Comment #1 from NSLW lukasz.wojnilowicz@gmail.com 2012-05-01 23:45:09 CDT --- Created attachment 39993 --> http://bugs.winehq.org/attachment.cgi?id=39993 Terminal output on Wine 1.5.3
http://bugs.winehq.org/show_bug.cgi?id=30569
--- Comment #2 from NSLW lukasz.wojnilowicz@gmail.com 2012-05-01 23:46:20 CDT --- Created attachment 39994 --> http://bugs.winehq.org/attachment.cgi?id=39994 WINEDEBUG=+relay on wine-1.5.3-73-g93a0ca7
http://bugs.winehq.org/show_bug.cgi?id=30569
NSLW lukasz.wojnilowicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.dvd-ranger.com/_ | |dl/RangerSetup.exe
http://bugs.winehq.org/show_bug.cgi?id=30569
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |focht@gmx.net Component|-unknown |comdlg32 Summary|DVDRanger4: Error at |DVDRanger4: Error at |startup |startup (property sheet tab | |control) Ever Confirmed|0 |1
--- Comment #3 from Anastasius Focht focht@gmx.net 2012-05-02 05:54:48 CDT --- Hello,
confirming, it seems there is a problem with tab control in property sheet.
'winetricks comctl32' works around and lets the app successfully start.
The most obvious signs in trace logs are SendMessage() calls with NULL hwnd before the message box.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Pixbyte/DVDRanger4 ... $ WINEDEBUG=+tid,+seh,+relay,+propsheet,+commctrl wine ./DVDRanger4.exe --- snip ---
--- snip --- ... 0024:Call comctl32.PropertySheetW(083f480c) ret=00511e22 ... 0024:trace:propsheet:PropertySheetW (0x83f480c) 0024:trace:propsheet:PROPSHEET_CollectSheetInfoW ** PROPSHEETHEADER ** dwSize 52 dwFlags 00000708 hwndParent 0x200c8 hInstance (nil) pszCaption L"" nPages 7 pfnCallback 0x5112c5 ... 0024:trace:propsheet:PROPSHEET_PropertySheet startpage: 0 of 7 pages 0024:trace:propsheet:PROPSHEET_CreateDialog (0x1707f0) ... 0024:Call user32.CreateDialogIndirectParamW(00000000,00170b28,000200c8,7e125dd2,001707f0) ret=7e11ed13 ... 0024:trace:propsheet:PROPSHEET_CreateTabControl 0024:Call user32.GetDlgItem(00010182,00003020) ret=7e11ff07 0024:Ret user32.GetDlgItem() retval=00000000 ret=7e11ff07 0024:Call user32.SendMessageW(00000000,0000000b,00000000,00000000) ret=7e11ff2a 0024:Ret user32.SendMessageW() retval=00000000 ret=7e11ff2a 0024:Call user32.SendMessageW(00010182,0000133e,00000000,0032a73c) ret=7e11ffbb 0024:Call window proc 0x5b06e0 (hwnd=0x10182,msg=TCM_INSERTITEMW,wp=00000000,lp=0032a73c) ... --- snip ---
The failing GetDlgItem/SendMessageW (NULL hwnd) corresponds with this source:
http://source.winehq.org/git/wine.git/blob/9e0517ac6dea9e171564a2d4ae4cb868b...
--- snip --- 1176 SendMessageW(GetDlgItem(hwndTabCtrl, IDC_TABCONTROL), WM_SETREDRAW, 0, 0); --- snip ---
Later:
--- snip --- 0024:Call user32.GetDlgItem(00010182,00003020) ret=7e11ffe1 0024:Ret user32.GetDlgItem() retval=00000000 ret=7e11ffe1 0024:Call user32.SendMessageW(00000000,0000000b,00000001,00000000) ret=7e120004 0024:Ret user32.SendMessageW() retval=00000000 ret=7e120004 ... 0024:Call user32.SendMessageW(00000000,0000014e,00000002,00000000) ret=00412726 0024:Ret user32.SendMessageW() retval=00000000 ret=00412726 0024:Call user32.SendMessageW(00000000,000000f1,00000000,00000000) ret=0041522f 0024:Ret user32.SendMessageW() retval=00000000 ret=0041522f 0024:Call user32.SendMessageW(00000000,000000f1,00000000,00000000) ret=0041522f 0024:Ret user32.SendMessageW() retval=00000000 ret=0041522f 0024:Call user32.SendMessageW(00000000,000000f1,00000000,00000000) ret=0041522f 0024:Ret user32.SendMessageW() retval=00000000 ret=0041522f 0024:Call user32.SendMessageW(00000000,00000405,00000001,000003e8) ret=0041411f 0024:Ret user32.SendMessageW() retval=00000000 ret=0041411f 0024:Call user32.SendMessageW(00000000,00000400,00000000,00000000) ret=004140ed 0024:Ret user32.SendMessageW() retval=00000000 ret=004140ed ... 0024:Call user32.IsWindow(00000000) ret=0050ac46 0024:Ret user32.IsWindow() retval=00000000 ret=0050ac46 0024:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0032b698) ret=00535d8b 0024:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b8393b7 ip=7b8393b7 tid=0024 0024:trace:seh:raise_exception info[0]=19930520 0024:trace:seh:raise_exception info[1]=0032b6b4 0024:trace:seh:raise_exception info[2]=007599a8 0024:trace:seh:raise_exception eax=7b8263e1 ebx=7b8b06b0 ecx=19930520 edx=0032b5a4 esi=0032b684 edi=0032b600 0024:trace:seh:raise_exception ebp=0032b5e8 esp=0032b584 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000283 ... 0024:Call user32.MessageBoxW(000200c8,0032aa8c L"Encountered an improper argument.",083c12f8 L"DVDRanger4",00000010) ret=00505921 --- snip ---
You can dismiss the error message box if you move the splash screen that covers it. Clicking one of the tabs in main dialog property sheet causes app crash handler to be shown.
$ du -sh RangerSetup.exe 17M RangerSetup.exe
$ sha1sum RangerSetup.exe 8d8ca69891ddf80fbad14fcf69806c617d0f0042 RangerSetup.exe
$ wine --version wine-1.5.3-73-g93a0ca7
Regards
http://bugs.winehq.org/show_bug.cgi?id=30569
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com 2012-05-07 02:27:48 CDT --- (In reply to comment #3)
Hello,
confirming, it seems there is a problem with tab control in property sheet.
'winetricks comctl32' works around and lets the app successfully start.
Wrong component then?
http://bugs.winehq.org/show_bug.cgi?id=30569
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|comdlg32 |comctl32
http://bugs.winehq.org/show_bug.cgi?id=30569
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com 2012-05-17 00:08:03 CDT --- I sent a patch to fix these failures:
--- 0024:Call user32.GetDlgItem(00010182,00003020) ret=7e11ffe1 0024:Ret user32.GetDlgItem() retval=00000000 ret=7e11ffe1 ---
http://www.winehq.org/pipermail/wine-patches/2012-May/114277.html
but this is not related to a bug really. NULL hwnd still causes an exception after IsWindow(). Needs another round of investigation.
http://bugs.winehq.org/show_bug.cgi?id=30569
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com 2012-05-17 14:12:06 CDT --- Mentioned patch is committed http://source.winehq.org/git/wine.git/?a=commit;h=ace41e9264ffd4f115f69e805b....
http://bugs.winehq.org/show_bug.cgi?id=30569
--- Comment #7 from NSLW lukasz.wojnilowicz@gmail.com 2012-10-18 09:40:49 CDT --- Still issue in wine-1.5.15-145-g29b3902
https://bugs.winehq.org/show_bug.cgi?id=30569
--- Comment #8 from Ken Sharp imwellcushtymelike@gmail.com --- Is this still an issue in Wine 1.7.45 or later?
https://bugs.winehq.org/show_bug.cgi?id=30569
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED URL|http://www.dvd-ranger.com/_ |http://download.cnet.com/DV |dl/RangerSetup.exe |D-Ranger/3000-2194_4-757588 | |75.html Resolution|--- |ABANDONED
--- Comment #9 from Anastasius Focht focht@gmx.net --- Hello folks,
it seems this is abandonware now (vendor/site are defunct, domain parked).
All DVD-Ranger v4.0.2.1 download links are dead.
I found an archived copy of DVDRanger 4.5 at CNET website, wrapped with their downloader/installer.
Unfortunately the trial version tries to connect to a server which is defunct (domain parked), blocking the trial key request indefinitely.
Wireshark shows client sent TCP SYNC but never receives SYN-ACK, leading to endless TCP retransmissions.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Pixbyte/DVDRanger4
$ WINEDEBUG=+tid,+seh,+relay,+propsheet,+commctrl wine ./DVDRanger4.exe
log.txt 2>&1
... 0026:Call ws2_32.gethostbyname(0a790c40 "pixbyte.com") ret=0a5b4f34 ... 0026:Ret ws2_32.gethostbyname() retval=00194f58 ret=0a5b4f34 0026:Call ws2_32.htons(00008520) ret=0a5b9755 0026:Ret ws2_32.htons() retval=00002085 ret=0a5b9755 0026:Call KERNEL32.GetProcAddress(7dee0000,0a5b4a7c "connect") ret=0a5b4951 0026:Ret KERNEL32.GetProcAddress() retval=7dee175c ret=0a5b4951 0026:Call ws2_32.connect(00000118,0032a8e4,00000010) ret=0a5b4a70 0026:Call ntdll.wine_server_handle_to_fd(00000118,00000001,0032a7fc,00000000) ret=7dee4a59 0026:Ret ntdll.wine_server_handle_to_fd() retval=00000000 ret=7dee4a59 0027:Ret KERNEL32.WaitForSingleObject() retval=00000102 ret=004bdf81 <repeats and hangs> --- snip ---
--- snip --- Wine-dbg>bt
Backtrace: =>0 0xf776dc10 __kernel_vsyscall+0x10() in [vdso].so (0x0033a8a8) 1 0xf7462b6b __GI___poll+0x4a() in libc.so.6 (0x0033a8a8) 2 0x7def3447 do_block+0x41(fd=0xe, events=0x5, timeout=0xffffffff) [/home/focht/projects/wine/wine.repo/src/dlls/ws2_32/socket.c:1290] in ws2_32 (0x0033a8a8) 3 0x7def70a5 WS_connect+0x162(s=0x124, name=0x33a954, namelen=0x10) [/home/focht/projects/wine/wine.repo/src/dlls/ws2_32/socket.c:3023] in ws2_32 (0x0033a908) 4 0x0a5c4a70 in dsvalidate (+0x34a6f) (0x0033a91c) 5 0x0a5c9769 in dsvalidate (+0x39768) (0x0033a964) 6 0x0a5cbe63 in dsvalidate (+0x3be62) (0x0033a97c) 7 0x0a5d64e8 in dsvalidate (+0x464e7) (0x0033a9b0) 8 0x0a5d5c45 in dsvalidate (+0x45c44) (0x0033a9f4) 9 0x0a5e5572 in dsvalidate (+0x55571) (0x0033aa18) ... --- snip ---
Also there is no progress bar as described in initial bug report. It was likely an early 4.0.x version.
If you still find an early 4.0.x version for reproducing be sure provide a valid link. Resolving for now.
$ sha1sum RangerSetup_cnet*
36d74bfd8d0da7d9f0f36c7c3f271af4b8647439 RangerSetup_cnet-43968001.exe 1c9a816d670ebf72a4f368e76291f1eb1952505b RangerSetup_cnet.exe
$ du -sh RangerSetup_cnet*
228K RangerSetup_cnet-43968001.exe 19M RangerSetup_cnet.exe
$ wine --version wine-1.7.45
Regards
https://bugs.winehq.org/show_bug.cgi?id=30569
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Austin English austinenglish@gmail.com --- Closing.