Bug 132528 - Crash when opening Base (no .odb file) on Linux Mint 18.3
Summary: Crash when opening Base (no .odb file) on Linux Mint 18.3
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
6.4.3.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-29 19:13 UTC by cme_linux
Modified: 2020-04-30 16:11 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 cme_linux 2020-04-29 19:13:07 UTC
OS:  Linux Mint 18.3 with all current updates

LO 6.4.3.2 release, .deb files from https://www.libreoffice.org/download/download/

Locale:  At a Linux shell prompt, the "locale" command says LANG=en_US.UTF-8

Symptoms:  As soon as I open LO Base (the application, not an .odb file), I get the dialog box whose title says "LibreOffice 6.4 Document Recovery".  I am unable to continue past this to create a database; I'm eventually shown the same document-recovery dialog again, before I can get to the window that would let me create a database.  

I am able to open an existing (made with LO 6.3) .odb database with LO 6.4.  

History:  Originally I had LO 6.2.8rc2 installed from the LO PPA (http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial main).  I have also recently tried:  

* the LO 6.3.5.2 .deb files from the same LO download page, and 
* the Flatpak LO install from within the past couple of weeks.  

LO 6.2.8rc2 and 6.3.5.2 seemed to run OK, but I think there is a bugfix in 6.4.3.2 which I want to upgrade to.  The Flatpak install didn't crash, but had some problem with Base that I don't remember.  (I am trying to use the embedded Firebird, and I think I might not have been able to select the embedded-Firebird option when creating a database in the Flatpak version of LO.)  

I don't remember the exact sequence in which I installed & un-installed the various versions.  
* I believe I've never had the download-page .debs of both 6.3 & 6.4 installed at the same time.  I've un-installed each of the 2 versions by using Synaptic before running "dpkg -i *.deb" on the other version.  
* I'm pretty sure I have had download-page .deb + PPA version + Flatpak version installed all at the same time.  
* Currently, I have the PPA version & Flatpak version un-installed, and only the download-page .debs (of 6.4) installed so I can test this problem for this bug report.  By the time the LO QA team follows up with me, I might have a different version installed, but I'll try my best to do further testing if requested.  

Thanks in advance.
Comment 1 Julien Nabet 2020-04-29 20:47:25 UTC
Deb and rpm files on LO website are more for package maintainers which deal with dependencies.

You should uninstall any LO debs then use LO from Mint repository.
+ rename your LO directory profile (see https://wiki.documentfoundation.org/UserProfile#GNU.2FLinux)
If you want more recent LO version, you can upgrade Mint.
Comment 2 cme_linux 2020-04-29 23:18:32 UTC
Hi Julien, 

According to your suggestion, I renamed my /home/<user name>/.config/libreoffice/4/user but the problem still happens.  

I'm planning to upgrade my distro once Linux Mint 20 is released.  This is expected to be in 2-3 months.  I was hoping to be able to use LibreOffice 6.4 in a matter of a week or two, so that I can provide my LO Base app to my user within the shorter timeframe.  

There isn't a note on the download page stating, "Deb and rpm files on LO website are more for package maintainers which deal with dependencies."  

I look forward to your comments.  Thanks.
Comment 3 Robert Großkopf 2020-04-30 06:53:21 UTC
If you want to get an internal Firebird database you have to set the experimental functions to "On" since LO 6.4.3

But you are writing the wizard for creating a database will crash? Or do I understand it wrong with "Application LO Base". You couldn't open Base without having an *.odb-file.

Contrary to Juliet in comment 1 I would prefer packages from LO directly for databases. There are many special Base-bugs in the packages of the distributions. One special from OpenSUSE at this moment: Unable to open any Firebird database.
Comment 4 Alex Thurgood 2020-04-30 07:56:40 UTC
@cme_linux : sounds like a right mess with your different installations...

LinuxMint 18.3 is pretty old right now. Ubuntu Focal Fossa is already out, I upgraded my previous Ubuntu 18.04 to 20.04 this week and it appears to be mostly working fine. Actually the first time in years when an Ubuntu upgrade didn't force me into recovery mode to get it restarted ;-)


With regard to the LO Base problem, my first thought would be to completely "purge" everything related to LO, and start afresh.

PPA versions are well known for bringing additional bugs to the already known Base bugs.

I can't speak for Flatpak versions as I've never installed one.

I currently use Snaps for testing newer versions over the current distrib release version (bearing in mind that they have their own limitations), and in the past have also installed LO packages from the TDF download site to have the latest versions available in parallel.

Given the age of Mint18, I would also check on their bug/forum web page to see if anyone else has encountered the same problem as you. 

I recall, for example, a period in time not so long ago where a particular kernel version caused Base to crash immediately on start. Could be that we are back there again with your current setup ?
Comment 5 Alex Thurgood 2020-04-30 07:58:08 UTC
(In reply to Robert Großkopf from comment #3)

> But you are writing the wizard for creating a database will crash? Or do I
> understand it wrong with "Application LO Base". You couldn't open Base
> without having an *.odb-file.
> 

My understanding of the bug description is that the application crashes when the Base module is launched, e.g. by double-clicking the Base icon, or else starting from the command line with ./soffice --base.
Comment 6 cme_linux 2020-04-30 16:03:30 UTC
Thanks to all 3 of you for responding.  

Alex is correct that, with the .deb install from the LibreOffice.org download page, "the application crashes when the Base module is launched, e.g. by double-clicking the Base icon".  

Robert's comment 'If you want to get an internal Firebird database you have to set the experimental functions to "On" since LO 6.4.3' was the solution to the problem that I'd had with the Flatpak install.  

I now have LO 6.4.3.2 installed via Flatpak and it seems to be working OK.  You may close this bug report (I'm not sure what resolution you'd prefer for this case, so I'll let you select the resolution).  

I look forward to being able to use the distro packaging once I upgrade to Linux Mint 20, since currently LO on Flatpak doesn't use my theme settings for scrollbar style, mouse pointer, etc.  (The distro that would provide LibreOffice to me would be Ubuntu 20.04 Focal, since Mint doesn't package its own LibreOffice, although there is an additional "libreoffice-style-mint" package.)  

I made a symlink from where LO-on-Flatpak keeps its user settings in ~/.var/app/ to my existing user settings in ~/.config/

I'm not sure how to "purge" everything related to LO, but this time it seems I didn't need to.  (I renamed my original LO user profile back into place.)  

I had been using the PPA install of LibreOffice for a while now, and I hadn't had any problems with it except that recently it hasn't been updated to a newer version, possibly because Ubuntu 16.04 LTS, which is the package base for my version of Mint, is about to become unsupported.  

I did find the following on the Mint forum:  
https://forums.linuxmint.com/viewtopic.php?f=47&t=316010
That user's solution also was to install via Flatpak.  

Thanks again.
Comment 7 Julien Nabet 2020-04-30 16:11:54 UTC
Let's put this one to WFM then.