Closed Bug 412378 Opened 17 years ago Closed 17 years ago

crash in gfxPlatformGtk::CreateOffscreenSurface() when using xpcshell

Categories

(Core Graveyard :: GFX: Gtk, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Dolske, Assigned: Dolske)

References

Details

Attachments

(1 file)

Bug 389273 adds some image manipulation code (imgITools) and unit tests. The code works fine when invoked via the browser code using it (Win/Mac/Linux), and the unit tests pass on Win/Mac. But the unit tests crash on Linux.

Attachment 296898 [details] has the full stack, but the upshot is that we're crashing because there's no gdk display. With a null check here to return an error, the unit tests pass.
Attachment #297100 - Flags: review?(pavlov)
Assignee: nobody → dolske
Attachment #297100 - Flags: review?(pavlov) → review+
Attachment #297100 - Flags: approval1.9?
Attachment #297100 - Flags: approval1.9? → approval1.9+
Checking in gfx/thebes/src/gfxPlatformGtk.cpp;
/cvsroot/mozilla/gfx/thebes/src/gfxPlatformGtk.cpp,v  <--  gfxPlatformGtk.cpp
new revision: 1.32; previous revision: 1.31
done
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: