Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


Hi,

Using gdb , the backtrace I obtain is:

**************************************************************
warning: File "/mnt/D-Drive/LibreOffice/libreoffice/instdir/program/
libuno_sal.so.3-gdb.py" auto-loading has been declined by your `auto-load
safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file add
add-auto-load-safe-path
/mnt/D-Drive/LibreOffice/libreoffice/instdir/program/libuno_sal.so.3-gdb.py
line to your configuration file "/home/pranav/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/home/pranav/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual.  E.g., run from the
shell:
info "(gdb)Auto-loading safe path"
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x2aaaac62a700 (LWP 8199)]
warning: File "/mnt/D-Drive/LibreOffice/libreoffice/instdir/program/
libuno_cppu.so.3-gdb.py" auto-loading has been declined by your `auto-load
safe-path' set to "$debugdir:$datadir/auto-load".
warning: File "/mnt/D-Drive/LibreOffice/libreoffice/instdir/program/
libtllo.so-gdb.py" auto-loading has been declined by your `auto-load
safe-path' set to "$debugdir:$datadir/auto-load".
warning: File "/mnt/D-Drive/LibreOffice/libreoffice/instdir/program/
libbasegfxlo.so-gdb.py" auto-loading has been declined by your `auto-load
safe-path' set to "$debugdir:$datadir/auto-load".
warning: File "/mnt/D-Drive/LibreOffice/libreoffice/instdir/program/
libsvllo.so-gdb.py" auto-loading has been declined by your `auto-load
safe-path' set to "$debugdir:$datadir/auto-load".
---Type <return> to continue, or q <return> to quit---

Program received signal SIGSEGV, Segmentation fault.
0x00002aaab93213d3 in ?? () from /usr/lib/libharfbuzz.so.0
(gdb) bt
#0  0x00002aaab93213d3 in ?? () from /usr/lib/libharfbuzz.so.0
#1  0x00002aaab1962f63 in hb_font_funcs_set_glyph_v_origin_func (
    ffuncs=0x1195950, func=0x2aaab93217d0, user_data=0x0, destroy=0x0)
    at hb-font.cc:411
#2  0x00002aaab9321adf in ?? () from /usr/lib/libharfbuzz.so.0
#3  0x00002aaab9321d3f in hb_ft_font_create () from
/usr/lib/libharfbuzz.so.0
#4  0x00002aaab48de4a7 in ?? () from /usr/lib/libfreetype.so.6
#5  0x00002aaab48ded21 in ?? () from /usr/lib/libfreetype.so.6
#6  0x00002aaab4896a6d in FT_Load_Glyph () from /usr/lib/libfreetype.so.6
#7  0x00002aaab18c5fce in ServerFont::GetGlyphOutline(unsigned int,
basegfx::B2DPolyPolygon&) const ()
   from /mnt/D-Drive/LibreOffice/libreoffice/instdir/program/libvcllo.so
#8  0x00002aaab17e6b2b in SalLayout::GetOutline(SalGraphics&,
std::vector<basegfx::B2DPolyPolygon,
std::allocator<basegfx::B2DPolyPolygon> >&) const ()
   from /mnt/D-Drive/LibreOffice/libreoffice/instdir/program/libvcllo.so
#9  0x00002aaab16d72bd in
OutputDevice::GetTextOutlines(std::vector<basegfx::B2DPolyPolygon,
std::allocator<basegfx::B2DPolyPolygon> >&, rtl::OUString const&, int, int,
int, bool, unsigned long, long const*) const ()
   from /mnt/D-Drive/LibreOffice/libreoffice/instdir/program/libvcllo.so
#10 0x00002aaabebc4c78 in
drawinglayer::primitive2d::TextLayouterDevice::getTextOutlines(std::vector<basegfx::B2DPolyPolygon,
std::allocator<basegfx::B2DPolyPolygon> >&, rtl::OUString const&, unsigned
int, unsigned int, std::vector<double, std::allocator<double> > const&)
const ()
---Type <return> to continue, or q <return> to quit---
   from
/mnt/D-Drive/LibreOffice/libreoffice/instdir/program/libdrawinglayerlo.so
#11 0x00002aaabebc8be6 in
drawinglayer::primitive2d::TextSimplePortionPrimitive2D::getTextOutlinesAndTransformation(std::vector<basegfx::B2DPolyPolygon,
std::allocator<basegfx::B2DPolyPolygon> >&, basegfx::B2DHomMatrix&) const ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/instdir/program/libdrawinglayerlo.so
#12 0x00002aaabebc939a in
drawinglayer::primitive2d::TextSimplePortionPrimitive2D::create2DDecomposition(drawinglayer::geometry::ViewInformation2D
const&) const ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/instdir/program/libdrawinglayerlo.so
#13 0x00002aaabeb8632b in
drawinglayer::primitive2d::BufferedDecompositionPrimitive2D::get2DDecomposition(drawinglayer::geometry::ViewInformation2D
const&) const ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/instdir/program/libdrawinglayerlo.so
#14 0x00002aaabebe98d1 in
drawinglayer::processor2d::TextAsPolygonExtractor2D::processBasePrimitive2D(drawinglayer::primitive2d::BasePrimitive2D
const&) ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/instdir/program/libdrawinglayerlo.so
#15 0x00002aaabebe5ed4 in
drawinglayer::processor2d::BaseProcessor2D::process(drawinglayer::primitive2d::Primitive2DContainer
const&) ()
---Type <return> to continue, or q <return> to quit---
   from
