Apache OpenOffice (AOO) Bugzilla – Issue 122678
Clicking New Document toolbar item crashes
Last modified: 2022-10-28 12:54:28 UTC
AOO400m2(Build:9701) - Rev. 1498538 2013-07-02_04:10:42 - Rev. 1498774 When I click on the New Document Icon in AOO the application crahes. If I select the drop downlist and select the app Calc, Writer etc.
If I select the drop downlist and select the app Calc, Writer etc these Apps Open Ok.
New document opens OK in Rev. 1499427 Win 7.
Crash on Linux with gcc < 4.5.0 A bug in the libstdc++ dynamic cast runtime makes the dynamic_cast from VCLXMenu* to VCLXPopupMenu * fail in framework::NewToolbarController::execute( sal_Int16 ) framework/source/uielement/popuptoolbarcontroller.cxx Bug is solved in gcc >= 4.5.0, see http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=149297 Reproducible in Fedora 18 or some other newer Linux system if you copy in /opt/openoffice4/program an older version of libstdc++, like the one available in CentOS 5 (gcc 4.1.2). Simple fix: replace the dynamic_cast with a reinterpret_cast, or C-style cast.
Created attachment 81002 [details] Simple fix
grant showstopper flag
Created attachment 81009 [details] Simple fix
"arielch" committed SVN revision 1500198 into trunk: i122678 - Workaround for dynamic cast runtime bug
Fixed on trunk
Works great in build AOO400m3(Build:9702) - Rev. 1501409 2013-07-10_04:09:18 - Rev. 1501642. Thanks for fixing it so fast... :-)