[Bug 14196] New: eclipse 3.4 crashes when starting
http://bugs.winehq.org/show_bug.cgi?id=14196 Summary: eclipse 3.4 crashes when starting Product: Wine Version: 1.1.0 Platform: PC URL: http://www.eclipse.org OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: bskaplan14(a)yahoo.com Created an attachment (id=14469) --> (http://bugs.winehq.org/attachment.cgi?id=14469) A copy of everything printed in the shell when eclipse crashes When trying to load eclipse 3.4 (Ganymede), the splash screen appears. Then, wine has some errors and a message appears saying eclipse had an error and to check the log file. -- 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=14196 --- Comment #1 from Ben <bskaplan14(a)yahoo.com> 2008-06-30 08:27:20 --- Created an attachment (id=14470) --> (http://bugs.winehq.org/attachment.cgi?id=14470) the eclipse log of the crash This is from the "workspace/.metadata/.log" file. -- 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=14196 Ben <bskaplan14(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #14470|0 |1 is obsolete| | --- Comment #2 from Ben <bskaplan14(a)yahoo.com> 2008-06-30 08:29:01 --- Created an attachment (id=14471) --> (http://bugs.winehq.org/attachment.cgi?id=14471) the eclipse log of the crash this is from "workspace/.metadata/.log" It shows the java error that caused eclipse to crash. -- 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=14196 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |focht(a)gmx.net --- Comment #3 from Anastasius Focht <focht(a)gmx.net> 2008-06-30 16:12:32 --- Hello, the bug is in gdiplus returning incorrect pixel format when loading a .gif file as bitmap. --- snip wine trace --- .. 005b:Call gdiplus.GdipCreateBitmapFromFile(34724790 L"Z:\\home\\focht\\work\\eclipse\\plugins\\org.eclipse.platform_3.3.100.v200806172000\\eclipse.gif",0032f154) ret=34cb12dd .. 005b:Call oleaut32.OleLoadPicture(0015c5b0,00000000,00000000,612168a4,0032f064) ret=6120e161 005b:trace:ole:OleLoadPicture (0x15c5b0,0,0,{7bf80980-bf32-101a-8bbb-00aa00300cab},0x32f064), partially implemented. 005b:trace:ole:OleCreatePictureIndirect ((nil),{7bf80980-bf32-101a-8bbb-00aa00300cab},1,0x32ef54) .. 005b:trace:ole:OLEPictureImpl_LoadGif screen height 16, width 16 005b:trace:ole:OLEPictureImpl_LoadGif color res 8, backgcolor 155 005b:trace:ole:OLEPictureImpl_LoadGif imgcnt 1 005b:trace:ole:OLEPictureImpl_LoadGif curimage: 16 x 16, on 0x0, interlace 0 .. 005b:Ret oleaut32.OleLoadPicture() retval=00000000 ret=6120e161 005b:trace:ole:OLEPictureImpl_get_Type (0x15c690)->(0x32f06a): type is 1 .. 005b:trace:ole:OLEPictureImpl_get_Width (0x15c690)->(0x32eff0): width is 423 .. 005b:trace:ole:OLEPictureImpl_get_Height (0x15c690)->(0x32eff0): height is 423 .. 005b:Ret gdiplus.GdipCreateBitmapFromFile() retval=00000000 ret=34cb12dd .. 005b:Call gdiplus.GdipGetImageWidth(00158b90,0032f180) ret=34cb2bdb 005b:trace:gdiplus:GdipGetImageWidth returning 16 005b:Ret gdiplus.GdipGetImageWidth() retval=00000000 ret=34cb2bdb .. 005b:Call gdiplus.GdipGetImageHeight(00158b90,0032f180) ret=34cb2b27 005b:trace:gdiplus:GdipGetImageHeight returning 16 005b:Ret gdiplus.GdipGetImageHeight() retval=00000000 ret=34cb2b27 .. 005b:Call gdiplus.GdipGetImagePixelFormat(00158b90,0032f198) ret=34cb2ba9 005b:Ret gdiplus.GdipGetImagePixelFormat() retval=00000000 ret=34cb2ba9 .. 005b:Call KERNEL32.GetProcAddress(34cb0000,34665308 "_Java_org_eclipse_swt_internal_gdip_Gdip_BitmapData_1new(a)8") ret=6d27116a 005b:Ret KERNEL32.GetProcAddress() retval=34cb1000 ret=6d27116a .. 005b:Call KERNEL32.GetProcAddress(34cb0000,34665308 "_Java_org_eclipse_swt_internal_gdip_Gdip_Bitmap_1LockBits(a)28") ret=6d27116a 005b:Ret KERNEL32.GetProcAddress() retval=34cb10d0 ret=6d27116a .. 005b:Call gdiplus.GdipBitmapLockBits(00158b90,00000000,00000000,00022000,34de0250) ret=34cb10eb 005b:trace:gdiplus:GdipBitmapLockBits 0x158b90 (nil) 0 139264 0x34de0250 .. 005b:Ret gdiplus.GdipBitmapLockBits() retval=00000000 ret=34cb10eb .. 005b:Call KERNEL32.GetProcAddress(34cb0000,34724790 "_Java_org_eclipse_swt_internal_gdip_Gdip_MoveMemory(a)16") ret=6d27116a 005b:Ret KERNEL32.GetProcAddress() retval=00000000 ret=6d27116a .. 005b:Call KERNEL32.GetProcAddress(34cb0000,34724790 "_Java_org_eclipse_swt_internal_gdip_Gdip_Bitmap_1delete(a)12") ret=6d27116a 005b:Ret KERNEL32.GetProcAddress() retval=34cb111b ret=6d27116a .. 005b:Call gdiplus.GdipDisposeImage(00158b90) ret=34cb11b8 .. 005b:Ret gdiplus.GdipDisposeImage() retval=00000000 ret=34cb11b8 005b:Call gdiplus.GdipFree(00158570) ret=34cb11c5 .. 005b:Ret gdiplus.GdipFree() retval=00000001 ret=34cb11c5 .. --- snip wine trace --- --- snip dlls/gdiplus/image.c --- /* FIXME: test this function for non-bitmap types */ GpStatus WINGDIPAPI GdipGetImagePixelFormat(GpImage *image, PixelFormat *format) { if(!image || !format) return InvalidParameter; if(image->type != ImageTypeBitmap) *format = PixelFormat24bppRGB; else *format = ((GpBitmap*) image)->format; return Ok; } --- snip dlls/gdiplus/image.c --- Eclipse tries to load .gif with it's gdiplus wrapper. Wine's GdipGetImagePixelFormat() returns 0x22000 format value which is incorrect. Eclipse wrapper doesn't know about this format because it looks for standard gdiplus pixelformat values as defined in "GdiPlusPixelFormats.h". This value is set in GdipLoadImageFromStream(): (*((GpBitmap**) image))->format = (bmch->bcBitCount << 8) | PixelFormatGDI; If you look at "GdiPlusPixelFormats.h" every Pixelformat value has an enumerator-like id prepended, e.g.: <enumerator_id> | (bitcount << 8) | <additional format flags> This has to be taken into account. --- As temporary workaround, use 'sh winetricks gdiplus' until this is fixed. Regards -- 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=14196 --- Comment #4 from Anastasius Focht <focht(a)gmx.net> 2008-07-01 04:39:25 --- Hello, as addendum here is the java source of the image loader class, which backs up my findings: http://kickjava.com/src/org/eclipse/swt/graphics/Image.java.htm (might not be 1:1 accurate to current version but it should give the idea). Line 600/652 and following. Returned pixel format values must conform to constants defined in "GdiPlusPixelFormats.h" Use my previous trace snippets to follow code paths. Regards -- 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=14196 --- Comment #5 from Ben <bskaplan14(a)yahoo.com> 2008-07-01 10:52:29 --- Created an attachment (id=14506) --> (http://bugs.winehq.org/attachment.cgi?id=14506) Java's log of the crash After using winetricks gdiplus, I get another error when loading (though it does get farther than before). This error was actually from Java, not eclipse, but it prevents eclipse from loading. I don't know if this should have its own bug report or not. -- 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=14196 --- Comment #6 from Anastasius Focht <focht(a)gmx.net> 2008-07-01 11:37:55 --- Hello, you're probably running into http://bugs.winehq.org/show_bug.cgi?id=10916 Regards -- 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=14196 --- Comment #7 from Ben <bskaplan14(a)yahoo.com> 2008-07-01 12:08:07 --- (In reply to comment #6)
Hello,
you're probably running into http://bugs.winehq.org/show_bug.cgi?id=10916
Regards
Yep, thats it. -- 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=14196 Juan Lang <juan_lang(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |gdiplus --- Comment #8 from Juan Lang <juan_lang(a)yahoo.com> 2008-07-01 12:56:27 --- Marking as a gdiplus bug. -- 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=14196 --- Comment #9 from Austin English <austinenglish(a)gmail.com> 2008-12-29 11:09:15 --- Is this still an issue in current (1.1.11 or newer) wine? -- 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=14196 --- Comment #10 from Ben <bskaplan14(a)yahoo.com> 2008-12-31 10:13:46 --- I don't get anything printed in the shell anymore (no dump), but the error still occurs. Eclipse still crashes with the same traceback in the log file. This was using wine 1.1.11. -- 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=14196 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dank(a)kegel.com Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Target Milestone|--- |1.2.0 --- Comment #11 from Dan Kegel <dank(a)kegel.com> 2009-01-13 09:19:46 --- Also affects CityEngine (which is based on Eclipse). To reproduce: register and download trial from http://www.procedural.com/purchase/trial.html Then just try to start the app. "winetricks gdiplus" gets past it and on to bug 14015. Confirming. Since Eclipse is being used as the basis for more and more apps, and is popular in its own right, and the bug is understood, nominating for 1.2. -- 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=14196 Andrey Turkin <andrey.turkin(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrey.turkin(a)gmail.com --- Comment #12 from Andrey Turkin <andrey.turkin(a)gmail.com> 2009-01-15 09:05:53 --- Should be fixed with current git -- 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=14196 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #13 from Dan Kegel <dank(a)kegel.com> 2009-01-15 10:07:06 --- Cityengine gets past this now,thanks! -- 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=14196 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #14 from Alexandre Julliard <julliard(a)winehq.org> 2009-01-16 10:38:50 --- Closing bugs fixed in 1.1.13. -- 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=14196 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Fixed by SHA1| |1138c28eeb0f6753e05590dd267 | |0d6a17c815627 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=14196 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.eclipse.org |https://web.archive.org/web | |/20120527092821/http://arch | |ive.eclipse.org/eclipse/dow | |nloads/drops/R-3.4-20080617 | |2000/eclipse-SDK-3.4-win32. | |zip -- 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 (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla