After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 350122 - Critical warning in gnome_paper_selector_load_paper_size
Critical warning in gnome_paper_selector_load_paper_size
Status: RESOLVED OBSOLETE
Product: gnome-print
Classification: Deprecated
Component: general
unspecified
Other All
: High critical
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2006-08-06 04:53 UTC by Brent Smith (smitten)
Modified: 2009-11-27 05:16 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Brent Smith (smitten) 2006-08-06 04:53:08 UTC
What were you doing when the application crashed?
I clicked on the File -> Print... menu item for the second time since the application 
was opened.

After force quitting the application, I am no longer able to restart it from the terminal.
Strace'ing the application gives the following at the end of the strace output:

stat64("/tmp/gedit.testuser.1603981544", {st_mode=S_IFSOCK|0755, st_size=0, ...}) = 0
geteuid32()                             = 1001
close(14)                               = 0
stat64("/tmp/gedit.testuser.1603981544", {st_mode=S_IFSOCK|0755, st_size=0, ...}) = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 14
connect(14, {sa_family=AF_FILE, path="/tmp/gedit.testuser.1603981544"}, 110) = 0
fstat64(14, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
fcntl64(14, F_GETFL)                    = 0x2 (flags O_RDWR)
write(3, "\22\0\20\0\1\0 \1\37\1\0\0\37\0\0\0\10\0\5\0%\0\0\0001"..., 92) = 92
read(3, "\34\225S\0\1\0 \1\37\1\0\0Lw\322\341\0v\322\3418g\35\10"..., 32) = 32
read(3, "\1\316T\0\0\0\0\0!\1\0\0\0\0\0\0\0\0\0\0\34\0\0\0\34\0"..., 32) = 32
write(3, "\24\0\6\0\31\1\0\0!\1\0\0\6\0\0\0\0\0\0\0\377\377\377\177"..., 24) = 24
read(3, "\1 U\0\1\0\0\0\6\0\0\0\0\0\0\0\1\0\0\0\30\0\0\0\30\0\0"..., 32) = 32
read(3, "\0\0\0\0", 4)                  = 4
write(14, "0\t:1.0\t0\t0\n", 11)        = 11
close(14)                               = 0
close(14)                               = -1 EBADF (Bad file descriptor)
writev(13, [{"GIOP\1\2\1\5\0\0\0\0", 12}], 1) = 12
close(13)                               = 0
writev(11, [{"GIOP\1\2\1\5\0\0\0\0", 12}], 1) = 12
close(11)                               = 0
close(9)                                = 0
close(8)                                = 0
unlink("/tmp/orbit-testuser/linc-17b7-0-9fe3cc1e141f") = 0
close(12)                               = 0
exit_group(0)                           = ?
testuser@home:~$ 

This is the exact behavior I have seen with another application that crashed (totem).
Please see bug 350118



Distribution: Ubuntu 6.06 (dapper)
Gnome Release: 2.15.90 2006-08-05 (JHBuild)
BugBuddy Version: 2.15.91

Memory status: size: 51744768 vsize: 0 resident: 51744768 share: 0 rss: 20398080 rss_rlim: 0
CPU usage: start_time: 1154839808 rtime: 0 utime: 178 stime: 0 cutime:164 cstime: 0 timeout: 14 it_real_value: 0 frequency: 0

Backtrace was generated from '/opt/gnome2/bin/gedit'

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1229670720 (LWP 6051)]
0xffffe410 in __kernel_vsyscall ()
  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 libgnomeui_segv_handle
    at gnome-ui-init.c line 867
  • #3 <signal handler called>
  • #4 g_logv
    at gmessages.c line 493
  • #5 g_log
    at gmessages.c line 517
  • #6 g_return_if_fail_warning
  • #7 gnome_paper_selector_load_paper_size
    at gnome-print-paper-selector.c line 250
  • #8 gnome_paper_selector_printer_changed_cb
    at gnome-print-paper-selector.c line 311
  • #9 g_cclosure_marshal_VOID__UINT
    at gmarshal.c line 251
  • #10 g_closure_invoke
    at gclosure.c line 490
  • #11 signal_emit_unlocked_R
    at gsignal.c line 2438
  • #12 g_signal_emit_valist
    at gsignal.c line 2197
  • #13 g_signal_emit
    at gsignal.c line 2241
  • #14 gpa_node_emit_modified
    at gpa-node.c line 317
  • #15 selection_changed_cb
    at gpa-printer-selector.c line 350
  • #16 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #17 g_closure_invoke
    at gclosure.c line 490
  • #18 signal_emit_unlocked_R
    at gsignal.c line 2438
  • #19 g_signal_emit_valist
    at gsignal.c line 2197
  • #20 g_signal_emit
    at gsignal.c line 2241
  • #21 _gtk_tree_selection_internal_select_node
    at gtktreeselection.c line 1409
  • #22 IA__gtk_tree_selection_select_path
    at gtktreeselection.c line 742
  • #23 IA__gtk_tree_selection_select_iter
    at gtktreeselection.c line 810
  • #24 gpa_printer_selector_printer_added
    at gpa-printer-selector.c line 544
  • #25 gpa_printer_selector_construct
    at gpa-printer-selector.c line 593
  • #26 gpa_widget_construct
    at gpa-widget.c line 138
  • #27 gnome_printer_selector_new
    at gnome-printer-selector.c line 256
  • #28 gnome_print_dialog_set_config
    at gnome-print-dialog.c line 476
  • #29 gnome_print_dialog_set_property
    at gnome-print-dialog.c line 535
  • #30 object_set_property
    at gobject.c line 695
  • #31 g_object_newv
    at gobject.c line 929
  • #32 g_object_new_valist
    at gobject.c line 996
  • #33 g_object_new
    at gobject.c line 793
  • #34 gedit_print_dialog_new
    at gedit-print.c line 313
  • #35 _gedit_cmd_file_print
    at gedit-commands-file-print.c line 173
  • #36 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #37 g_closure_invoke
    at gclosure.c line 490
  • #38 signal_emit_unlocked_R
    at gsignal.c line 2438
  • #39 g_signal_emit_valist
    at gsignal.c line 2197
  • #40 g_signal_emit
    at gsignal.c line 2241
  • #41 _gtk_action_emit_activate
    at gtkaction.c line 835
  • #42 IA__gtk_action_activate
    at gtkaction.c line 862
  • #43 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #44 g_closure_invoke
    at gclosure.c line 490
  • #45 signal_emit_unlocked_R
    at gsignal.c line 2438
  • #46 g_signal_emit_valist
    at gsignal.c line 2197
  • #47 g_signal_emit
    at gsignal.c line 2241
  • #48 IA__gtk_widget_activate
    at gtkwidget.c line 3932
  • #49 IA__gtk_menu_shell_activate_item
    at gtkmenushell.c line 1024
  • #50 gtk_menu_shell_button_release
    at gtkmenushell.c line 630
  • #51 gtk_menu_button_release
    at gtkmenu.c line 2619
  • #52 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 83
  • #53 g_type_class_meta_marshal
    at gclosure.c line 567
  • #54 g_closure_invoke
    at gclosure.c line 490
  • #55 signal_emit_unlocked_R
    at gsignal.c line 2476
  • #56 g_signal_emit_valist
    at gsignal.c line 2207
  • #57 g_signal_emit
    at gsignal.c line 2241
  • #58 gtk_widget_event_internal
    at gtkwidget.c line 3901
  • #59 IA__gtk_widget_event
    at gtkwidget.c line 3707
  • #60 IA__gtk_propagate_event
    at gtkmain.c line 2187
  • #61 IA__gtk_main_do_event
    at gtkmain.c line 1421
  • #62 gdk_event_dispatch
    at gdkevents-x11.c line 2320
  • #63 g_main_dispatch
    at gmain.c line 2043
  • #64 g_main_context_dispatch
    at gmain.c line 2594
  • #65 g_main_context_iterate
    at gmain.c line 2675
  • #66 g_main_loop_run
    at gmain.c line 2879
  • #67 IA__gtk_main
    at gtkmain.c line 1000
  • #68 main
    at gedit.c line 570

