Apache OpenOffice (AOO) Bugzilla – Issue 62495
Package Manager/unopkg crashes when you try to install writer2latex (different spelling for searching: PackageManager)
Last modified: 2017-05-20 11:33:52 UTC
unopkg from the command line crashes when you try to install the UNO package of writer2latex, an export filter for exporting to Latex or XHTML+MathML, with ./unopkg gui. Also the command line version crashes with "abort trap". When you choose the Package Manager from the OOo Tools menu, OOo crashes after selecting w2lfilters20.zip. Versions of writer2latex 0.4 final and 0.4.1a It works with OOo 1.1.4 for Mac OS X and partially with NeoOffice 1.2 (exported XHTML+MathML documents are empty). But the UNO packages are different for OOo 1.1.*.
reassigned
Eric: Do you know anything about this package? Also, can we get openstep off of the assign person for Mac OS X problems and you on? James
ericb->jenserikweber Thank you for reporting this issue. We first will try to reproduce it. ericb->jjmckenzie I still have no idea, sorry. One reported a similar problem using unopkg too. Investigating ...
I would say that unopkg crashes regardless of the package you are trying to install, and even if you are not installing a package. On m168, PPC EN-US build on MacOS 10.4.6, I can crash unopkg (and OpenOffice) by simply clicking on the '+' next to "My Packages". Trying to add a package also causes it to crash.
Created attachment 36444 [details] writer_to_latex_041 install
As you can see with attached sccreenshot, no problem for me, with wtriter_to_latex041 installation on Mac OS X (Mac Intel) but ... how use it ? :)
Could it be an Intel vs. PPC issue? As I noted previously, simply clicking on the '+' next to My Packages causes OOo m168 to crash (as does attempting to add a package, in my case extendedPDF.zip).
ericb->etiffany extendedPDF installed fine for me (version 1.3 if I'm not wonrg. Again, Mac Intel .. I'll try on PowerPC (Tiger curretnly)
Mac OS X 10.4.4 / Powerbook Issue confirmed : extendedPDF install makes OpenOffice.org 1.9.165 crash on PowerPC Looks like Mac Intel version works better than PowerPC ?
Using my latest M167 on Mac OS X 10.4.6 PowerPC I'm able to install and use the writer2latex.uno.pkt filter and extended pdf. So where's the difference between my builds and the other builds that crash?
Added myself as CC
Hmm, I've had this problem on every 2.0.x build for PPC. Perhaps it has to do with a corrupt package registry -- got corrupted with earlier version, and corruption is now hosing the m168 versions that ericb and I are using. I guess the only way to test this is to move my ~/Library/Application Support/OpenOffice 2.0 folder aside, and start with a clean slate. The other option is that m167 works, and m168 re-introduced the bug for PPC.
OK, so I moved my OOo 2.0 folder out of ~/Library... and got slightly different results. I was able to open PackageManager and click the '+' (previously, this caused OOo to crash instantly). Then I added the extendedPDF.zip package, and OOo crashed. Upon restarting OOo, clicking the '+' in Packagemanager gives instant crash. Looking at the data in the uno_packages (in ~/Library/Application Support/OpenOffice.org 2.0/user ) seems to indicate that the package was expanded and partially installed, but evidently not completely or successfully.
I also tried different Java VMs -- 1.5 and 1.4.2 -- and it still crashed exactly as before. Also attempted install of writer2latex package, which crashed the same way. Again, this is with m168 PPC EN-US build.
Here is a stack trace of unopkg.bin after it croaks adding a package: (gdb) info stack #0 0x90047e4c in kill () #1 0x9012dff4 in abort () #2 0x0041599c in __cxxabiv1::__terminate () #3 0x004159e0 in std::terminate () #4 0x00414f7c in __cxa_rethrow () #5 0x003dffd8 in (anonymous namespace)::ExceptionThrower::rethrowException () #6 0x049234d4 in (anonymous namespace)::callVirtualMethod () #7 0x04923e64 in (anonymous namespace)::cpp_call () #8 0x04924638 in bridges::cpp_uno::shared::UnoInterfaceProxy::dispatch () #9 0x003e08e8 in cppu::getCaughtException () #10 0x02e90618 in dp_registry::backend::bundle::(anonymous namespace)::BackendImpl::PackageImpl::bindBundleItem () #11 0x02e920d0 in dp_registry::backend::bundle::(anonymous namespace)::BackendImpl::PackageImpl::scanLegacyBundle () #12 0x02e922b8 in dp_registry::backend::bundle::(anonymous namespace)::BackendImpl::PackageImpl::scanLegacyBundle () #13 0x02e8fb2c in dp_registry::backend::bundle::(anonymous namespace)::BackendImpl::PackageImpl::getBundle () #14 0x02e8b970 in dp_registry::backend::bundle::(anonymous namespace)::BackendImpl::PackageImpl::isRegistered_ () #15 0x02e94fc0 in dp_registry::backend::Package::isRegistered () #16 0x03c87af8 in dp_gui::getPackageState () #17 0x03c8847c in dp_gui::NodeImpl::modified () #18 0x03c898e4 in dp_gui::DialogImpl::TreeListBoxImpl::addNode () #19 0x03c89a74 in dp_gui::DialogImpl::TreeListBoxImpl::addPackageNode () #20 0x03c888c8 in dp_gui::NodeImpl::modified () #21 0x03c88c18 in dp_gui::NodeImpl::modified () #22 0x02e9bb00 in dp_manager::PackageManagerImpl::fireModified () #23 0x02e9e6d4 in dp_manager::PackageManagerImpl::addPackage () #24 0x03c83ca4 in dp_gui::DialogImpl::clickAdd () #25 0x03c871d0 in dp_gui::DialogImpl::SyncPushButton::Click () #26 0x0020aaf0 in osl_thread_start_Impl () #27 0x9002ba68 in _pthread_body ()
set target
same problem with iMac G5 / PPC / Mac OS X.4.7 trying to install http://www.paintedfrogceramics.com/OpenOffice/EnumeratedItems.zip Also OOo quits when clicking the + sign on My Packages
wrong component
target 3.x
Reset assigne to the default "issues@openoffice.apache.org".