https://bugs.documentfoundation.org/show_bug.cgi?id=123502

            Bug ID: 123502
           Summary: crash: use of "com.sun.star.ui.dialogs.FolderPicker"
                    service from java seems to cause crashes since LO 6.1
           Product: LibreOffice
           Version: 6.1.5.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: framework
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: oliver.brinz...@gmx.de

Created attachment 149331
  --> https://bugs.documentfoundation.org/attachment.cgi?id=149331&action=edit
beanshell script folderpicker

we noticed a strange problem when using "com.sun.star.ui.dialogs.FolderPicker"
service with java since LO 6.1. this did not happen with LO 5.4.

i am adding a beanshell script to demonstrate.

steps to reproduce with:

Version: 6.1.5.2 (x64)
Build ID: 90f8dcf33c87b3705e78202e3df5142b201bd805
CPU threads: 4; OS: Windows 10.0; UI render: default; 
Locale: de-DE (de_DE); Calc: 

- Menu Tools/Macros/Organize Macros.../BeanShell...
  - [Create] a Library
  - [Create] a Module
  - [EDIT]
  - Clear
  - copy attached Source Code
  - adjust Line 37: xFolderPicker.setDisplayDirectory("D:\\Temp\\"); 
    to a valid path
  - Save Macro
  - Run Macro
  - [Cancel] FolderPicker dialog
  - create a new writer document
  - close writer document
  - Run Macro again
  - [Cancel] FolderPicker
  - create a new writer document
  - crash

i tried serveral times with a new userprofile and can always 
reproduce the crash, no crashreport is triggered.

with attached debugger and 

Version: 6.3.0.0.alpha0+ (x64)
Build ID: 0ae876595e9d9af44fc4d4bc948f8a42d8a27e8d
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-US
Calc: threaded

i can see:

warn:vcl.schedule:1236:392:vcl/source/app/scheduler.cxx:368: we're too early -
restart the timer (6ms)!Ausnahme ausgelöst bei 0x00007FFC1E4F5549 in
soffice.bin: Microsoft C++-Ausnahme:
com::sun::star::ucb::InteractiveAugmentedIOException bei Speicherort
0x0000008D8D257340.
Ausnahme ausgelöst bei 0x00007FFC1E4F5549 in soffice.bin: Microsoft
C++-Ausnahme: com::sun::star::ucb::InteractiveAugmentedIOException bei
Speicherort 0x0000008D8D257340.
Ausnahme ausgelöst bei 0x00007FFC1E4F5549 in soffice.bin: Microsoft
C++-Ausnahme: com::sun::star::ucb::InteractiveAugmentedIOException bei
Speicherort 0x0000008D8D257340.
Ausnahme ausgelöst bei 0x00007FFC1E4F5549 in soffice.bin: Microsoft
C++-Ausnahme: com::sun::star::ucb::InteractiveAugmentedIOException bei
Speicherort 0x0000008D8D257340.
Ausnahme ausgelöst bei 0x00007FFC1E4F5549 in soffice.bin: Microsoft
C++-Ausnahme: com::sun::star::ucb::InteractiveAugmentedIOException bei
Speicherort 0x0000008D8D257340.
Ausnahmefehler bei 0x00007FFC1E16F08E (ucrtbase.dll) in soffice.bin:
Schwerwiegende Beendigung des Programms angefordert

Das Programm "[1236] soffice.bin" wurde mit Code 0 (0x0) beendet.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to