Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2007 12:05:03 +0900
From:      Lachlan Michael <Lachlan.Michael@jp.sony.com>
To:        jahnke@sonatabio.com
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: Major 2.18 Issues... [Cannot print using CUPS printer in 2.18]
Message-ID:  <1176779103.51191.24.camel@apczpv.asprd.sony.co.jp>
In-Reply-To: <1176519940.902.7.camel@pinot.fmjassoc.com>
References:  <1176477788.914.12.camel@pinot.fmjassoc.com> <1176498564.21770.32.camel@shumai.marcuscom.com> <1176519940.902.7.camel@pinot.fmjassoc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2007-04-13 at 20:05 -0700, Frank Jahnke wrote:

> I added "WITH_DEBUG= " to make.conf, and issued a "portupgrade -Rf
> gnome2-office".  After rebuilding for a couple of hours, gnumeric still
> does not print.  It freezes completely when the print panel comes up.
> The command-line messages are:
> 
> pinot% gnumeric
> 
> (gnumeric:1005): GnomePrintCupsPlugin-WARNING **: iconv does not support
> ppd character encoding: UTF-8, trying CSISOLatin1
> 
> ** (gnumeric:1005): WARNING **: Could not find child for option
> "PhysicalSize" with id "Letter"
> 
> ** (gnumeric:1005): WARNING **: rebuild_menu_cb, could not set value of
> PhysicalSize to Letter
> 
> (gnumeric:1005): GLib-GObject-WARNING **: invalid (NULL) pointer
> instance
> 
> (gnumeric:1005): GLib-GObject-CRITICAL **: g_signal_connect_data:
> assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
> 
> ** (gnumeric:1005): CRITICAL **: gpa_spinbutton_load: assertion
> `gpa_spinbutton_is_connected (s)' failed
> 
> (gnumeric:1005): GLib-GObject-WARNING **: invalid (NULL) pointer
> instance
> 
> (gnumeric:1005): GLib-GObject-CRITICAL **: g_signal_connect_data:
> assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
> 
> ** (gnumeric:1005): CRITICAL **: gpa_spinbutton_load: assertion
> `gpa_spinbutton_is_connected (s)' failed
> ^C
> pinot% 
> 
> It does not crash as before, so there is no trace: it just freezes.  I
> would be happy to try other things if they are suggested.
> 
> Frank

Just a me-too.

Problem applications definitely include: gedit, gnumeric, Abiword

Steps to reproduce bug.

1) Open gedit
2) Type some text
3) Print, choose CUPS printer
4) CPU goes high, gedit doesn't respond, must be forcibly killed

I don't know if the following backtrace is helpful or not (it is not a
crash, just a ctrl-c while running under gdb.

Also, as a workaround, I can choose "Generic Printer" and it prints
fine.

Lachlan

 gdb gedit
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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 "i386-marcel-freebsd"...
(gdb) run
Starting program: /usr/local/bin/gedit 
warning: Unable to get location for thread creation breakpoint: generic error
[New LWP 100094]
[New Thread 0x80dc000 (LWP 100238)]

(gedit:73717): GnomePrintCupsPlugin-WARNING **: iconv does not support ppd character encoding: UTF-8, trying CSISOLatin1

** (gedit:73717): WARNING **: Could not find child for option "PhysicalSize" with id "A4"

** (gedit:73717): WARNING **: Could not find child for option "PhysicalSize" with id "A4"

** (gedit:73717): WARNING **: Could not find child for option "PhysicalSize" with id "A4"

** (gedit:73717): WARNING **: Could not find child for option "PhysicalSize" with id "A4"

** (gedit:73717): WARNING **: Could not find child for option "PhysicalSize" with id "Letter"

** (gedit:73717): WARNING **: Could not set value of "PhysicalSize" to "Letter"

** (gedit:73717): WARNING **: rebuild_menu_cb, could not set value of PhysicalSize to A4

(gedit:73717): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gedit:73717): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

