Created attachment 153060 [details] Script that simply connects to Impress and iterates over 1st slide objects On current master, if a slide has an image (tested with PNG and JPG), iterating over slide objects and accessing ShapeType property results in __main__.RuntimeException: Binary URP bridge disposed during call # Steps to reproduce: 1. Run `soffice.bin --impress --accept="socket,host=localhost,port=2002;urp;StarOffice.ServiceManager"` (an Impress window should appear) 2. Copy this image to the new presentation https://wiki.documentfoundation.org/images/8/8c/BHS_large_6.3_RC2.png 3. Run the attached script as `python test.py` ## Expected No output ## Actual Script fails as: $ python test.py Traceback (most recent call last): File "test.py", line 30, in <module> [item for item in slide if item.ShapeType == 'com.sun.star.drawing.TableShape'] File "test.py", line 30, in <listcomp> [item for item in slide if item.ShapeType == 'com.sun.star.drawing.TableShape'] __main__.RuntimeException: Binary URP bridge disposed during call # Additional information Info for a version without the problem Version: 6.2.5.2 Build ID: 6.2.5-1 CPU threads: 4; OS: Linux 5.2; UI render: default; VCL: gtk3; Locale: ru-RU (ru_RU.UTF-8); UI-Language: en-US Calc: threaded Info for a version where the problem is present: Version: 6.4.0.0.alpha0+ Build ID: 236593a0544ea41e37d35b8fac83b31d0e7c5b67 CPU threads: 4; OS: Linux 5.2; UI render: default; VCL: gtk3; Locale: ru-RU (ru_RU.UTF-8); UI-Language: en-US Calc: threaded
Regression introduced by: https://cgit.freedesktop.org/libreoffice/core/commit/?id=2de42b53b7c23223c38e64a75eae248d8a0cd4ec author Shubham Goyal <22shubh22@gmail.com> 2019-07-03 12:15:08 +0530 committer Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> 2019-07-25 07:15:10 +0200 commit 2de42b53b7c23223c38e64a75eae248d8a0cd4ec (patch) tree dc4b2fc96a0569b7c0ebfdc80446181c842a9964 parent 5ccc8124a03cffca3a1848f754524a06a063cb51 (diff) QRCode Dialog Box feature Bisected with: bibisect-linux64-6.4 Adding Cc: to Shubham Goyal
Hi, I am unable to generate the error, for me the script runs fine ?
@Konstantin can you retry with current master?
(In reply to Samuel Mehrbrodt (CIB) from comment #3) > @Konstantin can you retry with current master? Hmm. I don't know if it's because I enabled debug symbols upon rebuild, but current master fails to build for me with /home/constantine/Projects/libreoffice/external/firebird/ExternalPackage_firebird.mk:21: *** file /home/constantine/Projects/libreoffice/workdir/UnpackedTarball/firebird/gen/Debug/firebird/lib/libfbclient.so.3.0.0 does not exist in the tarball. Stop. Will try to look at it later then.
(In reply to Konstantin Kharlamov from comment #4) > (In reply to Samuel Mehrbrodt (CIB) from comment #3) > > @Konstantin can you retry with current master? > > Hmm. I don't know if it's because I enabled debug symbols upon rebuild, but > current master fails to build for me with > > /home/constantine/Projects/libreoffice/external/firebird/ > ExternalPackage_firebird.mk:21: *** file > /home/constantine/Projects/libreoffice/workdir/UnpackedTarball/firebird/gen/ > Debug/firebird/lib/libfbclient.so.3.0.0 does not exist in the tarball. Stop. > > Will try to look at it later then. Maybe you can use --disable-firebird-sdbc to not build Firebird and don't face that problem ( just a temporally workaround )
Still failing for me Version: 6.4.0.0.alpha0+ Build ID: 620fff54ca9cd04459cc5d963ef94d4438129fe4 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US Calc: threaded @shubhamgoyal since you are still working on the QR code feature, might it be possible you have some commits we don't have which fix this issue ?
(In reply to Xisco Faulí from comment #6) > Still failing for me > > Version: 6.4.0.0.alpha0+ > Build ID: 620fff54ca9cd04459cc5d963ef94d4438129fe4 > CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; > Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US > Calc: threaded > > @shubhamgoyal since you are still working on the QR code feature, might it > be possible you have some commits we don't have which fix this issue ? Same for me. FTR, I just recorded a video, just to double-check, @Samuel is it not what you see? https://youtu.be/WL58LR03068
(In reply to Xisco Faulí from comment #5) > (In reply to Konstantin Kharlamov from comment #4) > > (In reply to Samuel Mehrbrodt (CIB) from comment #3) > > > @Konstantin can you retry with current master? > > > > Hmm. I don't know if it's because I enabled debug symbols upon rebuild, but > > current master fails to build for me with > > > > /home/constantine/Projects/libreoffice/external/firebird/ > > ExternalPackage_firebird.mk:21: *** file > > /home/constantine/Projects/libreoffice/workdir/UnpackedTarball/firebird/gen/ > > Debug/firebird/lib/libfbclient.so.3.0.0 does not exist in the tarball. Stop. > > > > Will try to look at it later then. > > Maybe you can use --disable-firebird-sdbc to not build Firebird and don't > face that problem ( just a temporally workaround ) Btw, thanks, that helped with that error. But then I stumbled upon something another, and in the end I just did `make clean`, and rebuild everything from scratch. That helped.
Someone may need to step in as I am unable to produce the crash. I am unaware why it is so.
(In reply to shubhamgoyal from comment #9) > Someone may need to step in as I am unable to produce the crash. I am > unaware why it is so. Did you follow the same steps as seen in the video? Did your presentation have an image in the first slide?
(In reply to Samuel Mehrbrodt (CIB) from comment #10) > (In reply to shubhamgoyal from comment #9) > > Someone may need to step in as I am unable to produce the crash. I am > > unaware why it is so. > > Did you follow the same steps as seen in the video? Did your presentation > have an image in the first slide? yes.
Dear shubham goyal, This bug has been in ASSIGNED status for more than 3 months without any activity. Resetting it to NEW. Please assign it back to yourself if you're still working on this.
Dear Konstantin Kharlamov, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
I can no longer reproduce it with LibreOffice 7.3.0.3