You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2011/12/07 05:00:43 UTC

DO NOT REPLY [Bug 118671] New: Simple macro crashes OOo.Impress

https://issues.apache.org/ooo/show_bug.cgi?id=118671

             Bug #: 118671
        Issue Type: DEFECT
           Summary: Simple macro crashes OOo.Impress
    Classification: Application
           Product: Presentation
           Version: OOo 3.3
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: P5
         Component: viewing
        AssignedTo: graphicsneedsconfirm@openoffice.org
        ReportedBy: eko@lanet.lv
                CC: ooo-issues@incubator.apache.org


Created attachment 77063
  --> https://issues.apache.org/ooo/attachment.cgi?id=77063
Custum slide show with killer macro

OOo.Impress is crashing during a
slide show when one custom slide show is replaced by another.

Version-Release number of selected component (if applicable):
openoffice.org-impress 3.3.x

How reproducible:
100%

Steps to Reproduce:
1. Open the attached presentation.
2. Enable macros for this presentation.
3. Start slide show.
4. Navigate to the second slide.
5. Choose the second or the third example.


Actual results:
OpenOffice.org crashes.

Expected results:
The slide show must go on.

Verified OS/OOo:
This presentation crashes on:
Fedora 14 x64
   - with OOo from repository
     x86_64 1:3.3.0-20.8.fc14
   - with latest stable pre-compiled binary (3.3.0)
     x64 from www.openoffice.org
   - with latest stable pre-compiled binary (3.4.4 , OOO340m1, Build:402)
     x64 from www.libreoffice.org
Scientific Linux 6.1 x86 LiveDVD
   - with latest stable pre-compiled binary (3.3.0)
     x86 from www.openoffice.org

This presentation works fine with OOo 3.2.0


The "Killer-Macro" is as follows:
------------------------------------
Sub KursSkats (view_name as String)

 oDoc = ThisComponent
 oDoc.Presentation.setPropertyValue("CustomShow", view_name)
 oDoc.Presentation.start() 

End Sub
-------------------------------------

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

[Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

--- Comment #12 from Armin Le Grand <Ar...@me.com> ---
ALG: Tried in OOo3.3, same behaviour as AOO4.0. Tried in OOo2.2, office hangs
when klicking on a macro-enabled line. I have no 3.2.0, though. Can someone
having one check if that really worked?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

jsc@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|4.0.0_release_blocker?      |4.0.0_release_blocker+

--- Comment #24 from jsc@apache.org ---
showstopper flag got lost

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

liupingtan <do...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

-- 
You are receiving this mail because:
You are on the CC list for the bug.

DO NOT REPLY [Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

Marcus <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P5                          |P2
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID
           Severity|critical                    |major

--- Comment #2 from Marcus <ma...@apache.org> 2011-12-07 19:15:59 UTC ---
The versions you've tested with are not from the OOo project but 3rd party.
Please try again with a vanilla build and report here. Thanks.

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

[Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

liupingtan <do...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |doneyourself@gmail.com
         Resolution|---                         |FIXED

--- Comment #5 from liupingtan <do...@gmail.com> ---
can not reproduce on AOO350ml 1377620 on Win7-64bit

-- 
You are receiving this mail because:
You are on the CC list for the bug.

4.0.0_release_blocker granted: [Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
jsc@apache.org has granted fanyuzhen@gmail.com's request for
4.0.0_release_blocker:
Bug 118671: Simple macro crashes OOo.Impress
https://issues.apache.org/ooo/show_bug.cgi?id=118671


------- Additional Comments from jsc@apache.org
grant showstopper flag, patch available

[Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

--- Comment #25 from fanyuzhen@gmail.com ---
I do not have Linux environment for verification:
1. Ubuntu 10.04 / 32 bit
2. Fedora 14 / 64 bit

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

Armin Le Grand <Ar...@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |AOO 4.0

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

Zirneklitis <ek...@lanet.lv> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|OOo 3.3                     |AOO 3.4.1

-- 
You are receiving this mail because:
You are on the CC list for the bug.

4.0.0_release_blocker granted: [Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
jsc@apache.org has granted Armin Le Grand <Ar...@me.com>'s request for
4.0.0_release_blocker:
Bug 118671: Simple macro crashes OOo.Impress
https://issues.apache.org/ooo/show_bug.cgi?id=118671


------- Additional Comments from jsc@apache.org
showstopper flag got lost

[Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

Armin Le Grand <Ar...@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |ACCEPTED

--- Comment #19 from Armin Le Grand <Ar...@me.com> ---
ALG: getting closer, I get the crash now on linux. It crashes in
ElapsedTime::releaseTimer() with a 0 == this ptr. Stack shows that a
SlideshowImpl::updateSlideShow is executed with member mbDisposed == true.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

--- Comment #18 from Armin Le Grand <Ar...@me.com> ---
ALG: Thanks Regina, I have the following happening: The end()/start() works so
far, only the presenter console stays open when ending the presentation, it
closes when closing the document. Checking further on linux..

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

--- Comment #4 from Zirneklitis <ek...@lanet.lv> ---
Pre-compiled binaries Apache OpenOffice 3.4.0 (AOO340m, rev 1327774)

1. Apache_OpenOffice_incubating_3.4.0_Win_x86_install_en-US.exe
Microsoft Windows XP SP 3 – works as expected.

2. Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-deb_en-US.tar.gz
Ubuntu 10.04 (Lucid) + Xfce – CRASHES!
Ubuntu 10.04 (Lucid) + Gnome – CRASHES!

-- 
You are receiving this mail because:
You are on the CC list for the bug.

DO NOT REPLY [Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

Zirneklitis <ek...@lanet.lv> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |

--- Comment #3 from Zirneklitis <ek...@lanet.lv> 2011-12-07 19:59:41 UTC ---
I have already mentioned "with latest stable pre-compiled binary (3.3.0) x64
from www.openoffice.org" (the downloaded archive is
OOo_3.3.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz) and with latest stable
pre-compiled binary (3.3.0)  x86 from www.openoffice.org (the downloaded
archive is OOo_3.3.0_Linux_x86_install-rpm-wJRE_en-GB.tar.gz). Both of them
crashes.

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

[Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

jsc@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jsc@apache.org
              Flags|4.0.0_release_blocker?      |4.0.0_release_blocker+

--- Comment #21 from jsc@apache.org ---
grant showstopper flag, patch available

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

DO NOT REPLY [Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

--- Comment #1 from Zirneklitis <ek...@lanet.lv> 2011-12-07 04:08:35 UTC ---
This bug was reported also to:

https://bugzilla.redhat.com/show_bug.cgi?id=759647

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

[Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

fanyuzhen@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fanyuzhen@gmail.com
              Flags|                            |4.0.0_release_blocker?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

Zirneklitis <ek...@lanet.lv> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CLOSED                      |UNCONFIRMED
         Resolution|FIXED                       |---

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

Regina Henschel <rb...@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rb.henschel@t-online.de

--- Comment #14 from Regina Henschel <rb...@t-online.de> ---
I have tested it
in OpenOffice.org 3.2.1 OOO320m18 (Build:9502),
in OpenOffice.org 3.4.1 AOO341m1(Build:9593) Rev. 1372282,
in AOO400m2(Build:9701)  -  Rev. 1497734,
all on Windows 7.

There is no crash and the macro calls the custom slide show, so Ariel is likely
right, that this is a Linux only bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

--- Comment #13 from Armin Le Grand <Ar...@me.com> ---
ALG: Have now found and installed a OOo3.2.0 version (build:9483), OOo320m12.
Indeed it starts the other custom presentation, but with hard screen flicker.
Thus indeed between OOo3.2.0 and OOo3.3 something must have changed with the
UNO API Slideshow object; calling oDoc.Presentation.start() does not lead to
starting the set 'CustomShow' anymore.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

--- Comment #23 from SVN Robot <sv...@dev.null.org> ---
"alg" committed SVN revision 1501160 into trunk:
i118671 take emergency exit when local slideshow is disposed from executing
m...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

Armin Le Grand <Ar...@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Armin.Le.Grand@me.com

--- Comment #10 from Armin Le Grand <Ar...@me.com> ---
ALG: The 2nd line uses macro 'OtraisSkats', the 3rd uses 'TreshaaSkats', both
call 'KursSkats'. Tried on xubuntu64bit. The macros shall start the presenation
(which is already running?).
Ah, there are many CustomSlideShows and the macros are intended to start one of
these. I am not sure if this is intended to work with an already running
SlideShow. Added (for test) a 'oDoc.Presentation.stop()' to see if that makes
what seems intended, but does not work.

I get no crash on xubuntu64bit, but some assertions like:

'Error: DocumentEventNotifier_Impl::notifyEvent: illegal source document!'
'Error: setting state of dirty message'

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

--- Comment #16 from Armin Le Grand <Ar...@me.com> ---
ALG: Debugged for a while, found that indeed in SlideShow::startWithArguments
in sd/source/ui/slideshow in line 848 an assertion is triggered and end() is
called. The comment says 'Stop a running show before starting a new one.'.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

--- Comment #8 from Ariel Constenla-Haile <ar...@apache.org> ---
(In reply to comment #6)
> This bug has not been fixed!!!
> 
> The macro crashes the latest AOO:
> 
> Apache OpenOffice 3.4.1
> AOO341m1(Build:9593) - Rev.1372282
> 2012-08013 09:43:38 (Mon, 13 Aug 2012) - Linux i686
> on
> Ubuntu 10.04
> Linux 2.6.32-43-generic #97-Ubuntu SMP Wed Sep 5 16:43:09 UTC 2012 i686
> GNU/Linux
> 
> as well as x64 version on Fedora 14 x64.

For comment 4 and comment 5 I get the idea that it's an only linux bug, can you
confirm?
If you want to try with a recent Developer Snapshot, they can be found at
http://people.apache.org/~arielch/packages/r1391723

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

--- Comment #9 from Zirneklitis <ek...@lanet.lv> ---
At present it has become the problem for Linux distributions. I have tried a
recent Developer Snapshot
(http://people.apache.org/~arielch/packages/r1391723):

1. Windows 7 / 32 bit – works as expected;

2. Ubuntu 10.04 / 32 bit – CRASH! (no terminal messages)

3. Fedora 14 / 64 bit  – CRASH! The only terminal messages are as follows:

$ ./soffice

** (soffice:3679): WARNING **: Inhibit method failed

** (soffice:3679): WARNING **: Inhibit problem : The name
org.gnome.SessionManager was not provided by any .service files

** (soffice:3679): WARNING **: Invalid cookie

** (soffice:3679): WARNING **: Inhibit method failed

** (soffice:3679): WARNING **: Inhibit problem : The name
org.gnome.SessionManager was not provided by any .service files
$

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

--- Comment #6 from Zirneklitis <ek...@lanet.lv> ---
This bug has not been fixed!!!

The macro crashes the latest AOO:

Apache OpenOffice 3.4.1
AOO341m1(Build:9593) - Rev.1372282
2012-08013 09:43:38 (Mon, 13 Aug 2012) - Linux i686
on
Ubuntu 10.04
Linux 2.6.32-43-generic #97-Ubuntu SMP Wed Sep 5 16:43:09 UTC 2012 i686
GNU/Linux

as well as x64 version on Fedora 14 x64.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

DO NOT REPLY [Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

Zirneklitis <ek...@lanet.lv> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #77063|Custum slide show with      |Custom slide show with
        description|killer macro                |killer macro

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

[Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

Ariel Constenla-Haile <ar...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
                 CC|                            |arielch@apache.org
     Ever confirmed|0                           |1

--- Comment #7 from Ariel Constenla-Haile <ar...@apache.org> ---
Co9nfirmed on Linux, with current trunk

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

--- Comment #17 from Regina Henschel <rb...@t-online.de> ---
Yes, on Window7 it works. You can see that another show has started, if you
right click and then use item 'Goto slide'. There are all slides listed, which
belong to the actual show.

And when you finish the custom slide show regularly, it does not switch back to
another custom slide show. If you want to start with the intro (=Copyright and
hint to F5) you have to select the custom slide show 'Parastais' from the
drop-down list 'Custom Slide show' in Slide Show > Slide Show Settings.

Hyperlink, Interaction and direct macro works as it should in Windows7.

The view goes shortly (less than 1/2 second) to the Window7 desktop and then
the other custom slide show starts automatically.

In my debug build the message
Error: unknown exception occured! From File
c:/AOO_2013_06_27/trunk/main/comphelper/source/misc/scopeguard.cxx at Line 51
is generated, but I don't know by which action.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

4.0.0_release_blocker requested: [Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
Armin Le Grand <Ar...@me.com> has asked  for 4.0.0_release_blocker:
Bug 118671: Simple macro crashes OOo.Impress
https://issues.apache.org/ooo/show_bug.cgi?id=118671


------- Additional Comments from Armin Le Grand <Ar...@me.com>
ALG: Okay, checked again and comitted. This fixes the crash on linux systems
and avoids a null-pointer access on the other systems with writing a boolean
member there.

[Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

Armin Le Grand <Ar...@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ACCEPTED                    |RESOLVED
         Resolution|---                         |FIXED
              Flags|4.0.0_release_blocker+      |4.0.0_release_blocker?

--- Comment #22 from Armin Le Grand <Ar...@me.com> ---
ALG: Okay, checked again and comitted. This fixes the crash on linux systems
and avoids a null-pointer access on the other systems with writing a boolean
member there.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

--- Comment #15 from Armin Le Grand <Ar...@me.com> ---
ALG: @Regina: Do you mean that in your tests the custom slideshow gets started
acually? In my scenarios just nothing happens.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

--- Comment #11 from Armin Le Grand <Ar...@me.com> ---
ALG: Tried win version, also klicking the macro-enabled lines does nothing.
Also added a 'oDoc.Presentation.end()', this does what seems intended, but gets
out of sync with the presentation console and crashes when ending the
presentation. This looks as if starting another custom presentation from a
running presentation is a good idea for enhancement, but is not really
supported currently.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 118671] Simple macro crashes OOo.Impress

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118671

--- Comment #20 from Armin Le Grand <Ar...@me.com> ---
Created attachment 81033
  --> https://issues.apache.org/ooo/attachment.cgi?id=81033&action=edit
ALG: A possible solution

ALG: Okay, found problem. It's a typical shot back; originating from
SlideshowImpl the action queqes are executed; this can dispose the local
object, thus any usage hereafter will lead to problems. A boolean is set at
0==this; win and mac are just more stable OSes but have the same problem. Added
patch will solve this.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.