Ariel Constenla-Haile <[email protected]> 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 <[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.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to