Gtkmm-forge Digest, Vol 3, Issue 4
- From: gtkmm-forge-request lists sourceforge net
- To: gtkmm-forge lists sourceforge net
- Subject: Gtkmm-forge Digest, Vol 3, Issue 4
- Date: Wed, 02 Aug 2006 23:42:40 -0700
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 349740] New: Can't build examples mywidget.cc
(gtkmm (bugzilla.gnome.org))
5. [Bug 347857] advanced printing example crashes
(gtkmm (bugzilla.gnome.org))
----------------------------------------------------------------------
Message: 1
Date: Wed, 2 Aug 2006 23:16:52 +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: <20060802231652 094126C40EB 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
Armin Burgmeier changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |armin 0x539 de
------- Comment #20 from Armin Burgmeier 2006-08-02 23:16 UTC -------
The preview window also works for me with the current CVS version (looks like
in Screenshot-Preview.png). Reopening the preview dialog a second time only
works for me when I close the preview window via that close button text to the
spin entry. When I close it via the X in the top-right corner (delete_event?)
it does not show up again.
Furthermore, "DEBUG: print status: Finished" is not printed to the terminal as
it is done when the dialog is closed through the close button. The application
also does not terminate correctly when the main window is closed if the preview
window has not been closed via the close button (or is still been shown). The
main window disappears, but the program is still running.
Overriding on_delete_event in PreviewDialog and calling
m_refPreview->end_preview() in there seems to help.
When I try to print to PDF, some cairo assertion fails and aborts the program
(as already mentioned in comment #11).
This all applies to my amd64 machine.
--
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 00:35:11 +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: <20060803003511 5DAD46C4135 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
jonner changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jonathon jongsma gmail com
Attachment #70071|none |committed
Flag| |
------- Comment #21 from jonner 2006-08-03 00:34 UTC -------
Adding to Armin's comments about the preview only showing up again if you use
the "Close" button rather than the window manager close button: if you do close
the preview preview dialog with the window manager and then try to close the
main window, the application doesn't exit -- I have to kill it with Ctrl-C.
Attempting to print to PDF results in this crash for me:
** (lt-example:569): DEBUG: starting with PRINT_DIALOG
** (lt-example:569): DEBUG: pfo ctor
[Thread debugging using libthread_db enabled]
[New Thread 46912552443056 (LWP 569)]
[New Thread 1074006368 (LWP 577)]
[New Thread 1082399072 (LWP 578)]
[New Thread 1090791776 (LWP 579)]
[New Thread 1099184480 (LWP 580)]
[New Thread 1107577184 (LWP 581)]
[New Thread 1115969888 (LWP 582)]
[New Thread 1124362592 (LWP 583)]
[New Thread 1132755296 (LWP 585)]
[Thread 1132755296 (LWP 585) exited]
[Thread 1124362592 (LWP 583) exited]
[Thread 1115969888 (LWP 582) exited]
[Thread 1082399072 (LWP 578) exited]
[Thread 1090791776 (LWP 579) exited]
[Thread 1099184480 (LWP 580) exited]
[Thread 1107577184 (LWP 581) exited]
[New Thread 1082399072 (LWP 586)]
[New Thread 1099184480 (LWP 587)]
[New Thread 1090791776 (LWP 588)]
[Thread 1090791776 (LWP 588) exited]
[Thread 1082399072 (LWP 586) exited]
[Thread 1099184480 (LWP 587) exited]
[New Thread 1099184480 (LWP 591)]
[New Thread 1082399072 (LWP 592)]
[New Thread 1090791776 (LWP 594)]
[New Thread 1107577184 (LWP 595)]
[New Thread 1115969888 (LWP 596)]
[New Thread 1124362592 (LWP 597)]
[New Thread 1132755296 (LWP 598)]
[New Thread 1141148000 (LWP 599)]
[New Thread 1149540704 (LWP 600)]
[New Thread 1157933408 (LWP 601)]
** (lt-example:569): DEBUG: PrintFormOperation::on_begin_print
[Thread 1099184480 (LWP 591) exited]
[Thread 1082399072 (LWP 592) exited]
[Thread 1090791776 (LWP 594) exited]
[Thread 1107577184 (LWP 595) exited]
[Thread 1115969888 (LWP 596) exited]
[Thread 1124362592 (LWP 597) exited]
[Thread 1132755296 (LWP 598) exited]
[Thread 1141148000 (LWP 599) exited]
[Thread 1157933408 (LWP 601) exited]
[Thread 1149540704 (LWP 600) exited]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912552443056 (LWP 569)]
0x00002aaaac3f9f1e in cairo_pdf_ft_font_use_glyph (font=0x7001d0, glyph=49410)
at cairo-font-subset.c:735
735 if (font->parent_to_subset[glyph] == 0) {
Current language: auto; currently c
(gdb) bt
#0 0x00002aaaac3f9f1e in cairo_pdf_ft_font_use_glyph (font=0x6fcf50,
glyph=61546) at cairo-font-subset.c:735
#1 0x00002aaaac3fad94 in cairo_pdf_ft_font_write_glyf_table (font=0x6fcf50,
tag=<value optimized out>) at cairo-font-subset.c:372
#2 0x00002aaaac3fa9d3 in _cairo_truetype_subset_init (
truetype_subset=0x7fffff87e6c0, font_subset=<value optimized out>)
at cairo-font-subset.c:707
#3 0x00002aaaac3f56fe in _cairo_pdf_surface_emit_font_subset (
font_subset=0x7fffff87e770, closure=<value optimized out>)
at cairo-pdf-surface.c:1710
#4 0x00002aaaac3fc3f4 in _cairo_sub_font_collect (entry=0x885db0,
closure=0x7fffff87e7f0) at cairo-scaled-font-subsets.c:295
#5 0x00002aaaac3dbf28 in _cairo_hash_table_foreach (hash_table=0x85fad0,
hash_callback=0x2aaaac3fc3a0 <_cairo_sub_font_collect>,
closure=0x7fffff87e7f0) at cairo-hash.c:558
#6 0x00002aaaac3fc788 in _cairo_scaled_font_subsets_foreach (
font_subsets=0x8940f0,
font_subset_callback=0x2aaaac3f5460 <_cairo_pdf_surface_emit_font_subset>,
closure=0x842cc0) at cairo-scaled-font-subsets.c:378
#7 0x00002aaaac3f605c in _cairo_pdf_surface_finish (
abstract_surface=<value optimized out>) at cairo-pdf-surface.c:2047
#8 0x00002aaaac3e463c in cairo_surface_finish (surface=0x842cc0)
at cairo-surface.c:447
#9 0x00002aaaac3e4696 in *INT_cairo_surface_destroy (surface=0x6fcf50)
at cairo-surface.c:398
#10 0x00002aaaac3ed51c in _cairo_paginated_surface_finish (
abstract_surface=0x894150) at cairo-paginated-surface.c:161
#11 0x00002aaaac3e463c in cairo_surface_finish (surface=0x894150)
at cairo-surface.c:447
#12 0x00002aaaaba5c95c in unix_end_run (op=<value optimized out>, wait=61546,
cancelled=13488584) at gtkprintoperation-unix.c:297
#13 0x00002aaaab964c46 in print_pages_idle (user_data=0x895f60)
at gtkprintoperation.c:2149
#14 0x00002aaaad40bace in IA__g_main_context_dispatch (context=0x56ef60)
at gmain.c:2043
#15 0x00002aaaad40eda5 in g_main_context_iterate (context=0x56ef60, block=1,
dispatch=1, self=<value optimized out>) at gmain.c:2675
#16 0x00002aaaad40f06a in IA__g_main_loop_run (loop=0x71caa0) at gmain.c:2879
#17 0x00002aaaab96515d in print_pages (op=0x6f8930, parent=0x5af0b0,
do_print=<value optimized out>, result=GTK_PRINT_OPERATION_RESULT_APPLY)
at gtkprintoperation.c:2268
#18 0x00002aaaab9654e1 in IA__gtk_print_operation_run (op=0x6f8930,
action=<value optimized out>, parent=0x5af0b0, error=0x7fffff87eb10)
at gtkprintoperation.c:2430
#19 0x00002aaaab22bcff in Gtk::PrintOperation::run (
this=<value optimized out>, action=61546, parent=<value optimized out>)
#20 0x000000000040a5f7 in ExampleWindow::print_or_preview (
this=0x7fffff880e40, print_action=Gtk::PRINT_OPERATION_ACTION_PRINT_DIALOG)
at examplewindow.cc:234
#21 0x00002aaaab4cf322 in Glib::SignalProxyNormal::slot0_void_callback (
self=<value optimized out>, data=0x5ea7e0) at slot.h:440
#22 0x00002aaaad0a2550 in IA__g_closure_invoke (closure=0x5ea8a0,
return_value=0x0, n_param_values=1, param_values=0x7fffff87ef00,
invocation_hint=0x7fffff87edc0) at gclosure.c:490
#23 0x00002aaaad0b1adf in signal_emit_unlocked_R (node=0x5e8a70, detail=0,
instance=0x56a300, emission_return=0x0, instance_and_params=0x7fffff87ef00)
at gsignal.c:2508
#24 0x00002aaaad0b2c1c in IA__g_signal_emit_valist (instance=0x56a300,
signal_id=<value optimized out>, detail=0, var_args=0x7fffff87f180)
at gsignal.c:2197
#25 0x00002aaaad0b2fd3 in IA__g_signal_emit (instance=0x6fcf50,
signal_id=61546, detail=13488584) at gsignal.c:2241
#26 0x00002aaaab86ac8b in _gtk_action_emit_activate (action=0x56a300)
at gtkaction.c:835
#27 0x00002aaaad0a2550 in IA__g_closure_invoke (closure=0x60c1f0,
return_value=0x0, n_param_values=1, param_values=0x7fffff87f550,
invocation_hint=0x7fffff87f410) at gclosure.c:490
#28 0x00002aaaad0b1742 in signal_emit_unlocked_R (node=0x60b770, detail=0,
instance=0x5afab0, emission_return=0x0, instance_and_params=0x7fffff87f550)
at gsignal.c:2438
#29 0x00002aaaad0b2c1c in IA__g_signal_emit_valist (instance=0x5afab0,
signal_id=<value optimized out>, detail=0, var_args=0x7fffff87f7d0)
at gsignal.c:2197
#30 0x00002aaaad0b647d in IA__g_signal_emit_by_name (instance=0x5afab0,
detailed_signal=0x2aaaaba7c8e8 "clicked") at gsignal.c:2265
#31 0x00002aaaad0a2550 in IA__g_closure_invoke (closure=0x5ffb70,
return_value=0x0, n_param_values=1, param_values=0x7fffff87fba0,
invocation_hint=0x7fffff87fa60) at gclosure.c:490
#32 0x00002aaaad0b1742 in signal_emit_unlocked_R (node=0x603300, detail=0,
instance=0x600c40, emission_return=0x0, instance_and_params=0x7fffff87fba0)
at gsignal.c:2438
#33 0x00002aaaad0b2c1c in IA__g_signal_emit_valist (instance=0x600c40,
signal_id=<value optimized out>, detail=0, var_args=0x7fffff87fe20)
at gsignal.c:2197
#34 0x00002aaaad0b2fd3 in IA__g_signal_emit (instance=0x6fcf50,
signal_id=61546, detail=13488584) at gsignal.c:2241
#35 0x00002aaaab87c2a7 in gtk_real_button_released (button=0x6fcf50)
at gtkbutton.c:1484
#36 0x00002aaaad0a2550 in IA__g_closure_invoke (closure=0x608400,
return_value=0x0, n_param_values=1, param_values=0x7fffff8801e0,
invocation_hint=0x7fffff8800a0) at gclosure.c:490
#37 0x00002aaaad0b1280 in signal_emit_unlocked_R (node=0x608470, detail=0,
instance=0x600c40, emission_return=0x0, instance_and_params=0x7fffff8801e0)
at gsignal.c:2368
#38 0x00002aaaad0b2c1c in IA__g_signal_emit_valist (instance=0x600c40,
signal_id=<value optimized out>, detail=0, var_args=0x7fffff880460)
at gsignal.c:2197
#39 0x00002aaaad0b2fd3 in IA__g_signal_emit (instance=0x6fcf50,
signal_id=61546, detail=13488584) at gsignal.c:2241
#40 0x00002aaaab87b829 in gtk_button_button_release (widget=0x6fcf50,
event=0xf06a) at gtkbutton.c:1377
#41 0x00002aaaab934190 in _gtk_marshal_BOOLEAN__BOXED (closure=0x5a0f40,
return_value=0x7fffff880750, n_param_values=<value optimized out>,
param_values=0x7fffff880850, invocation_hint=<value optimized out>,
marshal_data=0x2aaaab87b810) at gtkmarshalers.c:83
#42 0x00002aaaad0a2550 in IA__g_closure_invoke (closure=0x5a0f40,
return_value=0x7fffff880750, n_param_values=2,
param_values=0x7fffff880850, invocation_hint=0x7fffff880710)
at gclosure.c:490
#43 0x00002aaaad0b18ed in signal_emit_unlocked_R (node=0x5a0fb0, detail=0,
instance=0x600c40, emission_return=0x7fffff880a70,
instance_and_params=0x7fffff880850) at gsignal.c:2476
#44 0x00002aaaad0b295c in IA__g_signal_emit_valist (instance=0x600c40,
signal_id=<value optimized out>, detail=0, var_args=0x7fffff880ad0)
at gsignal.c:2207
#45 0x00002aaaad0b2fd3 in IA__g_signal_emit (instance=0x6fcf50,
signal_id=61546, detail=13488584) at gsignal.c:2241
#46 0x00002aaaaba358c5 in gtk_widget_event_internal (widget=0x600c40,
event=0x670e00) at gtkwidget.c:3901
#47 0x00002aaaab93259b in IA__gtk_propagate_event (widget=0x600c40,
event=0x670e00) at gtkmain.c:2187
#48 0x00002aaaab932a17 in IA__gtk_main_do_event (event=0x670e00)
at gtkmain.c:1421
#49 0x00002aaaabccbeac in gdk_event_dispatch (source=<value optimized out>,
callback=<value optimized out>, user_data=<value optimized out>)
at gdkevents-x11.c:2320
#50 0x00002aaaad40bace in IA__g_main_context_dispatch (context=0x56ef60)
at gmain.c:2043
#51 0x00002aaaad40eda5 in g_main_context_iterate (context=0x56ef60, block=1,
dispatch=1, self=<value optimized out>) at gmain.c:2675
#52 0x00002aaaad40f06a in IA__g_main_loop_run (loop=0x6a7ce0) at gmain.c:2879
#53 0x00002aaaab931e02 in IA__gtk_main () at gtkmain.c:1000
#54 0x00002aaaab217d20 in Gtk::Main::run (window=<value optimized out>)
at main.cc:481
#55 0x000000000040dad0 in main (argc=1, argv=0x7fffff881288) at main.cc:26
That's a deep call stack.
I'm also running on amd64
--
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 00:51: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: <20060803005154 9ADA16C4135 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 #22 from jonner 2006-08-03 00:51 UTC -------
Created an attachment (id=70103)
--> (http://bugzilla.gnome.org/attachment.cgi?id=70103&action=view)
valgrind log when attempting to print
Here's a valgrind log captured when trying to print to PDF.
Command & output:
$ G_DEBUG=gc-friendly valgrind --tool=memcheck --leak-check=full -v
--log-file=printing ./examples/book/printing/advanced/.libs/lt-example
** (lt-example:931): DEBUG: starting with PRINT_DIALOG
** (lt-example:931): DEBUG: pfo ctor
** (lt-example:931): DEBUG: PrintFormOperation::on_begin_print
Killed
--
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 01:39:13 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 349740] New: Can't build examples
mywidget.cc
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-349740-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=349740
gtkmm | build | Ver: 2.6.x
Summary: Can't build examples mywidget.cc
Product: gtkmm
Version: 2.6.x
Platform: Other
OS/Version: Macintosh
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: build
AssignedTo: gtkmm-forge lists sourceforge net
ReportedBy: dmacks netspace org
QAContact: gtkmm-forge lists sourceforge net
GNOME version: Unspecified
GNOME milestone: Unspecified
I have gtk+ 2.6.10 and gtkmm 2.6.4 installed, tried to build gtkmm 2.6.14:
g++-3.3 -DHAVE_CONFIG_H -I. -I. -I../../../../pango -I../../../../pango
-I../../../../atk -I../../../../atk -I../../../../gdk -I../../../../gdk
-I../../../../gtk -I../../../../gtk -I/sw/include/glib-2.0
-I/sw/lib/glib-2.0/include -I/sw/include/pango-1.0 -I/usr/X11R6/include
-I/usr/X11R6/include/freetype2 -I/sw/include/gtk-2.0 -I/sw/include/atk-1.0
-I/sw/lib/gtk-2.0/include -I/sw/include/sigc++-2.0 -I/sw/lib/sigc++-2.0/include
-I/sw/include/glibmm-2.4 -I/sw/lib/glibmm-2.4/include
-DGTKMM_DISABLE_DEPRECATED -no-cpp-precomp -DX_LOCALE -I/sw/include -g -O2
-pedantic -W -Wall -c -o examplewindow.o examplewindow.cc
mywidget.cc: In member function `virtual void MyWidget::on_map()':
mywidget.cc:57: error: 'class Gtk::Widget' has no member named 'on_map'
mywidget.cc: In member function `virtual void MyWidget::on_unmap()':
mywidget.cc:63: error: 'class Gtk::Widget' has no member named 'on_unmap'
mywidget.cc: In member function `virtual void MyWidget::on_realize()':
mywidget.cc:69: error: 'class Gtk::Widget' has no member named 'on_realize'
mywidget.cc: In member function `virtual void MyWidget::on_unrealize()':
mywidget.cc:113: error: 'class Gtk::Widget' has no member named 'on_unrealize'
make[5]: *** [mywidget.o] Error 1
--
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 06:42:50 +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: <20060803064250 4E8FB6C4134 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 #23 from Murray Cumming 2006-08-03 06:42 UTC -------
> 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.
--
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 4
*****************************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]