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

            Bug ID: 91228
           Summary: Writer crash Insert Image, Anchor as character, Go
                    after image, press enter
           Product: LibreOffice
           Version: 5.0.0.0.alpha0+ Master
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: critical
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Writer crash:
New document
Insert Image
Right click on it => Anchor => as character
Click after the image
Press enter

soffice.bin:
/home/philippe/src/git-repo/libreoffice/core/sw/source/core/layout/atrfrm.cxx:3507:
void sw::CheckAnchoredFlyConsistency(const SwDoc&): Assertion
`&rAnchor.GetCntntAnchor()->nNode.GetNode() == pNode' failed.

Program received signal SIGABRT, Aborted.
0x00007ffff7519cc9 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56    ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007ffff7519cc9 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff751d0d8 in __GI_abort () at abort.c:89
#2  0x00007ffff7512b86 in __assert_fail_base (fmt=0x7ffff7663830 "%s%s%s:%u:
%s%sAssertion `%s' failed.\n%n", 
    assertion=assertion@entry=0x7fffbb1657a8
"&rAnchor.GetCntntAnchor()->nNode.GetNode() == pNode", 
    file=file@entry=0x7fffbb165330
"/home/philippe/src/git-repo/libreoffice/core/sw/source/core/layout/atrfrm.cxx",
line=line@entry=3507, 
    function=function@entry=0x7fffbb165b20
<sw::CheckAnchoredFlyConsistency(SwDoc const&)::__PRETTY_FUNCTION__> "void
sw::CheckAnchoredFlyConsistency(const SwDoc&)") at assert.c:92
#3  0x00007ffff7512c32 in __GI___assert_fail (assertion=0x7fffbb1657a8
"&rAnchor.GetCntntAnchor()->nNode.GetNode() == pNode", 
    file=0x7fffbb165330
"/home/philippe/src/git-repo/libreoffice/core/sw/source/core/layout/atrfrm.cxx",
line=3507, 
    function=0x7fffbb165b20 <sw::CheckAnchoredFlyConsistency(SwDoc
const&)::__PRETTY_FUNCTION__> "void sw::CheckAnchoredFlyConsistency(const
SwDoc&)") at assert.c:101
#4  0x00007fffbaa9090f in sw::CheckAnchoredFlyConsistency(SwDoc const&) ()
   from
/home/philippe/src/git-repo/libreoffice/core/instdir/program/../program/libswlo.so
#5  0x00007fffba9427ef in sw::DocumentRedlineManager::SetRedlineMode(unsigned
short) ()
   from
/home/philippe/src/git-repo/libreoffice/core/instdir/program/../program/libswlo.so
#6  0x00007fffba9f991f in SwAutoFormat::SwAutoFormat(SwEditShell*,
SvxSwAutoFmtFlags&, SwNodeIndex*, SwNodeIndex*) ()
   from
/home/philippe/src/git-repo/libreoffice/core/instdir/program/../program/libswlo.so
#7  0x00007fffba9faf55 in SwEditShell::AutoFmtBySplitNode() ()
   from
/home/philippe/src/git-repo/libreoffice/core/instdir/program/../program/libswlo.so
#8  0x00007fffbaa078e7 in SwEditShell::SplitNode(bool, bool) ()
   from
/home/philippe/src/git-repo/libreoffice/core/instdir/program/../program/libswlo.so
#9  0x00007fffbb0d9afe in SwWrtShell::SplitNode(bool, bool) ()
   from
/home/philippe/src/git-repo/libreoffice/core/instdir/program/../program/libswlo.so
#10 0x00007fffbaf6e592 in SwEditWin::KeyInput(KeyEvent const&) ()
   from
/home/philippe/src/git-repo/libreoffice/core/instdir/program/../program/libswlo.so
#11 0x00007ffff1f6214f in ImplHandleKey (pWindow=0x409a680, nSVEvent=KEYINPUT,
nKeyCode=1280, nCharCode=0, nRepeat=0, bForward=true)
    at
/home/philippe/src/git-repo/libreoffice/core/vcl/source/window/winproc.cxx:1025
#12 0x00007ffff1f66564 in ImplWindowFrameProc (_pWindow=0x409a680, nEvent=5,
pEvent=0x7fffffffd120)
    at
/home/philippe/src/git-repo/libreoffice/core/vcl/source/window/winproc.cxx:2459
#13 0x00007fffe359ecac in SalFrame::CallCallback (this=0x409ae20, nEvent=5,
pEvent=0x7fffffffd120)
    at /home/philippe/src/git-repo/libreoffice/core/vcl/inc/salframe.hxx:244
#14 0x00007fffe3591ae9 in GtkSalFrame::doKeyCallback (this=0x409ae20,
state=33554432, keyval=65293, hardware_keycode=36, group=0 '\000', 
    time=254122018, aOrigCode=0, bDown=true, bSendRelease=false)

-- 
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