https://bugs.freedesktop.org/show_bug.cgi?id=69173

          Priority: high
            Bug ID: 69173
                CC: noel.po...@gmail.com, nopo...@novell.com,
                    sberg...@redhat.com, uray.ja...@gmail.com
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: crash when closing last document the Basic IDE was
                    using, and giving IDE window the focus
          Severity: blocker
    Classification: Unclassified
                OS: All
          Reporter: lio...@mamane.lu
          Hardware: All
            Status: UNCONFIRMED
           Version: 4.2.0.0.alpha0+ Master
         Component: BASIC
           Product: LibreOffice

Created attachment 85544
  --> https://bugs.freedesktop.org/attachment.cgi?id=85544&action=edit
reproduction case

Reproduction Instructions:

1) Close all LibreOffice windows (except Start Center).

2) Open attached document in LibreOffice.

3) (If asked) "Disable macros"
   (the bug is also reproducible with "enable macros")

4) Menu Tools / Macros / Manage Macros / Basic

5) navigate to "just opened document" / Standard / Module1 / Main

6) Click Edit
   Basic IDE opens

7) Close the *document* window (Writer window)

8) Give Focus to Basic IDE window
   (I have sloppy focus (focus follows the mouse),
    so I just have to point the mouse at the IDE window.
    Other settings or OSs may have to click in the Window,
    press ALT-TAB, click on Icon in Task Bar / Expose, ...)


Reproduced with my own debug build of (master branch)

commit b090cbdf82e0827234caf5969124f6631311ef35
Author: Lionel Elie Mamane <lio...@mamane.lu>
Date:   Fri Aug 30 18:00:21 2013 +0200

plus some local patches on top.


Full gdb log attached. Most interesting part:



(gdb) thread 1
[Switching to thread 1 (Thread 0x7f6cc0cc2800 (LWP 25812))]
#0  x86_64_fallback_frame_state (fs=0x7fff07b34480, context=<optimized out>) at
./md-unwind-support.h:53
53    in ./md-unwind-support.h
(gdb) frame 28
#28 0x00007f6cbb153662 in Window::ImplGrabFocus (this=this@entry=0x2dc3d70,
nFlags=nFlags@entry=0)
    at
/home/master/src/libreoffice/workdirs/libreoffice-4.2/vcl/source/window/window.cxx:3967
3967        if( mpWindowImpl->mbInDtor )
(gdb) print mpWindowImpl
$1 = (WindowImpl *) 0x9999999999999999


0x9999999999999999 is our special canary for memory that has been malloc()d,
but not initialised (in GNU/Linux debug builds).

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

Reply via email to