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



On Wed, 2012-02-29 at 21:02 +0100, Stephan Bergmann wrote:
On 02/29/2012 05:58 PM, Michael Meeks wrote:
    And no crash handler. I guess I have a linkoo'd build perhaps something
there is causing grief.

Does not sound completely unlikely.  I routinely use --disable-linkoo.

        Tried another install with no linkoo, and ooenv oddness - same
behaviour:

./soffice /tmp/crash-test.odt 
Crash !
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

        Ho hum; then I tried to inject something suitable into the
3.4 product build installed on my machine:

// g++ -lpthread -shared -fpic -g -O0 -o libthrow.so a.cxx
// LD_PRELOAD=libthrow.so ...
// gdb / attach
// set unwind-on-terminating-exception off
// p throw_toys_from_pram()

#include <new>

extern "C" {
void throw_toys_from_pram (void)
{
  throw ::std::bad_alloc();
}

}

        Of course, prolly gdb is a complicating factor here - but I got:

(gdb) p throw_toys_from_pram()
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

Program received signal SIGABRT, Aborted.

        Which at least looks hopeful :-)

        Perhaps I've just not been noticing a silent save & exit -
due to having trivial docs, and the disable recovery settings in ooenv :-)

        I guess that is the real cause of the confusion :-)

        All the best,

                Michael.

-- 
michael.meeks@suse.com  <><, Pseudo Engineer, itinerant idiot



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.