You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2013/07/05 09:57:06 UTC
4.0.0_release_blocker requested: [Bug 122678] Clicking New Document
toolbar item crashes
Ariel Constenla-Haile <ar...@apache.org> has asked for
4.0.0_release_blocker:
Bug 122678: Clicking New Document toolbar item crashes
https://issues.apache.org/ooo/show_bug.cgi?id=122678
------- Additional Comments from Ariel Constenla-Haile <ar...@apache.org>
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.