discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Release of gui libraries


From: Charles Philip Chan
Subject: Re: Release of gui libraries
Date: Sat, 26 Jan 2002 03:25:38 -0500

On Fri, 25 Jan 2002 21:10:40 -0500 (EST)
Ludovic Marcotte <ludovic@Sophos.ca> wrote:

> Hi Charles,
> 
> > It doesn't seem to be only ImageViewer.app, but all apps such as the
> > Content Inpector in GWorkspace.app and large image attachments in
> > GNUMail.app. Also, large jpegs crashes the app.

I spoke a bit too soon (I haven't played around with GNUStep for a while).
The crashes only occurs in the Content Inspector Panel of GWorkspace.app.
Although the slowness of displaying images is in all apps. I tried Adam
suggestion in setting NSGlobalDomain GraphicCompositing to NO, but it
didn't help much.

> Can you send me some backtraces when it does crash?

FWIW, have is the error I got with GWorkspace.app:

Jan 26 03:01:23 GWorkspace[12211] File NSView.m: 742. In [NSClipView
-setFrame:]                        given negative width Jan 26 03:01:23
GWorkspace[12211] File NSView.m: 747. In [NSClipView -setFrame:]           
            given negative height Jan 26 03:01:23 GWorkspace[12211] File
NSView.m: 742. In [NSClipView -setFrame:]                        given
negative width Jan 26 03:01:23 GWorkspace[12211] File NSView.m: 747. In
[NSClipView -setFrame:]                        given negative height Jan 26
03:01:23 GWorkspace[12211] File NSView.m: 742. In [NSClipView -setFrame:]  
                     given negative width Jan 26 03:01:23 GWorkspace[12211]
File NSView.m: 747. In [NSClipView -setFrame:]                        given
negative height Jan 26 03:01:55 GWorkspace[12211] X-Windows error -
BadMatch (invalid parameter                        attributes)          on
display: :0.0                type: 0
       serial number: 18790
        request code: 73
Jan 26 03:01:55 GWorkspace[12211] X-Windows error - BadMatch (invalid
parameter                        attributes)          on display: :0.0
                type: 0
       serial number: 18791
        request code: 73
Program received signal SIGSEGV, Segmentation fault.
0x408cf437 in _pixmap_combine_alpha (context=0x824aba8,
source_im=0x8451dd0,     source_alpha=0x8502df8, dest_im=0x82fef78,
dest_alpha=0x8502e18, srect={      x = 0, y = 0, width = 253, height =
188}, op=NSCompositeSourceOver,     drawMechanism=XGDM_FAST32, fraction=1)
at XGBitmap.m:153 153                   pixel = XGetPixel(source_im->image,
(gdb) 

and here is the backtrace:

(gdb) backtrace
#0  0x408cf437 in _pixmap_combine_alpha (context=0x824aba8, 
    source_im=0x8451dd0, source_alpha=0x8502df8, dest_im=0x82fef78, 
    dest_alpha=0x8502e18, srect={x = 0, y = 0, width = 253, height = 188}, 
    op=NSCompositeSourceOver, drawMechanism=XGDM_FAST32, fraction=1)
    at XGBitmap.m:153
#1  0x408e15cf in
_i_XGGState___compositeGState_fromRect_toPoint_op_fraction_ (   
self=0x82fddf8, _cmd=0x409143b0, source=0x82fe9d8, fromRect={origin = {    
   x = 0, y = 0}, size = {width = 253, height = 187.942856}}, toPoint={    
 x = 2, y = 23.5285721}, op=NSCompositeSourceOver, delta=1)    at
XGGState.m:599#2  0x408e1f33 in
_i_XGGState__compositeGState_fromRect_toPoint_op_ (    self=0x82fddf8,
_cmd=0x40911940, source=0x82fe9d8, aRect={origin = {x = 0,         y = 0},
size = {width = 253, height = 187.942856}}, aPoint={x = 2,       y =
23.5285721}, op=NSCompositeSourceOver) at XGGState.m:745#3  0x408ddff9 in
_i_XGContext_Ops_DPScomposite________ (self=0x821b938,     _cmd=0x402e85c8,
x=0, y=0, w=253, h=187.942856, gstateNum=38, dx=2,     dy=23.5285721, op=2)
at XGContext.m:1939#4  0x4014562a in DPScomposite (ctxt=0x821b938, x=0,
y=0, w=253, h=187.942856,     gstateNum=38, dx=2, dy=23.5285721, op=2)
    at ../Headers/AppKit/DPSOperators.h:2169
#5  0x4014555a in PScomposite (x=0, y=0, w=253, h=187.942856, gstateNum=38,
    dx=2, dy=23.5285721, op=2) at ../Headers/AppKit/PSOperators.h:1787
#6  0x40141a33 in _i_NSImage__compositeToPoint_fromRect_operation_ (
    self=0x8456f18, _cmd=0x402e8b78, aPoint={x = 2, y = 23.5285721},
aRect={      origin = {x = 0, y = 0}, size = {width = 253, height =
187.942856}},     op=NSCompositeSourceOver) at NSImage.m:684
#7  0x401416cc in _i_NSImage__compositeToPoint_operation_ (self=0x8456f18, 
    _cmd=0x402e95c8, aPoint={x = 2, y = 23.5285721},
op=NSCompositeSourceOver)    at NSImage.m:655

This is with the CVS version of GNUStep as of Jan. 26, 2002.

Regards,
Charles 

-- 
The box saids Windows XP or better, so I installed Linux



reply via email to

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