https://bugs.documentfoundation.org/show_bug.cgi?id=94304
Bug ID: 94304
Summary: Intermittent failure of fax and spadmin crashes
Product: LibreOffice
Version: unspecified
Hardware: x86 (IA32)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Printing and PDF export
Assignee: [email protected]
Reporter: [email protected]
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:40.0) Gecko/20100101
Firefox/40.0
Build Identifier: LibreOffice 4.2.8.2
I have a Hylafax server on my network, and I'm trying to set up printing from
LibreOffice to fax for multiple desktops. I followed the instruction in
LibreOffice Help: Setting up Printer and Fax Under UNIX Based Platforms
and used spadmin to configure a fax printer with the command line:
/usr/bin/sendfax -D -h fax.yuikee.com.hk -n -s a4 -d "(PHONE)" "(TMP)"
This appeared to work, but later I found that print to fax fails silently for
some users (from Writer) - the 'please enter a fax number' dialog appears, the
user enters the number OK, but no fax was sent.
To investigate this, I ran spadmin from an affected users account, selected the
Fax printer and clicked the Test Page button. After entering a number and
clicking OK, the 'The test page was printed successfully. Please check the
result.' dialog appears, but the terminal where I started spadmin shows:
failed to execute "/usr/bin/sendfax -D -h fax.yuikee.com.hk -n -s a4 -d
"28708560" "/tmp/CH8BDZ""
I confirmed that the user had the necessary rights to sendfax by successfully
faxing a test file from the command line with the command and response:
/usr/bin/sendfax -D -h fax.yuikee.com.hk -n -s a4 -d "28708560" "test.pdf"
request id is 349 (group id 349) for host fax.yuikee.com.hk (1 file)
I tried sending a test page from spadmin using a user account that could send
fax. spadmin gave a java error in the terminal window as it started:
javaldx: Could not find a Java Runtime Environment!
But I could continue, click the Test Page button and enter a number, getting
the page faxed and, in the terminal window:
request id is 350 (group id 350) for host fax.yuikee.com.hk (1 file)
I restarted spadmin and tried again, but the terminal window showed:
/bin/bash: XX command not found
where XX were two junk characters, one Chinese, the other I don't recognise.
And no fax was sent.
Another attempt and the terminal window showed:
/bin/bash: $'X\001 '-': command not found
(where X is a Chinese character, but not the same as the first time)
After that, spadmin crashed. I could successfully fax the Test Page after
reboot, but then spadmin crashed on further attempts. I'm attaching a crash
log.
So, two issues:
1. spadmin seems unstable
2. How do I investigate why some users can't fax from LibreOffice?
Thanks.
Reproducible: Sometimes
Steps to Reproduce:
1. use spadmin to configure a fax printer with the command line:
/usr/bin/sendfax -D -h fax.yuikee.com.hk -n -s a4 -d "(PHONE)" "(TMP)"
2. Click Test Page in spadmin to print a test fax page
3. Enter a destination fax number and click OK
Actual Results:
Results are variable.
Case A: Success
applicable to some users.
the 'The test page was printed successfully. Please check the result.' dialog
appears
The terminal window for spadmin shows the job submission details:
request id is 350 (group id 350) for host fax.yuikee.com.hk (1 file)
and the fax is received at the destination
Case B: Silent failure
applicable to some users
the 'The test page was printed successfully. Please check the result.' dialog
appears
The terminal window for spadmin shows an error:
failed to execute "/usr/bin/sendfax -D -h fax.yuikee.com.hk -n -s a4 -d
"28708560" "/tmp/CH8BDZ""
and no fax is received at the destination
Case C: Silent failure
occurs randomly
the 'The test page was printed successfully. Please check the result.' dialog
appears
The terminal window for spadmin shows a command not found error:
/bin/bash: $'X\001 '-': command not found
Where X was a Chinese character
The text of the "command" was different each time:
XX (two Chinese characters)
Case D: Crash
occurs randomly
After clicking OK, there is a long pause, the machine becomes sluggish, memory
and swap use increase. spadmin terminates.
Please refer to attached crash log.
Expected Results:
Case A:
the 'The test page was printed successfully. Please check the result.' dialog
appears
The terminal window for spadmin shows the job submission details:
request id is 350 (group id 350) for host fax.yuikee.com.hk (1 file)
and the fax is received at the destination
[Information automatically included from LibreOffice]
Locale: en-GB
Module: TextDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: no
Reset User Profile?No
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs