Bug 124382 - FILEOPEN PDF Crash if open file from mounted via pam_mount net share (cifs)
Summary: FILEOPEN PDF Crash if open file from mounted via pam_mount net share (cifs)
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
6.3.0.0.alpha0+
Hardware: All Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-28 05:15 UTC by Anton Shevtsov
Modified: 2020-04-25 03:38 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
strace log (37.94 KB, application/gzip)
2019-03-28 05:16 UTC, Anton Shevtsov
Details
debug log (23.77 KB, application/gzip)
2019-03-28 07:31 UTC, Anton Shevtsov
Details
pam_mount.conf.xml (582 bytes, text/xml)
2019-03-28 07:55 UTC, Anton Shevtsov
Details
ascii filename (63.66 KB, application/gzip)
2019-03-28 10:23 UTC, Anton Shevtsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Shevtsov 2019-03-28 05:15:49 UTC
Description:

If i try open pdf file from mounted via pam_mount (https://wiki.archlinux.org/index.php/Pam_mount) net share from Windows File Server then Draw is crashed. After restart Draw, it try restore pdf file, but crashed again.

Other apps opened this (and other) pdf's fine. If i copy file to local folder (as example /tmp) - all work fine.

tested on few computers (KDE5, Mate).





Steps to Reproduce:

I am run command line bellow

export LANG=en_US.UTF-8 ; strace -s 1024 -o /tmp/draw_open_pdf_from_smbshare_pammount.txt libreoffice6.0 --draw '/home/ADM72.LOCAL/shevtsovay/mnt/share_all/Шевцов А.Ю/Протокол ДЛК2.pdf'

(soffice:28945): GLib-GObject-WARNING **: gsignal.c:3492: signal name 'selection_changed' is invalid for instance '0x2a712a0' of type 'OOoAtkObjCompTxt'

Fatal exception: Signal 7
Stack:
/usr/lib64/LibreOffice/program/libuno_sal.so.3(+0x3b9b0)[0x7f45e23f49b0]
/usr/lib64/LibreOffice/program/libuno_sal.so.3(+0x3bb20)[0x7f45e23f4b20]
/lib64/libc.so.6(+0x33330)[0x7f45e1d8f330]
/usr/lib64/LibreOffice/program/../program/libpdfimportlo.so(+0x210e8)[0x7f458caa80e8]
/usr/lib64/LibreOffice/program/../program/libpdfimportlo.so(+0x21667)[0x7f458caa8667]
/usr/lib64/LibreOffice/program/../program/libpdfimportlo.so(+0x1112d)[0x7f458ca9812d]
/usr/lib64/LibreOffice/program/../program/libpdfimportlo.so(+0x11c8f)[0x7f458ca98c8f]
/usr/lib64/LibreOffice/program/../program/libfilterconfiglo.so(+0x411f0)[0x7f459646e1f0]
/usr/lib64/LibreOffice/program/../program/libfilterconfiglo.so(+0x4199b)[0x7f459646e99b]
/usr/lib64/LibreOffice/program/../program/libfilterconfiglo.so(+0x42307)[0x7f459646f307]
/usr/lib64/LibreOffice/program/../program/libfwklo.so(+0x11b247)[0x7f45c0618247]
/usr/lib64/LibreOffice/program/../program/libfwklo.so(+0x11f251)[0x7f45c061c251]
/usr/lib64/LibreOffice/program/../program/libfwklo.so(+0xb031f)[0x7f45c05ad31f]
/usr/lib64/LibreOffice/program/../program/libfwklo.so(+0xb10e8)[0x7f45c05ae0e8]
/usr/lib64/LibreOffice/program/libcomphelper.so(_ZN10comphelper19SynchronousDispatch8dispatchERKN3com3sun4star3uno9ReferenceINS4_10XInterfaceEEERKN3rtl8OUStringESD_iRKNS4_8SequenceINS3_5beans13PropertyValueEEE+0x3cf)[0x7f45e00d8e3f]
/usr/lib64/LibreOffice/program/libsofficeapp.so(+0x41795)[0x7f45e2140795]
/usr/lib64/LibreOffice/program/libsofficeapp.so(+0x4c201)[0x7f45e214b201]
/usr/lib64/LibreOffice/program/libsofficeapp.so(+0x2679a)[0x7f45e212579a]
/usr/lib64/LibreOffice/program/libsofficeapp.so(+0x27b8a)[0x7f45e2126b8a]
/usr/lib64/LibreOffice/program/libvcllo.so(+0x30264f)[0x7f45dafee64f]
/usr/lib64/LibreOffice/program/libvcllo.so(_ZN16SalUserEventList18DispatchUserEventsEb+0x12f)[0x7f45db1eb97f]
/usr/lib64/LibreOffice/program/libvclplug_gtk3lo.so(+0x41fd9)[0x7f45c595afd9]
/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x13a)[0x7f45d362695a]
/lib64/libglib-2.0.so.0(+0x4dcd8)[0x7f45d3626cd8]
/lib64/libglib-2.0.so.0(g_main_context_iteration+0x2c)[0x7f45d3626d7c]
/usr/lib64/LibreOffice/program/libvclplug_gtk3lo.so(+0x43343)[0x7f45c595c343]
/usr/lib64/LibreOffice/program/libvcllo.so(_ZN11Application5YieldEv+0x2e)[0x7f45db1fc47e]
/usr/lib64/LibreOffice/program/libvcllo.so(_ZN11Application7ExecuteEv+0x45)[0x7f45db1fdce5]
/usr/lib64/LibreOffice/program/libsofficeapp.so(+0x28e01)[0x7f45e2127e01]
/usr/lib64/LibreOffice/program/libvcllo.so(+0x517226)[0x7f45db203226]
/usr/lib64/LibreOffice/program/libvcllo.so(_Z6SVMainv+0x22)[0x7f45db203322]
/usr/lib64/LibreOffice/program/libsofficeapp.so(soffice_main+0x8a)[0x7f45e215309a]
/usr/lib64/LibreOffice/program/soffice.bin[0x40070b]
/lib64/libc.so.6(__libc_start_main+0xf0)[0x7f45e1d7c7f0]
/usr/lib64/LibreOffice/program/soffice.bin[0x400749]

