Hello Chavdar, Chavdar Ivanov writes: > [...] > I haven't had the particular need to print from firefox on NetBSD > recently; after reading this I tried... > > The moment I hit the 'Print' menu item to get the dialog, my firefox > process goes in an endless loop, becoming completely unresponsive; the > trace is as follows (just an excerpt; it repeats ad inf.): > > 69 20 firefox __clock_gettime50(0x3, 0x7c8abf31dc30) = 0 > 2669 1 firefox poll = 0 > 2669 20 firefox ___lwp_park60 Err#60 ETIMEDOUT > 2669 20 firefox __clock_gettime50(0x3, 0x7c8abf31dc50) = 0 > 2669 20 firefox __clock_gettime50(0x3, 0x7c8abf31dc90) = 0 > > 669 20 firefox __clock_gettime50(0x3, 0x7c8abf31dc30) = 0 > 2669 1 firefox poll = 0 > 2669 1 firefox __socket30(0x2, 0x1, 0) = 36 > 2669 1 firefox setsockopt(0x24, 0xffff, 0x4, 0x7f7fff480edc, 0x4) = 0 > 2669 1 firefox setsockopt(0x24, 0xffff, 0x200, 0x7f7fff480edc, 0x4) = > 0 > 2669 1 firefox setsockopt(0x24, 0xffff, 0x800, 0x7f7fff480edc, 0x4) = > 0 > 2669 1 firefox setsockopt(0x24, 0x6, 0x1, 0x7f7fff480edc, 0x4) = 0 > 2669 1 firefox fcntl(0x24, 0x2, 0x1) = 0 > 2669 1 firefox fcntl(0x24, 0x3, 0) = 16777218 > 2669 1 firefox fcntl(0x24, 0x4, 0x1000006) = 0 > 2669 1 firefox connect(0x24, 0x7c8ac39aa9c8, 0x10) Err#36 EINPROGRESS > 2669 1 firefox fcntl(0x24, 0x4, 0x1000002) = 0 > 2669 20 firefox ___lwp_park60 Err#60 ETIMEDOUT > 2669 20 firefox __clock_gettime50(0x3, 0x7c8abf31dc50) = 0 > > ... > > So no printing from firefox for me at all. This is 9.99.31 from today > (amd64), firefox 71.0. > [...]
I have not tried with firefox 71.0 but with previous versions having MOZILLA_POSTSCRIPT_ENABLED environment variable set to 0 avoided to hang (I completely forgot the details but I think that's similar to invoke lpq (of cups) when cups is not started).