Gtkmm-forge Digest, Vol 3, Issue 5



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 347857] advanced printing example crashes
      (gtkmm (bugzilla.gnome.org))
   2. [Bug 347857] advanced printing example crashes
      (gtkmm (bugzilla.gnome.org))
   3. [Bug 347857] advanced printing example crashes
      (gtkmm (bugzilla.gnome.org))
   4. [Bug 347857] advanced printing example crashes
      (gtkmm (bugzilla.gnome.org))
   5. [Bug 347857] advanced printing example crashes
      (gtkmm (bugzilla.gnome.org))
   6. [Bug 347857] advanced printing example crashes
      (gtkmm (bugzilla.gnome.org))
   7. [Bug 347857] advanced printing example crashes
      (gtkmm (bugzilla.gnome.org))
   8. [Bug 347857] advanced printing example crashes
      (gtkmm (bugzilla.gnome.org))
   9. [Bug 349740] Can't build examples mywidget.cc
      (gtkmm (bugzilla.gnome.org))


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

Message: 1
Date: Thu,  3 Aug 2006 06:47:23 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 347857] advanced printing example
	crashes
To: gtkmm-forge lists sourceforge net
Message-ID: <20060803064723 64CFC6C4135 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=347857
 gtkmm | general | Ver: 2.9.x





------- Comment #24 from Murray Cumming  2006-08-03 06:47 UTC -------
> When I try to print to PDF, some cairo assertion fails and aborts the program

This does seem to be happening only on 64-bit machines. Is it happening with
the simple example too? Is it happening with gtk+/tests/print-editor too?


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



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

Message: 2
Date: Thu,  3 Aug 2006 10:40:28 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 347857] advanced printing example
	crashes
To: gtkmm-forge lists sourceforge net
Message-ID: <20060803104028 3826A6C4152 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=347857
 gtkmm | general | Ver: 2.9.x





------- Comment #25 from Armin Burgmeier  2006-08-03 10:40 UTC -------
> Is it happening with the simple example too?
Yes. The preview does not work in the simple example either, because it tries
to print a PDF to show it with evince.

> Is it happening with gtk+/tests/print-editor too?
No. But evince fails to display the resulting pdf file. It shows just an empty
page and prints "Error: failed to load truetype font" to the terminal. But this
could also be a local problem.


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



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

Message: 3
Date: Thu,  3 Aug 2006 10:45:54 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 347857] advanced printing example
	crashes
To: gtkmm-forge lists sourceforge net
Message-ID: <20060803104554 10F586C4135 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=347857
 gtkmm | general | Ver: 2.9.x





------- Comment #26 from Armin Burgmeier  2006-08-03 10:45 UTC -------
Another problem, probably independant from the crashing PDF file creation, is
that examplewindow.cc binds the whole RefPtr to PrintOperation::signal_done()
instead of just a reference (or a pointer) to it. This causes the
PrintOperation to be never freed because the signal connection still holds a
reference to the PrintOperation.

As soon as the window (and thus the connection) is finally destroyed, memory
corruption seems to occur since the destroyed connection unrefs the
PrintOperation which itself wants to destroy the connection in the signal
destructor.


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



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

Message: 4
Date: Thu,  3 Aug 2006 10:52:24 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 347857] advanced printing example
	crashes
To: gtkmm-forge lists sourceforge net
Message-ID: <20060803105224 86CD06C4130 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=347857
 gtkmm | general | Ver: 2.9.x





------- Comment #27 from Marko Anastasov  2006-08-03 10:52 UTC -------
(In reply to comment #23)
> > Overriding on_delete_event in PreviewDialog and calling
> > m_refPreview->end_preview() in there seems to help.
> 
> If we need to do that, we should do it in on_hide(), so it works for both close
> buttons.
> 

Fixed in CVS.


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



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

Message: 5
Date: Thu,  3 Aug 2006 10:53:09 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 347857] advanced printing example
	crashes
To: gtkmm-forge lists sourceforge net
Message-ID: <20060803105309 6CEF46C4130 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=347857
 gtkmm | general | Ver: 2.9.x





------- Comment #28 from Murray Cumming  2006-08-03 10:52 UTC -------
> Is it happening with gtk+/tests/print-editor too?
> No. But evince fails to display the resulting pdf file. It shows just an empty
> page and prints "Error: failed to load truetype font" to the terminal. But this
> could also be a local problem.

This sounds very suspicious. I suggest that you mention it on the cairo or gtk
mailing list.

> Another problem, probably independant from the crashing PDF file creation, is
> that examplewindow.cc binds the whole RefPtr to PrintOperation::signal_done()
> instead of just a reference (or a pointer) to it. This causes the
> PrintOperation to be never freed because the signal connection still holds a
> reference to the PrintOperation.

Very clever. I'll figure out something to fix this if you don't first. But I
would prefer to avoid storing the connection and disconnecting them explicitly
because that complicates things.


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



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

Message: 6
Date: Thu,  3 Aug 2006 11:15:26 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 347857] advanced printing example
	crashes
To: gtkmm-forge lists sourceforge net
Message-ID: <20060803111526 D6BDF6C4140 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=347857
 gtkmm | general | Ver: 2.9.x





------- Comment #29 from Armin Burgmeier  2006-08-03 11:15 UTC -------
> I'll figure out something to fix this if you don't first.
Binding just a reference or a pointer to the RefPtr should do the trick.


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



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

Message: 7
Date: Thu,  3 Aug 2006 13:10:33 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 347857] advanced printing example
	crashes
To: gtkmm-forge lists sourceforge net
Message-ID: <20060803131033 A39D36C4134 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=347857
 gtkmm | general | Ver: 2.9.x





------- Comment #30 from Armin Burgmeier  2006-08-03 13:10 UTC -------
> This sounds very suspicious. I suggest that you mention it on the cairo or gtk
mailing list.
I first tried to investigate this a bit further. It worked well when I took a
non-standard font (so, neither "Sans" nor "Monospace", but for example
"Rudelsberg" worked).

There seems to be a relation between this and the PDF crasher bug: When I use
the "Rudelsberg" font (or some other) in the simple printing example, it
produces a working PDF file instead of throwing that cairo exception. Can
others confirm this?


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



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

Message: 8
Date: Thu,  3 Aug 2006 13:28:33 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 347857] advanced printing example
	crashes
To: gtkmm-forge lists sourceforge net
Message-ID: <20060803132833 86DF56C415C 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=347857
 gtkmm | general | Ver: 2.9.x





------- Comment #31 from jonner  2006-08-03 13:28 UTC -------
I can sort of confirm this.  Here are my results:
"verdana 12": no crash, produced empty PDF
"Gentium 12": crash
"bitstream charter 12": no crash, produced good PDF


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



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

Message: 9
Date: Thu,  3 Aug 2006 13:44:39 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 349740] Can't build examples
	mywidget.cc
To: gtkmm-forge lists sourceforge net
Message-ID: <20060803134439 D4E896C415B 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=349740
 gtkmm | build | Ver: 2.6.x


jonner changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathon jongsma gmail com




------- Comment #1 from jonner  2006-08-03 13:44 UTC -------
Between 2.6.4 and 2.6.14, an option was added to disable the default virtual
signal handlers (to save space for e.g. embedded applications).  My guess is
that this is the problem you're seeing.  Have you upgraded your glibmm version
as well?  


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



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

-------------------------------------------------------------------------
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 3, Issue 5
*****************************************



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