Bug 120521 - libreoffice freezes when running libreoffice-librelogo script
Summary: libreoffice freezes when running libreoffice-librelogo script
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.6.1 rc
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-11 14:42 UTC by Stephen_Hamer_UK
Modified: 2019-06-08 03:05 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen_Hamer_UK 2018-10-11 14:42:20 UTC
Description:
Working in Ubuntu Bionic with the std LibreOffice pkg.

"lsb_release -rd" returns:

Description: Ubuntu 18.04.1 LTS
Release: 18.04

"apt-cache policy libreoffice" gives:

libreoffice:
  Installed: (none)
  Candidate: 1:6.0.6-0ubuntu0.18.04.1
  Version table:
     1:6.0.6-0ubuntu0.18.04.1 500
        500 http://gb.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
     1:6.0.3-0ubuntu1 500
        500 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages

The problem:

1. Go -> View -> Toolbars -> Check "Logo"

Open new doc and Insert page break. On the (new) 2nd page paste this logo script:

;KOCH C

;Draws a sequence of Koch “C” curves. The size of the curve is determined by n≤256; its position in the sequence by p≥0.
;The embedded, tabbed routine, kc, below is a “daemon”, which actually draws the curve. The daemon draws the p=0 curve directly, and the (p+1)th curve by replacing the line segments of the p=1 curve with scaled-down pth curves ( p≥0).
;The main kcurve-routine, “wrapped around” the daemon, merely positions the drawing-point so that the curve appears in the centre of the page. It also colours the sub-curves of the curve to show how the Koch “C” curve is constructed.
;Run the script in LibreOffice by accessing the LOGO-toolbar and hitting the green triangle button
;lines preceded by a “;” are ignored by logo

CLEARSCREEN
HOME
HIDETURTLE

To kcurve :n :p

GLOBAL c
c=SQRT 2

 TO kc :n :p
 IF :p=0 [ FD :n ] [
 LT 45
 kc :n/c :p-1
 RT 90
 kc :n/c :p-1
 LT 45 ]
 END

PU BK :n/2 LT 90 BK (3*:n)/8 RT 90 PS 4 PD
IF :p=0 [ PC [5] FD :n PC [0] ] [
LT 45
PC [5] kc :n/c :p-1 PC [0]
RT 90
PC [8] kc :n/c :p-1 PC [0]
LEFT 45 ]
PU RT 90 BK (3*:n)/8 LT 90 BK :n/2 PD PS 1

END

;”Groups” the components of the curve drawn by the command ‘kcurve (256, 10)’ “
PICTURE [ kcurve (256, 10) ]

;Exports an .svg-image of the curve (on a white background) to the folder containing the script
;PICTURE “LibreLogoKochCurve.svg” [ PU POS [0, 0] PD POS [PAGESIZE[0], 0] POS [PAGESIZE[0], (SQRT 2)*PAGESIZE[0]] POS [0, (SQRT 2)*PAGESIZE[0]] POS [0,0] PU HOME PD FILLCOLOR [3] FILL kcurve (256, 10) ]
;this .svg-image can be opened in LibreOffice and then “exported” as .png or .jpg

[script ends]

Run the script by hitting the (Logo) green triangle in the main toolbar.

Not untypically, the script will run once, and draw the Koch curve, but if the 1st page "screen" is cleared (hit the "blank-page"-icon in the Logo-toolbar) and the script is run again, LO freezes. Nothing works. I have to force a "quit" to get it back.

The above script runs fine with the std LO pkgs in Ubuntu 16.04.5 and OS "Tumbleweed" 

Steps to Reproduce:
1. See my description
2.
3.

Actual Results:
See my description

Expected Results:
See my description


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Julien Nabet 2018-10-11 15:18:13 UTC
reporter: could you give a try to a more recent LO version by using LO ppa?
Indeed, last one is 6.1.2.

László: thought you might be interested in this one since it concerns LibreLogo.
Comment 2 László Németh 2018-10-11 18:12:48 UTC
I cannot reproduce the problem on Ubuntu 16.04 LTS with the TDF LibreOffice build 6.0.6.2.

Could you check the OpenGL usage, showed in Help->About LibreOffice, please?

For example, in my machine, without OpenGL, the dialog window print "UI Render: default"?

If your LibreOffice uses OpenGL (UI Render: GL), could you try to switch off in Tools->Options->View->Use OpenGL for all rendering, and check the LibreLogo program again? 

Thanks for your help!

Julien: thanks  for forwarding the problem!
Comment 3 Stephen_Hamer_UK 2018-10-13 13:49:44 UTC
Re: use of OpenGL, I have "UI Render: default"

The fault is in the Ubuntu 18.04 LO package (or Ubuntu 18.04?). The std LO package in Ubuntu 16.04 runs fine
Comment 4 László Németh 2018-10-13 16:25:27 UTC
@Stephen: thanks for checking.

@Björn: it is possible, that LibreOffice 6.0.6 of Ubuntu 18.04 crashes (on Ubuntu 18.04), but the the same release from TDF is stable (on Ubuntu 16.04)?
Comment 5 Björn Michaelsen 2018-10-13 19:36:54 UTC
Im not the Ubuntu maintainer anymore, please file downstream. (Self-removal of CC)
Comment 6 QA Administrators 2019-05-08 18:25:37 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2019-06-08 03:05:20 UTC
Dear Stephen_Hamer_UK,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp