[Gambas-user] Circular references with latest revision

Ron ron at ...1740...
Fri Jan 2 11:39:10 CET 2015


It's in gb.net.smtp, I think!
See bug report I just filled, if you de-select gb.net.smtp crash stops..

Ron.


2015-01-02 11:32 GMT+01:00 Benoît Minisini <gambas at ...1...>:

> Le 02/01/2015 11:14, Ron a écrit :
> > I have the same issue, trying to get it isolated, but didn't succeed yet,
> > will let you know when.
> >
> > In 3.6.2 no issue, but with trunk (some revisions ago already)
> >
> > $ ./DomotiGa3.gambas
> > gbx3: warning: circular references detected:
> > gbx3:     1 FMusic
> > gbx3:     1 FLogfiles
> > gbx3:     2 FToolBar
> > gbx3:     2 ToolBar
> > gbx3:     1 FBalloon
> > gbx3:     2 TableView
> > gbx3:     1 TabPanel
> > gbx3:     5 LCDLabel
> > gbx3:     4 GridViewSelection
> > gbx3:     1 _TreeView_Item
> > gbx3:     4 _GridView_Rows
> > gbx3:     4 _GridView_Columns
> > gbx3:     4 ScrollArea
> > gbx3:     1 ListView
> > gbx3:     2 GridView
> > gbx3: warning: 873 allocation(s) non freed.
> >
> > from inside ide:
> >
> > gbx3: warning: circular references detected:
> > gbx3:     1 FMusic
> > gbx3:     1 FLogfiles
> > gbx3:     2 FToolBar
> > gbx3:     2 ToolBar
> > gbx3:     1 FBalloon
> > gbx3:     2 TableView
> > gbx3:     1 TabPanel
> > gbx3:     5 LCDLabel
> > gbx3:     4 GridViewSelection
> > gbx3:     1 _TreeView_Item
> > gbx3:     4 _GridView_Rows
> > gbx3:     4 _GridView_Columns
> > gbx3:     4 ScrollArea
> > gbx3:     1 ListView
> > gbx3:     2 GridView
> > *** Error in `DomotiGa3': free(): invalid pointer: 0x00007fc84ee139b8 ***
> >
> > gbx3 even crashes sometimes with sig aborted, see screenshot.
> >
> > I also had this with command line project but only when I use gb.signal
> > component to catch these
> >     Signal[Signal.SIGINT].Catch
> >    ' ' Catch default kill signal
> >     Signal[Signal.SIGTERM].Catch
> >
> >
> > I personally would like to have this fixed in 3.7, maybe this info
> helps..
> >
> > Regards,
> > Ron.
> >
> > [System]
> > Gambas=3.6.90
> > OperatingSystem=Linux
> > Kernel=3.13.0-43-generic
> > Architecture=x86_64
> > Distribution=Ubuntu 14.04.1 LTS
> > Desktop=GNOME
> > Theme=QGtk
> > Language=en_US.UTF-8
> > Memory=3849M
> > [Libraries]
> > Cairo=libcairo.so.2.11301.0
> > Curl=libcurl.so.4.3.0
> > DBus=libdbus-1.so.3.7.6
> > GStreamer=libgstreamer-0.10.so.0.30.0
> > GStreamer=libgstreamer-1.0.so.0.204.0
> > GTK+3=libgtk-3.so.0.1000.8
> > GTK+=libgtk-x11-2.0.so.0.2400.23
> > OpenGL=libGL.so.1.2.0
> > Poppler=libpoppler.so.44.0.0
> > Qt4=libQtCore.so.4.8.6
> > SDL=libSDL-1.2.so.0.11.4
> >
> >
> > 3.6.2:
> >
> > 2015/01/02 07:44:06 [Main] It's dark outside.
> > 2015/01/02 07:44:06 [Main] DomotiGa is running for 0 days, 0 hrs, 0 mins,
> > and 0 secs.
> > 2015/01/02 07:44:06 [Main] The current tagline is 'Prune: A plum that has
> > seen better days.'
> > ^CReceived signal SIGINT, exit DomotiGaServer3
> > 2015/01/02 07:44:07 [Main] Received signal SIGINT, exit DomotiGaServer3
> > 2015/01/02 07:44:07 [Main] Stopping running timers.
> > 2015/01/02 07:44:07 [Main]   ---- Program End ----
> >
> > trunk:
> >
> > 2015/01/02 09:12:08 [Main] DomotiGa is running for 0 days, 0 hrs, 0 mins,
> > and 0 secs.
> > 2015/01/02 09:12:08 [Main] The current tagline is 'I want to live with a
> > synonym girl... '
> > ^CReceived signal SIGINT, exit DomotiGaServer3
> > 2015/01/02 09:12:10 [Main] Received signal SIGINT, exit DomotiGaServer3
> > 2015/01/02 09:12:10 [Main] Stopping running timers.
> > 2015/01/02 09:12:10 [Main]   ---- Program End ----
> > gbx3: warning: -6 allocation(s) non freed.
> >
> > [image: Inline afbeelding 1][image: Inline afbeelding 2]
> >
> >
> > 2014-12-31 14:57 GMT+01:00 Jussi Lahtinen <jussi.lahtinen at ...626...>:
> >
> >> One of my projects reports circular references when shutdown, but it
> works
> >> perfectly.
> >> I haven't get these messages with earlier revisions (not sure from what
> >> revision this started exactly).
> >>
> >> Part of the messages:
> >> gbx3:     1 GridViewSelection
> >> gbx3:     1 _TreeView_Item
> >> gbx3:     1 _GridView_Rows
> >> gbx3:     1 _GridView_Columns
> >> gbx3:     1 VSplit
> >> gbx3:     1 ScrollArea
> >> gbx3:     1 ListView
> >> gbx3:     1 GridView
> >>
> >> I have not isolated the problem, but I will try later.
> >> Any clues about this, my error or something in Gambas?
> >>
> >>
> >> Jussi
> >>
>
> It's hard for me to fix bugs without being able to reproduce it.
>
> But you can help me by compiling older development version to try to
> find the revision number where it starts to fail.
>
> $ svn checkout -r REVISION ...
>
> I know it's very long to recompile older version, but I don't have
> better at the moment...
>
> The revision number I'd like you to test are (in that order): 6754,
> 6693, 6681.
>
> Regards,
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list