strace log: https://cloud.72to.ru/index.php/s/rXLcXsds2HqTiFX

mount options output

//fs1-sovet61/share_all on /home/ADM72.LOCAL/shevtsovay/mnt/share_all type cifs (rw,relatime,vers=2.0,sec=krb5,cache=strict,username=shevtsovay,uid=215651267,forceuid,gid=215600513,forcegid,addr=10.61.7.16,file_mode=0755,dir_mode=0755,nounix,serverino,mapposix,rsize=65536,wsize=65536,echo_interval=60,actimeo=1)
/etc/auto.smb on /mnt/samba/fs1-sovet61/share_all type autofs (rw,relatime,fd=18,pgrp=1239,timeout=34567,minproto=5,maxproto=5,offset,pipe_ino=14847)


if use simple as mount -t cifs -o=username //server/share /local/folder - аll work fine
if use gvfs - all work fine
if use pam_mount (autofs?) - crashed

Actual Results:
file not opened. Draw is crashed

Expected Results:
i want open file.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Версия: 6.0.7.3.0+
ID сборки: 00m0(Build:3)
Потоков ЦП: 4; ОС:Linux 4.9; Отрисовка ИП: GL; VCL: gtk3; 
Локаль: ru-RU (ru_RU.UTF-8); Calc: group
Comment 1 Anton Shevtsov 2019-03-28 05:16:18 UTC
Created attachment 150335 [details]
strace log
Comment 2 Anton Shevtsov 2019-03-28 07:31:04 UTC
Created attachment 150339 [details]
debug log

./sdraw --backtrace '/home/ADM72.LOCAL/shevtsovay/mnt/share_all/Шевцов А.Ю/Протокол ДЛК2.pdf'
Comment 3 Anton Shevtsov 2019-03-28 07:33:16 UTC
Version: 6.3.0.0.alpha0+
Build ID: a03f421a878c210566dc8d728113a27400da38f2
CPU threads: 4; OS: Linux 4.9; UI render: default; VCL: kde5; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-03-16_09:07:41
Locale: ru-RU (ru_RU.UTF-8); UI-Language: en-US
Calc: threaded
Comment 4 Anton Shevtsov 2019-03-28 07:55:20 UTC
Created attachment 150340 [details]
pam_mount.conf.xml

our pam_mount config for smb mount
Comment 5 Julien Nabet 2019-03-28 08:19:42 UTC
Just to know if it's due to a wrong management of encoding, could you give a try with a path + filename of pdf in plain ascii ?
Comment 6 Anton Shevtsov 2019-03-28 08:53:32 UTC
(In reply to Julien Nabet from comment #5)
> Just to know if it's due to a wrong management of encoding, could you give a
> try with a path + filename of pdf in plain ascii ?

I renamed "Протокол ДЛК2.pdf" to protocol.pdf - crashed always

I don't have a full path in ascii (without cyrillic letters) 

odt, doc and other filetypes succesfully opened in LO from this netshare
Comment 7 Anton Shevtsov 2019-03-28 10:11:28 UTC
(In reply to Julien Nabet from comment #5)
> Just to know if it's due to a wrong management of encoding, could you give a
> try with a path + filename of pdf in plain ascii ?

i try open file with ascii path

 /opt/libreofficedev6.3/program/soffice.bin --draw file:///home/ADM72.LOCAL/shevtsovay/mnt/share_all/temp/protocol.pdf

I make 3 attempts
1) First run - crash
2) Secord run - crash, send report message
3) File is opened..

o_O
Comment 8 Anton Shevtsov 2019-03-28 10:23:11 UTC
Created attachment 150345 [details]
ascii filename

add new pdf file (ascii path) and run with --backtrace

soffice.bin is freeze.. cpu load - 55, kswapd 99%
i killed proccess
Comment 9 Xisco Faulí 2019-09-26 11:20:34 UTC
Hello Anton,
A new major release of LibreOffice is available since this bug was reported.
Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
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.
Comment 10 QA Administrators 2020-03-25 02:40:41 UTC Comment hidden (obsolete)
Comment 11 QA Administrators 2020-04-25 03:38:54 UTC
Dear Anton Shevtsov,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp