[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#433417: openoffice hangs, takes all CPU when port 631 (CUPS) is in use



[ no need to CC me, I get mails to nnn@bugs since they go to -openoffice ]

Hi,

Kostas Evangelinos wrote:
> | And why is this a OOo bug? Of course OOo should not hang here, but
> | IMHO it's a bug in your system. 631 is IPP.
> 
> This was actually my first evaluation too. However, OOo makes the big 
> assumption that if something is listening on port 631 then you must have
> a CUPS enabled system, which is wrong. The correct detection should be 

No, IMHO that's completely right. 631 is IPP and nothing else. point.
If you have somethig else there -> your system is broken.

> I looked at the library dependencies in OOo, and it seems like it is using
> its own libraries rather than using libcups2. So I filed this bug against OOo 
> itself.

Wtrong. It dlopen()s libcups if it's there.

> In addition, the detection process should be done asynchronously. Assuming 
> mountd can be configured/patched to not use this particular port, some other
> application may. [...]

whcih then strill is a big in that apps. Woulsdn't you also find it
weird if something else attached itself to 80 and you get weird stuff
instead of an http server? or the same for frp or ssh or whatever?

> should be affected. Hopefully it will simply say 'printing system not working'
> or similar.
> 
> I think that for the typical user this type of situation is hard to detect
> and troubleshoot. It seemed better to take care of it in OOo itself once and 
> for all, rather than look for and fix each and every daemon that may 
> potentially bind to 631/tcp inadvertedly.
> 
> | > "export SAL_DISABLE_CUPS=1" to /etc/openoffice/openoffice.conf makes
> | > no difference.
> | 
> | That would mean I'd break my cups...
> 
> The point here is that this config was supposed to disable CUPS altogether
> for OOo. It didn't work in my case.

No, you said I should try it, which probably would need to brak my cups
by putting someting else on its port..

> What do you think? I haven't filed a bug against rpc.mountd but can do.

Please do. And maybe also libcupsys2? (See above). You can reassign
this, too.

Gr�gards,

Ren�- 
 .''`.  Ren�ngelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  rene@debian.org | GnuPG-Key ID: 248AEB73
   `-   Fingerprint: 41FA F208 28D4 7CA5 19BB  7AD9 F859 90B0 248A EB73

Attachment: signature.asc
Description: Digital signature


Reply to: