<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - FILEOPEN PDF Crash if open file from mounted via pam_mount net share (cifs)"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=124382">124382</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>FILEOPEN PDF Crash if open file from mounted via pam_mount net share (cifs)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.0.7.3 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>minor
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Draw
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>shevtsov.anton@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:

If i try open pdf file from mounted via pam_mount
(<a href="https://wiki.archlinux.org/index.php/Pam_mount">https://wiki.archlinux.org/index.php/Pam_mount</a>) 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: <a href="https://cloud.72to.ru/index.php/s/rXLcXsds2HqTiFX">https://cloud.72to.ru/index.php/s/rXLcXsds2HqTiFX</a>

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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>