bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #4216] -back crashing on solaris 2.6 compile


From: nobody
Subject: [bug #4216] -back crashing on solaris 2.6 compile
Date: Sun, 17 Aug 2003 23:05:25 -0400
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.2.1) Gecko/20030228

=================== BUG #4216: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4216&group_id=99

Changes by: Adam Fedor <fedor@gnu.org>
Date: Sun 08/17/2003 at 21:05 (US/Mountain)

            What     | Removed                   | Added
---------------------------------------------------------------------------
         Assigned to | None                      | fedor


------------------ Additional Follow-up Comments ----------------------------
Well, the code doesn't check if dest_im was created correctly, but I'm not sure 
what should happen if it isn't. It definetly means something is wrong, but 
what? If you put something like this in, what would happen?

diff -u -r1.17 XGGState.m
--- xlib/XGGState.m     17 Jun 2003 13:34:38 -0000      1.17
+++ xlib/XGGState.m     18 Aug 2003 03:04:37 -0000
@@ -1793,6 +1793,17 @@
   // --- Get the destination images ------------------------------------
   dest_im = RGetXImage ((RContext *)context, draw, XGMinX (dr), XGMinY (dr),
                         XGWidth (dr), XGHeight (dr));
+  if (dest_im == NULL || dest_im->image == NULL)
+    {
+      NSLog(@"XGContext (DPSimage): Cannot access destination gstate image");
+      if (old_ctm != nil)
+       {
+         RELEASE(ctm);
+         // old_ctm is already retained
+         ctm = old_ctm;
+       }
+      return;
+    }




=================== BUG #4216: FULL BUG SNAPSHOT ===================


Submitted by: rmottola                Project: GNUstep                      
Submitted on: Sun 07/06/2003 at 16:43
Category:  Backend                    Severity:  5 - Major                  
Bug Group:  Bug                       Resolution:  None                     
Assigned to:  fedor                   Status:  Open                         

Summary:  -back crashing on solaris 2.6 compile

Original Submission:  With current CVS version, running any graphical 
application on Solaris 2.6 with libwraster of WMaker 0.80.2 installed leads to 
a crash.
Compilation occoured with gcc 3.2.2, so no libobjc is used.

the backtrace of such a a crash is:

#0  0xee2fdd50 in _bitmap_combine_alpha (context=0x104348, 
    data_planes=0x1e81a0, width=64, height=16777215, bits_per_sample=255, 
    samples_per_pixel=0, bits_per_pixel=24, bytes_per_row=192, colour_space=1, 
    one_is_black=0, is_planar=0, has_alpha=0 '




reply via email to

[Prev in Thread] Current Thread [Next in Thread]