Send Gtkmm-forge mailing list submissions to
[EMAIL PROTECTED]
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
[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 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. Do not try to unsubscribe gtkmm-forge from gtkmm-list.
Today's Topics:
1. [Bug 454710] Wrap new Glib::OptionContext API that was added
in glib 2.12 (glibmm (bugzilla.gnome.org))
2. [Bug 418155] Visual Studio Express 2005: ntstatus 0xc0150002
(gtkmm (bugzilla.gnome.org))
3. [Bug 459004] New: Parsing OptionContext with
Gnome::Main::Main causes failed assertion
(gnomemm (bugzilla.gnome.org))
4. [Bug 459004] Parsing OptionContext with Gnome::Main::Main
causes failed assertion (gnomemm (bugzilla.gnome.org))
5. [Bug 459004] Parsing OptionContext with Gnome::Main::Main
causes failed assertion (gnomemm (bugzilla.gnome.org))
6. [Bug 459269] New: gtkmm 2.11.5 does not build
(gtkmm (bugzilla.gnome.org))
7. [Bug 459004] Parsing OptionContext with Gnome::Main::Main
causes failed assertion (gnomemm (bugzilla.gnome.org))
----------------------------------------------------------------------
Message: 1
Date: Mon, 9 Jul 2007 13:37:20 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 454710] Wrap new Glib::OptionContext
API that was added in glib 2.12
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=454710
glibmm | general | Ver: 2.13.x
jonner changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #91383|none |committed
Flag| |
Status|NEW |RESOLVED
Resolution| |FIXED
------- Comment #3 from jonner 2007-07-09 13:37 UTC -------
Thanks for the quick review. committed.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why
you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=454710.
------------------------------
Message: 2
Date: Mon, 9 Jul 2007 18:58:18 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 418155] Visual Studio Express 2005:
ntstatus 0xc0150002
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=418155
gtkmm | documentation | Ver: 2.10.x
Murray Cumming changed:
What |Removed |Added
----------------------------------------------------------------------------
QAContact|gtkmm- |
|[EMAIL PROTECTED] |
------- Comment #4 from Murray Cumming 2007-07-09 18:58 UTC -------
Cedric, is that warning obvious enough now?
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why
you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=418155.
------------------------------
Message: 3
Date: Sat, 21 Jul 2007 15:17:02 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
<[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 459004] New: Parsing OptionContext with
Gnome::Main::Main causes failed assertion
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]/>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=459004
gnomemm | libgnomemm | Ver: 2.18
Summary: Parsing OptionContext with Gnome::Main::Main causes
failed assertion
Product: gnomemm
Version: 2.18
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: critical
Priority: Normal
Component: libgnomemm
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
QAContact: [EMAIL PROTECTED]
GNOME version: 2.17/2.18
GNOME milestone: Unspecified
Steps to reproduce:
1. Build this test case
// g++ main.cc -o main_test `pkg-config libgnomemm-2.6 --libs --cflags`
#include <libgnomemm/main.h>
#include <libgnomemm/init.h>
int main(int argc, char* argv[])
{
Glib::OptionGroup options("foo", "bar");
Glib::OptionContext context;
context.set_main_group(options);
Gnome::Main app("foobar", "0.1", Gnome::module_info_get(), argc, argv,
context);
}
2. run ./main_test
3. see it crash
Stack trace:
(gdb) run
Starting program: /tmp/main_test
[Thread debugging using libthread_db enabled]
[New Thread -1208629536 (LWP 14536)]
(main_test:14536): GLib-CRITICAL **: g_option_group_free: assertion `group !=
NULL' failed
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208629536 (LWP 14536)]
0x00415f02 in g_list_foreach () from /lib/libglib-2.0.so.0
(gdb) bt
#0 0x00415f02 in g_list_foreach () from /lib/libglib-2.0.so.0
#1 0x004249ea in g_option_context_free () from /lib/libglib-2.0.so.0
#2 0x050658a0 in ?? () from /usr/lib/libgnome-2.so.0
#3 0x005c40dc in g_object_unref () from /lib/libgobject-2.0.so.0
#4 0x05063594 in ?? () from /usr/lib/libgnome-2.so.0
#5 0x00e1ec5e in exit () from /lib/libc.so.6
#6 0x00e08f78 in __libc_start_main () from /lib/libc.so.6
#7 0x08048a91 in _start ()
(gdb)
Other information:
Using context.parse(argc, argv) instead of Gnome::Main::Main works fine.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why
you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=459004.
------------------------------
Message: 4
Date: Sat, 21 Jul 2007 15:43:53 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
<[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 459004] Parsing OptionContext with
Gnome::Main::Main causes failed assertion
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=459004
gnomemm | libgnomemm | Ver: 2.18
Christian Lundgren changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[EMAIL PROTECTED]
------- Comment #1 from Christian Lundgren 2007-07-21 15:43 UTC -------
You can actually just do this, it will produce the same result
int main(int argc, char* argv[])
{
Glib::OptionContext context;
Gnome::Main app("foobar", "0.1", Gnome::module_info_get(), argc, argv,
context);
}
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why
you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=459004.
------------------------------
Message: 5
Date: Sat, 21 Jul 2007 16:41:46 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
<[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 459004] Parsing OptionContext with
Gnome::Main::Main causes failed assertion
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=459004
gnomemm | libgnomemm | Ver: 2.18
jonner changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[EMAIL PROTECTED]
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
------- Comment #2 from jonner 2007-07-21 16:41 UTC -------
The Gnome::Main constructor passes the context along to gnome_program_init(),
and according to the documentation [1], gnome_program_init() takes ownership of
the option context. So it looks like when main() exits, the option context is
getting destroyed by the OptionContext destructor and also by libgnome.
Re-writing the program like this 'solves' the issue, but it's not obvious that
it's necessary. This should either be clearly documented somewhere, or it
should be changed so that the Gnome::Main cosntructor creates a copy of the
passed context so that we don't get double-free problems (but I'm not sure if
that's possible without breaking the spirit of a stable API)
// g++ main.cc -g -o main_test `pkg-config libgnomemm-2.6 libgnomeuimm-2.6
--libs --cflags`
#include <libgnomemm/main.h>
#include <libgnomemm/init.h>
#include <libgnomeuimm/init.h>
int main(int argc, char* argv[])
{
Glib::OptionGroup options("foo", "bar");
Glib::OptionContext* context = new Glib::OptionContext();;
context->set_main_group(options);
Gnome::Main app("foobar", "0.1", Gnome::UI::module_info_get(), argc,
argv, *context);
}
[1]
http://developer.gnome.org/doc/API/2.0/libgnome/libgnome-gnome-program.html#gnome-program-init
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why
you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=459004.
------------------------------
Message: 6
Date: Sun, 22 Jul 2007 10:13:27 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 459269] New: gtkmm 2.11.5 does not
build
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]/>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=459269
gtkmm | build | Ver: 2.11.x
Summary: gtkmm 2.11.5 does not build
Product: gtkmm
Version: 2.11.x
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: build
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
QAContact: [EMAIL PROTECTED]
GNOME version: 2.19/2.20
GNOME milestone: Unspecified
iconview.cc: In member function 'void
Gtk::IconView::convert_widget_to_bin_window_coords(int, int, int&, int&)
const':
iconview.cc:740: error: 'gtk_icon_view_convert_widget_to_bin_window_coords' was
not declared in this scope
This is with gtk+ 2.11.5.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why
you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=459269.
------------------------------
Message: 7
Date: Sun, 22 Jul 2007 19:32:00 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
<[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 459004] Parsing OptionContext with
Gnome::Main::Main causes failed assertion
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=459004
gnomemm | libgnomemm | Ver: 2.18
Murray Cumming changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[EMAIL PROTECTED]
------- Comment #3 from Murray Cumming 2007-07-22 19:31 UTC -------
> gnome_program_init() takes ownership of the option context
That is unusual. I guess we need some way to give ownership. OptionContext
might be able to do this already.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why
you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=459004.
------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
------------------------------
_______________________________________________
Gtkmm-forge mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
End of Gtkmm-forge Digest, Vol 14, Issue 3
******************************************
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list