https://issues.apache.org/ooo/show_bug.cgi?id=122678
Ariel Constenla-Haile <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |crash, release_blocker Status|UNCONFIRMED |CONFIRMED CC| |[email protected] Summary|AOO 4.0.0 Clicking New |Clicking New Document |Document Icon crashs in |toolbar item crashes |Calc, Writer | Ever confirmed|0 |1 Flags| |4.0.0_release_blocker? OS|Linux64 |Linux --- Comment #3 from Ariel Constenla-Haile <[email protected]> --- 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. -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.
