Printing does not work

Bug #73269 reported by Albrecht Mühlenschulte on 2006-11-25
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xaralx (Debian)
Fix Released
Unknown
xaralx (Ubuntu)
Medium
Unassigned

Bug Description

When trying to print (on my postscript printer) I get a core crash:

(xaralx:21864): GnomePrint-WARNING **: Could not create filter from description 'frgba': filter 'frgba' is unknown
Aborted (core dumped)

---
I'm running the Edgy package.

description: updated
Al Buntu (biedermann2) wrote :

Yes, printing does not work in xaralx (neither under ubuntu 6.10 nor under ubuntu 7.04).
the menu item "file -> printer setup" is greyed out (why?).
calling the menu "print..." causes a lot of error messages:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

after all xaralx crashes!!!

When installing xaralx as package-file (instead of the .deb) everything works fine!

Adam Niedling (krychek) wrote :

Is this still an issue in Gutsy or Hardy? Please retest and report back. You may close this bug as well.

Changed in xaralx:
status: New → Incomplete
Al Buntu (biedermann2) wrote :

This is still an issue in hardy. unfortunately.
And every time when the package is installed out of the official ubuntu-repositories.
When the Xaralx-Autopackage is installed then printing is possible.

Adam Niedling (krychek) wrote :

Thanks for the quick answer, please update this bug twice a year at least so it won't look abandoned.

Changed in xaralx:
status: Incomplete → New
Alex Bligh (ubuntu-alex-org) wrote :

The normal cause of this sort of problem is wxWidgets/Xaralx incompatibility, or GTK/wxWidgets incompatibility. I doubt it's the latter if it works on autopackage. I suspect that the problem is related to the fact that the autopackage version of wxWIdgets (which is static linked in) is built without libGnomePrint support, whereas the Ubuntu package uses the Ubuntu wxWidgets which is (I believe) built with libGnomePrint on. As Xtreme/Xaralx produces native postscript, it needs to delve into the internals of the wxWidgets printing mechanism in order to use the wx print UI (whether libGnomePrint or native), then use the native printing mechanism whichever is used. Unfortunately it isn't possible (to my knowledge) to persuade wxWidgets /not/ to use libGnomePrint at run time (and anyway, the dialog looks nicer). Therefore there is a slightly different code path when libGnomePrint is used (within Xaralx) to cope with the fact that wxWidgets returns a different type of print object. Now, this should all work (and indeed did under Dapper), so I don't know what has broken it. I don't think many of the wxWidgets developers use libGnomePrint (it's a build flag that defaults off), so it is possible that printing is just broken under wxWidgets on Ubuntu. This could be checked by seeing whether the printing sample works (should be in the wxWidgets source package) and if so whether it uses the right dialog. Sorry not to have time to do this myself.

Mackenzie Morgan (maco.m) wrote :

Hardy was unstable last time there was activity on this bug. Is this problem still present in Hardy 8.04.1? What about in Intrepid?

My packages are completely up to date, and I'm still seeing this issue in Hardy.

When I ran under GDB, I noticed that a popup window shows up just before it crashes completely, (after one segfault and three broken pipes) which says "An extremely serious error has occurred. Xara Xtreme may be not be able to recover. If possible, save your work under a different filename and exit immediately. Do you want to attempt to save your work before quitting?". One more continue and the program segfaults again and is gone.

Daniel T Chen (crimsun) on 2008-09-18
Changed in xaralx:
importance: Undecided → Medium
status: New → Confirmed
Hospik (jmhospers) wrote :

I just installed xaralx on Intrepid and the problem persists. No printing for me, as soon as I hit the "print" button, the program crashes.

Mackenzie Morgan (maco.m) wrote :

Could one of you post attach a backtrace as described on https://wiki.ubuntu.com/DebuggingProgramCrash ? Thanks.

Changed in xaralx:
status: Confirmed → Incomplete
Hospik (jmhospers) wrote :

Created a backtrace for you:

Martin Brook (martin.brook) wrote :
Download full text (4.8 KiB)

Confirmed on Intrepid; print (to any printer) and print preview all produce segfault.

Command line output includes:

(xaralx:21870): GnomePrintCupsPlugin-WARNING **: The data for the CUPS printer PDF could not be loaded.

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

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

(xaralx:21870): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(xaralx:21870): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(xaralx:21870): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(xaralx:21870): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(xaralx:21870): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(xaralx:21870): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(xaralx:21870): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(xaralx:21870): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(xaralx:21870): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

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

(xaralx:21870): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(xaralx:21870): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(xaralx:21870): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(xaralx:21870): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(xaralx:21870): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

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

(xaralx:21870): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(xaralx:21870): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(xaralx:21870): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(xaralx:21870): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(xaralx:21870): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(xaralx:21870): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(xaralx:21870): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(xaralx:21870): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

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

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

(xaralx:21870): Gtk...

Read more...

Changed in xaralx:
status: Incomplete → Confirmed
Dani (damufo) wrote :
Download full text (4.1 KiB)

When trying to print (on my postscript printer) I get a core crash:

~$ glabels

(glabels:12632): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(glabels:12632): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(glabels:12632): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(glabels:12632): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(glabels:12632): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(glabels:12632): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(glabels:12632): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(glabels:12632): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(glabels:12632): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(glabels:12632): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(glabels:12632): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(glabels:12632): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(glabels:12632): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(glabels:12632): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(glabels:12632): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
glabels-Message: Missing Object-barcode data or field attr

(glabels:12632): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(glabels:12632): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(glabels:12632): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(glabels:12632): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(glabels:12632): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(glabels:12632): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(glabels:12632): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(glabels:12632): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(glabels:12632): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(glabels:12632): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(glabels:12632): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(glabels:12632): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(glabels:12632): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(glabels...

Read more...

NoOp (glgxg) wrote :

Same issue even when trying to print to cups-pdf:

$ apt-cache policy xaralx
xaralx:
  Installed: 0.7r1785-2ubuntu2
  Candidate: 0.7r1785-2ubuntu2
  Version table:
 *** 0.7r1785-2ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/multiverse Packages
        100 /var/lib/dpkg/status

...
(xaralx:2198): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(xaralx:2198): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

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

No crash data is logged in /var/crash.

Changed in xaralx (Debian):
status: Unknown → Confirmed
Changed in xaralx (Debian):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.