[gtkmm] Gtkmm-forge digest, Vol 1 #242 - 11 msgs
- From: gtkmm-forge-request lists sourceforge net
- To: gtkmm-forge lists sourceforge net
- Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #242 - 11 msgs
- Date: Wed, 02 Oct 2002 10:24:14 -0700
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 94658] New - TextBuffer insert method using RefPtr<TextBuffer> yields core dump on G_IS_OBJECT assertion (bugzilla-daemon widget gnome org)
2. [Bug 94239] Changed - documentation addition for io_connect() (bugzilla-daemon widget gnome org)
3. [Bug 94658] Changed - TextBuffer insert method using RefPtr<TextBuffer> yields core dump on G_IS_OBJECT assertion (bugzilla-daemon widget gnome org)
4. [Bug 94169] Changed - Gdk-API/Docs lacks methods screen_*() (bugzilla-daemon widget gnome org)
5. [Bug 94110] Changed - proposed API additions to Glib::TimeVal (bugzilla-daemon widget gnome org)
6. [Bug 93412] Changed - gtkmm2 cvs fails to link on Mac OS 10.2 (bugzilla-daemon widget gnome org)
7. [Bug 93787] Changed - Outputting ustring with operator << converts implicitly (bugzilla-daemon widget gnome org)
8. [Bug 94169] Changed - Gdk-API/Docs lacks methods screen_*() (bugzilla-daemon widget gnome org)
9. [Bug 94110] Changed - proposed API additions to Glib::TimeVal (bugzilla-daemon widget gnome org)
10. [Bug 94658] Changed - TextBuffer insert method using RefPtr<TextBuffer> yields core dump on G_IS_OBJECT assertion (bugzilla-daemon widget gnome org)
11. [Bug 94658] Changed - TextBuffer insert method using RefPtr<TextBuffer> yields core dump on G_IS_OBJECT assertion (bugzilla-daemon widget gnome org)
--__--__--
Message: 1
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc:
Date: Wed, 2 Oct 2002 02:31:52 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 94658] New - TextBuffer insert method using RefPtr<TextBuffer> yields core dump on G_IS_OBJECT assertion
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=94658
Changed by fshim cawthra com
--- shadow/94658 Wed Oct 2 02:31:52 2002
+++ shadow/94658.tmp.22865 Wed Oct 2 02:31:52 2002
@@ -0,0 +1,142 @@
+Bug#: 94658
+Product: gtkmm
+Version: 2.0
+OS: Linux
+OS Details: Linux i386 - Distro: RedHat 7.3 with gtkmm-2.0 additions
+Status: NEW
+Resolution:
+Severity: major
+Priority: Normal
+Component: general
+AssignedTo: gtkmm-forge lists sourceforge net
+ReportedBy: fshim cawthra com
+TargetMilestone: ---
+URL:
+Summary: TextBuffer insert method using RefPtr<TextBuffer> yields core dump on G_IS_OBJECT assertion
+
+Word Description
+----------------
+ When I create a TextBuffer and perform some insertion of text into it,
+I will eventually get a core dump due to an object integrity check by an
+assertion. Originally, I was using the TextBuffer in conjunction with a
+TextView; however, I have narrowed down the sequence of operations that
+seem to generate this problem. In addition, the assertion appears to be at
+the time of an "un-reference" by the RefPtr of the TextBuffer.
+ To simplify the problem I wrote a *very* simple test program and
+provide the following to assist debugging:
+
+File: t.cc
+------------------
+#include <gtkmm.h>
+
+int main (int argc, char** argv)
+{
+ Glib::RefPtr<Gtk::TextBuffer> rptxtbuf = Gtk::TextBuffer::create ();
+
+ rptxtbuf->insert_at_cursor ("This line is a test.\n");
+
+ return 0;
+}
+-------------------
+In Bash shell:
+
+$ g++ t.cc -g `pkg-config gtkmm-2.0 --cflags --libs` -o t
+$ ./t
+
+(process:21719): GLib-GObject-CRITICAL **:
+gtype.c:1806:g_type_register_static(): initialization assertion failed, use
+g_type_init() prior to this function
+Segmentation fault (core dumped)
+
+$ gdb ./t core
+
+GNU gdb Red Hat Linux (5.2-2)
+Copyright 2002 Free Software Foundation, Inc.
+GDB is free software, covered by the GNU General Public License, and you are
+welcome to change it and/or distribute copies of it under certain conditions.
+Type "show copying" to see the conditions.
+There is absolutely no warranty for GDB. Type "show warranty" for details.
+This GDB was configured as "i386-redhat-linux"...
+Core was generated by `./t'.
+Program terminated with signal 11, Segmentation fault.
+Reading symbols from /usr/g2dev/lib/libgtkmm-1.3.so.17...done.
+Loaded symbols for /usr/g2dev/lib/libgtkmm-1.3.so.17
+Reading symbols from /usr/g2dev/lib/libgdkmm-1.3.so.17...done.
+Loaded symbols for /usr/g2dev/lib/libgdkmm-1.3.so.17
+Reading symbols from /usr/g2dev/lib/libatkmm-0.0.so.17...done.
+Loaded symbols for /usr/g2dev/lib/libatkmm-0.0.so.17
+Reading symbols from /usr/g2dev/lib/libgtk-x11-2.0.so.0...done.
+Loaded symbols for /usr/g2dev/lib/libgtk-x11-2.0.so.0
+Reading symbols from /usr/g2dev/lib/libpangomm-0.0.so.17...done.
+Loaded symbols for /usr/g2dev/lib/libpangomm-0.0.so.17
+Reading symbols from /usr/g2dev/lib/libglibmm-1.3.so.17...done.
+Loaded symbols for /usr/g2dev/lib/libglibmm-1.3.so.17
+Reading symbols from /usr/local/lib/libsigc-1.1.so.5...done.
+Loaded symbols for /usr/local/lib/libsigc-1.1.so.5
+Reading symbols from /usr/g2dev/lib/libgdk-x11-2.0.so.0...done.
+Loaded symbols for /usr/g2dev/lib/libgdk-x11-2.0.so.0
+Reading symbols from /usr/local/lib/libatk-1.0.so.0...done.
+Loaded symbols for /usr/local/lib/libatk-1.0.so.0
+Reading symbols from /usr/g2dev/lib/libgdk_pixbuf-2.0.so.0...done.
+Loaded symbols for /usr/g2dev/lib/libgdk_pixbuf-2.0.so.0
+Reading symbols from /usr/local/lib/libpangoxft-1.0.so.0...done.
+Loaded symbols for /usr/local/lib/libpangoxft-1.0.so.0
+Reading symbols from /usr/local/lib/libpangox-1.0.so.0...done.
+Loaded symbols for /usr/local/lib/libpangox-1.0.so.0
+Reading symbols from /usr/local/lib/libpango-1.0.so.0...done.
+Loaded symbols for /usr/local/lib/libpango-1.0.so.0
+Reading symbols from /usr/g2dev/lib/libgobject-2.0.so.0...done.
+Loaded symbols for /usr/g2dev/lib/libgobject-2.0.so.0
+Reading symbols from /usr/g2dev/lib/libgmodule-2.0.so.0...done.
+Loaded symbols for /usr/g2dev/lib/libgmodule-2.0.so.0
+Reading symbols from /lib/libdl.so.2...done.
+Loaded symbols for /lib/libdl.so.2
+Reading symbols from /usr/g2dev/lib/libglib-2.0.so.0...done.
+Loaded symbols for /usr/g2dev/lib/libglib-2.0.so.0
+Reading symbols from /usr/lib/libstdc++-libc6.2-2.so.3...done.
+Loaded symbols for /usr/lib/libstdc++-libc6.2-2.so.3
+Reading symbols from /lib/i686/libm.so.6...done.
+Loaded symbols for /lib/i686/libm.so.6
+Reading symbols from /lib/i686/libc.so.6...done.
+Loaded symbols for /lib/i686/libc.so.6
+Reading symbols from /usr/X11R6/lib/libXft.so.1...done.
+Loaded symbols for /usr/X11R6/lib/libXft.so.1
+Reading symbols from /usr/X11R6/lib/libXrender.so.1...done.
+Loaded symbols for /usr/X11R6/lib/libXrender.so.1
+Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
+Loaded symbols for /usr/X11R6/lib/libXext.so.6
+Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
+Loaded symbols for /usr/X11R6/lib/libX11.so.6
+Reading symbols from /usr/lib/libfreetype.so.6...done.
+Loaded symbols for /usr/lib/libfreetype.so.6
+Reading symbols from /lib/ld-linux.so.2...done.
+Loaded symbols for /lib/ld-linux.so.2
+#0 0x4041e55a in Glib::ustring::operator+= (this=0xbffff700, src=0x0)
+ at /usr/include/g++-3/std/straits.h:125
+125 { return strlen (s); }
+
+(gdb) where
+
+#0 0x4041e55a in Glib::ustring::operator+= (this=0xbffff700, src=0x0)
+ at /usr/include/g++-3/std/straits.h:125
+#1 0x404150f9 in Glib::Class::register_derived_type (this=0x401aab5c,
+ base_type=0) at class.cc:53
+#2 0x40115430 in Gtk::TextBuffer_Class::init (this=0x401aab5c)
+ at textbuffer.cc:703
+#3 0x401136c4 in Gtk::TextBuffer::TextBuffer (this=0x804a008, __in_chrg=1)
+ at textbuffer.cc:42
+#4 0x401167c6 in Gtk::TextBuffer::create () at ../../glib/glibmm/refptr.h:173
+#5 0x08048ac2 in main (argc=1, argv=0xbffff924) at t.cc:5
+#6 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6
+(gdb)
+
+----------------------------
+(Although it may not be needed... Linux kernel is version 2.4.18-10, gcc is
+version 2.96)
+
+That is as much information I can give at the moment. You should be able
+to see the development environment (ie: versions of related packages) in
+the gdb listing. Hope this speel helps with the debugging.
+
+Regards,
+Frank
--__--__--
Message: 2
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc:
Date: Wed, 2 Oct 2002 05:52:51 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 94239] Changed - documentation addition for io_connect()
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=94239
Changed by murrayc usa net
--- shadow/94239 Fri Sep 27 03:40:40 2002
+++ shadow/94239.tmp.20985 Wed Oct 2 05:52:51 2002
@@ -1,13 +1,13 @@
Bug#: 94239
Product: gtkmm
Version: 2.0
OS: All
OS Details:
-Status: NEW
-Resolution:
+Status: RESOLVED
+Resolution: FIXED
Severity: normal
Priority: Normal
Component: reference documentation
AssignedTo: gtkmm-forge lists sourceforge net
ReportedBy: ebuddington wesleyan edu
QAContact: gtkmm-forge lists sourceforge net
@@ -36,6 +36,9 @@
Created an attachment (id=11273)
Revised patch with correct boolean
------- Additional Comments From murrayc usa net 2002-09-27 03:40 -------
Please patch the Changelog, or I have to do it for you.
+
+------- Additional Comments From murrayc usa net 2002-10-02 05:52 -------
+You could have saved me some time.
--__--__--
Message: 3
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, fshim cawthra com
Cc:
Date: Wed, 2 Oct 2002 05:56:36 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 94658] Changed - TextBuffer insert method using RefPtr<TextBuffer> yields core dump on G_IS_OBJECT assertion
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=94658
Changed by murrayc usa net
--- shadow/94658 Wed Oct 2 02:31:52 2002
+++ shadow/94658.tmp.22073 Wed Oct 2 05:56:36 2002
@@ -2,13 +2,13 @@
Product: gtkmm
Version: 2.0
OS: Linux
OS Details: Linux i386 - Distro: RedHat 7.3 with gtkmm-2.0 additions
Status: NEW
Resolution:
-Severity: major
+Severity: normal
Priority: Normal
Component: general
AssignedTo: gtkmm-forge lists sourceforge net
ReportedBy: fshim cawthra com
TargetMilestone: ---
URL:
@@ -137,6 +137,14 @@
That is as much information I can give at the moment. You should be able
to see the development environment (ie: versions of related packages) in
the gdb listing. Hope this speel helps with the debugging.
Regards,
Frank
+
+------- Additional Comments From murrayc usa net 2002-10-02 05:56 -------
+This test code should not be expected to work, because you do not
+initialize gtkmm or gtk - for example, you should use Gtk::Main, as we
+do in the examples.
+
+Also, try running your application with --g-fatal-warnings to debug
+the cause of the warning.
--__--__--
Message: 4
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, webmaster nachtwind net
Cc:
Date: Wed, 2 Oct 2002 05:58:16 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 94169] Changed - Gdk-API/Docs lacks methods screen_*()
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=94169
Changed by murrayc usa net
--- shadow/94169 Fri Sep 27 03:30:24 2002
+++ shadow/94169.tmp.22519 Wed Oct 2 05:58:16 2002
@@ -43,6 +43,10 @@
Leslie
------- Additional Comments From murrayc usa net 2002-09-27 03:30 -------
I would like you to try to provide a patch. That would make it more
likely that this gets fixed. You probably need to edit the .hg and
.ccg files.
+
+------- Additional Comments From murrayc usa net 2002-10-02 05:58 -------
+What screen_width and screen_height functions do you mean in GTK+ or
+GDK? Please give us the full names.
--__--__--
Message: 5
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, puchs ap univie ac at
Cc:
Date: Wed, 2 Oct 2002 06:03:06 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 94110] Changed - proposed API additions to Glib::TimeVal
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=94110
Changed by murrayc usa net
--- shadow/94110 Thu Sep 26 17:35:45 2002
+++ shadow/94110.tmp.23796 Wed Oct 2 06:03:06 2002
@@ -73,6 +73,10 @@
Either I have messed up the cvs update (and I am sure I updated the
sources before doing the diff) or (which is more likely) I copied the
line without noticing it from the .cc file to the header file when I
moved some functions. I will be more careful next time.
Sorry
+
+------- Additional Comments From murrayc usa net 2002-10-02 06:03 -------
+I don't think I like the operator double conversion. Maybe a
+get_total_seconds() would be better. Maybe that already exists.
--__--__--
Message: 6
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, julian jabber org
Cc:
Date: Wed, 2 Oct 2002 06:11:15 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 93412] Changed - gtkmm2 cvs fails to link on Mac OS 10.2
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=93412
Changed by murrayc usa net
--- shadow/93412 Thu Sep 19 04:58:19 2002
+++ shadow/93412.tmp.26182 Wed Oct 2 06:11:15 2002
@@ -49,6 +49,9 @@
$ gcc --version
gcc (GCC) 3.1 20020420 (prerelease)
------- Additional Comments From murrayc usa net 2002-09-19 04:58 -------
That URL would be very helpful.
+
+------- Additional Comments From murrayc usa net 2002-10-02 06:11 -------
+Please respond.
--__--__--
Message: 7
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, olau hardworking dk
Cc:
Date: Wed, 2 Oct 2002 06:12:25 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 93787] Changed - Outputting ustring with operator << converts implicitly
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=93787
Changed by murrayc usa net
--- shadow/93787 Sun Sep 22 06:00:28 2002
+++ shadow/93787.tmp.26502 Wed Oct 2 06:12:25 2002
@@ -182,6 +182,11 @@
support all characters.
At least if you know that std::strings are supposed to be locale
dependent, you know that you can't count not loosing data at all. A
raw() method may still provide a unchanged string for e.g. files or
verbatim keys, then.
+
+------- Additional Comments From murrayc usa net 2002-10-02 06:12 -------
+I don't want to read and understand all of that. Can you both tell me
+whether you think this is still a bug, or an enhancement, and
+summarise why.
--__--__--
Message: 8
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, webmaster nachtwind net
Cc:
Date: Wed, 2 Oct 2002 07:40:48 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 94169] Changed - Gdk-API/Docs lacks methods screen_*()
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=94169
Changed by webmaster nachtwind net
--- shadow/94169 Wed Oct 2 05:58:16 2002
+++ shadow/94169.tmp.20826 Wed Oct 2 07:40:48 2002
@@ -47,6 +47,11 @@
likely that this gets fixed. You probably need to edit the .hg and
.ccg files.
------- Additional Comments From murrayc usa net 2002-10-02 05:58 -------
What screen_width and screen_height functions do you mean in GTK+ or
GDK? Please give us the full names.
+
+------- Additional Comments From webmaster nachtwind net 2002-10-02 07:40 -------
+As mentioned in the subject, these function belong to the GDK-stuff.
+Explicitly: gdk_screen_width() and gdk_screen_height() - I use the
+return values to center my application window.
--__--__--
Message: 9
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc:
Date: Wed, 2 Oct 2002 08:05:12 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 94110] Changed - proposed API additions to Glib::TimeVal
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=94110
Changed by puchs ap univie ac at
--- shadow/94110 Wed Oct 2 06:03:06 2002
+++ shadow/94110.tmp.27700 Wed Oct 2 08:05:12 2002
@@ -77,6 +77,15 @@
Sorry
------- Additional Comments From murrayc usa net 2002-10-02 06:03 -------
I don't think I like the operator double conversion. Maybe a
get_total_seconds() would be better. Maybe that already exists.
+
+------- Additional Comments From puchs ap univie ac at 2002-10-02 08:05 -------
+Such a member function does not yet exist as I have only added the
+conversion operator to double. As you can see in my first posting, I
+was pretty much aware, that not everybody might like this approach. I
+would rather call the member function "to_double", but I don't have
+time right now to look through the name convention for conversion
+member functions in glibmm and gtkmm. Do you want an updated patch? If
+yes, is "get_total_seconds()" the preferred name?
--__--__--
Message: 10
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc:
Date: Wed, 2 Oct 2002 12:21:30 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 94658] Changed - TextBuffer insert method using RefPtr<TextBuffer> yields core dump on G_IS_OBJECT assertion
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=94658
Changed by fshim cawthra com
--- shadow/94658 Wed Oct 2 05:56:36 2002
+++ shadow/94658.tmp.10855 Wed Oct 2 12:21:30 2002
@@ -145,6 +145,152 @@
This test code should not be expected to work, because you do not
initialize gtkmm or gtk - for example, you should use Gtk::Main, as we
do in the examples.
Also, try running your application with --g-fatal-warnings to debug
the cause of the warning.
+
+------- Additional Comments From fshim cawthra com 2002-10-02 12:21 -------
+Understood. The test program is an over-simplified version of the
+more complex one that I have; however, I still get the same result
+either way. With that in mind, I pared the test program until I could
+duplicate the problem consistently.
+ In any case, I now provide the results of the modified test program
+with only a Gtk::Main object added. I also ran the test program with
+the --g-fatal-warnings flag. The stack trace still show the problem
+in the "un-ref" of the TextBuffer RefPtr.
+ Thanks, Murray, for taking a look... if I can be of further
+assistance I will continue to work with you on this problem and
+consider helping with sections that I can become familiar with for
+future developments.
+
+t.cc
+--------------------
+#include <gtkmm.h>
+
+int main (int argc, char** argv)
+{
+ Gtk::Main application (argc, argv);
+
+ Glib::RefPtr<Gtk::TextBuffer> rptxtbuf = Gtk::TextBuffer::create();
+
+ rptxtbuf->insert_at_cursor ("This line is a test.\n");
+
+ return 0;
+}
+---------------------------
+In Bash Shell:
+
+$ g++ -g t.cc `pkg-config gtkmm-2.0 --cflags --libs` -o t
+$ ./t --g-fatal-warnings
+
+GLib-GObject-CRITICAL **: file gobject.c: line 1307 (g_object_unref):
+assertion
+`G_IS_OBJECT (object)' failed
+aborting...
+Aborted (core dumped)
+
+$ gdb ./t core
+
+GNU gdb Red Hat Linux (5.2-2)
+Copyright 2002 Free Software Foundation, Inc.
+GDB is free software, covered by the GNU General Public License, and
+you are
+welcome to change it and/or distribute copies of it under certain
+conditions.
+Type "show copying" to see the conditions.
+There is absolutely no warranty for GDB. Type "show warranty" for
+details.
+This GDB was configured as "i386-redhat-linux"...
+Core was generated by `./t --g-fatal-warnings'.
+Program terminated with signal 6, Aborted.
+Reading symbols from /usr/g2dev/lib/libgtkmm-1.3.so.17...done.
+Loaded symbols for /usr/g2dev/lib/libgtkmm-1.3.so.17
+Reading symbols from /usr/g2dev/lib/libgdkmm-1.3.so.17...done.
+Loaded symbols for /usr/g2dev/lib/libgdkmm-1.3.so.17
+Reading symbols from /usr/g2dev/lib/libatkmm-0.0.so.17...done.
+Loaded symbols for /usr/g2dev/lib/libatkmm-0.0.so.17
+Reading symbols from /usr/g2dev/lib/libgtk-x11-2.0.so.0...done.
+Loaded symbols for /usr/g2dev/lib/libgtk-x11-2.0.so.0
+Reading symbols from /usr/g2dev/lib/libpangomm-0.0.so.17...done.
+Loaded symbols for /usr/g2dev/lib/libpangomm-0.0.so.17
+Reading symbols from /usr/g2dev/lib/libglibmm-1.3.so.17...done.
+Loaded symbols for /usr/g2dev/lib/libglibmm-1.3.so.17
+Reading symbols from /usr/local/lib/libsigc-1.1.so.5...done.
+Loaded symbols for /usr/local/lib/libsigc-1.1.so.5
+Reading symbols from /usr/g2dev/lib/libgdk-x11-2.0.so.0...done.
+Loaded symbols for /usr/g2dev/lib/libgdk-x11-2.0.so.0
+Reading symbols from /usr/local/lib/libatk-1.0.so.0...done.
+Loaded symbols for /usr/local/lib/libatk-1.0.so.0
+Reading symbols from /usr/g2dev/lib/libgdk_pixbuf-2.0.so.0...done.
+Loaded symbols for /usr/g2dev/lib/libgdk_pixbuf-2.0.so.0
+Reading symbols from /usr/local/lib/libpangoxft-1.0.so.0...done.
+Loaded symbols for /usr/local/lib/libpangoxft-1.0.so.0
+Reading symbols from /usr/local/lib/libpangox-1.0.so.0...done.
+Loaded symbols for /usr/local/lib/libpangox-1.0.so.0
+Reading symbols from /usr/local/lib/libpango-1.0.so.0...done.
+Loaded symbols for /usr/local/lib/libpango-1.0.so.0
+Reading symbols from /usr/g2dev/lib/libgobject-2.0.so.0...done.
+Loaded symbols for /usr/g2dev/lib/libgobject-2.0.so.0
+Reading symbols from /usr/g2dev/lib/libgmodule-2.0.so.0...done.
+Loaded symbols for /usr/g2dev/lib/libgmodule-2.0.so.0
+Reading symbols from /lib/libdl.so.2...done.
+Loaded symbols for /lib/libdl.so.2
+Reading symbols from /usr/g2dev/lib/libglib-2.0.so.0...done.
+Loaded symbols for /usr/g2dev/lib/libglib-2.0.so.0
+Reading symbols from /usr/lib/libstdc++-libc6.2-2.so.3...done.
+Loaded symbols for /usr/lib/libstdc++-libc6.2-2.so.3
+Reading symbols from /lib/i686/libm.so.6...done.
+Loaded symbols for /lib/i686/libm.so.6
+Reading symbols from /lib/i686/libc.so.6...done.
+Loaded symbols for /lib/i686/libc.so.6
+Reading symbols from /usr/X11R6/lib/libXft.so.1...done.
+Loaded symbols for /usr/X11R6/lib/libXft.so.1
+Reading symbols from /usr/X11R6/lib/libXrender.so.1...done.
+Loaded symbols for /usr/X11R6/lib/libXrender.so.1
+Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
+Loaded symbols for /usr/X11R6/lib/libXext.so.6
+Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
+Loaded symbols for /usr/X11R6/lib/libX11.so.6
+Reading symbols from /usr/lib/libfreetype.so.6...done.
+Loaded symbols for /usr/lib/libfreetype.so.6
+Reading symbols from /lib/ld-linux.so.2...done.
+Loaded symbols for /lib/ld-linux.so.2
+Reading symbols from /usr/X11R6/lib/X11/locale/common/xlcDef.so.2...done.
+Loaded symbols for /usr/X11R6/lib/X11/locale/common/xlcDef.so.2
+Reading symbols from /lib/libnss_files.so.2...done.
+Loaded symbols for /lib/libnss_files.so.2
+Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
+Loaded symbols for /usr/lib/gconv/ISO8859-1.so
+#0 0x42029331 in kill () from /lib/i686/libc.so.6
+(gdb) where
+#0 0x42029331 in kill () from /lib/i686/libc.so.6
+#1 0x4202911a in raise () from /lib/i686/libc.so.6
+#2 0x4202a8c2 in abort () from /lib/i686/libc.so.6
+#3 0x4058e58c in g_logv (log_domain=0x405433b7 "GLib-GObject",
+ log_level=G_LOG_LEVEL_CRITICAL,
+ format=0x40543580 "file %s: line %d (%s): assertion `%s' failed",
+ args1=0xbffff72c) at gmessages.c:507
+#4 0x4058e633 in g_log (log_domain=0x405433b7 "GLib-GObject",
+ log_level=G_LOG_LEVEL_CRITICAL,
+ format=0x40543580 "file %s: line %d (%s): assertion `%s' failed")
+ at gmessages.c:526
+#5 0x40525c2f in g_object_unref (_object=0x806db88) at gobject.c:1308
+#6 0x402e9127 in _gtk_text_btree_unref (tree=0x806d068) at
+gtktextbtree.c:520
+#7 0x402f162e in gtk_text_buffer_finalize (object=0x806c9c0)
+ at gtktextbuffer.c:356
+#8 0x40522891 in g_object_last_unref (object=0x806c9c0) at gobject.c:434
+#9 0x40525c49 in g_object_unref (_object=0x806c9c0) at gobject.c:1318
+#10 0x4041b683 in Glib::ObjectBase::unreference (this=0x806c120)
+ at objectbase.cc:106
+#11 0x08048c99 in Glib::RefPtr<Gtk::TextBuffer>::~RefPtr
+(this=0xbffff880,
+ __in_chrg=2) at /usr/g2dev/include/gtkmm-2.0/glibmm/refptr.h:168
+#12 0x08048bc8 in main (argc=1, argv=0xbffff914) at t.cc:11
+#13 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6
+(gdb)
+
+Regards,
+Frank Shim
+
+
--__--__--
Message: 11
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, fshim cawthra com
Cc:
Date: Wed, 2 Oct 2002 13:21:23 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 94658] Changed - TextBuffer insert method using RefPtr<TextBuffer> yields core dump on G_IS_OBJECT assertion
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=94658
Changed by murrayc usa net
--- shadow/94658 Wed Oct 2 12:21:30 2002
+++ shadow/94658.tmp.27022 Wed Oct 2 13:21:23 2002
@@ -291,6 +291,10 @@
(gdb)
Regards,
Frank Shim
+
+------- Additional Comments From murrayc usa net 2002-10-02 13:21 -------
+Could you try it with plain GTK+ C code, to see if it's a problem in
+gtkmm?
--__--__--
_______________________________________________
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]