help needed with gnome-print



Title: help needed with gnome-print

I am running Debian 2.1 and have ximian installed.  I have a program that uses gnome-print to produce postscript output and am getting an error with this.  It looks like this is crashing when trying to build the print dialog box.

Any help or guidance is appreciated.

+-(lcastf febc)-(pts)-(10:34am:24/03/02)--

+-(~/tnt)> gdb print_profile
GNU gdb 19990928
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) break main
Breakpoint 1 at 0x8049009: file print_profile.c, line 54.
(gdb) run 1
Starting program: /home/lcastf/tnt/print_profile 1

Breakpoint 1, main (argc=2, argv=0xbffffb44) at print_profile.c:54
warning: Source file is more recent than executable.

54          if (argc > 0) {
(gdb) n
55              staffid = atoi(argv[1]);
(gdb)
56              printf("Processing: staff id = %d\n", staffid);
(gdb)
Processing: staff id = 1
57          } else {
(gdb)
62          dy_c = 9;
(gdb)
63          dy_h = 11;
(gdb)
65          printer = gnome_printer_dialog_new_modal();
(gdb)

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtktypeutils.c: line 337 (gtk_type_class): assertion `node != NULL' failed.

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkContainer::border_width" is not in the `(null)' ancestry

Gtk-CRITICAL **: file gtkobject.c: line 939 (gtk_object_add_arg_type): assertion `arg_type > GTK_TYPE_NONE' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtkobject.c: line 939 (gtk_object_add_arg_type): assertion `arg_type > GTK_TYPE_NONE' failed.

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkContainer::reallocate_redraws" is not in the `(null)' ancestry

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed.

Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed.

Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed.

Gtk-CRITICAL **: file gtkobject.c: line 357 (gtk_object_class_add_signals): assertion `GTK_IS_OBJECT_CLASS (class)' failed.

Gtk-CRITICAL **: file gtkobject.c: line 939 (gtk_object_add_arg_type): assertion `arg_type > GTK_TYPE_NONE' failed.

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkWindow::title" is not in the `(null)' ancestry

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkWindow::auto_shrink" is not in the `(null)' ancestry

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkWindow::allow_shrink" is not in the `(null)' ancestry

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkWindow::allow_grow" is not in the `(null)' ancestry

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkWindow::modal" is not in the `(null)' ancestry

Gtk-CRITICAL **: file gtkobject.c: line 939 (gtk_object_add_arg_type): assertion `arg_type > GTK_TYPE_NONE' failed.

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkWindow::default_width" is not in the `(null)' ancestry

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkWindow::default_height" is not in the `(null)' ancestry

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed.

Gtk-CRITICAL **: file gtkobject.c: line 357 (gtk_object_class_add_signals): assertion `GTK_IS_OBJECT_CLASS (class)' failed.

Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed.

Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed.

Gtk-CRITICAL **: file gtkobject.c: line 357 (gtk_object_class_add_signals): assertion `GTK_IS_OBJECT_CLASS (class)' failed.

Gtk-WARNING **: invalid cast from `GtkBin' to `(unknown)'

Gtk-WARNING **: invalid cast from `GtkWindow' to `(unknown)'

Gtk-WARNING **: invalid cast from `GtkWindow' to `(unknown)'

Gtk-WARNING **: invalid cast from `GtkWindow' to `(unknown)'

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtkwidget.c: line 2285 (gtk_widget_queue_resize): assertion `GTK_IS_WIDGET (widget)' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtkwidget.c: line 4873 (gtk_widget_ref): assertion `GTK_IS_WIDGET (widget)' failed.

Gtk-WARNING **: invalid cast from `GtkWindow' to `(unknown)'

Gtk-CRITICAL **: file gtkobject.c: line 457 (gtk_object_sink): assertion `GTK_IS_OBJECT (object)' failed.

Gtk-WARNING **: invalid cast from `GnomeDialog' to `(unknown)'

Gtk-CRITICAL **: file gtkaccelgroup.c: line 187 (gtk_accel_group_attach): assertion `GTK_IS_OBJECT (object)' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkFrame::label" is not in the `(null)' ancestry

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkFrame::label_xalign" is not in the `(null)' ancestry

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkFrame::label_yalign" is not in the `(null)' ancestry

Gtk-CRITICAL **: file gtkobject.c: line 939 (gtk_object_add_arg_type): assertion `arg_type > GTK_TYPE_NONE' failed.

Gtk-WARNING **: invalid cast from `GtkBin' to `(unknown)'

Gtk-WARNING **: invalid cast from `GtkFrame' to `(unknown)'

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtkwidget.c: line 2285 (gtk_widget_queue_resize): assertion `GTK_IS_WIDGET (widget)' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtkcontainer.c: line 714 (gtk_container_add): assertion `GTK_IS_WIDGET (widget)' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtkwidget.c: line 1428 (gtk_widget_show): assertion `GTK_IS_WIDGET (widget)' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkBox::spacing" is not in the `(null)' ancestry

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkBox::homogeneous" is not in the `(null)' ancestry

Gtk-CRITICAL **: file gtkarg.c: line 68 (gtk_arg_type_new_static): assertion `GTK_FUNDAMENTAL_TYPE (base_class_type) == GTK_TYPE_OBJECT' failed.

Gtk-CRITICAL **: file gtkarg.c: line 68 (gtk_arg_type_new_static): assertion `GTK_FUNDAMENTAL_TYPE (base_class_type) == GTK_TYPE_OBJECT' failed.

Gtk-CRITICAL **: file gtkarg.c: line 68 (gtk_arg_type_new_static): assertion `GTK_FUNDAMENTAL_TYPE (base_class_type) == GTK_TYPE_OBJECT' failed.

Gtk-CRITICAL **: file gtkcontainer.c: line 535 (gtk_container_add_child_arg_type): assertion `arg_type > GTK_TYPE_NONE' failed.

Gtk-CRITICAL **: file gtkarg.c: line 68 (gtk_arg_type_new_static): assertion `GTK_FUNDAMENTAL_TYPE (base_class_type) == GTK_TYPE_OBJECT' failed.

Gtk-WARNING **: invalid cast from `GtkBox' to `(unknown)'

Gtk-WARNING **: invalid cast from `GtkVBox' to `(unknown)'

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtkcontainer.c: line 714 (gtk_container_add): assertion `GTK_IS_WIDGET (widget)' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtkwidget.c: line 1428 (gtk_widget_show): assertion `GTK_IS_WIDGET (widget)' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtkwidget.c: line 2285 (gtk_widget_queue_resize): assertion `GTK_IS_WIDGET (widget)' failed.

Gtk-WARNING **: invalid cast from `GtkBox' to `(unknown)'

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtkwidget.c: line 3358 (gtk_widget_set_parent): assertion `GTK_IS_WIDGET (widget)' failed.

Gtk-WARNING **: invalid cast from `GtkVBox' to `(unknown)'

Gtk-WARNING **: invalid cast from `GtkVBox' to `(unknown)'

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtkwidget.c: line 1428 (gtk_widget_show): assertion `GTK_IS_WIDGET (widget)' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-WARNING **: invalid cast from `GnomePrinterDialog' to `(unknown)'

Gtk-WARNING **: invalid cast from `GnomePrinterDialog' to `(unknown)'

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed.

Gtk-WARNING **: invalid cast from `GtkBox' to `(unknown)'

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtkwidget.c: line 3358 (gtk_widget_set_parent): assertion `GTK_IS_WIDGET (widget)' failed.

Gtk-WARNING **: invalid cast from `GtkVBox' to `(unknown)'

Gtk-WARNING **: invalid cast from `GtkVBox' to `(unknown)'

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtkwidget.c: line 1428 (gtk_widget_show): assertion `GTK_IS_WIDGET (widget)' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed.

Gtk-WARNING **: invalid class type `GtkSeparator' in cast to `(unknown)'

Program received signal SIGSEGV, Segmentation fault.
0x40279997 in gtk_hseparator_get_type () from /usr/lib/libgtk-1.2.so.0
(gdb) back
#0  0x40279997 in gtk_hseparator_get_type () from /usr/lib/libgtk-1.2.so.0
#1  0x402e2d90 in gtk_type_new () from /usr/lib/libgtk-1.2.so.0
#2  0x402799c5 in gtk_hseparator_new () from /usr/lib/libgtk-1.2.so.0
#3  0x406618d0 in gnome_dialog_get_type () from /usr/lib/libgnomeui.so.32
#4  0x40661df9 in gnome_dialog_append_button () from /usr/lib/libgnomeui.so.32
#5  0x4008bef3 in gnome_printer_dialog_new () from /usr/lib/libgnomeprint.so.11
#6  0x4008c05a in gnome_printer_dialog_new_modal ()
   from /usr/lib/libgnomeprint.so.11
#7  0x8049079 in main (argc=2, argv=0xbffffb44) at print_profile.c:65
(gdb) quit
The program is running.  Exit anyway? (y or n) y
+-(lcastf febc)-(pts)-(10:34am:24/03/02)--

+-(~/tnt)> exit

Script done on Sun Mar 24 10:34:57 2002

Ed Davison
Sr. Systems Analyst/Database Administrator
McCombs School of Business
(512) 475-8090
http://www.bus.utexas.edu/services/cbacc/dbsupport



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