Bug 122041 - Tools->Macros->Record Macro crashes Libreoffice
Summary: Tools->Macros->Record Macro crashes Libreoffice
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
6.1.3.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Jambunathan K
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-12 13:01 UTC by Jambunathan K
Modified: 2018-12-12 16:29 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
gdbtrace.log (33.69 KB, text/x-log)
2018-12-12 13:01 UTC, Jambunathan K
Details
No Tools->Macro->Record Macro when in unsafe mode (104.39 KB, image/png)
2018-12-12 14:23 UTC, Jambunathan K
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jambunathan K 2018-12-12 13:01:58 UTC
Created attachment 147466 [details]
gdbtrace.log

Summary: Tools->Macros->Record Macro crashes Libreoffice

Steps to reproduce

1. Open _any_ ODT document

2. Click Tools->Macros->Record Macro

3. LibreOffice crashes (and I am presented with a dialogue for Document Recovery)

Stacktrace as dumped by `soffice --backtrace`

See the attachment.


Additional Information about the above stacktrace

https://wiki.documentfoundation.org/QA/BugReport/Debug_Information says I should try getting the stacktrace with debug symbols.  Specifically it says (and I quote), 

> The debugging package for (older) Debian, Ubuntu or their derivatives is libreoffice-dbg, while for newer Debian, Ubuntu it is libreoffice-*-dbgsym

Unfortunately, I could find no such packages on Debian Sid (up to date as on Dec 12, 2018 6:00PM IST) 

kjambunathan@debian:~$ apt-cache search libreoffice | grep dbg

[EMPTY OUTPUT]

kjambunathan@debian:~$ apt-cache search libreoffice | grep debug

[EMPTY OUTPUT]

About LibreOffice 

Version: 6.1.3.2
Build ID: 1:6.1.3-2
CPU threads: 4; OS: Linux 4.18; UI render: default; VCL: gtk3; 
Locale: en-IN (en_IN.UTF-8); Calc: group threaded



kjambunathan@debian:~$ uname -a
Linux debian 4.18.0-3-amd64 #1 SMP Debian 4.18.20-2 (2018-11-23) x86_64 GNU/Linux

kjambunathan@debian:~$ dpkg -l | grep libreoffice
ii  liblibreofficekitgtk                  1:6.1.3-2                             amd64        GTK3 widget wrapping LibreOffice functionality
ii  libreoffice-avmedia-backend-gstreamer 1:6.1.3-2                             amd64        GStreamer backend for LibreOffice
ii  libreoffice-base                      1:6.1.3-2                             amd64        office productivity suite -- database
ii  libreoffice-base-core                 1:6.1.3-2                             amd64        office productivity suite -- shared library
ii  libreoffice-base-drivers              1:6.1.3-2                             amd64        Database connectivity drivers for LibreOffice
ii  libreoffice-calc                      1:6.1.3-2                             amd64        office productivity suite -- spreadsheet
ii  libreoffice-common                    1:6.1.3-2                             all          office productivity suite -- arch-independent files
ii  libreoffice-core                      1:6.1.3-2                             amd64        office productivity suite -- arch-dependent files
ii  libreoffice-draw                      1:6.1.3-2                             amd64        office productivity suite -- drawing
ii  libreoffice-evolution                 1:6.1.3-2                             amd64        office productivity suite -- Evolution addressbook support
ii  libreoffice-gnome                     1:6.1.3-2                             amd64        office productivity suite -- GNOME integration
rc  libreoffice-gtk                       1:5.2.7-1+deb9u3                      all          transitional package to upgrade to libreoffice-gtk2/-systray
ii  libreoffice-gtk2                      1:6.1.3-2                             amd64        office productivity suite -- GTK+ 2 integration
ii  libreoffice-gtk3                      1:6.1.3-2                             amd64        office productivity suite -- GTK+ 3 integration
ii  libreoffice-help-common               1:6.1.3-2                             all          office productivity suite -- common files for LibreOffice help
ii  libreoffice-help-en-gb                1:6.1.3-2                             all          office productivity suite -- English_british help
ii  libreoffice-help-en-us                1:6.1.3-2                             all          office productivity suite -- English_american help
ii  libreoffice-impress                   1:6.1.3-2                             amd64        office productivity suite -- presentation
ii  libreoffice-java-common               1:6.1.3-2                             all          office productivity suite -- arch-independent Java support files
ii  libreoffice-l10n-en-gb                1:6.1.3-2                             all          office productivity suite -- English_british language package
ii  libreoffice-math                      1:6.1.3-2                             amd64        office productivity suite -- equation editor
ii  libreoffice-nlpsolver                 0.9+LibO6.1.3-2                       all          "Solver for Nonlinear Programming" extension for LibreOffice
ii  libreoffice-ogltrans                  1:6.1.3-2                             amd64        LibreOffice Impress extension for slide transitions using OpenGL
ii  libreoffice-pdfimport                 1:6.1.3-2                             all          transitional package for PDF Import component for LibreOffice
ii  libreoffice-report-builder            1:6.1.3-2                             all          LibreOffice component for building database reports
ii  libreoffice-report-builder-bin        1:6.1.3-2                             amd64        LibreOffice component for building database reports -- libraries
ii  libreoffice-script-provider-bsh       1:6.1.3-2                             all          BeanShell script support provider for LibreOffice scripting framework
ii  libreoffice-script-provider-js        1:6.1.3-2                             all          JavaScript script support provider for LibreOffice scripting framework
ii  libreoffice-sdbc-firebird             1:6.1.3-2                             amd64        Firebird SDBC driver for LibreOffice
ii  libreoffice-sdbc-hsqldb               1:6.1.3-2                             amd64        HSQLDB SDBC driver for LibreOffice
ii  libreoffice-sdbc-postgresql           1:6.1.3-2                             amd64        PostgreSQL SDBC driver for LibreOffice
ii  libreoffice-style-colibre             1:6.1.3-2                             all          office productivity suite -- colibre symbol style
ii  libreoffice-style-elementary          1:6.1.3-2                             all          office productivity suite -- Elementary symbol style
ii  libreoffice-style-tango               1:6.1.3-2                             all          office productivity suite -- Tango symbol style
ii  libreoffice-wiki-publisher            1.2.0+LibO6.1.3-2                     all          LibreOffice extension for working with MediaWiki articles
ii  libreoffice-writer                    1:6.1.3-2                             amd64        office productivity suite -- word processor
ii  libreofficekit-data                   1:6.1.3-2                             all          common data for LOKDocView
Comment 1 Xisco Faulí 2018-12-12 14:05:29 UTC
I can't reproduce it in

