Gtkmm-forge Digest, Vol 3, Issue 20



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 352063] New: cannot Glib::wrap a PangoLayout*
      (glibmm (bugzilla.gnome.org))


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

Message: 1
Date: Sat, 19 Aug 2006 19:49:58 +0100 (BST)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 352063] New: cannot Glib::wrap a
	PangoLayout*
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-352063-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=352063
 glibmm | object | Ver: 2.11.x

           Summary: cannot Glib::wrap a PangoLayout*
           Product: glibmm
           Version: 2.11.x
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: object
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: ralf ark in-berlin de
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Steps to reproduce:
compile and run this minimal program:

#include <glibmm/ustring.h>
#include <glibmm/refptr.h>
#include <cairomm/surface.h>
#include <cairomm/context.h>
#include <pangomm/layout.h>


int main (int argc, char** argv)
{
        Cairo::RefPtr<Cairo::PdfSurface> _csfc;
        Cairo::RefPtr<Cairo::Context>    _cctx;
        Glib::RefPtr<Pango::Layout>      _play;

        _csfc = Cairo::PdfSurface::create ("foo.pdf", 700, 1000);
        _cctx = Cairo::Context::create (_csfc);
        _play = Pango::Layout::create (_cctx);
        _play->set_width (1);
 } /* these are fantasy numbers */

Stack trace:
==4156== Memcheck, a memory error detector.
==4156== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==4156== Using LibVEX rev 1575, a library for dynamic binary translation.
==4156== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
==4156== Using valgrind-3.1.1, a dynamic binary instrumentation framework.
==4156== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
==4156== For more details, rerun with: -v
==4156== 

(process:4156): glibmm-CRITICAL **:
Glib::ObjectBase*<unnamed>::create_new_wrapper(GObject*): assertion
`wrap_func_table != 0' failed

(process:4156): glibmm-WARNING **: failed to wrap type of 'PangoLayout'
==4156== Invalid read of size 4
==4156==    at 0x470BECC: Pango::Layout::set_width(int) (in
/usr/lib/libpangomm-1.4.so.1.0.30)
==4156==    by 0x8048C46: main (in /home/rws/calo/a.out)
==4156==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==4156== 
==4156== Process terminating with default action of signal 11 (SIGSEGV)
==4156==  Access not within mapped region at address 0x0
==4156==    at 0x470BECC: Pango::Layout::set_width(int) (in
/usr/lib/libpangomm-1.4.so.1.0.30)
==4156==    by 0x8048C46: main (in /home/rws/calo/a.out)
==4156== 

Other information:
the pointer returned from pango_cairo_create_layout is non-NULL


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



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

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

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


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



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