Gtkmm-forge Digest, Vol 36, Issue 13



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 573482] libglademm: thoughts about signal	autoconnecting
      (gtkmm (bugzilla.gnome.org))
   2. [Bug 573482] libglademm: thoughts about signal	autoconnecting
      (gtkmm (bugzilla.gnome.org))
   3. [Bug 583481] New: Gtk::FileFilter not copied	properly when
      passed as a local variable (gtkmm (bugzilla.gnome.org))
   4. [Bug 583481] Gtk::FileFilter not copied properly	when passed
      as a local variable (gtkmm (bugzilla.gnome.org))
   5. [Bug 583568] New: gstreamermm does not build with	make -j 4
      (gnomemm (bugzilla.gnome.org))
   6. [Bug 582439] [PATCH] Fix build on maemo platform
      (gnomemm (bugzilla.gnome.org))


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

Message: 1
Date: Thu, 21 May 2009 11:48:15 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 573482] libglademm: thoughts about
	signal	autoconnecting
To: gtkmm-forge lists sourceforge net
Message-ID: <20090521114815 28CBD23F598 label 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=573482

  gtkmm | general | Ver: unspecified




------- Comment #57 from Stas Sergeev  2009-05-21 11:48 UTC -------
OK, so what is it?
Any hopes to get the patch review?


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



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

Message: 2
Date: Thu, 21 May 2009 13:17:13 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 573482] libglademm: thoughts about
	signal	autoconnecting
To: gtkmm-forge lists sourceforge net
Message-ID: <20090521131713 72DE223F59C label 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=573482

  gtkmm | general | Ver: unspecified




------- Comment #58 from Murray Cumming  2009-05-21 13:17 UTC -------
Yes, I'm sorry. I will find time.


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



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

Message: 3
Date: Thu, 21 May 2009 17:46:47 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 583481] New: Gtk::FileFilter not copied
	properly when passed as a local variable
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-583481-5595 http bugzilla 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=583481

  gtkmm | general | Ver: 2.16.x
           Summary: Gtk::FileFilter not copied properly when passed as a
                    local variable
           Product: gtkmm
           Version: 2.16.x
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: general
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: soowei tan gmail com
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: 2.25/2.26
   GNOME milestone: Unspecified


OS: Ubuntu 9.04

I'm trying to create some Gtk::FileFilters to be passed into a
Gtk::FileChooserDialog. I have a helper function that creates the filters, but
I get an null pointer when calling FileChooserDialog::get_filter() after
FileChooserDialog::run().

I will attach the example application too.

Here is the trace from gdb:
soowei williams:~/Development/temp/filechooserdialog$ gdb ./filechooserdialog 
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) run
Starting program:
/home/soowei/Development/temp/filechooserdialog/filechooserdialog 
[Thread debugging using libthread_db enabled]
[New Thread 0xb6d18720 (LWP 30883)]
[New Thread 0xb659db90 (LWP 30886)]
[New Thread 0xb5affb90 (LWP 30887)]
[Thread 0xb5affb90 (LWP 30887) exited]

(filechooserdialog:30883): glibmm-WARNING **: Glib::wrap_create_new_wrapper:
Attempted to create a 2nd C++ wrapper for a C instance whose C++ wrapper has
been deleted.

(filechooserdialog:30883): glibmm-WARNING **: Failed to wrap object of type
'gtkmm__GtkFileFilter'. Hint: this error is commonly caused by failing to call
a library init() function.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6d18720 (LWP 30883)]
Gtk::FileFilter::get_name (this=0x0) at filefilter.cc:203
203     filefilter.cc: No such file or directory.
        in filefilter.cc
(gdb) where
#0  Gtk::FileFilter::get_name (this=0x0) at filefilter.cc:203
#1  0x0804ce80 in ExampleWindow::on_button_file_clicked (this=0xbff1c2a8)
    at main.cc:87
#2  0x0804de1b in sigc::bound_mem_functor0<void, ExampleWindow>::operator() (
    this=0x8909bcc) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
#3  0x0804de32 in sigc::adaptor_functor<sigc::bound_mem_functor0<void,
ExampleWindow> >::operator() (this=0x8909bc8)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#4  0x0804de4e in sigc::internal::slot_call0<sigc::bound_mem_functor0<void,
ExampleWindow>, void>::call_it (rep=0x8909bb0)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#5  0xb76a27e2 in Glib::SignalProxyNormal::slot0_void_callback ()
   from /usr/lib/libglibmm-2.4.so.1
#6  0xb73743a4 in IA__g_cclosure_marshal_VOID__VOID (closure=0x890ec40, 
    return_value=0x0, n_param_values=1, param_values=0x8898460, 
    invocation_hint=0xbff1b70c, marshal_data=0xb76a2790)
    at /build/buildd/glib2.0-2.20.1/gobject/gmarshal.c:77
#7  0xb7366c7b in IA__g_closure_invoke (closure=0x890ec40, return_value=0x0, 
    n_param_values=1, param_values=0x8898460, invocation_hint=0xbff1b70c)
    at /build/buildd/glib2.0-2.20.1/gobject/gclosure.c:767