Version: 6.1.3.2
Build ID: 1:6.1.3~rc2-0ubuntu0.16.04.1
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group threaded

To be certain the reported issue is not
related to corruption in the user profile, could you please reset your
Libreoffice profile ( https://wiki.documentfoundation.org/UserProfile ) and
re-test?

I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the issue is still present
Comment 2 Jambunathan K 2018-12-12 14:20:40 UTC
(In reply to Xisco Faulí from comment #1)
> I can't reproduce it in
> 
> Version: 6.1.3.2
> Build ID: 1:6.1.3~rc2-0ubuntu0.16.04.1
> CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
> Locale: ca-ES (ca_ES.UTF-8); Calc: group threaded
> 
> To be certain the reported issue is not
> related to corruption in the user profile, could you please reset your
> Libreoffice profile ( https://wiki.documentfoundation.org/UserProfile ) and
> re-test?
> 
> I have set the bug's status to 'NEEDINFO'. Please change it back to
> 'UNCONFIRMED' if the issue is still present

When I follow the instructions at https://wiki.documentfoundation.org/UserProfile, I no longer see an entry for Tools->Macros->Record Macro. [SEE THE  ATTACHED SCREENSHOT] 

So, I am a little bit confused about how I can reproduce the bug in 'safe mode'.  

I am changing the status to UNCONFIRMED.

FYI, I included a gdbtrace in my original report.  Shouldn't that tell you where the crash is happening?
Comment 3 Jambunathan K 2018-12-12 14:23:28 UTC
Created attachment 147468 [details]
No Tools->Macro->Record Macro when in unsafe mode

Screenshot created in response to a comment that recommended that I reproduce the bug in safe mode.
Comment 4 Xisco Faulí 2018-12-12 14:45:00 UTC
Once in safe mode, you have to enable it in Tools - Options - Advanced
Comment 5 Oliver Brinzing 2018-12-12 15:37:24 UTC
no repro with

Version: 6.1.4.1 (x64)
Build-ID: 25073d18caee244880112e52c4a7e71f6081b3a9
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE); Calc: group threaded
Comment 6 Julien Nabet 2018-12-12 15:49:42 UTC
Bt shows gtk3 part.
Comment 7 Jambunathan K 2018-12-12 16:29:55 UTC
Once I reset the profile to factory settings, I am no longer able to reproduce the issue.  I am closing this bug.  I apologize for this spurious report.