Summary: | openoffice-[bin] hangs when cups server is not reachable | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michal Špondr <michal.spondr> |
Component: | Current packages | Assignee: | Gentoo Office Team <office> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | esigra |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | This documents causes hanging of OpenOffice 2.4.1 while opening for cca 3 minutes |
Description
Michal Špondr
2008-08-07 18:07:27 UTC
Created attachment 162452 [details]
This documents causes hanging of OpenOffice 2.4.1 while opening for cca 3 minutes
I can't open this file on openoffice-bin-2.4.1 on amd64. It's possible to open this document of openoffice-bin-2.4.1 on i686 platform.
After overnight compilation of openoffice-2.4.1 I've found out that this is the problem of non-binary version, too. USE flags for app-office/openoffice-2.4.1: $ equery uses openoffice [ Searching for packages matching openoffice... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for app-office/openoffice-2.4.1 ] U I - - binfilter : Enable support for legacy StarOffice 5.x and earlier file formats + + cups : Add support for CUPS (Common Unix Printing System) + + dbus : Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc) - - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml - - eds : Enables support for Evolution-Data-Server (EDS) - - elibc_FreeBSD : <unknown> - - firefox : Build against Firefox instead of Seamonkey/Mozilla - - gnome : Adds GNOME support - - gstreamer : Adds support for media-libs/gstreamer (Streaming media) + + gtk : Adds support for x11-libs/gtk+ (The GIMP Toolkit) - - java : Adds support for Java - - kde : Adds support for kde-base/kde (K Desktop Enviroment) - - ldap : Adds LDAP support (Lightweight Directory Access Protocol) - - linguas_af : <unknown> - - linguas_ar : <unknown> - - linguas_as_IN : <unknown> - - linguas_be_BY : <unknown> - - linguas_bg : <unknown> - - linguas_bn : <unknown> - - linguas_br : <unknown> - - linguas_bs : <unknown> - - linguas_ca : <unknown> + + linguas_cs : <unknown> - - linguas_cy : <unknown> - - linguas_da : <unknown> - - linguas_de : <unknown> - - linguas_dz : <unknown> - - linguas_el : <unknown> - - linguas_en : <unknown> - - linguas_en_GB : <unknown> - - linguas_en_US : <unknown> - - linguas_en_ZA : <unknown> - - linguas_eo : <unknown> - - linguas_es : <unknown> - - linguas_et : <unknown> - - linguas_fa : <unknown> - - linguas_fi : <unknown> - - linguas_fr : <unknown> - - linguas_ga : <unknown> - - linguas_gl : <unknown> - - linguas_gu_IN : <unknown> - - linguas_he : <unknown> - - linguas_hi_IN : <unknown> - - linguas_hr : <unknown> - - linguas_hu : <unknown> - - linguas_it : <unknown> - - linguas_ja : <unknown> - - linguas_km : <unknown> - - linguas_ko : <unknown> - - linguas_ku : <unknown> - - linguas_lt : <unknown> - - linguas_lv : <unknown> - - linguas_mk : <unknown> - - linguas_ml_IN : <unknown> - - linguas_mr_IN : <unknown> - - linguas_nb : <unknown> - - linguas_ne : <unknown> - - linguas_nl : <unknown> - - linguas_nn : <unknown> - - linguas_nr : <unknown> - - linguas_ns : <unknown> - - linguas_or_IN : <unknown> - - linguas_pa_IN : <unknown> - - linguas_pl : <unknown> - - linguas_pt : <unknown> - - linguas_pt_BR : <unknown> - - linguas_ru : <unknown> - - linguas_rw : <unknown> - - linguas_sh : <unknown> - - linguas_sk : <unknown> - - linguas_sl : <unknown> - - linguas_sr : <unknown> - - linguas_ss : <unknown> - - linguas_st : <unknown> - - linguas_sv : <unknown> - - linguas_sw_TZ : <unknown> - - linguas_ta_IN : <unknown> - - linguas_te_IN : <unknown> - - linguas_tg : <unknown> - - linguas_th : <unknown> - - linguas_ti_ER : <unknown> - - linguas_tn : <unknown> - - linguas_tr : <unknown> - - linguas_ts : <unknown> - - linguas_uk : <unknown> - - linguas_ur_IN : <unknown> - - linguas_ve : <unknown> - - linguas_vi : <unknown> - - linguas_xh : <unknown> - - linguas_zh_CN : <unknown> - - linguas_zh_TW : <unknown> - - linguas_zu : <unknown> - - mono : Build Mono bindings to support dotnet type stuff - - odk : Build the Office Development Kit + + opengl : Adds support for OpenGL (3D graphics) + + pam : Adds support PAM (Pluggable Authentication Modules) - DANGEROUS to arbitrarily flip - - seamonkey : Adds support for the Seamonkey web-browser - - xulrunner : Build native browser integration against xulrunner instead of firefox or seamonkey I tried to recompile openoffice-2.4.1 with debug flag enabled, but unfortunattely the binary is stripped. :-/ If I try to backtrace it in ddd while it hangs, it shows: ... #6 ... in Printer::Printer () from libvcl680lx.so #5 ... in ?? () from libvcl680lx.so #4 ... in ?? () from libvcl680lx.so #3 ... in X11SalInstance::GetPrinterQueueInfo() from libvclplug_gen680lx.so #2 ... in psp::CUPSManager::checkPrintersChanged() from libpsp680lx.so #1 ... in osl_joinWithThread() from libuno_sal.so.3 #0 ... in pthread_join() from libpthread.so.0 However when I wait for about 3 minutes, it continues working normally (I've found out it while debugging). So I think it has something to do with thread joining - it waits long time for another thread. I have cupsd installed, but it behaves in the same way whether the cupsd is started or not. Finally I've found out where the problem is. It similar to this problem "hangs when cups server is not reachable": http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457761 If I remove the line "ServerName m1c4a1" from /etc/cups/client.conf (remote printing doesn't work for me yet, because it's incorrectly set), OpenOffice opens the file without delay. Do you still see this with 3.0? (In reply to comment #5) > Do you still see this with 3.0? > It seems to work Move deprecated bugs still being marked as LATER to Fixed. |