** (gedit:73717): CRITICAL **: gpa_spinbutton_load: assertion `gpa_spinbutton_is_connected (s)' failed

(gedit:73717): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gedit:73717): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

** (gedit:73717): CRITICAL **: gpa_spinbutton_load: assertion `gpa_spinbutton_is_connected (s)' failed
^C[New Thread 0x80dc200 (LWP 100236)]

Program received signal SIGINT, Interrupt.
[Switching to Thread 0x80dc200 (LWP 100236)]
0x294ba737 in __sys_sigtimedwait () at sigtimedwait.S:2
2       sigtimedwait.S: No such file or directory.
        in sigtimedwait.S
Current language:  auto; currently asm
(gdb) thread apply all bt

Thread 3 (Thread 0x80dc200 (LWP 100236)):
#0  0x294ba737 in __sys_sigtimedwait () at sigtimedwait.S:2
#1  0x294a9b08 in _thr_getprocsig_unlocked (sig=2, siginfo=0xbf9feeb0)
    at /usr/src/lib/libpthread/thread/thr_sig.c:639
#2  0x294a9a50 in _thr_getprocsig (sig=2, siginfo=0xbf9feeb0)
    at /usr/src/lib/libpthread/thread/thr_sig.c:619
#3  0x294aa5d7 in _thr_sig_add (pthread=0x80dc000, sig=2, info=0x0)
    at /usr/src/lib/libpthread/thread/thr_sig.c:967
#4  0x294a8dc7 in _thr_sig_dispatch (curkse=0x80d6100, sig=2, info=0x0)
    at /usr/src/lib/libpthread/thread/thr_sig.c:276
#5  0x294a8b40 in sig_daemon (arg=0x0)
    at /usr/src/lib/libpthread/thread/thr_sig.c:207
#6  0x294b2aea in kse_sched_single (kmbx=0x159)
    at /usr/src/lib/libpthread/thread/thr_kern.c:886
#7  0x2a149450 in ?? ()

Thread 2 (Thread 0x80dc000 (LWP 100238)):
#0  gnome_print_layout_selector_get_dim (cs=0x86bb1a8, nx=93602143, ny=2, 
    rotate=0, w=0xbfbfe578, h=0xbfbfe570) at gnome-print-layout-selector.c:128
#1  0x2848b7f5 in gnome_print_layout_selector_get_layout (cs=0x86bb1a8, n=2, 
    nx=0x86bb21c, ny=0x86bb220, rot=0x86bb224)
    at gnome-print-layout-selector.c:532
---Type <return> to continue, or q <return> to quit---
#2  0x2848c25c in gnome_print_layout_selector_update_spin_buttons (
    cs=0x86bb1a8) at gnome-print-layout-selector.c:606
#3  0x2848c397 in update_spin_buttons (data=0x86bb1a8)
    at gnome-print-layout-selector.c:623
#4  0x2920b178 in g_idle_dispatch (source=0x86caa00, 
    callback=0x2848c35c <update_spin_buttons>, user_data=0x86bb1a8)
    at gmain.c:3928
#5  0x2920774f in g_main_dispatch (context=0x8135100) at gmain.c:2045
#6  0x29208b41 in IA__g_main_context_dispatch (context=0x8135100)
    at gmain.c:2596
#7  0x2920905e in g_main_context_iterate (context=0x8135100, block=1, 
    dispatch=1, self=0x80df600) at gmain.c:2677
#8  0x2920981c in IA__g_main_loop_run (loop=0x8636130) at gmain.c:2881
#9  0x286df5a6 in IA__gtk_main () at gtkmain.c:1154
#10 0x08066ad5 in main (argc=1, argv=0xbfbfe8b0) at gedit.c:574
Current language:  auto; currently c
0x294ba737      2       in sigtimedwait.S
Current language:  auto; currently asm
(gdb) quit
The program is running.  Exit anyway? (y or n) y
> 







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1176779103.51191.24.camel>