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

            Bug ID: 91239
           Summary: any basic window lead to crash (VclPtr related ?)
           Product: LibreOffice
           Version: 5.0.0.0.alpha0+ Master
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

a simple macro statement as
Print "Hello"

displays the window
when "ok", on closing, libreoffice crashes

same behaviour on more "complex" dialogs

gdb bt
---------

    soffice.bin:
/home/lgodard/projets/libreoffice/build/git/core/include/vcl/outdev.hxx :283 :
void OutputDevice::release() const:  l'assertion « mnRefCnt>0 » a échoué.

    Program received signal SIGABRT, Aborted.
    0x00007ffff748c107 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
    56      ../nptl/sysdeps/unix/sysv/linux/raise.c: Aucun fichier ou dossier
de ce type.
    (gdb) bt
    #0  0x00007ffff748c107 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
    #1  0x00007ffff748d4e8 in __GI_abort () at abort.c:89
    #2  0x00007ffff7485226 in __assert_fail_base (fmt=0x7fffdece703a "%s%s%s
:%u : %s%s l'assertion « %s » a échoué.\n%n",
assertion=assertion@entry=0x7ffff16732d0 "mnRefCnt>0",
        file=file@entry=0x7ffff1673288
"/home/lgodard/projets/libreoffice/build/git/core/include/vcl/outdev.hxx",
line=line@entry=283,
        function=function@entry=0x7ffff1674800 <OutputDevice::release()
const::__PRETTY_FUNCTION__> "void OutputDevice::release() const") at
assert.c:92
    #3  0x00007ffff74852d2 in __GI___assert_fail (assertion=0x7ffff16732d0
"mnRefCnt>0", file=0x7ffff1673288
"/home/lgodard/projets/libreoffice/build/git/core/include/vcl/outdev.hxx",
line=283,
        function=0x7ffff1674800 <OutputDevice::release()
const::__PRETTY_FUNCTION__> "void OutputDevice::release() const") at
assert.c:101
    #4  0x00007ffff0f68ae4 in OutputDevice::release (this=0x7fffffffc290) at
/home/lgodard/projets/libreoffice/build/git/core/include/vcl/outdev.hxx:283
    #5  0x00007ffff0f6910f in rtl::Reference<vcl::Window>::~Reference
(this=0x1902c40, __in_chrg=<optimized out>) at
/home/lgodard/projets/libreoffice/build/git/core/include/rtl/ref.hxx:81
    #6  0x00007ffff0f68d00 in VclPtr<vcl::Window>::~VclPtr (this=0x1902c40,
__in_chrg=<optimized out>) at
/home/lgodard/projets/libreoffice/build/git/core/include/vcl/vclptr.hxx:83
    #7  0x00007ffff100a35a in ImplSVEvent::~ImplSVEvent (this=0x1902c30,
__in_chrg=<optimized out>) at
/home/lgodard/projets/libreoffice/build/git/core/vcl/inc/svdata.hxx:399
    #8  0x00007ffff10edcab in ImplHandleUserEvent (pSVEvent=0x1902c30) at
/home/lgodard/projets/libreoffice/build/git/core/vcl/source/window/winproc.cxx:2035
    #9  0x00007ffff10ef381 in ImplWindowFrameProc (_pWindow=0x1510c70,
nEvent=22, pEvent=0x1902c30) at
/home/lgodard/projets/libreoffice/build/git/core/vcl/source/window/winproc.cxx:2586
    #10 0x00007ffff14f9ea9 in SalFrame::CallCallback (this=0x1511580,
nEvent=22, pEvent=0x1902c30) at
/home/lgodard/projets/libreoffice/build/git/core/vcl/inc/salframe.hxx:244
    #11 0x00007ffff14f9aca in SalGenericDisplay::DispatchInternalEvent
(this=0x13d4ca0) at
/home/lgodard/projets/libreoffice/build/git/core/vcl/generic/app/gendisp.cxx:90
    #12 0x00007fffe258df0a in GtkData::userEventFn (data=0x637990) at
/home/lgodard/projets/libreoffice/build/git/core/vcl/unx/gtk/app/gtkdata.cxx:945
    #13 0x00007fffe258df86 in call_userEventFn (data=0x637990) at
/home/lgodard/projets/libreoffice/build/git/core/vcl/unx/gtk/app/gtkdata.cxx:955
    #14 0x00007fffeb189b4d in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
    #15 0x00007fffeb189f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
    #16 0x00007fffeb189fcc in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
    #17 0x00007fffe258cce4 in GtkData::Yield (this=0x637990, bWait=false,
bHandleAllCurrentEvents=false) at
/home/lgodard/projets/libreoffice/build/git/core/vcl/unx/gtk/app/gtkdata.cxx:580
    #18 0x00007fffe258fcce in GtkInstance::Yield (this=0x634930, bWait=false,
bHandleAllCurrentEvents=false) at
/home/lgodard/projets/libreoffice/build/git/core/vcl/unx/gtk/app/gtkinst.cxx:394
    #19 0x00007ffff1454672 in ImplYield (i_bWait=false, i_bAllEvents=false) at
/home/lgodard/projets/libreoffice/build/git/core/vcl/source/app/svapp.cxx:353
    #20 0x00007ffff1450cc1 in Application::Reschedule (i_bAllEvents=false) at
/home/lgodard/projets/libreoffice/build/git/core/vcl/source/app/svapp.cxx:377
    #21 0x00007ffff479f773 in SbiRuntime::Step (this=0x24a8a50) at
/home/lgodard/projets/libreoffice/build/git/core/basic/source/runtime/runtime.cxx:766
    #22 0x00007ffff4737d0c in SbModule::Run (this=0x1ed8510, pMeth=0x24a7690)
at
/home/lgodard/projets/libreoffice/build/git/core/basic/source/classes/sbxmod.cxx:1179

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

Reply via email to