Description: Ever since I installed Kubuntu 18.04, I have not been able to get LibreOffice to start up. Curiously, running with the --valgrind option allowed the program to get past the splash window (at an unusably slow pace). Steps to Reproduce: 1. Run any libreoffice program, whether through GUI or command line, with any options 2. 3. Actual Results: Logo flashes briefly, and program exits. If run from the command line, I either see no output or one of the following: "malloc(): smallbin double linked list corrupted", or "munmap_chunk(): invalid pointer". Expected Results: Logo shows, then program starts up. Reproducible: Always User Profile Reset: Yes OpenGL enabled: Yes Additional Info: Adding any or all of the following options does not change the outcome (other than removing the logo flash): --nologo --norestore --safe-mode I tried uninstalling and reinstalling libreoffice, without any change. versions: * libreoffice --version: LibreOffice 6.0.6.2 00m0(Build:2) * OpenGL ES 3.0 Mesa 18.0.5 hardware: * graphics card: GK107GLM [Quadro K1000M] (set to integrated graphics mode) I will attach the following: * dpkg-libreoffice.txt - dpkg installed and not installed libreoffice packages * gdbtrace.log * ldd.txt - output of ldd -v on libmergedlo.so * strace.log * valgrind.log
Created attachment 146270 [details] dpkg -l 'libreoffice*'
Created attachment 146271 [details] ldd -v /usr/lib/libreoffice/program/libmergedlo.so
Created attachment 146272 [details] /usr/lib/libreoffice/program/soffice --calc --nologo --norestore --safe-mode --valgrind 2>&1 | tee valgrind.log
Created attachment 146273 [details] /usr/lib/libreoffice/program/soffice --calc --nologo --norestore --safe-mode --strace
Created attachment 146274 [details] /usr/lib/libreoffice/program/soffice --calc --nologo --norestore --safe-mode --backtrace
Comment on attachment 146273 [details] /usr/lib/libreoffice/program/soffice --calc --nologo --norestore --safe-mode --strace Search for "malloc" to jump to malloc error.
Comment on attachment 146272 [details] /usr/lib/libreoffice/program/soffice --calc --nologo --norestore --safe-mode --valgrind 2>&1 | tee valgrind.log As mentioned, the --valgrind option allowed the program to get past the splash screen, showed the safe mode dialog, and even opened a new document, but this process was excruciatingly slow, and the program froze up whenever I tried to open menus.
Comment on attachment 146274 [details] /usr/lib/libreoffice/program/soffice --calc --nologo --norestore --safe-mode --backtrace I seem to be missing a requirement to use --backtrace mode.
try delete ubuntu packages with libreoffice and install libreoffice from official site try update your Kubuntu too
(In reply to Roman Kuznetsov from comment #9) > try delete ubuntu packages with libreoffice and install libreoffice from > official site > > try update your Kubuntu too apt purge libreoffice* and then installing all of the 6.1 deb packages downloaded from the website worked. The snap package also works, so I will use that for now. I had upgraded (apt dist-upgrade) my Kubuntu packages multiple times in the last few months hoping an update would fix the issue, but it never did. I prefer to stick to an LTS instead of upgrading to 18.10.
It would be nice to get this fixed so I can use packages such as "unoconv", which are not working well with the snap installation.
Strange, it's now happening all of a sudden today with the same downloaded version that was working fine a few days ago. The difference from before is that now any soffice command is simply returning exit code 0 with neither command-line output nor logo flash. I had installed 6.1.3.2-2 via dpkg and have not upgraded it. I just now upgraded to 6.1.4.2-2 and it did not fix the problem.
Since LibreOffice 6.2 is moving to KDE5, could you please try with LibreOffice 6.2.0.1 from https://wiki.documentfoundation.org/QA/GetInvolved#Test_Pre-releases ? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
I purged 6.1, installed 6.2, tried to launch it, and the same thing happened (process exited right away).... But then I rebooted and it started working :/. Could this second bug be related to a graphics card issue? (NOTE: in the original bug with the packaged version, I did reboot multiple times, and it didn't help)
(In reply to enanitoleg from comment #14) > I purged 6.1, installed 6.2, tried to launch it, and the same thing happened > (process exited right away).... But then I rebooted and it started working > :/. Could this second bug be related to a graphics card issue? > > (NOTE: in the original bug with the packaged version, I did reboot multiple > times, and it didn't help) So, if you remove your profile and launch LibreOffice 6.2, it will fail the first time, but success the second time?
(In reply to Xisco Faulí from comment #15) > So, if you remove your profile and launch LibreOffice 6.2, it will fail the > first time, but success the second time? I just tried removing the profile, and it still launches normally. I apologize though, I think this might be a different bug than the one with the distro version, because this one was fixed simply by rebooting. I did not think to try removing the profile for this new bug, since the first bug was not fixed by that. But, I did try running with --nologo --norestore --safe-mode, and it had the same result of exit immediately with code 0... until I rebooted that is.
ok, let's then close this as RESOLVED WORKSFORME for now... Please, create a new report if you face the problem again in the future...
(In reply to Xisco Faulí from comment #17) > ok, let's then close this as RESOLVED WORKSFORME for now... > Please, create a new report if you face the problem again in the future... Actually, I was hoping that the package in the Kubuntu 18.04 LTS distro would be updated/ fixed. The LTS version is supported until 2021. Do you know who I can submit that request to?