Gtkmm-forge Digest, Vol 8, Issue 2



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 391907] New: Glib::Error::throw_exception()	doesn't
      return Glib::Error instance in --disable-api-exceptions mode
      (glibmm (bugzilla.gnome.org))
   2. [Bug 388086] Gtk::RecentManager::Data can't be	instantiated
      (gtkmm (bugzilla.gnome.org))
   3. [Bug 392014] New: i dont know how it is crashed
      (gnomemm (bugzilla.gnome.org))


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

Message: 1
Date: Tue,  2 Jan 2007 14:58:50 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 391907] New:
	Glib::Error::throw_exception()	doesn't return Glib::Error instance in
	--disable-api-exceptions mode
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-391907-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=391907

  glibmm | general | Ver: 2.10.x

           Summary: Glib::Error::throw_exception() doesn't return
                    Glib::Error instance in --disable-api-exceptions mode
           Product: glibmm
           Version: 2.10.x
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: general
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: mwhoosier gmail com
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Steps to reproduce:
1. Compile this program with debugging info

#include <gdkmm/pixbuf.h>
#include <gtkmm/main.h>
#include <glib/gmessages.h>

int
main (int argc, char* argv[])
{
    Gtk::Main loop (argc, argv);

    GError* gerror = 0;
    Glib::RefPtr<Gdk::Pixbuf> pb = Glib::wrap (gdk_pixbuf_new_from_file
("/tmp/nosuch", &gerror));

    if (gerror)
    {
      printf ("%s:%d: Error: %s\n", __FILE__, __LINE__, gerror->message);
      std::auto_ptr<Glib::Error> e (::Glib::Error::throw_exception (gerror));

      // Never reached
      g_assert_not_reached ();
    }
    else
    {
        printf ("%s:%d: No error\n", __FILE__, __LINE__);
    }

    return 1;
}


2. Break on main.cc:19
3. Observe nonsensical output:

main.cc:15: Error: Failed to open file '/tmp/nosuch': No such file or directory
main.cc:23: No error

Stack trace:
There isn't a stack trace at the point of failure; the program just jumps into
the wrong logic paths and crashes later because error-throwing operations
appear to have succeeded.

Other information:
This code is basically lifted from the sources to
Gdk::Pixbuf::create_from_file(), for the purposes of instrumenting it with
debugging output.

Apologies for using the Pixbuf C++ binding type from gtkmm as a demonstration
of the bug. I didn't find any operations which ought to provoke the same
Glib::FileError instance in the core glibmm API itself.

At any rate, I don't think that the Gdk::Pixbuf code is at issue here; I can
witness the Glib::FileError::throw_func() call return and produce the expected
instance of Glib::FileError. The strangeness begins when
Glib::Error::throw_exception() attempts to return that auto_ptr to the calling
code (here, main.cc:16.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



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

Message: 2
Date: Tue,  2 Jan 2007 18:13:16 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 388086] Gtk::RecentManager::Data can't
	be	instantiated
To: gtkmm-forge lists sourceforge net
Message-ID: <20070102181316 2D9E76C40FF box gnome org>
Content-Type: text/plain; charset=utf-8

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=388086

  gtkmm | build | Ver: 2.10.x





------- Comment #2 from Grant Patterson  2007-01-02 18:11 UTC -------
My pleasure, once I've got the time to get a source tree going.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



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

Message: 3
Date: Tue,  2 Jan 2007 19:30:48 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 392014] New: i dont know how it is
	crashed
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-392014-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=392014

  gnomemm | gnome-vfsmm | Ver: unspecified

           Summary: i dont know how it is crashed
           Product: gnomemm
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: gnome-vfsmm
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: sanie_simple hotmail com
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


+++ This bug was initially created as a clone of Bug #392011 +++

Steps to reproduce:
1. by live update
2. 
3. 


Stack trace:


Other information:shafqatsaimashafqat


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



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

-------------------------------------------------------------------------
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 8, Issue 2
*****************************************



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