[Bug 11140] New: Trados: crash when reading the file properties of a translation memory
http://bugs.winehq.org/show_bug.cgi?id=11140 Summary: Trados: crash when reading the file properties of a translation memory Product: Wine Version: CVS/GIT Platform: Other OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: yolande(a)haneder.biz Trying to read the properties of a translation memory (size, number of units, reorganization needed, number of user etc.) is immediately crashing workbench with no more information than this: X Error of failed request: BadAlloc (insufficient resources for operation) Major opcode of failed request: 53 (X_CreatePixmap) Serial number of failed request: 10866 Current serial number in output stream: 10979 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11140 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dank(a)kegel.com Severity|enhancement |normal --- Comment #1 from Dan Kegel <dank(a)kegel.com> 2008-01-11 17:07:41 --- Can you attach a +synchronous log? That will give us a good stack traceback for the X error. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11140 --- Comment #2 from Yolande Haneder <yolande(a)haneder.biz> 2008-01-12 01:02:13 --- Created an attachment (id=10172) --> (http://bugs.winehq.org/attachment.cgi?id=10172) log with synchronous Here you are -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11140 --- Comment #3 from Dan Kegel <dank(a)kegel.com> 2008-01-12 01:07:11 --- Here's the interesting bit: 7 0x7e05e49d XCreatePixmap+0x8d() in libx11.so.6 (0x0033ecb4) 8 0x7e198d46 X11DRV_CreateBitmap+0x136(physDev=0x199d50, hbitmap=<register ESI not in topmost frame>, bmBits=0x0) [/home/yolande/wine-git/dlls/winex11.drv/bitmap.c:146] in winex11 (0x0033ed14) 9 0x7eae5bcd BITMAP_SetOwnerDC+0xed(hbitmap=0x57bc, dc=0x1a2ef0) [/home/yolande/wine-git/dlls/gdi32/bitmap.c:555] in gdi32 (0x0033ed44) 10 0x7eae645e BITMAP_SelectObject+0x1ae(handle=<register ESI not in topmost frame>, hdc=0x57b0) [/home/yolande/wine-git/dlls/gdi32/bitmap.c:598] in gdi32 (0x0033ed74) 11 0x7eb1298b SelectObject+0xcb(hdc=<register ESI not in topmost frame>, hObj=<register EDI not in topmost frame>) [/home/yolande/wine-git/dlls/gdi32/gdiobj.c:1161] in gdi32 (0x0033eda4) Can you do +synchronous,+x11drv now, please? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11140 --- Comment #4 from Yolande Haneder <yolande(a)haneder.biz> 2008-01-12 01:50:14 --- Created an attachment (id=10173) --> (http://bugs.winehq.org/attachment.cgi?id=10173) new log Not much changed, I'm afraid. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11140 --- Comment #5 from Yolande Haneder <yolande(a)haneder.biz> 2008-01-12 01:53:23 --- Up to fixme:commdlg:GetFileName95 Flags 0x00800000 not yet implemented, it's just about opening Workbench and the translation memory so it seems that the first request is making it crash. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11140 --- Comment #6 from Dan Kegel <dank(a)kegel.com> 2008-01-12 01:57:54 --- Well, foo. I'd like to know how big that bitmap is it's asking for, and I thought +x11drv would have shown it because of the line TRACE("(%p) %dx%d %d bpp\n", hbitmap, bitmap.bmWidth, bitmap.bmHeight, bitmap.bmBitsPixel); at http://source.winehq.org/source/dlls/winex11.drv/bitmap.c#L139 I wonder why that's not showing up? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11140 --- Comment #7 from Yolande Haneder <yolande(a)haneder.biz> 2008-01-12 02:06:01 --- I made a debug all and Gedit is crashing because it's 480 MB big. I will try to copy the last lines of the console in a file if it helps. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11140 --- Comment #8 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2008-01-12 02:10:32 --- (In reply to comment #6)
Well, foo. I'd like to know how big that bitmap is it's asking for, and I thought +x11drv would have shown it because of the line TRACE("(%p) %dx%d %d bpp\n", hbitmap, bitmap.bmWidth, bitmap.bmHeight, bitmap.bmBitsPixel); at http://source.winehq.org/source/dlls/winex11.drv/bitmap.c#L139 I wonder why that's not showing up?
Looks like +x11drv was not specified at all. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11140 --- Comment #9 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2008-01-12 02:11:50 --- (In reply to comment #7)
I made a debug all and Gedit is crashing because it's 480 MB big. I will try to copy the last lines of the console in a file if it helps.
+all is useless, just produce the log with asked debug channels. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11140 --- Comment #10 from Yolande Haneder <yolande(a)haneder.biz> 2008-01-12 02:17:33 --- Unfortunately does does not help either because with using DEBUGALL it is getting over the crashing point, the window is opening! -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11140 --- Comment #11 from Dan Kegel <dank(a)kegel.com> 2008-01-12 02:22:03 --- Never use +all... too verbose. Please try WINEDEBUG=+x11drv -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11140 --- Comment #12 from Yolande Haneder <yolande(a)haneder.biz> 2008-01-12 02:29:46 --- Created an attachment (id=10174) --> (http://bugs.winehq.org/attachment.cgi?id=10174) with +x11drv -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11140 --- Comment #13 from Dan Kegel <dank(a)kegel.com> 2008-01-12 02:42:40 --- Bingo: trace:x11drv:X11DRV_CreateBitmap (0x3e2c) 268599240x3403476 1 bpp Those numbers are unreasonable. Now the trick is to find out where they came from. +relay,+x11drv,+synchronous might help here. Sometimes one has to add special TRACE statements just for the hunt. (And I suppose some people use debuggers for this, but that's not my cup of tea.) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11140 --- Comment #14 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2008-01-12 02:47:56 --- Please add +bitmap to +relay,+x11drv,+synchronous -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11140 --- Comment #15 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2008-01-12 03:03:34 --- ... and before attaching compress the log with 'bzip2 -9'. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11140 --- Comment #16 from Yolande Haneder <yolande(a)haneder.biz> 2008-01-12 03:35:58 --- I added a link here. user and password are "wine" (without quotes) http://www.uebersetzen.at/uploadftp_/filelist_secure.php?verify=3f206bd2d4fb... I made it as small as I can and I am learning as quick as I can to get used to the console but my experience on Linux is about the same as of Wine (8-9 months) and I can't make a zip with the console yet. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11140 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmitry(a)codeweavers.com --- Comment #17 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2008-01-13 06:00:39 ---
From the log it's not obvious where that big bitmap dimensions went from. The test under Windows shows that CreateBitmap(0x10000,0x10000, 1, 1, NULL) fails and returns 0 (and sets last error to either ERROR_INVALID_PARAMETER or ERROR_NOT_ENOUGH_MEMORY depending how big width and height I pass), but CreateBitmap(0x10000,0x100, 1, 1, NULL) succeeds. Furthermore CreateCompatibleBitmap() in Wine already checks whether width or height exceed 0x10000 and fails. This check looks incorrect basing on above test results, looks like we need to check for a real overflow/memory allocation failure.
-- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11140 --- Comment #18 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2008-01-15 04:26:07 --- The following patch should fix the problem: http://www.winehq.org/pipermail/wine-patches/2008-January/049077.html -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11140 --- Comment #19 from Yolande Haneder <yolande(a)haneder.biz> 2008-01-15 04:31:35 --- Thank you. I will come back as soon as I recompiled and reinstalled everything -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11140 Yolande Haneder <yolande(a)haneder.biz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #20 from Yolande Haneder <yolande(a)haneder.biz> 2008-01-15 05:12:51 --- Works perfect thank you! -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11140 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|FIXED | --- Comment #21 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2008-01-15 05:15:32 --- Until the patch is committed to git the bug is not fixed. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11140 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |gdi32 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11140 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #22 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2008-01-15 07:49:46 --- The patch has been committed. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11140 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |viehl(a)fzi.de --- Comment #23 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2008-01-16 03:23:28 --- *** Bug 11217 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11140 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #24 from Dan Kegel <dank(a)kegel.com> 2008-01-28 06:11:35 --- Closing all RESOLVED FIXED bugs older than 0.9.54. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=11140 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
participants (1)
-
wine-bugs@winehq.org