xforms-development
[Top][All Lists]
Advanced

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

Re: [XForms] fdesign seg fault


From: Jens Thoms Toerring
Subject: Re: [XForms] fdesign seg fault
Date: Fri, 21 May 2010 00:08:27 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

Hi,

On Thu, May 20, 2010 at 11:57:58PM +0200, LukenShiro wrote:
> Il giorno Thu, 20 May 2010 20:20:02 +0000
> Paul <address@hidden> ha scritto:
> > 1/ run fdesign
> > 2/ new form
> > 3/ create scrollbar
> > 4/ F1 for attribs
> > 5/ Change type from HOR_SCROLLBAR to VERT_SCROLLBAR
> > 6/ Click Cancel
> > 7/ fdesign segmentation faults
> > 
> > Same with valslider too.  Seems to break only when selecting
> > topmost item from the Type list and then cancelling.
> > 
> > Does this with xforms-1.0.92sp2, xforms-1.0.93pre8
> 
> I can partially confirm it with xforms-git version.
> 
> valslider doesn't seem to break here.
> 
> Indeed I've noticed scrollbar breaks not only using the topmost item
> type (as you said) but with other types, too:
> VERT_THIN_SCROLLBAR + Cancel
> HOR_THIN_SCROLLBAR + Cancel
> VERT_NICE_SCROLLBAR + Cancel
> etc....

And there are one or two other object types (that have scroll-
bars) where using "Cancel" results in a segfault. The whole
thing in fdesign is quite a bit of a mess and I inherited it
with a comment of

/* Changes the type of an object by reconstructing it. A quite nasty
   procedure that delves into the form structure in a bad way. */

I fully subscribe to that and just added

/* And it looks a lot like a memory leak... */

:-(

I'm just looking at it but haven't found a fix yet.

                               Best regards, Jens
-- 
  \   Jens Thoms Toerring  ________      address@hidden
   \_______________________________      http://toerring.de



reply via email to

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