#8  0xb737d3d2 in signal_emit_unlocked_R (node=0x88b7290, detail=0, 
    instance=0x890c008, emission_return=0x0, instance_and_params=0x8898460)
    at /build/buildd/glib2.0-2.20.1/gobject/gsignal.c:3317
#9  0xb737e4b9 in IA__g_signal_emit_valist (instance=0x890c008, signal_id=98, 
    detail=0, 
    var_args=0xbff1b8ac
"\017?7??\217??\b?\220\b????ax?\b?\220\b?????????J?\b?\220\b?\017\214\b?????\2258?x\204\211\b")
    at /build/buildd/glib2.0-2.20.1/gobject/gsignal.c:2980
#10 0xb737e936 in IA__g_signal_emit (instance=0x890c008, signal_id=98, 
    detail=0) at /build/buildd/glib2.0-2.20.1/gobject/gsignal.c:3037
#11 0xb7784bda in IA__gtk_button_clicked (button=0x890c008)
    at /build/buildd/gtk+2.0-2.16.1/gtk/gtkbutton.c:1106
#12 0xb77861f8 in gtk_real_button_released (button=0x890c008)
    at /build/buildd/gtk+2.0-2.16.1/gtk/gtkbutton.c:1702
#13 0xb7d34acd in Gtk::Button_Class::released_callback (self=0x890c008)
    at button.cc:245
#14 0xb73743a4 in IA__g_cclosure_marshal_VOID__VOID (closure=0x88c0fe8, 
    return_value=0x0, n_param_values=1, param_values=0x8898478, 
    invocation_hint=0xbff1baac, marshal_data=0xb7d34a20)
    at /build/buildd/glib2.0-2.20.1/gobject/gmarshal.c:77
#15 0xb73653d9 in g_type_class_meta_marshal (closure=0x88c0fe8, 
    return_value=0x0, n_param_values=1, param_values=0x8898478, 
    invocation_hint=0xbff1baac, marshal_data=0x1a4)
    at /build/buildd/glib2.0-2.20.1/gobject/gclosure.c:878
#16 0xb7366c7b in IA__g_closure_invoke (closure=0x88c0fe8, return_value=0x0, 
    n_param_values=1, param_values=0x8898478, invocation_hint=0xbff1baac)
    at /build/buildd/glib2.0-2.20.1/gobject/gclosure.c:767
#17 0xb737c6c0 in signal_emit_unlocked_R (node=0x8889830, detail=0, 
    instance=0x890c008, emission_return=0x0, instance_and_params=0x8898478)
    at /build/buildd/glib2.0-2.20.1/gobject/gsignal.c:3177
#18 0xb737e4b9 in IA__g_signal_emit_valist (instance=0x890c008, signal_id=97, 
    detail=0, 
    var_args=0xbff1bc4c
"\017?7??\217??????h????Lx?\b?\220\b?\217??\230???<\220??\b?\220\b??\212\b\230????\2258?P")
    at /build/buildd/glib2.0-2.20.1/gobject/gsignal.c:2980
#19 0xb737e936 in IA__g_signal_emit (instance=0x890c008, signal_id=97, 
    detail=0) at /build/buildd/glib2.0-2.20.1/gobject/gsignal.c:3037
#20 0xb7784c7a in IA__gtk_button_released (button=0x890c008)
    at /build/buildd/gtk+2.0-2.16.1/gtk/gtkbutton.c:1098
#21 0xb7784cb3 in gtk_button_button_release (widget=0x890c008, event=0x88adef0)
    at /build/buildd/gtk+2.0-2.16.1/gtk/gtkbutton.c:1594
#22 0xb7e0903c in Gtk::Widget_Class::button_release_event_callback (
    self=0x890c008, p0=0x88adef0) at widget.cc:4676
#23 0xb783f526 in _gtk_marshal_BOOLEAN__BOXED (closure=0x88b7b48, 
    return_value=0xbff1be60, n_param_values=2, param_values=0x8920050, 
    invocation_hint=0xbff1be4c, marshal_data=0xb7e08f90)
    at /build/buildd/gtk+2.0-2.16.1/gtk/gtkmarshalers.c:84
#24 0xb73653d9 in g_type_class_meta_marshal (closure=0x88b7b48, 
    return_value=0xbff1be60, n_param_values=2, param_values=0x8920050, 
---Type <return> to continue, or q <return> to quit---
    invocation_hint=0xbff1be4c, marshal_data=0xb4)
    at /build/buildd/glib2.0-2.20.1/gobject/gclosure.c:878
#25 0xb7366c7b in IA__g_closure_invoke (closure=0x88b7b48, 
    return_value=0xbff1be60, n_param_values=2, param_values=0x8920050, 
    invocation_hint=0xbff1be4c)
    at /build/buildd/glib2.0-2.20.1/gobject/gclosure.c:767
