[gtkmm] Gtkmm-forge digest, Vol 1 #287 - 7 msgs



Send Gtkmm-forge mailing list submissions to
	gtkmm-forge lists sourceforge net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
or, via email, send a message with subject or body 'help' to
	gtkmm-forge-request lists sourceforge net

You can reach the person managing the list at
	gtkmm-forge-admin lists sourceforge net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gtkmm-forge digest..."


gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla.  A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs.


Today's Topics:

   1. [Bug 98659] New - valgrind reports error with gtk-demo (bugzilla-daemon widget gnome org)
   2. [Bug 98659] Changed - valgrind reports error with gtk-demo (bugzilla-daemon widget gnome org)
   3. [Bug 98659] Changed - valgrind reports error with gtk-demo (bugzilla-daemon widget gnome org)
   4. [Bug 98659] Changed - valgrind reports error with gtk-demo (bugzilla-daemon widget gnome org)
   5. [Bug 98617] Changed - Latest h2defs.py produces is-constructor-of entries (bugzilla-daemon widget gnome org)
   6. [Bug 98706] New - perl 5.8.0 segfaults when building gtkmm (bugzilla-daemon widget gnome org)
   7. [Bug 98706] Changed - cvs build: perl 5.8.0 segfaults (bugzilla-daemon widget gnome org)

--__--__--

Message: 1
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Fri, 15 Nov 2002 19:33:22 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 98659] New - valgrind reports error with gtk-demo

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=98659

Changed by murrayc usa net 

--- shadow/98659	Fri Nov 15 19:33:21 2002
+++ shadow/98659.tmp.12236	Fri Nov 15 19:33:22 2002
@@ -0,0 +1,57 @@
+Bug#: 98659
+Product: gtkmm
+Version: 2.0
+OS: Linux
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: normal
+Priority: Normal
+Component: general
+AssignedTo: gtkmm-forge lists sourceforge net                            
+ReportedBy: murrayc usa net               
+TargetMilestone: ---
+URL: 
+Summary: valgrind reports error with gtk-demo
+
+I don't get this error with any of the examples. This is just when starting
+the application - there are more errors when quiting. This is on RH7.3 with
+GNOME HEAD from cvs.
+
+[root localhost gtk-demo]# pwd
+/gnome/head/cvs/c++/gtkmm2/demos/gtk-demo
+[root localhost gtk-demo]# valgrind --num-callers=20 .libs/lt-demo
+==5467== valgrind-1.0.4, a memory error detector for x86 GNU/Linux.
+==5467== Copyright (C) 2000-2002, and GNU GPL'd, by Julian Seward.
+==5467== Estimated CPU clock rate is 931 MHz
+==5467== For more details, rerun with: -v
+==5467==
+==5467== Mismatched free() / delete / delete []
+==5467==    at 0x400449B9: __builtin_delete (vg_clientfuncs.c:194)
+==5467==    by 0x8061C2C: ???
+(/gnome/head/INSTALL/include/sigc++-1.2/sigc++/slot.h:219)
+==5467==    by 0x407BFAB6: g_value_unset (gvalue.c:152)
+==5467==    by 0x4026E62C: Glib::ValueBase::~ValueBase(void) (value.cc:59)
+==5467==    by 0x80617C0: ??? (../../gtk/gtkmm/treemodelcolumn.h:99)
+==5467==    by 0x805F3D4: DemoWindow::fill_tree(void)
+(../../gtk/gtkmm/treeiter.h:283)
+==5467==    by 0x805ED51: DemoWindow::DemoWindow(int) (demowindow.cc:81)
+==5467==    by 0x80624CC: main (main.cc:31)
+==5467==    by 0x408CD1C4: __libc_start_main (in /lib/libc-2.2.5.so)
+==5467==    by 0x805E8C1: (within
+/gnome/head/cvs/c++/gtkmm2/demos/gtk-demo/.libs/lt-demo)
+==5467==    Address 0x42062D30 is 0 bytes inside a block of size 4 alloc'd
+==5467==    at 0x40044644: malloc (vg_clientfuncs.c:100)
+==5467==    by 0x808511D: (within
+/gnome/head/cvs/c++/gtkmm2/demos/gtk-demo/.libs/lt-demo)
+==5467==    by 0x8061BC7: ??? (../../glib/glibmm/value_custom.h:264)
+==5467==    by 0x407BF802: g_value_init (gvalue.c:81)
+==5467==    by 0x4026E58B: Glib::ValueBase::init(unsigned long) (value.cc:39)
+==5467==    by 0x806179A: ??? (../../glib/glibmm/value_custom.h:232)
+==5467==    by 0x805F3D4: DemoWindow::fill_tree(void)
+(../../gtk/gtkmm/treeiter.h:283)
+==5467==    by 0x805ED51: DemoWindow::DemoWindow(int) (demowindow.cc:81)
+==5467==    by 0x80624CC: main (main.cc:31)
+==5467==    by 0x408CD1C4: __libc_start_main (in /lib/libc-2.2.5.so)
+==5467==    by 0x805E8C1: (within
+/gnome/head/cvs/c++/gtkmm2/demos/gtk-demo/.libs/lt-demo)



--__--__--

Message: 2
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, murrayc usa net
Cc: 
Date: Fri, 15 Nov 2002 20:23:02 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 98659] Changed - valgrind reports error with gtk-demo

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=98659

Changed by daniel elstner gmx net 

--- shadow/98659	Fri Nov 15 19:33:22 2002
+++ shadow/98659.tmp.27643	Fri Nov 15 20:23:02 2002
@@ -52,6 +52,23 @@
 (../../gtk/gtkmm/treeiter.h:283)
 ==5467==    by 0x805ED51: DemoWindow::DemoWindow(int) (demowindow.cc:81)
 ==5467==    by 0x80624CC: main (main.cc:31)
 ==5467==    by 0x408CD1C4: __libc_start_main (in /lib/libc-2.2.5.so)
 ==5467==    by 0x805E8C1: (within
 /gnome/head/cvs/c++/gtkmm2/demos/gtk-demo/.libs/lt-demo)
+
+------- Additional Comments From daniel elstner gmx net  2002-11-15 20:23 -------
+I'm quite sure this is a bug in valgrind.  The following simple
+program triggers the error:
+
+#include <new>
+
+int main(int, char**)
+{
+  int* foo = new(std::nothrow) int();
+  delete foo;
+
+  return 0;
+}
+
+It works fine when replacing new(std::nothrow) with the normal new.
+



--__--__--

Message: 3
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, murrayc usa net
Cc: 
Date: Fri, 15 Nov 2002 20:42:31 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 98659] Changed - valgrind reports error with gtk-demo

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=98659

Changed by daniel elstner gmx net 

--- shadow/98659	Fri Nov 15 20:23:02 2002
+++ shadow/98659.tmp.3171	Fri Nov 15 20:42:31 2002
@@ -69,6 +69,21 @@
 
   return 0;
 }
 
 It works fine when replacing new(std::nothrow) with the normal new.
 
+
+------- Additional Comments From daniel elstner gmx net  2002-11-15 20:42 -------
+I just had a look at the libstdc++-v3 headers and found this:
+
+void operator delete(void *, const std::nothrow_t&) throw();
+
+So the std::nothrow overload does exist for delete as well -- but the
+compiler (g++ 3.2.1 here) doesn't accept it for some reason.  Well
+it's quite useless anyway since it has the same empty throw()
+signature as the normal delete.
+
+Since the nothrow variants of new/delete use the same memory
+allocation pool as the throwing ones there is no reason to disallow
+mixing them.  Therefore I would still regard this as a valgrind bug.
+



--__--__--

Message: 4
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Sat, 16 Nov 2002 05:20:39 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 98659] Changed - valgrind reports error with gtk-demo

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=98659

Changed by murrayc usa net 

--- shadow/98659	Fri Nov 15 20:42:31 2002
+++ shadow/98659.tmp.18517	Sat Nov 16 05:20:39 2002
@@ -1,13 +1,13 @@
 Bug#: 98659
 Product: gtkmm
 Version: 2.0
 OS: Linux
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: NOTABUG
 Severity: normal
 Priority: Normal
 Component: general
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: murrayc usa net               
 TargetMilestone: ---
@@ -84,6 +84,9 @@
 signature as the normal delete.
 
 Since the nothrow variants of new/delete use the same memory
 allocation pool as the throwing ones there is no reason to disallow
 mixing them.  Therefore I would still regard this as a valgrind bug.
 
+
+------- Additional Comments From murrayc usa net  2002-11-16 05:20 -------
+I sent an email to the valgrind maintainer about this. Thanks.



--__--__--

Message: 5
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, abas aix meng auth gr
Cc: 
Date: Sat, 16 Nov 2002 06:04:34 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 98617] Changed - Latest h2defs.py produces is-constructor-of entries

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=98617

Changed by james daa com au 

--- shadow/98617	Fri Nov 15 13:45:16 2002
+++ shadow/98617.tmp.30513	Sat Nov 16 06:04:34 2002
@@ -1,19 +1,19 @@
 Bug#: 98617
-Product: gnome-python
-Version: unspecified
+Product: gtkmm
+Version: 2.0
 OS: other
 OS Details: 
 Status: NEW   
 Resolution: 
 Severity: trivial
 Priority: Normal
-Component: codegen
+Component: build
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: abas aix meng auth gr               
-TargetMilestone: pygtk-2.2
+TargetMilestone: ---
 URL: 
 Summary: Latest h2defs.py produces is-constructor-of entries
 
 The latest h2defs.py from CVS produces defs files that
 contain the is-constructor-of parameter for functions
 that look like they are constructors. This produces 
@@ -21,6 +21,27 @@
 
 GtkDefs.pm: Unhandled function parameter ( (is-constructor-of
 "GconfSchema") ) in gconf_schema_new
 
 ------- Additional Comments From murrayc usa net  2002-11-15 13:45 -------
 h2defs.py is not part of gtkmm. Reassigning.
+
+------- Additional Comments From james daa com au  2002-11-16 06:04 -------
+Murray: when reassigning accross product boundaries, use "reassign bug
+to owner of selected component".  Otherwise I get no notification (you
+still own the bug).
+
+Tassos: h2def.py is not intended to create a fully correct defs file.
+ Quite often the resulting defs file will need some additional
+tweaking to add some information that could not be derived from the
+header.
+
+Working out what functions are constructors and what aren't is one
+such thing that can't always be deduced.  It seems that the current
+heuristics result in more correct defs entries than incorrect ones.
+
+If your tools can't handle (is-constructor-of "...") lines, then that
+is a bug in your tools (it has been in all the drafts of the current
+defs spec).  If the information is not of any use for you, then your
+tool should be ignoring it.
+
+I will leave it up to murray to close this if appropriate.



--__--__--

Message: 6
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Sat, 16 Nov 2002 11:17:21 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 98706] New - perl 5.8.0 segfaults when building gtkmm

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=98706

Changed by jrb redhat com 

--- shadow/98706	Sat Nov 16 11:17:21 2002
+++ shadow/98706.tmp.25391	Sat Nov 16 11:17:21 2002
@@ -0,0 +1,24 @@
+Bug#: 98706
+Product: gtkmm
+Version: 2.0
+OS: Linux
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: normal
+Priority: Normal
+Component: build
+AssignedTo: gtkmm-forge lists sourceforge net                            
+ReportedBy: jrb redhat com               
+TargetMilestone: ---
+URL: 
+Summary: perl 5.8.0 segfaults when building gtkmm
+
+/usr/bin/perl -I../../tools/pm ../../tools/gtkmmproc -I ../../tools/m4 --defs .
+--mergecdocs style . ./../gtkmm
+make[4]: *** [.stamps/stamp-style] Segmentation fault (core dumped)
+
+%rpm -q perl
+perl-5.8.0-55
+
+If you need more information, let me know.



--__--__--

Message: 7
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, jrb redhat com
Cc: 
Date: Sat, 16 Nov 2002 11:24:18 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 98706] Changed - cvs build: perl 5.8.0 segfaults

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=98706

Changed by murrayc usa net 

--- shadow/98706	Sat Nov 16 11:17:21 2002
+++ shadow/98706.tmp.27566	Sat Nov 16 11:24:18 2002
@@ -9,13 +9,13 @@
 Priority: Normal
 Component: build
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: jrb redhat com               
 TargetMilestone: ---
 URL: 
-Summary: perl 5.8.0 segfaults when building gtkmm
+Summary: cvs build: perl 5.8.0 segfaults
 
 /usr/bin/perl -I../../tools/pm ../../tools/gtkmmproc -I ../../tools/m4 --defs .
 --mergecdocs style . ./../gtkmm
 make[4]: *** [.stamps/stamp-style] Segmentation fault (core dumped)
 
 %rpm -q perl




--__--__--

_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge


End of Gtkmm-forge Digest



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