/mnt/D-Drive/LibreOffice/libreoffice/instdir/program/libdrawinglayerlo.so
#16 0x00002aaabe8debf2 in
svgio::svgreader::SvgStyleAttributes::add_text(drawinglayer::primitive2d::Primitive2DContainer&,
drawinglayer::primitive2d::Primitive2DContainer&) const ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/LinkTarget/CppunitTest/libtest_svgio.so
#17 0x00002aaabe8e499d in
svgio::svgreader::SvgTextNode::decomposeSvgNode(drawinglayer::primitive2d::Primitive2DContainer&,
bool) const ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/LinkTarget/CppunitTest/libtest_svgio.so
#18 0x00002aaabe8d39dc in
svgio::svgreader::SvgNode::decomposeSvgNode(drawinglayer::primitive2d::Primitive2DContainer&,
bool) const ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/LinkTarget/CppunitTest/libtest_svgio.so
#19 0x00002aaabe8cd6fc in
svgio::svgreader::SvgGNode::decomposeSvgNode(drawinglayer::primitive2d::Primitive2DContainer&,
bool) const ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/LinkTarget/CppunitTest/libtest_svgio.so
#20 0x00002aaabe8d39dc in
svgio::svgreader::SvgNode::decomposeSvgNode(drawinglayer::primitive2d::Primitive2DContainer&,
bool) const ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/LinkTarget/CppunitTest/libtest_svgio.so
---Type <return> to continue, or q <return> to quit---
#21 0x00002aaabe8e13ed in
svgio::svgreader::SvgSvgNode::decomposeSvgNode(drawinglayer::primitive2d::Primitive2DContainer&,
bool) const ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/LinkTarget/CppunitTest/libtest_svgio.so
#22 0x00002aaabe8f5122 in
svgio::svgreader::XSvgParser::getDecomposition(com::sun::star::uno::Reference<com::sun::star::io::XInputStream>
const&, rtl::OUString const&) ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/LinkTarget/CppunitTest/libtest_svgio.so
#23 0x00002aaabe8c0bb4 in (anonymous namespace)::Test::parseSvg(char
const*) [clone .constprop.86] ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/LinkTarget/CppunitTest/libtest_svgio.so
#24 0x00002aaabe8c48cd in (anonymous namespace)::Test::testTdf97542_1() ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/LinkTarget/CppunitTest/libtest_svgio.so
#25 0x00002aaaaad346a4 in CppUnit::TestCaseMethodFunctor::operator()()
const ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0
#26 0x00002aaaaad2f729 in
CppUnit::ProtectorChain::ProtectFunctor::operator()() const ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0
---Type <return> to continue, or q <return> to quit---
#27 0x00002aaaaad2f729 in
CppUnit::ProtectorChain::ProtectFunctor::operator()() const ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0
#28 0x00002aaaac63c803 in (anonymous
namespace)::Prot::protect(CppUnit::Functor const&,
CppUnit::ProtectorContext const&) ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/LinkTarget/Library/unoexceptionprotector.so
#29 0x00002aaaaad2f729 in
CppUnit::ProtectorChain::ProtectFunctor::operator()() const ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0
#30 0x00002aaaaad26708 in
CppUnit::DefaultProtector::protect(CppUnit::Functor const&,
CppUnit::ProtectorContext const&) ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0
#31 0x00002aaaaad2f729 in
CppUnit::ProtectorChain::ProtectFunctor::operator()() const ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0
#32 0x00002aaaaad2f5d5 in CppUnit::ProtectorChain::protect(CppUnit::Functor
const&, CppUnit::ProtectorContext const&) ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/UnpackedTarball/cppunit/src---Type
<return> to continue, or q <return> to quit---
/cppunit/.libs/libcppunit-1.13.so.0
#33 0x00002aaaaad3e888 in CppUnit::TestResult::protect(CppUnit::Functor
const&, CppUnit::Test*, std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0
#34 0x00002aaaaad34108 in CppUnit::TestCase::run(CppUnit::TestResult*) ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0
#35 0x00002aaaaad34d70 in
CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0
#36 0x00002aaaaad34bf2 in CppUnit::TestComposite::run(CppUnit::TestResult*)
()
   from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0
#37 0x00002aaaaad34d70 in
CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0
#38 0x00002aaaaad34bf2 in CppUnit::TestComposite::run(CppUnit::TestResult*)
()
   from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0
---Type <return> to continue, or q <return> to quit---
#39 0x00002aaaaad42ac8 in
CppUnit::TestRunner::WrappingSuite::run(CppUnit::TestResult*) ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0
#40 0x00002aaaaad3e66c in CppUnit::TestResult::runTest(CppUnit::Test*) ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0
#41 0x00002aaaaad42d12 in CppUnit::TestRunner::run(CppUnit::TestResult&,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&) ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0
#42 0x0000000000404212 in (anonymous
namespace)::ProtectedFixtureFunctor::run() const ()
#43 0x0000000000404baa in sal_main() ()
#44 0x000000000040330b in main ()
***************************************************************************************

Regards,
Pranav

On Wed, Feb 17, 2016 at 6:25 PM, Stephan Bergmann <sbergman@redhat.com>
wrote:

On 02/17/2016 01:28 PM, Pranav Ganorkar wrote:

  make CppunitTest_svgio CPPUNITTRACE="gdb --args"

*******************************************************************
make -j 4 -rs -f /mnt/D-Drive/LibreOffice/libreoffice/Makefile.gbuild
CppunitTest_svgio
[CUT] svgio
GNU gdb (GDB) 7.10.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from

/mnt/D-Drive/LibreOffice/libreoffice/workdir/LinkTarget/Executable/cppunittester...(no
debugging symbols found)...done.
(gdb) bt
No stack.


You need to type "run" first, then wait for the debugged program to run
and crash, and when the "(gdb)" prompt appears again, then type "bt".



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.