Bug 109009 - LO crashes when trying to save or open a document, leaving Samba error messages if started from terminal
Summary: LO crashes when trying to save or open a document, leaving Samba error messag...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.4.0.1 rc
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-07 19:33 UTC by Jogchum Reitsma
Modified: 2017-10-16 18:44 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Backtrace of LO Writer (19.95 KB, text/plain)
2017-08-26 22:10 UTC, Jogchum Reitsma
Details
Backtrace following openSuse method (20.99 KB, text/x-log)
2017-08-27 08:08 UTC, Jogchum Reitsma
Details
Backtrace with all missing dubug packages installed (2.97 KB, text/x-log)
2017-08-27 09:36 UTC, Jogchum Reitsma
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jogchum Reitsma 2017-07-07 19:33:45 UTC
Description:
LibreOffice crashes when trying to save a new document, or save an existing document with a new name.

When started from the terminal, after the crash the following message appears:

LibreOffice(17047) KSambaSharePrivate::getNetUserShareInfo: We got some errors while running 'net usershare info' 
LibreOffice(17047) KSambaSharePrivate::getNetUserShareInfo: "Failed to init messaging context

The error arose in the 5.3 release series, don't know when exactly. But in 5.4 RC it is still there.

Happens in Wrtier, Calc and Impress,other components not tested.

Steps to Reproduce:
1. Start LO (be it Writer, Calc, or Impress) (to see error messages, start it from the terminal)
2. Make a new document, fill it with something
3. (Try to) save it

Actual Results:  
LO crashes, leaving the message

LibreOffice(17047) KSambaSharePrivate::getNetUserShareInfo: We got some errors while running 'net usershare info' 
LibreOffice(17047) KSambaSharePrivate::getNetUserShareInfo: "Failed to init messaging context

Expected Results:
LO saves the document, and returns to standard LO-environment


Reproducible: Always

User Profile Reset: Yes, a few times, with different LO-releaes; no result.

Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Comment 1 Buovjaga 2017-08-07 17:02:16 UTC
You could try getting a backtrace: https://wiki.documentfoundation.org/QA/BugReport/Debug_Information

Are you using Samba, then? You have no step of setting it up.
Comment 2 Jogchum Reitsma 2017-08-26 22:10:13 UTC
Created attachment 135807 [details]
Backtrace of LO Writer

Backtrace of LO-writer, after trying to save a document.
Comment 3 Jogchum Reitsma 2017-08-26 22:10:58 UTC
No, I am not using Samba. No Windows-systems in our infra, so no need to use it.

I've made a backtrace, add it as an attachment.
Comment 4 Jogchum Reitsma 2017-08-26 22:21:16 UTC
Lots of "Missing separate debuginfo" messages - is the backtrace any use this way?

Or must I add *all* debug components to my system?
Comment 5 David Tardon 2017-08-27 06:46:27 UTC
"/usr/lib64/libreoffice/program/gdbtrace:9: Error in sourced command file:
No stack." -> generation of the backtrace failed.
Comment 6 Buovjaga 2017-08-27 07:40:30 UTC
Looks like you are using openSUSE, so check here for the debug packages instructions: https://en.opensuse.org/openSUSE:Bugreport_LO#How_to_get_backtrace
Comment 7 Jogchum Reitsma 2017-08-27 08:08:39 UTC
Created attachment 135814 [details]
Backtrace following openSuse method

Created a new backtrace, following the method from openSuse as indicated.

Doubt if this is more useful...
Comment 8 Buovjaga 2017-08-27 08:32:38 UTC
(In reply to Jogchum Reitsma from comment #7)
> Created attachment 135814 [details]
> Backtrace following openSuse method
> 
> Created a new backtrace, following the method from openSuse as indicated.
> 
> Doubt if this is more useful...

Just to clarify, did you install the debuginfo packages? If yes, it is weird that it is not working.
Comment 9 Jogchum Reitsma 2017-08-27 09:01:09 UTC
I added all the LO-dubug packages of the LO-components I use. But no more.

As mentioned in a previous post, should I install *all* the debug packages that are indicated missing in the gdb.log file? 

Of course I can, but they are quite a few, so it will take some time and space.
Comment 10 Jogchum Reitsma 2017-08-27 09:36:15 UTC
Created attachment 135815 [details]
Backtrace with all missing dubug packages installed

I installed all the debug packages gdb complained where missing, 128 in total.

The result is the same I think, except for the complaints of gdb.
Comment 11 Jogchum Reitsma 2017-10-04 11:46:12 UTC
While the debug-problem is not solved, the original problem is, automagically. Somewhere before my current version 5.4.1.2.0 the bug, which sat quiet for at least half a year, has flown away. Hopefully to not return!

Thanks for thinking with me!
Comment 12 Buovjaga 2017-10-16 18:44:45 UTC
(In reply to Jogchum Reitsma from comment #11)
> While the debug-problem is not solved, the original problem is,
> automagically. Somewhere before my current version 5.4.1.2.0 the bug, which
> sat quiet for at least half a year, has flown away. Hopefully to not return!
> 
> Thanks for thinking with me!

Great! Let's close as WFM.