Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 483476 - =app-office/libreoffice-4.0.4.2 and CIFS - When opening a file from a cifs mounted share, libreoffice quits with SIGBUS.
Summary: =app-office/libreoffice-4.0.4.2 and CIFS - When opening a file from a cifs mo...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-03 10:59 UTC by Killian De Volder
Modified: 2013-09-15 10:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
GDB stack dump during crash (crash.log,2.62 KB, text/plain)
2013-09-03 10:59 UTC, Killian De Volder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Killian De Volder 2013-09-03 10:59:14 UTC
There seems to be an issue with libreoffice and cifs.
When opening a file from a cifs mounted share, libreoffice quits with SIGBUS.

Reproducible: Always

Steps to Reproduce:
1. Setup a Samba server with following properties (not sure if it's specific to theses settings):
- Samba-3.6.16
- strict locking = yes
- max protocol = smb2
- oplocks = yes
- level2 oplocks = yes
- kernel oplocks = no
2. Mount a cifs filesystem.
3. Open a file from the mounted network drive.
Actual Results:  
LibreOffice crashes and following messages are show in dmesg:

Status code returned 0xc0000054 NT_STATUS_FILE_LOCK_CONFLICT
CIFS VFS: Send error in read = -1

Expected Results:  
Libreoffice should complain it cannot open the file.
Added bonus would be telling why, like: failed to lock the file.
Comment 1 Killian De Volder 2013-09-03 10:59:38 UTC
Created attachment 357754 [details]
GDB stack dump during crash
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2013-09-15 10:25:30 UTC
Please report this issue upstream as this is most likely not related to how we package libreoffice in gentoo.

Upstream bugzilla is bugs.freedesktop.org. When you do it, just add the upstream bug link into URL field above for tracking purposes.