Christoph Lutz wrote:
>> > unopkg add <ourUNOPackgage> --shared
So the failing "unopkg add <ourUNOPackgage> --shared" is for
"<ourUNOPackgage>" == "WollMux.uno.pkg", right? (Just asking because if
the unopkg add consistently fails for that package, a unopkg list
couldn't list it.) :)
yes, the failing command is 'unopkg add WollMux.uno.pkg --shared', but
the output of unopkg list is from a PC that has 1GB of memory which
doesn't fail ;-)
Do you have a stack trace of that Java OutOfMemoryError? unopkg does
execute some code from the jar during registration, so this might shed
some light on what is happening.
Running in gdb:
/opt/openoffice.org2.0/program/unopkg.bin add WollMux.uno.pkg
...
. lots of undefined symbols follow (no debugging symbols found)
...
/opt/openoffice.org2.0/program/uno.bin --quiet --singleaccept -u
uno:pipe,name=284dada2fd8a4f5fcbb7897677e94c255
562e79b55472364126972d91b7e48;urp;uno.ComponentContext
- -env:UNO_SERVICES=file:///opt/openoffice.org2.0/program/s
ervices.rdb -env:INIFILENAME=
...
. some more undef syms
...
terminate called after throwing an instance of 'std::bad_alloc'
what(): St9bad_alloc
So it is a C++ out-of-memory condition, not a Java-related one. It
might be the included WollMux.rdb that triggers this, but its hard to
say without further information. If you have a self-built OOo, you
could try re-debugging with a non-stripped libuno_cppu.so.3, or with one
built afresh with debug=x (module cppu).
-Stephan
Program received signal SIGABRT, Aborted.
[Switching to Thread -1542403152 (LWP 15636)]
0xa775a83b in raise () from /lib/tls/libc.so.6
(gdb) bt
#0 0xa775a83b in raise () from /lib/tls/libc.so.6
#1 0xa775bfa2 in abort () from /lib/tls/libc.so.6
#2 0xa793bad1 in __gnu_cxx::__verbose_terminate_handler ()
from /opt/openoffice.org2.0/program/libstdc++.so.6
#3 0xa7939505 in __cxa_call_unexpected ()
from /opt/openoffice.org2.0/program/libstdc++.so.6
#4 0xa7939542 in std::terminate ()
from /opt/openoffice.org2.0/program/libstdc++.so.6
#5 0xa79396d2 in __cxa_throw ()
from /opt/openoffice.org2.0/program/libstdc++.so.6
#6 0x080595f0 in boost::detail::sp_counted_base_impl<rtl::Bootstrap*,
boost::checked_deleter<rtl::Bootstrap> >:
:~sp_counted_base_impl ()
#7 0x08059620 in operator new ()
#8 0xa7d15ce2 in typelib_typedescriptionreference_getDescription ()
from /opt/openoffice.org2.0/program/libuno_cppu.so.3
#9 0xa413ef42 in component_canUnload ()
from /opt/openoffice.org2.0/program/liburp_uno.so
#10 0xa413f07d in component_canUnload ()
from /opt/openoffice.org2.0/program/liburp_uno.so
#11 0xa41318d5 in component_canUnload ()
from /opt/openoffice.org2.0/program/liburp_uno.so
#12 0xa7d5a577 in osl_yieldThread ()
from /opt/openoffice.org2.0/program/libuno_sal.so.3
- ---Type <return> to continue, or q <return> to quit---
#13 0xa7a3ab63 in start_thread () from /lib/tls/libpthread.so.0
#14 0xa780a18a in clone () from /lib/tls/libc.so.6
ATB
Christoph Lutz
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]