Re: Scigraphica-gtkextra digest, Vol 1 #401 - 1 msg
Prakash Bhurke <[email protected]> Mon, 15 Nov 2004 05:10:28 -0800 (PST)
| Newsgroups | gmane.comp.scigraphica.gtkextra |
|---|---|
| Message-ID | <[email protected]> |
Hi, Today 15thNov04, I checked out gtkextra-2 from CVS. I built it on WindowsXP (MinGW port) for testing testrealtime.exe as I did last time. I observed that testrealtime.exe doesn't crash after 15-20mins as previous CVS gtkextra-2 version. But still it has memory leaks (Windows Task Manager shows :( .). But less memory leak compared to previous one. CPU usage is also decreased comparate to previous one. But still, CPU usage is high on autoscroll graph. I think, this leak is occured due to improper handling of SaveDC (gtk_plot_gdk_gsave ())& RestoreDC (gtk_plot_gdk_grestore() ). Unfortunately, Valgrind is not available on windows XP :(. Does anybody know valgrind equivalent tool on windows. Here is captured output : ** (testrealtime.exe): WARNING **: Couldn't load font "Nimbus Roman No9 L, Bold Italic 15" falling back to "Sans Bold Italic 15" (testrealtime.exe): Gdk-CRITICAL **: file gdkpango.c: line 552 (gdk_draw_layout): assertion `GDK_IS_DRAWABLE (drawable)' failed ** (testrealtime.exe): WARNING **: Couldn't load font "Nimbus Roman No9 L, Bold Italic 15" falling back to "Sans Bold Italic 15" (testrealtime.exe): Gdk-CRITICAL **: file gdkpango.c: line 552 (gdk_draw_layout): assertion `GDK_IS_DRAWABLE (drawable)' failed ** (testrealtime.exe): WARNING **: Couldn't load font "Nimbus Roman No9 L, Bold Italic 15" falling back to "Sans Bold Italic 15" (testrealtime.exe): Gdk-CRITICAL **: file gdkpango.c: line 552 (gdk_draw_layout): assertion `GDK_IS_DRAWABLE (drawable)' failed ** (testrealtime.exe): WARNING **: Couldn't load font "Nimbus Roman No9 L, Bold Italic 15" falling back to "Sans Bold Italic 15" (testrealtime.exe): Gdk-CRITICAL **: file gdkpango.c: line 552 (gdk_draw_layout): assertion `GDK_IS_DRAWABLE (drawable)' failed ** (testrealtime.exe): WARNING **: Couldn't load font "Nimbus Roman No9 L, Bold Italic 15" falling back to "Sans Bold Italic 15" (testrealtime.exe): Gdk-CRITICAL **: file gdkpango.c: line 552 (gdk_draw_layout): assertion `GDK_IS_DRAWABLE (drawable)' failed (testrealtime.exe): Gdk-CRITICAL **: file gdkdraw.c: line 651 (gdk_draw_drawable): assertion `src != NULL' failed (testrealtime.exe): Gdk-WARNING **: gdkgc-win32.c:924: SaveDC failed: Not enough storage is available to process this command. (testrealtime.exe): Gdk-WARNING **: gdkgc-win32.c:1074: RestoreDC failed: The parameter is incorrect. (testrealtime.exe): Gdk-WARNING **: gdkgc-win32.c:924: SaveDC failed: Not enough storage is available to process this command. (testrealtime.exe): Gdk-WARNING **: gdkgc-win32.c:1074: RestoreDC failed: The parameter is incorrect. (testrealtime.exe): Gdk-WARNING **: gdkgc-win32.c:924: SaveDC failed: Not enough storage is available to process this command. (testrealtime.exe): Gdk-WARNING **: gdkgc-win32.c:1074: RestoreDC failed: The parameter is incorrect. (testrealtime.exe): Gdk-WARNING **: gdkgc-win32.c:935: SaveDC failed: Not enough storage is available to process this command. (testrealtime.exe): Gdk-WARNING **: gdkdrawable-win32.c:1493: CreateCompatibleDC failed: Not enough storage is available to process this command. (testrealtime.exe): Gdk-WARNING **: gdkgc-win32.c:1074: RestoreDC failed: The parameter is incorrect. (testrealtime.exe): Gdk-WARNING **: gdkpixmap-win32.c:301: CreateDIBSection failed: The parameter is incorrect. (testrealtime.exe): Gdk-WARNING **: gdkpixmap-win32.c:112: DeleteObject failed: The parameter is incorrect. (testrealtime.exe): Gdk-CRITICAL **: file gdkdraw.c: line 1559 (_gdk_drawable_get_scratch_gc): assertion `GDK_IS_DRAWABLE (drawable)' failed (testrealtime.exe): Gdk-CRITICAL **: file gdkgc.c: line 208 (gdk_gc_set_foreground): assertion `GDK_IS_GC (gc)' failed (testrealtime.exe): GLib-GObject-CRITICAL **: file gobject.c: line 1561 (g_object_ref): assertion `G_IS_OBJECT (object)' failed (testrealtime.exe): Gdk-CRITICAL **: file gdkgc-win32.c: line 646 (gdk_gc_set_clip_region): assertion `GDK_IS_GC (gc)' failed (testrealtime.exe): Gdk-CRITICAL **: file gdkdraw.c: line 412 (gdk_draw_rectangle): assertion `GDK_IS_GC (gc)' failed (testrealtime.exe): Gdk-CRITICAL **: file gdkgc-win32.c: line 646 (gdk_gc_set_clip_region): assertion `GDK_IS_GC (gc)' failed (testrealtime.exe): GLib-GObject-CRITICAL **: file gobject.c: line 1579 (g_object_unref): assertion `G_IS_OBJECT (object)' failed (testrealtime.exe): Gdk-CRITICAL **: file gdkdraw.c: line 650 (gdk_draw_drawable): assertion `GDK_IS_DRAWABLE (drawable)' failed (testrealtime.exe): Gdk-CRITICAL **: file gdkdraw.c: line 651 (gdk_draw_drawable): assertion `src != NULL' failed (testrealtime.exe): GLib-GObject-CRITICAL **: file gobject.c: line 1579 (g_object_unref): assertion `G_IS_OBJECT (object)' failed (testrealtime.exe): Gdk-WARNING **: gdkgc-win32.c:924: SaveDC failed: Not enough storage is available to process this command. (testrealtime.exe): Gdk-WARNING **: gdkgc-win32.c:1074: RestoreDC failed: The parameter is incorrect. (testrealtime.exe): Gdk-WARNING **: gdkgc-win32.c:924: SaveDC failed: Not enough storage is available to process this command. (testrealtime.exe): Gdk-WARNING **: gdkgc-win32.c:1074: RestoreDC failed: The parameter is incorrect. (testrealtime.exe): Gdk-WARNING **: gdkgc-win32.c:924: SaveDC failed: Not enough storage is available to process this command. (testrealtime.exe): Gdk-WARNING **: gdkgc-win32.c:1074: RestoreDC failed: The parameter is incorrect. (testrealtime.exe): Gdk-WARNING **: gdkgc-win32.c:935: SaveDC failed: Not enough storage is available to process this command. (testrealtime.exe): Gdk-WARNING **: gdkdrawable-win32.c:1493: CreateCompatibleDC failed: Not enough storage is available to process this command. (testrealtime.exe): Gdk-WARNING **: gdkgc-win32.c:1074: RestoreDC failed: The parameter is incorrect. Regards, Prakash --- [email protected] wrote: > Send Scigraphica-gtkextra mailing list submissions > to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, > visit > > https://lists.sourceforge.net/lists/listinfo/scigraphica-gtkextra > or, via email, send a message with subject or body > 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it > is more specific > than "Re: Contents of Scigraphica-gtkextra > digest..." > > > Today's Topics: > > 1. Re: Pending gtkextra release (Adrian E. > Feiguin) > > --__--__-- > > Message: 1 > Date: Sun, 14 Nov 2004 18:32:55 -0800 > From: "Adrian E. Feiguin" <[email protected]> > To: Al Hooton <[email protected]> > CC: [email protected] > Subject: [gtkextra] Re: Pending gtkextra release > > Hi Al, > I'm really happy to hear that you can't find > memory leaks, that's > really cool. I think that using array container > objects to manage the > data really helped. Regarding using different styles > for different > pieces of your dataset, I'm affraid that is not > possible. You can plot > each segment using a different dataset. > Saludos, > <ADRIAN> > > Al Hooton wrote: > > > Adrian, > > > > I've been actively using plot and canvas, and > have not found any > > further issues past our prior discussions. That > includes using > > Valgrind to look for memory handling errors-- I > have found none (well, > > none in gtkextra-2 -- there are several down in > glib). This is using > > gtkextra-2 from CVS as of about 2-1/2 weeks ago. > > > > I am still curious about the following, though, > from my post a > > couple of weeks back. Any thoughts? > > > > Thanks! > > > > -Al > > > > ----- Original Message ----- From: "Al Hooton" > <[email protected]> > > To: <[email protected]> > > Sent: Monday, November 01, 2004 2:31 PM > > Subject: [gtkextra] Changing attributes of lines & > symbols in a dataset? > > > > > >> It looks like we can change attributes of lines > and symbols for an > >> entire dataset, but not for just parts of a > dataset (i.e., not just for > >> one "segment" of the plot). > >> > >> Is that true? > >> > >> If so, has anybody played with using multiple > datasets on a plot, one > >> per plotted segment, in order to gain control > over the attributes for > >> just a single segment? The symbols at each point > would overlap, looking > >> like just a single symbol, I'm hoping. > >> > >> Just wondering if anyone has done this? > >> > >> Thanks, > >> Al > >> > >> > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: InterSystems > CACHE > > FREE OODBMS DOWNLOAD - A multidimensional database > that combines > > robust object and relational technologies, making > it a perfect match > > for Java, C++,COM, XML, ODBC and JDBC. > www.intersystems.com/match8 > > _______________________________________________ > > Scigraphica-gtkextra mailing list > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/scigraphica-gtkextra > > > > > > --__--__-- > > _______________________________________________ > Scigraphica-gtkextra mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/scigraphica-gtkextra > > > End of Scigraphica-gtkextra Digest > __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8