Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192256 - app-office/openoffice-2.2.1 - disabling cupsd causes freeze for about a minute on file open
Summary: app-office/openoffice-2.2.1 - disabling cupsd causes freeze for about a minut...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-12 01:29 UTC by Stephan Sokolow
Modified: 2007-09-18 22:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Sokolow 2007-09-12 01:29:04 UTC
If cupsd is disabled, opening a file in OpenOffice.org 2.2.1 (Not tested on -bin) will cause the program to freeze for roughly a minute while it waits for it's connection attempt to time out.

Reproducible: Always

Steps to Reproduce:
1. sudo /etc/init.d/cupsd stop
2. Start OpenOffice.org and open a file
3. Watch it freeze

Actual Results:  
It freezes for at least a minute.

Expected Results:  
It should just open the file normally.

A little amateur diagnosis using gdb seems to indicate that OpenOffice.org attempts to enumerate the available printers on document load. On Linux, that means a call to cupsd. Apparently, without resetting the timeout to something sane for the situation.

While it's a minor bug, I suggest warning the users since it's quite frustrating for someone who doesn't realize that connection.

According to eix, my OpenOffice.org was compiled with USE="cairo cups dbus firefox gtk kde ldap linguas_en odk pam sound webdav".
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-12 07:10:13 UTC
Upstream issues go to http://qa.openoffice.org/ooQAReloaded/ooQA-ReportBugs.html - not to Gentoo Bugzilla.
Comment 2 Stephan Sokolow 2007-09-12 21:35:52 UTC
Noted. I'll mark the bug RESO UPSTREAM as soon as I've got a bug entry to link to.

Also, I suspect this problem is also dependant on the fact that, as I just remembered, I'm running a default-DROP iptables setup, so I'll check that out too.
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2007-09-17 12:33:43 UTC
Please add a bug number here if you got one, still: UPSTREAM
Comment 4 Stephan Sokolow 2007-09-18 22:16:35 UTC
Looks probable that it's a variant of this entry in the OOo issue tracker: (Issue 81541)

http://www.openoffice.org/issues/show_bug.cgi?id=81541