Comment 1 Brent Smith (smitten) 2006-08-06 04:56:53 UTC
I was able to run gedit again by deleting the tmp file in /tmp/gedit.testuser.1603981544

File -> Print error is reproducible by doing the following.
Open Gedit
click File -> Print...
click cancel
click File -> Print...

This is the output to the terminal:

testuser@home:~$ gedit &
[2] 6094
testuser@home:~$ 
** (gedit:6087): WARNING **: could not set the value of Settings.Document.Filter, node not found

libgnomeprintui-CRITICAL **: gnome_paper_selector_load_paper_size: assertion `GNOME_IS_PAPER_SELECTOR (ps)' failed
aborting...

** (bug-buddy:6098): WARNING **: Couldn't load icon for Bonobo Component Browser

** (bug-buddy:6098): WARNING **: Couldn't load icon for Open Folder
glibtop: This machine has 1 CPUs, 1 are being monitored.
Error while running hook_stop:
Invalid type combination in ordering comparison.
Comment 2 Steve Frécinaux 2006-08-16 14:21:09 UTC
Does it still happen with latest 2.15 ? I can't reproduce it.
Comment 3 Paolo Maggi 2006-08-21 13:41:19 UTC
I cannot reproduce it on both CVS HEAD and 2.14.

The fact gedit did not start after the crash seems due to a staled bacon connection and it is not related to the crash.

The crash is due to a CRITICAL warning by libgnomeprintui.

Moving to gnome-print.
Comment 4 Kjartan Maraas 2006-12-13 12:39:44 UTC
Still here with 2.17.x:

Distribution: Fedora Core release 6 (Rawhide)
Gnome Release: 2.17.2 2006-11-07 (Red Hat, Inc)
BugBuddy Version: 2.17.2

System: Linux 2.6.18-1.2849.fc6 #1 SMP Fri Nov 10 12:45:28 EST 2006 i686
X Vendor: The X.Org Foundation
X Vendor Release: 70101000
Selinux: No
Accessibility: Disabled

Memory status: size: 78274560 vsize: 0 resident: 78274560 share: 0 rss: 18337792 rss_rlim: 0
CPU usage: start_time: 1166013361 rtime: 0 utime: 119 stime: 0 cutime:105 cstime: 0 timeout: 14 it_real_value: 0 frequency: 0

Backtrace was generated from '/usr/bin/gedit'

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1208522528 (LWP 876)]
0x00c90402 in __kernel_vsyscall ()
  • #0 __kernel_vsyscall
  • #1 waitpid
    from /lib/libpthread.so.0
  • #2 libgnomeui_segv_handle
    at gnome-ui-init.c line 870
  • #3 <signal handler called>
  • #4 gpa_node_set_path_value
    at gpa-node.c line 390
  • #5 gnome_print_config_set
    at gnome-print-config.c line 329
  • #6 gnome_print_config_set_int
    at gnome-print-config.c line 546
  • #7 buffer_set
    at gedit-print.c line 168
  • #8 IA__g_cclosure_marshal_VOID__PARAM
    at gmarshal.c line 531
  • #9 IA__g_closure_invoke
    at gclosure.c line 490
  • #10 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #11 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #12 IA__g_signal_emit
    at gsignal.c line 2243
  • #13 g_object_dispatch_properties_changed
    at gobject.c line 563
  • #14 g_object_notify_dispatcher
    at gobject.c line 245
  • #15 IA__g_object_newv
    at gobjectnotifyqueue.c line 123
  • #16 IA__g_object_new_valist
    at gobject.c line 1022
  • #17 IA__g_object_new
    at gobject.c line 795
  • #18 gedit_print_job_new
    at gedit-print.c line 269
  • #19 _gedit_cmd_file_print
    at gedit-commands-file-print.c line 171
  • #20 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #21 IA__g_closure_invoke
    at gclosure.c line 490
  • #22 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #23 IA__g_signal_emit_valist
  • #24 IA__g_signal_emit
    at gsignal.c line 2243
  • #25 _gtk_action_emit_activate
    at gtkaction.c line 835
  • #26 IA__gtk_action_activate
    at gtkaction.c line 862
  • #27 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #28 IA__g_closure_invoke
    at gclosure.c line 490
  • #29 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #30 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #31 IA__g_signal_emit
    at gsignal.c line 2243
  • #32 IA__gtk_widget_activate
    at gtkwidget.c line 3942
  • #33 IA__gtk_menu_shell_activate_item
    at gtkmenushell.c line 1024
  • #34 gtk_real_menu_item_activate_item
    at gtkmenuitem.c line 982
  • #35 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #36 g_type_class_meta_marshal
    at gclosure.c line 567
  • #37 IA__g_closure_invoke
    at gclosure.c line 490
  • #38 signal_emit_unlocked_R
    at gsignal.c line 2370
  • #39 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #40 IA__g_signal_emit
    at gsignal.c line 2243
  • #41 gtk_menu_item_mnemonic_activate
    at gtkmenuitem.c line 963
  • #42 _gtk_marshal_BOOLEAN__BOOLEAN
    at gtkmarshalers.c line 826
  • #43 g_type_class_meta_marshal
    at gclosure.c line 567
  • #44 IA__g_closure_invoke
    at gclosure.c line 490
  • #45 signal_emit_unlocked_R
    at gsignal.c line 2478
  • #46 IA__g_signal_emit_valist
    at gsignal.c line 2209
  • #47 IA__g_signal_emit
    at gsignal.c line 2243
  • #48 IA__gtk_widget_mnemonic_activate
    at gtkwidget.c line 3626
  • #49 gtk_label_mnemonic_activate
    at gtklabel.c line 888
  • #50 _gtk_marshal_BOOLEAN__BOOLEAN
    at gtkmarshalers.c line 826
  • #51 g_type_class_meta_marshal
    at gclosure.c line 567
  • #52 IA__g_closure_invoke
    at gclosure.c line 490
  • #53 signal_emit_unlocked_R
    at gsignal.c line 2478
  • #54 IA__g_signal_emit_valist
    at gsignal.c line 2209
  • #55 IA__g_signal_emit
    at gsignal.c line 2243
  • #56 IA__gtk_widget_mnemonic_activate
    at gtkwidget.c line 3626
  • #57 _gtk_mnemonic_hash_activate
    at gtkmnemonichash.c line 156
  • #58 gtk_menu_shell_key_press
    at gtkmenushell.c line 1426
  • #59 gtk_menu_key_press
    at gtkmenu.c line 2681
  • #60 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 84
  • #61 g_type_class_meta_marshal
    at gclosure.c line 567
  • #62 IA__g_closure_invoke
    at gclosure.c line 490
  • #63 signal_emit_unlocked_R
    at gsignal.c line 2478
  • #64 IA__g_signal_emit_valist
    at gsignal.c line 2209
  • #65 IA__g_signal_emit
    at gsignal.c line 2243
  • #66 gtk_widget_event_internal
    at gtkwidget.c line 3911
  • #67 IA__gtk_propagate_event
    at gtkmain.c line 2154
  • #68 IA__gtk_main_do_event
    at gtkmain.c line 1422
  • #69 gdk_event_dispatch
    at gdkevents-x11.c line 2320
  • #70 IA__g_main_context_dispatch
    at gmain.c line 2045
  • #71 g_main_context_iterate
    at gmain.c line 2677
  • #72 IA__g_main_loop_run
    at gmain.c line 2881
  • #73 IA__gtk_main
    at gtkmain.c line 1001
  • #74 main
    at gedit.c line 567

Comment 5 André Klapper 2009-08-11 20:10:34 UTC
Is this still an issue in GNOME 2.24/2.26?

Note that gnome-print has been deprecated and superseded by GTK+ printing functionality since GNOME 2.16. This means that gnome-print is NOT actively maintained anymore.

If your reported issue is still valid for GTK+ printing, please feel free to file a bug report against gtk+/printing.
If it is OBSOLETE, feel free to close this report.
Comment 6 Akhil Laddha 2009-11-27 05:16:34 UTC
Closing this bug report as no further information has been provided. Please 
feel free to reopen the bug if the problem still occurs with a newer
version of GNOME 2.28.1 or later, thanks.