Gtkmm-forge Digest, Vol 11, Issue 3



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-owner 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. Do not try to unsubscribe gtkmm-forge from gtkmm-list.


Today's Topics:

   1. [Bug 419923] No key press events signals for some	keys
      (gtkmm (bugzilla.gnome.org))
   2. [Bug 425644] Gtk::ComboBox::append_text()
      (gtkmm (bugzilla.gnome.org))
   3. [Bug 422955] The application crashes with SIGSEGV	in
      ComboBoxText destructor (gtkmm (bugzilla.gnome.org))
   4. [Bug 422955] The application crashes with SIGSEGV	in
      ComboBoxText destructor (gtkmm (bugzilla.gnome.org))
   5. [Bug 422955] The application crashes with SIGSEGV	in
      ComboBoxText destructor (gtkmm (bugzilla.gnome.org))
   6. [Bug 422955] The application crashes with SIGSEGV	in
      ComboBoxText destructor (gtkmm (bugzilla.gnome.org))
   7. [Bug 422955] The application crashes with SIGSEGV	in
      ComboBoxText destructor (gtkmm (bugzilla.gnome.org))


----------------------------------------------------------------------

Message: 1
Date: Thu,  5 Apr 2007 12:44:32 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 419923] No key press events signals for
	some	keys
To: gtkmm-forge lists sourceforge net
Message-ID: <20070405124432 11E6F6C4129 box gnome org>
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=419923

  gtkmm | general | Ver: 2.4




------- Comment #3 from Murray Cumming  2007-04-05 12:44 UTC -------
Hey. This is intruiging. How about a C test case?


-- 
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=419923.



------------------------------

Message: 2
Date: Thu,  5 Apr 2007 13:15:38 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 425644] Gtk::ComboBox::append_text()
To: gtkmm-forge lists sourceforge net
Message-ID: <20070405131538 41C926C4129 box gnome org>
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=425644

  gtkmm | build | Ver: 2.8.x

Murray Cumming changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |murrayc murrayc com




------- Comment #2 from Murray Cumming  2007-04-05 13:15 UTC -------
The reference documentation says 
"See also ComboBoxText, which is specialised for a single text column."

I don't know how to make it clearer, particularly because ComboBoxText will
rarely be good enough, because you will often need a second ID column.


-- 
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=425644.



------------------------------

Message: 3
Date: Thu,  5 Apr 2007 20:54:16 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 422955] The application crashes with
	SIGSEGV	in ComboBoxText destructor
To: gtkmm-forge lists sourceforge net
Message-ID: <20070405205416 A37216C46A8 box gnome org>
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=422955

  gtkmm | general | Ver: 2.8.x




------- Comment #3 from Slava Gorbunov  2007-04-05 20:54 UTC -------
(In reply to comment #2)
> I can't reproduce this, and valgrind doesn't show any problems when doing this
> either.
When application crashes, valgrind doesn't show any errors, too (except for the
segfault itself, of course). I suppose that it doesn't relate to incorrect
memory access, but it is concerned with reference counting. Probably it is
related to focus handling. I have found that there is two requirements for
crash:
1. during the lifetime of window, first combobox gets focus at some moment
2. when the window is being destroyed, the second combobox (on the second page)
has focus

> Do you have similar problems with the gtkmm examples? I suspect a
> gentoo-related problem.
I can't find suitable example (two comboboxes on different pages of
Gtk::Notebook). Other gtkmm programs (inkscape for example) work well - the
problem appears only under very special conditions, such as described above. I
don't think that this bug is gentoo-related. As I have noticed above, the same
behavior (crash) is observed on SuSe 10.2 (x86).

Maybe your architecture is different from mine? I'm using x86 (p3m and p4-based
celeron). If you are not, please, try to test it on x86.

I can post the core dumps if required.


-- 
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=422955.



------------------------------

Message: 4
Date: Fri,  6 Apr 2007 07:03:47 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 422955] The application crashes with
	SIGSEGV	in ComboBoxText destructor
To: gtkmm-forge lists sourceforge net
Message-ID: <20070406070347 C9FC46C417C box gnome org>
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=422955

  gtkmm | general | Ver: 2.8.x




------- Comment #4 from Murray Cumming  2007-04-06 07:03 UTC -------
OK. Please post a gdb backtrace, with debugging symbols.

Maybe I am not reproducing the steps correctly. For instance, "On the first
page of Gtk::Notebook (which is currently opened) click the ComboBoxText, and
select the sole item" is odd, because the sole item is already selected.


-- 
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=422955.



------------------------------

Message: 5
Date: Fri,  6 Apr 2007 09:58:41 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 422955] The application crashes with
	SIGSEGV	in ComboBoxText destructor
To: gtkmm-forge lists sourceforge net
Message-ID: <20070406095841 C30416C4184 box gnome org>
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=422955

  gtkmm | general | Ver: 2.8.x




------- Comment #5 from Slava Gorbunov  2007-04-06 09:58 UTC -------
(In reply to comment #4)
> OK. Please post a gdb backtrace, with debugging symbols.
OK, I'll do it during the time. I need to recompile gtkmm with debugging
symbols enabled to do this.

> Maybe I am not reproducing the steps correctly. For instance, "On the first
> page of Gtk::Notebook (which is currently opened) click the ComboBoxText, and
> select the sole item" is odd, because the sole item is already selected.
Yes, apparently, you didn't understand me correctly. It isn't important what
item is selected in combobox; but it is important that combobox receives input
focus. To reproduce the crash, you need to move focus to the first combobox (no
matter how - by keyboard or by mouse), then switch to the second page, move
focus to the second combobox (if it isn't there already), then close the
window. At the moment of the destruction of the window, the second combobox
should have focus.


-- 
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=422955.



------------------------------

Message: 6
Date: Fri,  6 Apr 2007 10:51:29 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 422955] The application crashes with
	SIGSEGV	in ComboBoxText destructor
To: gtkmm-forge lists sourceforge net
Message-ID: <20070406105129 18D176C417F box gnome org>
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=422955

  gtkmm | general | Ver: 2.8.x




------- Comment #6 from Murray Cumming  2007-04-06 10:51 UTC -------
Yes, I can now reproduce it on both Ubuntu Edgy and Ubuntu Feisty. I have to
click twice on each combo box and then close the window.

I get:
murrayc murrayc-desktop:~$ ./a.out 

(a.out:10439): GLib-GObject-CRITICAL **: g_object_ref: assertion
`object->ref_count > 0' failed
Segmentation fault (core dumped)

valgrind shows me:
(a.out:10496): GLib-GObject-CRITICAL **: g_object_ref: assertion
`object->ref_count > 0' failed
==10496== 
==10496== Invalid read of size 4
==10496==    at 0x490F00A: g_type_class_meta_marshal (gclosure.c:565)
==10496==    by 0x491081A: g_closure_invoke (gclosure.c:490)
==10496==    by 0x4921789: signal_emit_unlocked_R (gsignal.c:2370)
==10496==    by 0x4922816: g_signal_emit_valist (gsignal.c:2199)
==10496==    by 0x49229D8: g_signal_emit (gsignal.c:2243)
==10496==    by 0x44686B3: gtk_container_set_focus_child (gtkcontainer.c:1356)
==10496==    by 0x461E274: gtk_widget_unparent (gtkwidget.c:2091)
==10496==    by 0x445E9AE: gtk_combo_box_menu_destroy (gtkcombobox.c:2680)
==10496==    by 0x4464B2D: gtk_combo_box_finalize (gtkcombobox.c:5011)
==10496==    by 0x4912B6B: g_object_unref (gobject.c:1788)
==10496==    by 0x4912EB7: g_object_run_dispose (gobject.c:574)
==10496==    by 0x451E09D: gtk_object_destroy (gtkobject.c:403)
==10496==    by 0x41F1A48: Gtk::Object::_destroy_c_instance() (object.cc:166)
==10496==    by 0x41F1B6E: Gtk::Object::destroy_() (object.cc:264)
==10496==    by 0x41B5120: Gtk::ComboBox::~ComboBox() (combobox.cc:230)
==10496==    by 0x804D8D1: Gtk::ComboBoxText::~ComboBoxText() (in
/home/murrayc/a.out)
==10496==    by 0x804DEDE: page::~page() (in /home/murrayc/a.out)
==10496==    by 0x804E532: nb::~nb() (in /home/murrayc/a.out)
==10496==    by 0x804D795: main (in /home/murrayc/a.out)
==10496==  Address 0x0 is not stack'd, malloc'd or (recently) free'd


We really need a a C test case to confirm that this is not a gtkmm bug.


-- 
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=422955.



------------------------------

Message: 7
Date: Fri,  6 Apr 2007 11:10:40 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 422955] The application crashes with
	SIGSEGV	in ComboBoxText destructor
To: gtkmm-forge lists sourceforge net
Message-ID: <20070406111040 481AF6C4181 box gnome org>
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=422955

  gtkmm | general | Ver: 2.8.x




------- Comment #7 from Slava Gorbunov  2007-04-06 11:10 UTC -------
(In reply to comment #6)
> We really need a a C test case to confirm that this is not a gtkmm bug.
I also suspect that it may be a GTK+ (not gtkmm) bug. But, unfortunately, I
don't know GTK+ well enough to write an equivalent program in pure GTK+.


-- 
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=422955.



------------------------------

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

------------------------------

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


End of Gtkmm-forge Digest, Vol 11, Issue 3
******************************************



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