bug-guile
[Top][All Lists]
Advanced

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

Re: module system / (oop goops) / :duplicates (merge-generics) / bug?


From: David Pirotte
Subject: Re: module system / (oop goops) / :duplicates (merge-generics) / bug?
Date: Mon, 29 Aug 2011 23:56:18 -0300

Hi again,

        I reply to myself too :)

I realized while I was in a cafe without internet :) that I forgot to attach a
[simplified] glade file. I took this 'opportunity' to edit both mg-wgtk-3 and
mg-wgtk-4 so that there is one global to change to perform in these 2 files ...

So I decided to attach the all example set again, and the glade file, to 
facilitate
the work of who ever would like to try and debug ... 

        ->      'you' may forget the previous email, use the attachments of this
                one and the text below

Sorry about this,
Cheers,
David

;; --

Le Mon, 29 Aug 2011 14:05:18 -0300,
David Pirotte <address@hidden> a écrit :

> Hi Andy,
> Ludovic,
> 
> > > I fixed it!
> > 
> > Thank you very much! The examples I sent earlier now all work, but I still 
> > have a
> > problem ...
> 
> I finally could reproduce the problem and wrote an example you can run 'in 
> the cafe
> without internet' :) [hopefully] 
> 
>       in addition to the comments here below, please note that these examples
>       further differs from previous 'versions' I sent in the passed in the 
> sense
>       that they now also use (gnome glade)
> 
> If you drop the attached somewhere in your %load-path, then you can try the
> following 2 tests, one which [here] produces a segfault and the other which
> works fine. The only 'important' difference between these 2 tests is 
> expressed by
> diff mg-wgtk-0 mg-wgtk-1:
> 
>       mg-wgtk-0 defines and export an additional slot which is named 
> glade-file
>       [which is then used by mg-wgtk-3 ...]
> 
> This should or crash guile or produce an error [the behavior of guile itself 
> is not
> systematic [here], but it always 'fails':
> 
>       mg-wgtk-3       uses    mg-wgtk-0
>                                               mg-wgtk-2
> 
>       guile-gnome-2
>       (use-modules (mg-wgtk-3))
>       (letstry)
>       ->      Top level dialog: #<<gtk-window> a2bbbc0>
>               Printing dialog: Segmentation fault
> 
> 
> This will work fine:
> 
>       mg-wgtk-4       uses    mg-wgtk-1
>                                               mg-wgtk-2
>       guile-gnome-2
>       (use-modules (mg-wgtk-4))
>       (letstry)
>       ->      Top level dialog: #<<gtk-window> 8b86c30>
>               Printing dialog: #<<gtk-dialog> 8b89110>
> 
> 
> Many thanks,
> David
> 
> 

Attachment: mg-wgtk-0.scm
Description: Text Data

Attachment: mg-wgtk-1.scm
Description: Text Data

Attachment: mg-wgtk-2.scm
Description: Text Data

Attachment: mg-wgtk-3.scm
Description: Text Data

Attachment: mg-wgtk-4.scm
Description: Text Data

Attachment: kise.exa.glade
Description: application/glade


reply via email to

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