Bug 33578 - PC completely crashes after clicking Object Zoom Button in LibreOffice Draw
Summary: PC completely crashes after clicking Object Zoom Button in LibreOffice Draw
Status: CLOSED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
3.3.0 release
Hardware: x86-64 (AMD64) Linux (All)
: high critical
Assignee: Björn Michaelsen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-27 01:19 UTC by Tom
Modified: 2011-12-24 04:27 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
.xsession errors after crash (6.03 KB, application/x-trash)
2011-01-27 03:13 UTC, Tom
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom 2011-01-27 01:19:47 UTC
Reproduce:

1 -start LO Draw
2- draw a circle
3- click on the Object Zoom button (in Zoom Toolbar)

PC (X-Server?)  crashes fully and restarts completely. All work lost.
100% reliable to reproduce - tried in 10 times, crash always happens.

Setup:

Ubuntu 10.10
HP Pavilion Dm4 with second monitor attached, Intel Graphics only
Compiz Enabled

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4, Ubuntu package 1:3.3.0-1maverick1
Comment 1 Noel Power 2011-01-27 02:37:18 UTC
so the whole computer crashes or just libreoffice?
Any logs or gdb trace(s) available ?
what about with compiz disabled ?
Comment 2 Tom 2011-01-27 03:00:42 UTC
Without Compiz same result.

Clicking on "Zoom Object" or "Zoom Optimal":
- X-Server crashes in split second.
- Login window appears after a while. 
- after login, ALL data and open programs lost / crashed (so not only Libreoffice)

I've been using Ubuntu for several years, first time a program gets it on its knees. Usually the program itself crashes if at all.

Till yesterday I had openoffice 3.2 - there all worked good.

Never made logfile... you have link how to do it?
Comment 3 Noel Power 2011-01-27 03:06:44 UTC
kde or gnome?
can you attach your ~/.xsession-errors maybe there is something interesting there.
Comment 4 Tom 2011-01-27 03:13:36 UTC
Created attachment 42579 [details]
.xsession errors after crash
Comment 5 Noel Power 2011-01-27 03:17:07 UTC
could try to get a trace from libreoffice too I guess.
if you can remote login to the machine ( or I guess you could do this from a tty too )

gdb opt/libreoffice/program/soffice.bin 2>&1 | tee libreoffice.gdb

from the gdb prompt type run
(gdb) run
and when it crashes
(gdb) thread apply all bt

maybe it might give some more info ( maybe not )
Comment 6 Tom 2011-01-27 03:31:40 UTC
Dont know how to run gdb with "remote terminal".

  gdb /usr/lib/libreoffice/program/soffice.bin 2>&1 | tee libreoffice.gd

and than 
  (gdb) run

but when it crashes...well it crashes and after reboot and start new terminal:
 
  (gdb) thread apply all bt

does not show anything
Comment 7 Tom 2011-01-27 03:44:17 UTC
ah... I might be on to something...

Server only crashes when trying to "Object Zoom"  a *circle* or part of a circle: an arc. 

So, squares, triangles, text all zoom ok. But Circle, Puzzle Piece (has some circular elements)...these crash !

Same problem in Impress by the way...
Comment 8 Tom 2011-01-27 03:59:29 UTC
When Grouping a square and a circle. And then Object Zoom on this group, all is ok.
Comment 9 Tom 2011-01-29 01:35:42 UTC
ok... no idea why, but after today I can not replicate... I mark this one as invalid... untill it comes back.
Comment 10 Tom 2011-02-04 02:57:20 UTC
Thought it was gone... but problem is still here....
Comment 11 starmatz71 2011-02-24 09:46:33 UTC
I figured out, that LibreOffice did not crash if antialiasing is disabled!

I test it on my home machine with a nvidia gtx 260 and at work with an intel chipset, both has Ubuntu 10.10 64bit installed.
On nvidia it freezes some times and after that, all work like before.
On intel the xserver crashes and gdm and the desktop restart itself.

Please, can you try if disabling antialiasing in options/view solves the problem?

Perhaps it is a problem with the xserver and/or the videodriver, as a workaround until the problem is solved antialiasing should disabled by default on linux-machines?
Comment 12 starmatz71 2011-02-24 09:49:44 UTC
I forgot to write, that i use LibreOffice 3.3.1 final.
Only i have to do to force the crash is to open an empty draw-page and zooming in.
Comment 13 Tom 2011-02-24 12:51:18 UTC
Indeed,  good find. I can confirm that only with anti-aliasing enabled (default setting), the xserver crashes.

I keep disabled for now and if it crashes despite, I will report back.
Comment 14 Cédric Bosdonnat 2011-02-25 05:11:09 UTC
sounds more like a XServer problem. Closing it as not our bug.
Comment 15 Tom 2011-02-25 10:44:09 UTC
Fair enough... but please realize, this is the only case I know of, and we use the xserver extensively, that causes the xserver to crash.... seems like you'r sending something illegal. And while x should not crash, so a bug there, it would help to look a little further...why does it crash? Zero overflow?
Comment 16 Don't use this account, use tml@iki.fi 2011-03-07 07:43:17 UTC
Assigning to Bjoern to put it on his radar, might be an Ubuntu-specific X server -related bug?
Comment 17 Björn Michaelsen 2011-03-07 09:00:39 UTC
Could not reproduce on with 3.2.1 final on natty with antialiasing enabled and nvidia drivers.
Comment 18 Tom 2011-03-07 10:16:52 UTC
(In reply to comment #17)
> Could not reproduce on with 3.2.1 final on natty with antialiasing enabled and
> nvidia drivers.

With latest kernel, LibreOffice 3.3.1 OOO330m19 (Build:8)
tag libreoffice-3.3.1.2, Ubuntu package 1:3.3.1-1ubuntu3~maverick1

Still reproducible. Need to zoom in/out maybe 10 times but then PC crashes and goes to reboot.
Comment 19 Björn Michaelsen 2011-03-07 10:49:33 UTC
Not reproducable with:
- 1:3.3.1-1ubuntu3~maverick1
- Linux XXX 2.6.35-27-generic #48-Ubuntu SMP Tue Feb 22 20:25:46 UTC 2011 x86_64 GNU/Linux
- nvidia-current 260.19.06-0ubuntu1
- xorg 1:7.5+6ubuntu3
Comment 20 Björn Michaelsen 2011-03-07 10:50:28 UTC
(In reply to comment #19)
> Not reproducable with:
> - 1:3.3.1-1ubuntu3~maverick1
> - Linux XXX 2.6.35-27-generic #48-Ubuntu SMP Tue Feb 22 20:25:46 UTC 2011
> x86_64 GNU/Linux
> - nvidia-current 260.19.06-0ubuntu1
> - xorg 1:7.5+6ubuntu3

... on maverick.
Comment 21 Björn Michaelsen 2011-12-24 04:27:30 UTC
closing