#26 0xb737caff in signal_emit_unlocked_R (node=0x88b6938, detail=0, 
    instance=0x890c008, emission_return=0xbff1bf98, 
    instance_and_params=0x8920050)
    at /build/buildd/glib2.0-2.20.1/gobject/gsignal.c:3285
#27 0xb737e34f in IA__g_signal_emit_valist (instance=0x890c008, signal_id=31, 
    detail=0, 
    var_args=0xbff1bff0
"\b?????\212\b\b?\220\b?\005\226?\b?\220\b8?\213\b")
    at /build/buildd/glib2.0-2.20.1/gobject/gsignal.c:2990
#28 0xb737e936 in IA__g_signal_emit (instance=0x890c008, signal_id=31, 
    detail=0) at /build/buildd/glib2.0-2.20.1/gobject/gsignal.c:3037
#29 0xb795a2ae in gtk_widget_event_internal (widget=0x890c008, event=0x88adef0)
    at /build/buildd/gtk+2.0-2.16.1/gtk/gtkwidget.c:4761
#30 0xb7837f7c in IA__gtk_propagate_event (widget=0x890c008, event=0x88adef0)
    at /build/buildd/gtk+2.0-2.16.1/gtk/gtkmain.c:2396
#31 0xb7839327 in IA__gtk_main_do_event (event=0x88adef0)
    at /build/buildd/gtk+2.0-2.16.1/gtk/gtkmain.c:1601
#32 0xb761f34a in gdk_event_dispatch (source=0x88b0310, callback=0, 
---Type <return> to continue, or q <return> to quit---
    user_data=0x0) at /build/buildd/gtk+2.0-2.16.1/gdk/x11/gdkevents-x11.c:2364
#33 0xb72d8b88 in IA__g_main_context_dispatch (context=0x88b0358)
    at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#34 0xb72dc0eb in g_main_context_iterate (context=0x88b0358, block=1, 
    dispatch=1, self=0x8896ed8)
    at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#35 0xb72dc5ba in IA__g_main_loop_run (loop=0x88db6d0)
    at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2656
#36 0xb78397d9 in IA__gtk_main ()
    at /build/buildd/gtk+2.0-2.16.1/gtk/gtkmain.c:1205
#37 0xb7d7e3d7 in Gtk::Main::run_impl (this=0xbff1c314) at main.cc:536
#38 0xb7d7e4fe in Gtk::Main::run (window= 0xbff1c2a8) at main.cc:490
#39 0x0804d8b0 in main (argc=Cannot access memory at address 0x0
) at main.cc:96


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



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

Message: 4
Date: Thu, 21 May 2009 17:48:23 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 583481] Gtk::FileFilter not copied
	properly	when passed as a local variable
To: gtkmm-forge lists sourceforge net
Message-ID: <20090521174823 EB0AB23F59A label 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=583481

  gtkmm | general | Ver: 2.16.x




------- Comment #1 from Soo Wei Tan  2009-05-21 17:48 UTC -------
Created an attachment (id=135132)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=135132&action=view)
Test case

To reproduce:
Compile and run application. 
Click "Choose File".
Either select a file and click Save As, or just Cancel out of the dialog.
Application crashes.


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



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

Message: 5
Date: Fri, 22 May 2009 16:39:58 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 583568] New: gstreamermm does not build
	with	make -j 4
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-583568-5595 http bugzilla 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=583568

  gnomemm | gstreamermm | Ver: unspecified
           Summary: gstreamermm does not build with make -j 4
           Product: gnomemm
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Keywords: build
          Severity: minor
          Priority: Normal
         Component: gstreamermm
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: jhs gnome org
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Actually, at least it doesn't when you generate the plugin file. You can easily
try yourself:

git clone gnome:gstreamermm
cd gstreamermm
./autogen.sh
make -j 4

This will fails at least once in the build process so the build is fine when
you start make again.


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



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

Message: 6
Date: Fri, 22 May 2009 16:45:42 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 582439] [PATCH] Fix build on maemo
	platform
To: gtkmm-forge lists sourceforge net
Message-ID: <20090522164542 EE81A23F59C label 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=582439

  gnomemm | gstreamermm | Ver: unspecified

Johannes Schmid changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #135010|none                        |committed
               Flag|                            |
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




------- Comment #26 from Johannes Schmid  2009-05-22 16:45 UTC -------
(In reply to comment #25)
> Johannes, I corrected the coding styles I could find before you submitted a
> patch (I hope you don't mind).  If you find any others, please feel free to
> correct those also.  Thanks.

Actually that was a quite bad idea because I had to merge my patch manually
again because all the reference lines changed. It would have been easier to do
it the other way round. Anyway, not your fault.

Applied the patch now:
http://git.gnome.org/cgit/gstreamermm/commit/?id=85f1a94efced063bd1c55c306f0284096a99ca2d 

@murrayc: I think try/catch blocks are just a no-op when exceptions are
disabled and compilation only fails when using throw but I fixed it anyway.


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



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

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 

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

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


End of Gtkmm-forge Digest, Vol 36, Issue 13
*******************************************


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