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

Re: [XaraXtreme-dev] [Fwd: Bug#476675: [xaralx] crashes on print]



Joachim,

1. Is this on the recent version you have just built? If not, ignore,
  as printing changed substantially between the previous debian
  release and the one you just sucked off SVN.

2. Try compiling against a wxWidgets built without libgnomeprint. That's
  the main difference in this area. I am pretty sure the autopackage
  version is built without that. I bet this works.

3. Assuming (2) works fine as I suspect, the problem is likely to be
  somewhere between Xtreme and wxWidgets. When wxWidgets is compiled
  with libgnomeprint{,ui} switched on, asking for a print dialog returns
  a different class than with it switched off (whether or not you
  actually want one at run time). This is problematic because we don't
  want to (and indeed can't) use wxWidget's libgnomeprint output stage
  as we produce our own postscript. So there is some hackery to change
  the wxPrintFactory (which makes the back end) and create one
  of the right class, copying the settings over. I suspect something
  is not being copied and remaining unitialised, particularly as
   wxWidgets libgnomeprint support has changed quite a bit (AIUI).

Obviously the best thing to do would be to fix the hackery in 3. I
think you want to look at wxOil/prdlgctl.cpp, and look in
particular at what's going on in CCPrintInfo::MakeDCFromPrintData().
It may be wxWidgets has a bug changing print factories. I'd set
a breakpoint at the top of this function and see what produces
the errors.

An alternate and somewhat messier fix would be to create a subsidiary
wxWidgets package without libgnomeprint support and somehow cause
Xtreme to just use that. I suspect fixing the bug would be easier.

Alex


--On 18 April 2008 15:34:58 +0200 Joachim Breitner <nomeata@xxxxxxxxxx> wrote:

Hi XaraX list,

I got this bug report, and I can confirm it: XaraX crashes here when I
press the print button in the print dialog. Note that all these warnings
you see pasted are printed when the dialog is opened, but the crash
happens when the button is pressed.

Can you confirm this, or is this a problem with the debian build? Any
hints where to search for the problem?

Thanks,
Joachim

-------- Weitergeleitete Nachricht --------
Von: eschmit@xxxxxx
Antwort an: eschmit@xxxxxx, 476675@xxxxxxxxxxxxxxx
An: submit@xxxxxxxxxxxxxxx
Betreff: Bug#476675: [xaralx] crashes on print
Datum: Fri, 18 Apr 2008 13:28:03 +0200

Package: xaralx
Version: 0.7r1785-2
Severity: grave

--- Please enter the report below this line. ---
Xaralx crashes when printing. Here the output:

(xaralx:31164): GnomePrint-WARNING **: Could not create filter from
description 'GnomePrintFilterSelect': filter 'GnomePrintFilterSelect' is
unknown

(xaralx:31164): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(xaralx:31164): GLib-GObject-CRITICAL **: g_signal_connect_data:
assertion  `G_TYPE_CHECK_INSTANCE (instance)' failed

(xaralx:31164): GnomePrint-WARNING **: Could not create filter from
description 'GnomePrintFilterClip [ GnomePrintFilterMultipage ]':
filter 'GnomePrintFilterClip' is unknown

(xaralx:31164): GLib-GObject-CRITICAL **: g_object_unref: assertion
`G_IS_OBJECT (object)' failed

(xaralx:31164): libgnomeprintui-CRITICAL **:
gnome_print_layout_selector_load_filter: assertion `GNOME_IS_PRINT_FILTER
(f)' failed

(xaralx:31164): GLib-GObject-CRITICAL **: g_object_set: assertion
`G_IS_OBJECT  (object)' failed

(xaralx:31164): GLib-GObject-CRITICAL **: g_object_set: assertion
`G_IS_OBJECT  (object)' failed

(xaralx:31164): GLib-GObject-CRITICAL **: g_object_set: assertion
`G_IS_OBJECT  (object)' failed

(xaralx:31164): GLib-GObject-CRITICAL **: g_object_set: assertion
`G_IS_OBJECT  (object)' failed

(xaralx:31164): GLib-GObject-CRITICAL **: g_object_set: assertion
`G_IS_OBJECT  (object)' failed

(xaralx:31164): GnomePrint-CRITICAL **: gnome_print_filter_reset:
assertion  `GNOME_IS_PRINT_FILTER (f)' failed

(xaralx:31164): GnomePrint-CRITICAL **: gnome_print_filter_flush:
assertion  `GNOME_IS_PRINT_FILTER (f)' failed

(xaralx:31164): GLib-GObject-CRITICAL **: g_object_set: assertion
`G_IS_OBJECT  (object)' failed

(xaralx:31164): GLib-GObject-CRITICAL **: g_object_set: assertion
`G_IS_OBJECT  (object)' failed

(xaralx:31164): GLib-GObject-CRITICAL **: g_object_set: assertion
`G_IS_OBJECT  (object)' failed

(xaralx:31164): GLib-GObject-CRITICAL **: g_object_set: assertion
`G_IS_OBJECT  (object)' failed

(xaralx:31164): GLib-GObject-CRITICAL **: g_object_set: assertion
`G_IS_OBJECT  (object)' failed

(xaralx:31164): GLib-GObject-CRITICAL **: g_object_set: assertion
`G_IS_OBJECT  (object)' failed

(xaralx:31164): GnomePrint-CRITICAL **: gnome_print_filter_reset:
assertion  `GNOME_IS_PRINT_FILTER (f)' failed

(xaralx:31164): GnomePrint-CRITICAL **: gnome_print_filter_flush:
assertion  `GNOME_IS_PRINT_FILTER (f)' failed

** (xaralx:31164): WARNING **: could not set the value of
Settings.Document.Filter, node not found
Segmentation fault


--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.23.12-slh64-smp-2

Debian Release: lenny/sid
  500 unstable        www.zwets.com
  500 unstable        www.winki-the-ripper.de
  500 unstable        www.debian-multimedia.org
  500 unstable        sidux.com
  500 unstable        mirror.home-dn.net
  500 unstable        ftp.spline.de
  500 unstable        ftp.mirrorservice.org
  500 unstable        ftp.it.debian.org
  500 unstable        debian.vakevainen.fi
  500 unstable        debian.alphagemini.org
  500 testing         ftp.it.debian.org
  500 stable          apt.tt-solutions.com

--- Package information. ---
Depends                  (Version) | Installed
==================================-+-================
libc6                   (>= 2.7-1) | 2.7-10
libfreetype6            (>= 2.3.5) | 2.3.5-1+b1
libgcc1            (>= 1:4.1.1-21) | 1:4.3.0-3
libglib2.0-0           (>= 2.12.0) | 2.16.3-2
libgtk2.0-0            (>= 2.12.0) | 2.12.9-3
libjpeg62                          | 6b-14
libpango1.0-0          (>= 1.20.0) | 1.20.2-2
libpng12-0           (>= 1.2.13-4) | 1.2.15~beta5-3
libstdc++6            (>= 4.2.1-4) | 4.3.0-3
libwxbase2.6-0      (>= 2.6.3.2.2) | 2.6.3.2.2-2
libwxgtk2.6-0       (>= 2.6.3.2.2) | 2.6.3.2.2-2
libxml2                (>= 2.6.27) | 2.6.32.dfsg-1


--
Joachim "nomeata" Breitner
Debian Developer
  nomeata@xxxxxxxxxx | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata@xxxxxxxxxxxxxxxxxxx | http://people.debian.org/~nomeata



Alex