feisty openoffice crash

Bug #83950 reported by mikko
22
Affects Status Importance Assigned to Milestone
openoffice.org (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Openoffice crashes every time when trying to access format-page-page.

After deleting all files in my home directory and restart it worked a while yesterday.

I had same problem in edgy:
https://launchpad.net/ubuntu/+source/openoffice.org/+bug/69220

My friend had same in problem in dapper too, but only with the first user created during install process.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug report. Please try to obtain a backtrace http://wiki.ubuntu.com/DebuggingProgramCrash and attach the file to the bug report. This will greatly help us in tracking down your problem.

Revision history for this message
mikko (mikko-) wrote :
Revision history for this message
mikko (mikko-) wrote :

there's no errors in soffice -process

Revision history for this message
mikko (mikko-) wrote :

I just tried to open an odt document, but every time oo crashes.

I dont't know so much about programming but I think the problem has something to do with this bug because after crash there's same /usr/lib/openoffice/program/libvcl680li.so -text in both backtraces.

---------
Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread -1247266576 (LWP 6115)]
0xb7cac19b in ?? () from /usr/lib/openoffice/program/libvcl680li.so
(gdb) backtrace
------------
Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread -1247115024 (LWP 6100)]
0xb7cd119b in ?? () from /usr/lib/openoffice/program/libvcl680li.so
(gdb) backtrace

Revision history for this message
mikko (mikko-) wrote :

Could this problem have something to do with printer??

because in the strace there's many error messages about cups and printer

examples:
*access("/home/mikko/.openoffice.org2/user/psprint/psprint.conf", F_OK) = -1 ENOENT (No such file or directory)

*lstat64("/SGENPRT", 0xbf8324a8) = -1 ENOENT (No such file or directory)

*open("/home/mikko/.cupsrc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)

*open("/home/mikko/.cupsrc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)

*access("/usr/share/locale/fi_FI/cups_fi_FI.po", F_OK) = -1 ENOENT (No such file or directory)

but also about accelerator

*access("/usr/lib/openoffice/share/config/soffice.cfg/modules/swriter/accelerator/default.xml", F_OK) = -1 ENOENT (No such file or directory)
*access("/usr/lib/openoffice/share/config/soffice.cfg/modules/swriter/accelerator/default.xml", F_OK) = -1 ENOENT (No such file or directory)

Revision history for this message
mikko (mikko-) wrote :

valgrind gives no errors

Revision history for this message
mikko (mikko-) wrote :

BINGO!!!!!!

If I remove my printer Brother DCP-7010 from gnome-cups-manager, openoffice works without crash.

But, if I install again my printer, oo crashes EVERY TIME when trying to access Format-Page.

Remove again, no crash.

Problem with page sizes of printer??

My printer drivers are from Brother Linux Support Page, but all other programs are ok, no problems.

Is this Brother drivers, or openoffice -problem??

Revision history for this message
mikko (mikko-) wrote :

And if I use the HL-1250 driver of ubuntu, no crashes. I can print also with it but it didn't worked correctly last year.
I have to check it tomorrow.

And I have to write to Brother linux drivers team too.

Do you see what's wrong if you analyse my log files and straces?

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

For me it looks like the following: OOo is reading out information about page sizes and margins from the printer's PPD file. It polls the PPD file through the CUPS API (I hope so) and parses it. Now some PPD files (especially manufacturer-supplied ones, unfortunately) are not 100% Adobe-compliant (check with cupstestppd) and it seems that OOo does not handle this problem gracefully. Bug is in OOo, OOo must be more tolerant on not so perfect PPDs or at least not crash in such a case (and Brother should make better PPDs).

mikko sorri, which driver/PPD did you use for your Brother DCP-7010? Was it supplied by Brother or by the Ubuntu distribution? Or did you get it from the OpenPrinting web site?

Try also the HL-1040, it gives you more options than HL-1250 and is perhaps faster.

Changed in openoffice.org:
importance: Undecided → Low
Revision history for this message
mikko (mikko-) wrote :

I'm sorry I have been quiet so long time. After my last message I found a new advice in Brother printer FAQ
http://solutions.brother.com/linux/sol/printer/linux/linux_faq-2.html#97

*****
Ubuntu 6.10
4.
Then you should run the following command:
lpadmin -p (printer name) -E -v (DeviceURL) -P /usr/share/cups/model/(PPD file name)
*****

I did it and all my problems are gone.

my DCP-7010 -driver is from
http://solutions.brother.com/linux/sol/printer/linux/cups_drivers.html

The PPD-file is the problem. Earlier I had also a more serious problem with page sizes in OO, letter was only size you can choose. But I found a solution from OO-forum and posted it to the Brother team. Now the advice is there too, in the beginning of the FAQ.
Maybe the "" - adding is not right way??

$cupstestppd DCP7010.ppd
DCP7010.ppd: FAIL
**FAIL** Bad Resolution choice HQ1200dpi!
REF: Page 84, section 5.9
WARN DefaultOutputBin has no corresponding options!
WARN Obsolete PPD version 4,0!
REF: Page 42, section 5.2.

I have written also to http://www.openoffice.org/issues/show_bug.cgi?id=74580

Changed in openoffice.org:
status: Needs Info → Confirmed
Revision history for this message
welktach (welktach) wrote :

Thank you for the help

The command
lpadmin -p (printer name) -E -v (DeviceURL) -P /usr/share/cups/model/(PPD file name)
fixed the crashing issue on my Brother HL-2040.

Revision history for this message
mikko (mikko-) wrote :

Now in gutsy this problem seems to be gone away. I removed old drivers and downloaded updated ones from brother's site. Installed them normally with dpkg, DCP7010 is set to default and I have no problems. OO works perfectly.

cupstestppd says only:
mikko@unelma-laptop:~$ cupstestppd /usr/share/cups/model/DCP7010.ppd
/usr/share/cups/model/DCP7010.ppd: PASS
WARN Obsolete PPD version 4,0!
REF: Page 42, section 5.2.

So the brother guys have done some good work with the ppd-file.

Chris Cheney (ccheney)
Changed in openoffice.org:
status: Confirmed → Fix Released
Revision history for this message
swmmng (spartanhooah) wrote :

I'm having the same trouble on Gutsy, but I have an Epson printer, so getting Brother drivers won't help. I've noticed that this bug also shows up if I try to customize the toolbars.

Revision history for this message
mikko (mikko-) wrote :

If you have Epson, this is not a printer problem. Problem with themes?
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/155747

Revision history for this message
swmmng (spartanhooah) wrote :

Yup, it was a problem with the theme. Time to contact the maker! Shame, 'cause it's a nice theme (GSM).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.