CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: Tag: ABIMATH
CVS: src/af/math/xp/gr_Abi_MathManager.cpp
CVS: ----------------------------------------------------------------------
Fix Luca's crash in gr_Abi_MathManager.cpp
OK this is fixed. Now I get a crash in GtkMathView attempting to insert a
math formula.
Any idea's Luca?
Thanks!
Martin
----------------------------------------------------
DEBUG: MATH ML string is...
<math xmlns="http://www.w3.org/1998/Math/MathML">
<maction>
<mrow>
<mo>(</mo>
<mrow>
<mn>1</mn>
<mo>+</mo>
<mn>1</mn>
<mo>+</mo>
<mn>1</mn>
<mo>+</mo>
<mn>1</mn>
<mo>+</mo>
<mn>1</mn>
<mo>+</mo>
<mn>1</mn>
<mo>+</mo>
<mn>1</mn>
<mo>+</mo>
<mn>1</mn> <mn>1</mn>
<mo>+</mo>
<mn>1</mn>
<mo>+</mo>
<mn>1</mn>
<mo>+</mo>
<mn>1</mn>
<mo>+</mo>
<mn>1</mn>
<mo>+</mo>
<mn>1</mn>
<mo>+</mo>
<mn>1</mn>
</mrow>
<mo>)</mo>
</mrow>
</maction>
</math>
[MathView] *** Info[2:2]: parsing time: 0ms
[MathView] *** Info[2:2]: build time: 9ms
AbiWord-2.2: ../../../src/common/SmartPtr.hh:36: P*
SmartPtr<P>::operator->() const [with P = BoxMLNamespaceContext]:
Assertion `ptr' failed.
Program received signal SIGABRT, Aborted.
[Switching to Thread -156641600 (LWP 31402)]
0x0069e7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
x006d7f41 in __assert_fail () from /lib/tls/libc.so.6
(gdb)
#4 0xf6c50298 in View::formatElement (this=0x980fc78, elem=@0xfefa57f0)
at SmartPtr.hh:36
36 SmartPtr.hh: No such file or directory.
in SmartPtr.hh
(gdb)
#5 0xf6c50462 in View::getRootArea (this=0x980fc78) at View.cc:168
168 { return formatElement(getRootElement()); }
(gdb)
#6 0xf6c506df in View::getBoundingBox (this=0x980fc78) at View.cc:173
173 if (AreaRef rootArea = getRootArea())
(gdb)
#7 0x082e39b3 in GR_Abi_MathManager::getWidth (this=0x96ef8f0, uid=0)
at ../../../../../abi-math/src/af/math/xp/gr_Abi_MathManager.cpp:189
189 BoundingBox box = pMathView->getBoundingBox();
<mo>+</mo>
Received on Mon Jan 17 16:01:11 2005
This archive was generated by hypermail 2.1.8 : Mon Jan 17 2005 - 16:01:12 CET