Bug#256826: openoffice.org-bin: hangs for several minutes, when print server is off
Package: openoffice.org-bin
Version: 1.1.1-3
Severity: normal
I try to open (but not print) a document:
strcmp:~/texte/div> strace oowriter Mousse.doc
...
munmap(0x47679000, 86070) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 19
connect(19, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 28) = 0
send(19, "\234\265\1\0\0\1\0\0\0\0\0\0\6noname\4libc\0\0\1\0\1", 29, 0) = 29
gettimeofday({1088505750, 901894}, NULL) = 0
poll([{fd=19, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(19, FIONREAD, [84]) = 0
recvfrom(19, "\234\265\201\200\0\1\0\1\0\1\0\0\6noname\4libc\0\0\1\0"..., 1024, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, [16]) = 84
close(19) = 0
time(NULL) = 1088505750
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 19
fcntl64(19, F_SETFD, FD_CLOEXEC) = 0
setsockopt(19, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
setsockopt(19, SOL_TCP, TCP_NODELAY, [1], 4) = 0
connect(19, {sa_family=AF_INET, sin_port=htons(631), sin_addr=inet_addr("192.168.171.4")}, 16
and the window freezes. After several minutes the program runs again and
shows me the document.
As you may have noticed, noname.libc aka 192.168.171.4 is my print
server, but it is switched off normally, to save energy and not heat my
bedroom and disturb my sleep. I only boot this cups server, if i want to
print. But i don't do that now, i just want to view the document.
What business does ooo have with the print server, if i am not printing?
How does it even _know_ it was there once? Last time i used ooo was
before the last reboot. Does it save that information
anywhere, and how is this supposed to work with notebooks etc?
Btw, if i just exit the hanging program with Control-C on the terminal,
the next time i get the message
strcmp:~/texte/div> oowriter Mousse.doc
OpenOffice.org lockfile found (/home/wu/.openoffice/1.0.1/.lock)
Using existing OpenOffice.org
What is this lockfile? Why is it left there on a seemingly clean exit?
May the "1.0.1" be the problem? Shall i remove ~/.sversionrc and start
over?
-- System Information
Debian Release: 3.0-bunk-1
Architecture: i386
Kernel: Linux strcmp.libc 2.6.7-strcmp.2 #1 Sat Jun 19 16:57:21 CEST 2004 i686
Locale: LANG=C, LC_CTYPE=de_DE
Versions of packages openoffice.org-bin depends on:
ii debconf 1.2.34 Debian configuration management sy
ii libart-2.0-2 2.3.16-5 Library of functions for 2D graphi
ii libaudio2 1.6c-4 The Network Audio System (NAS). (s
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii libcurl2 7.11.2-1 Multi-protocol file transfer libra
ii libdb3++c102 3.2.9-20 Berkeley v3 Database Libraries for
ii libfontconfig1 2.2.2-2 generic font configuration library
ii libfreetype6 2.1.7-2.1 FreeType 2 font engine, shared lib
ii libgcc1 1:3.3.4-1 GCC support library
ii libice6 4.3.0.dfsg.1-4 Inter-Client Exchange library
ii libmyspell3 1:3.1-5 MySpell spellchecking library
ii libneon23 0.23.9.dfsg.3-2 An HTTP and WebDAV client library
ii libsm6 4.3.0.dfsg.1-4 X Window System Session Management
ii libstdc++5 1:3.3.4-1 The GNU Standard C++ Library v3
ii libstlport4.6 4.6.2-1 STLport C++ class library
ii libx11-6 4.3.0.dfsg.1-4 X Window System protocol client li
ii libxaw7 4.2.1-3.bunk.10 X Athena widget set library
ii libxext6 4.3.0.dfsg.1-4 X Window System miscellaneous exte
ii libxt6 4.3.0.dfsg.1-4 X Toolkit Intrinsics
ii openoffice.org 1.1.1-3 high-quality office productivity s
ii xlibs 4.3.0.dfsg.1-4 X Window System client libraries m
ii zlib1g 1:1.2.1.1-3 compression library - runtime
Reply to: