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 2014/12/26 10:23:36 UTC

[Issue 125969] New: Error: object deleted while in use - drag and drop (Debug Output)

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

          Issue ID: 125969
        Issue Type: DEFECT
           Summary: Error: object deleted while in use - drag and drop
                    (Debug Output)
           Product: General
           Version: 4.1.1
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: code
          Assignee: issues@openoffice.apache.org
          Reporter: oliver.brinzing@gmx.de

Created attachment 84317
  --> https://issues.apache.org/ooo/attachment.cgi?id=84317&action=edit
drag and drop error

steps to reproduce:
- drag and drop attached file into aoo startcenter (with a debug version of
aoo4.1.1)

Debug Output
-------------------
Error: object deleted while in use !
>From File c:\build_tmp\aoo-4.1.1\main\vcl\inc\svdata.hxx at Line 446
Abort ? (Yes=abort / No=ignore / Cancel=core dump)

this will not happen, if file is opened via File -> Open...

// ----------------------
// - struct ImplDelData -
// ----------------------
// ImplDelData is used as a "dog tag" by a window when it
// does something that could indirectly destroy the window
// TODO: wild destruction of a window should not be possible

struct ImplDelData
{
    ImplDelData*    mpNext;
    const Window*   mpWindow;
    sal_Bool            mbDel;

                    ImplDelData( const Window* pWindow = NULL )
                    : mpNext( NULL ), mpWindow( NULL ), mbDel( sal_False )
                    { if( pWindow ) AttachToWindow( pWindow ); }

    virtual         ~ImplDelData();

    bool            IsDead() const
    {
        DBG_ASSERT( mbDel == sal_False, "object deleted while in use !" );
        return (mbDel!=sal_False);
    }
    sal_Bool /*deprecated */IsDelete() const { return (sal_Bool)IsDead(); }

private:
    void            AttachToWindow( const Window* );
};

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.