[Libreoffice-bugs] [Bug 58242] Introspection on Anchor of TextTable crashes LO
https://bugs.freedesktop.org/show_bug.cgi?id=58242 Michael Stahl mst...@redhat.com changed: What|Removed |Added Status|NEEDINFO|ASSIGNED --- Comment #15 from Michael Stahl mst...@redhat.com --- crashes here on master in yet another different property FN_UNO_CHARFMT_SEQUENCE, it appears the problem is endemic :( apparently much of Writer code was developed following the paradigm dynamic_cast is for weenies, real men use C-style casts, and even if real men did use dynamic_cast they wouldn't check the result. attached patches look good at first glance, i'll push them in a bit... -- 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
[Libreoffice-bugs] [Bug 58242] Introspection on Anchor of TextTable crashes LO
https://bugs.freedesktop.org/show_bug.cgi?id=58242 --- Comment #16 from Julien Nabet serval2...@yahoo.fr --- Michael: if interested, I could provide a Cppcheck report about C cast style cases only. It could be either a simple XML file or a zipped directory which would include sources. -- 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
[Libreoffice-bugs] [Bug 58242] Introspection on Anchor of TextTable crashes LO
https://bugs.freedesktop.org/show_bug.cgi?id=58242 Michael Stahl mst...@redhat.com changed: What|Removed |Added OS|Windows (All) |All Status|ASSIGNED|RESOLVED Resolution|--- |FIXED Component|BASIC |Writer --- Comment #22 from Michael Stahl mst...@redhat.com --- fix plus unit test pushed. only needs one more review to get into 3.6 branch. -- 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
[Libreoffice-bugs] [Bug 58242] Introspection on Anchor of TextTable crashes LO
https://bugs.freedesktop.org/show_bug.cgi?id=58242 Michael Stahl mst...@redhat.com changed: What|Removed |Added Attachment #72466|0 |1 is obsolete|| --- Comment #23 from Michael Stahl mst...@redhat.com --- Comment on attachment 72466 -- https://bugs.freedesktop.org/attachment.cgi?id=72466 just a patch to test avoiding the core superseded by second patch -- 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
[Libreoffice-bugs] [Bug 58242] Introspection on Anchor of TextTable crashes LO
https://bugs.freedesktop.org/show_bug.cgi?id=58242 --- Comment #10 from Noel Power nopo...@novell.com --- (In reply to comment #9) I update the component to BASIC. Noel/Uray: you may be interested by this one since it seems BASIC component. imho it's doubtful this is something to do with basic ( just that basic calls the code that has problems ) but.. needs investigation, I'll have a cut at finding out what is going on -- 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
[Libreoffice-bugs] [Bug 58242] Introspection on Anchor of TextTable crashes LO
https://bugs.freedesktop.org/show_bug.cgi?id=58242 --- Comment #11 from Noel Power nopo...@novell.com --- I can reproduce with latest 3.6 branch Program received signal SIGSEGV, Segmentation fault. 0x7fffdd6f4d56 in SwModify::GetDepends (this=0x0) at /data5/Backup/LibreOffice-onegit/core/sw/inc/calbck.hxx:165 (gdb) where #0 0x7fffdd6f4d56 in SwModify::GetDepends (this=0x0) at /data5/Backup/LibreOffice-onegit/core/sw/inc/calbck.hxx:165 #1 0x7fffdd6f471a in SwClientIter::SwClientIter (this=0x7fff92d0, rModify=...) at /data5/Backup/LibreOffice-onegit/core/sw/source/core/attr/calbck.cxx:417 #2 0x7fffdd8d9ee0 in SwIteratorSwFrm, SwModify::SwIterator (this=0x7fff92d0, rSrc=...) at /data5/Backup/LibreOffice-onegit/core/sw/inc/switerator.hxx:39 #3 0x7fffdd9fe835 in GetFrmOfModify (pLayout=0x1694bf0, rMod=..., nFrmType=49152, pPoint=0x0, pPos=0x0, bCalcFrm=1 '\001') at /data5/Backup/LibreOffice-onegit/core/sw/source/core/layout/frmtool.cxx:3353 #4 0x7fffdd8d34b0 in SwCntntNode::getLayoutFrm (this=0x0, _pRoot=0x1694bf0, pPoint=0x0, pPos=0x0, bCalcFrm=1 '\001') at /data5/Backup/LibreOffice-onegit/core/sw/source/core/docnode/node.cxx:1109 #5 0x7fffddc5d64b in SwUnoCursorHelper::GetCurPageStyle (rPaM=SwPaM = {...}, rString=) at /data5/Backup/LibreOffice-onegit/core/sw/source/core/unocore/unocrsrhelper.cxx:724 #6 0x7fffddc5b443 in SwUnoCursorHelper::getCrsrPropertyValue (rEntry=..., rPam=SwPaM = {...}, pAny=0x7fff9a40, eState=@0x7fff97cc, pNode=0x0) at /data5/Backup/LibreOffice-onegit/core/sw/source/core/unocore/unocrsrhelper.cxx:225 #7 0x7fffddcbd7fe in SwUnoCursorHelper::GetPropertyValue (rPaM=SwPaM = {...}, rPropSet=..., rPropertyName=...) at /data5/Backup/LibreOffice-onegit/core/sw/source/core/unocore/unoobj.cxx:1865 #8 0x7fffddcc914c in SwXTextRange::getPropertyValue (this=0x19f6f20, rPropertyName=...) at /data5/Backup/LibreOffice-onegit/core/sw/source/core/unocore/unoobj2.cxx:1430 #9 0x7fffe6c38b39 in gcc3::callVirtualMethod(void*, unsigned int, void*, _typelib_TypeDescriptionReference*, bool, unsigned long*, unsigned int, unsigned long*, unsigned int, double*, unsigned int) () from /data5/Backup/LibreOffice-onegit/core/INSTALL_LINK/ure/lib/libgcc3_uno.so #10 0x7fffe6c3a5bc in cpp_call(bridges::cpp_uno::shared::UnoInterfaceProxy*, bridges::cpp_uno::shared::VtableSlot, _typelib_TypeDescriptionReference*, int, _typelib_MethodParameter*, void*, void**, _uno_Any**) () from /data5/Backup/LibreOffice-onegit/core/INSTALL_LINK/ure/lib/libgcc3_uno.so #11 0x7fffe6c3afd0 in bridges::cpp_uno::shared::unoInterfaceProxyDispatch(_uno_Interface*, _typelib_TypeDescription const*, void*, void**, _uno_Any**) () from /data5/Backup/LibreOffice-onegit/core/INSTALL_LINK/ure/lib/libgcc3_uno.so #12 0x7fffd9cd2e21 in stoc_corefl::IdlInterfaceMethodImpl::invoke(com::sun::star::uno::Any const, com::sun::star::uno::Sequencecom::sun::star::uno::Any) () from /data5/Backup/LibreOffice-onegit/core/INSTALL_LINK/ure/lib/reflection.uno.so #13 0x71c1e94b in SbUnoObject::Notify (this=0x2204390, rBC=..., rHint=...) at /data5/Backup/LibreOffice-onegit/core/basic/source/classes/sbunoobj.cxx:2296 #14 0x74fdc9fa in SfxBroadcaster::Broadcast (this=0x24c3820, rHint=...) at /data5/Backup/LibreOffice-onegit/core/svl/source/notify/brdcst.cxx:64 #15 0x71d06c05 in SbxVariable::Broadcast (this=0x24c3750, nHintId=65536) at /data5/Backup/LibreOffice-onegit/core/basic/source/sbx/sbxvar.cxx:196 #16 0x71d00802 in SbxValue::SbxValue (this=0x24d8910, __vtt_parm=0x71fb1910, r=..., __in_chrg=value optimized out) at /data5/Backup/LibreOffice-onegit/core/basic/source/sbx/sbxvalue.cxx:134 #17 0x71d05fda in SbxVariable::SbxVariable (this=0x24d8910, __vtt_parm=0x71fb1908, r=..., __in_chrg=value optimized out) at /data5/Backup/LibreOffice-onegit/core/basic/source/sbx/sbxvar.cxx:90 #18 0x71cf9867 in SbxMethod::SbxMethod (this=0x24d8910, r=..., __in_chrg=value optimized out, __vtt_parm=value optimized out) at /data5/Backup/LibreOffice-onegit/core/basic/source/sbx/sbxobj.cxx:881 -- 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
[Libreoffice-bugs] [Bug 58242] Introspection on Anchor of TextTable crashes LO
https://bugs.freedesktop.org/show_bug.cgi?id=58242 --- Comment #12 from Noel Power nopo...@novell.com --- note: I'm using an older version of xray so that might explain the bt difference #4 0x7fffdd8d34b0 in SwCntntNode::getLayoutFrm (this=0x0, _pRoot=0x1694bf0, pPoint=0x0, pPos=0x0, bCalcFrm=1 '\001') at /data5/Backup/LibreOffice-onegit/core/sw/source/core/docnode/node.cxx:1109 #5 0x7fffddc5d64b in SwUnoCursorHelper::GetCurPageStyle (rPaM=SwPaM = {...}, rString=) at /data5/Backup/LibreOffice-onegit/core/sw/source/core/unocore/unocrsrhelper.cxx:724 above is the real cause, e.g. 724 const SwPageFrm* pPage = rPaM.GetCntntNode()-getLayoutFrm(rPaM.GetDoc()-GetCurrentLayout())-FindPageFrm(); rPaM.GetCntntNode() is obviously returning null -- 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
[Libreoffice-bugs] [Bug 58242] Introspection on Anchor of TextTable crashes LO
https://bugs.freedesktop.org/show_bug.cgi?id=58242 --- Comment #13 from Noel Power nopo...@novell.com --- Created attachment 72466 -- https://bugs.freedesktop.org/attachment.cgi?id=72466action=edit just a patch to test avoiding the core Here is a simple fix, it avoids the core dump and the old xray version seems to work. I don't have a master ( currently building ) and I haven't tried this with the newer version of xray either. Also I would not propose this as a real patch, imo it just avoids the problem, maybe that is in fact the best one can do, we need a writer expert to give a proper solution ( or tell us that the hack is ok ) When I get a chance I will try to test with the newer version of xray ( and also try on master ) -- 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
[Libreoffice-bugs] [Bug 58242] Introspection on Anchor of TextTable crashes LO
https://bugs.freedesktop.org/show_bug.cgi?id=58242 --- Comment #14 from Noel Power nopo...@novell.com --- Created attachment 72468 -- https://bugs.freedesktop.org/attachment.cgi?id=72468action=edit another version of the patch it seems that the newer version of xray triggers a similar bt to that attached earlier in this report ( which was created from master I believe ) even more defensive coding needed it seems ( which seems to suggest maybe something is wrong somewhere else ? ) again the writer experts probably know more here -- 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
[Libreoffice-bugs] [Bug 58242] Introspection on Anchor of TextTable crashes LO
https://bugs.freedesktop.org/show_bug.cgi?id=58242 --- Comment #4 from Christoph Lutz chrl...@googlemail.com --- Xray Tool van Beethoven downloaded AT http://bernard.marcelly.perso.sfr.fr/Files_en/XrayTool60_en.odt contains the installation instruction and an install button. I currently don't have got an installation of LO 3.6.4... -- 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
[Libreoffice-bugs] [Bug 58242] Introspection on Anchor of TextTable crashes LO
https://bugs.freedesktop.org/show_bug.cgi?id=58242 Julien Nabet serval2...@yahoo.fr changed: What|Removed |Added CC||michael.me...@novell.com --- Comment #5 from Julien Nabet serval2...@yahoo.fr --- Christoph: I tried to reproduce but only had some error messages. In console, I had these: warn:basic:4757:1:/home/julien/compile-libreoffice/libo/basic/source/uno/namecont.cxx:943: couldn't open sub storage for library Standard. Exception: (com.sun.star.io.IOException) { { Message = /home/julien/compile-libreoffice/libo/package/source/xstor/xstorage.cxx:2630: , Context = (com.sun.star.uno.XInterface) @0 } } warn:basic.sbx:4757:1:/home/julien/compile-libreoffice/libo/basic/source/sbx/sbxvalue.cxx:541: nicht bei Parent-Prop - sonst CyclicRef warn:basic.sbx:4757:1:/home/julien/compile-libreoffice/libo/basic/source/sbx/sbxvalue.cxx:541: nicht bei Parent-Prop - sonst CyclicRef warn:basic.sbx:4757:1:/home/julien/compile-libreoffice/libo/basic/source/sbx/sbxvalue.cxx:541: nicht bei Parent-Prop - sonst CyclicRef warn:basic.sbx:4757:1:/home/julien/compile-libreoffice/libo/basic/source/sbx/sbxvalue.cxx:190: nicht bei Parent-Prop - sonst CyclicRef ... with 3.6 sources, I workarounded fdo#56473 but had warn:basic:5094:1:/home/julien/compile-libreoffice/libo_3_6/basic/source/uno/namecont.cxx:911: couldn't open sub storage for library Standard. Exception: (com.sun.star.io.IOException) { { Message = /home/julien/compile-libreoffice/libo_3_6/package/source/xstor/xstorage.cxx:2639: , Context = (com.sun.star.uno.XInterface) @0 } } and some error messages. Michael: - would it be possible to cherry-pick fdo#56473 on 3.6 branch? - is it LO bug or the extension which should evolve (so notourbug)? -- 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
[Libreoffice-bugs] [Bug 58242] Introspection on Anchor of TextTable crashes LO
https://bugs.freedesktop.org/show_bug.cgi?id=58242 --- Comment #6 from Julien Nabet serval2...@yahoo.fr --- Here's the popup error with master sources: BASIC runtime error. An exception occurred Type: com.sun.star.container.NoSuchElementException Message: . -- 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
[Libreoffice-bugs] [Bug 58242] Introspection on Anchor of TextTable crashes LO
https://bugs.freedesktop.org/show_bug.cgi?id=58242 --- Comment #7 from Julien Nabet serval2...@yahoo.fr --- Created attachment 72216 -- https://bugs.freedesktop.org/attachment.cgi?id=72216action=edit bt on master I retrieved this time a bt. I've got contradictatory results each time I test, I'm a bit stuck. -- 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
[Libreoffice-bugs] [Bug 58242] Introspection on Anchor of TextTable crashes LO
https://bugs.freedesktop.org/show_bug.cgi?id=58242 --- Comment #8 from Julien Nabet serval2...@yahoo.fr --- About storage problem during package installation, I added some traces and got this: m_pImpl-m_nStorageMode 1 embed::ElementModes::WRITE 4 embed::ElementModes::NOCREATE 16 nStorageMode 1 According to this offapi/com/sun/star/embed/ElementModes.idl, 1 = READ -- 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
[Libreoffice-bugs] [Bug 58242] Introspection on Anchor of TextTable crashes LO
https://bugs.freedesktop.org/show_bug.cgi?id=58242 Julien Nabet serval2...@yahoo.fr changed: What|Removed |Added CC||nopo...@novell.com, ||uray.ja...@gmail.com Component|Writer |BASIC --- Comment #9 from Julien Nabet serval2...@yahoo.fr --- I update the component to BASIC. Noel/Uray: you may be interested by this one since it seems BASIC component. -- 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
[Libreoffice-bugs] [Bug 58242] Introspection on Anchor of TextTable crashes LO
https://bugs.freedesktop.org/show_bug.cgi?id=58242 Julien Nabet serval2...@yahoo.fr changed: What|Removed |Added Status|UNCONFIRMED |NEEDINFO CC||serval2...@yahoo.fr Ever confirmed|0 |1 --- Comment #3 from Julien Nabet serval2...@yahoo.fr --- Could you give a link to xray extension? (oxt file) Did you try with latest LO version (3.6.4)? -- 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
[Libreoffice-bugs] [Bug 58242] Introspection on Anchor of TextTable crashes LO
https://bugs.freedesktop.org/show_bug.cgi?id=58242 --- Comment #2 from Christoph Lutz chrl...@googlemail.com --- FYI: It is possible to access the Text-Object of the broken anchor: xray ThisComponent.Bookmarks.getByName(foo).getAnchor().TextTable.Anchor.Text doesn't crash. -- 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
[Libreoffice-bugs] [Bug 58242] Introspection on Anchor of TextTable crashes LO
https://bugs.freedesktop.org/show_bug.cgi?id=58242 Christoph Lutz chrl...@googlemail.com changed: What|Removed |Added Hardware|Other |All OS|All |Windows (All) Version|unspecified |3.6.1.2 release --- Comment #1 from Christoph Lutz chrl...@googlemail.com --- The TextRange of the Anchor really seems to be broken. I also tried to workaround the problem with the following trick, but this did not work: sub Main range = ThisComponent.Bookmarks.getByName(foo).getAnchor().TextTable.Anchor range = range.Text.createTextCursorByRange(range) ''--- Runtime-Exception xray range end sub In this case I get a RuntimeException with the message Invalid text range. -- 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