Unknown C++ exception raised in activateWorkbench

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
mesigua
Posts: 11
Joined: Wed Apr 09, 2014 4:40 pm

Re: Unknown C++ exception raised in activateWorkbench

Post by mesigua »

GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Para las instrucciones de informe de errores, vea:
<http://bugs.launchpad.net/gdb-linaro/>...
Leyendo símbolos desde /usr/bin/freecad...(no se encontraron símbolos de depuración)hecho.
(gdb) run
Starting program: /usr/bin/freecad
[Depuración de hilo usando libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
FreeCAD 0.14, Libs: 0.14R3702 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2011
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##

[Nuevo Thread 0x7fffe1c83700 (LWP 4562)]
[Nuevo Thread 0x7fffe1482700 (LWP 4563)]
[Nuevo Thread 0x7fffdb387700 (LWP 4564)]
[Nuevo Thread 0x7fffcf833700 (LWP 4565)]
[Nuevo Thread 0x7fffccaca700 (LWP 4567)]
[Nuevo Thread 0x7fffc7fff700 (LWP 4568)]
[Nuevo Thread 0x7fff7b09d700 (LWP 4570)]
[Nuevo Thread 0x7fff7a89c700 (LWP 4571)]
^C
Program received signal SIGINT, Interrupt.
0x00007ffff4bdfa43 in poll () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) catch throw
Punto de captura 1 (lanzar)
(gdb) continue
Continuando.
[Thread 0x7fffdb387700 (LWP 4564) terminado]
Catchpoint 1 (exception thrown), 0x00007ffff5182910 in __cxa_throw ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) bt
#0 0x00007ffff5182910 in __cxa_throw ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#1 0x00007ffff07a1d7a in xercesc_3_1::IconvGNULCPTranscoder::calcRequiredSize(unsigned short const*, xercesc_3_1::MemoryManager*) ()
from /usr/lib/libxerces-c-3.1.so
#2 0x00007ffff07a1a85 in xercesc_3_1::IconvGNULCPTranscoder::transcode(unsigned short const*, xercesc_3_1::MemoryManager*) () from /usr/lib/libxerces-c-3.1.so
#3 0x00007ffff6d4c8b8 in ParameterGrp::FindElement(xercesc_3_1::DOMElement*, char const*, char const*) const () from /usr/lib/freecad/lib/libFreeCADBase.so
#4 0x00007ffff6d4cbad in ParameterGrp::GetBool(char const*, bool) const ()
from /usr/lib/freecad/lib/libFreeCADBase.so
#5 0x00007ffff77e8b6e in Gui::ToolBarManager::setup(Gui::ToolBarItem*) ()
from /usr/lib/freecad/lib/libFreeCADGui.so
#6 0x00007ffff77f4994 in Gui::Workbench::activate() ()
from /usr/lib/freecad/lib/libFreeCADGui.so
#7 0x00007ffff77f5afb in Gui::WorkbenchManager::activate(std::string const&, std::string const&) () from /usr/lib/freecad/lib/libFreeCADGui.so
#8 0x00007ffff7594388 in Gui::Application::activateWorkbench(char const*) ()
from /usr/lib/freecad/lib/libFreeCADGui.so
#9 0x00007ffff759f94c in Gui::Application::sActivateWorkbenchHandler(_object*, _object*, _object*) () from /usr/lib/freecad/lib/libFreeCADGui.so
#10 0x00007ffff684e5d5 in PyEval_EvalFrameEx ()
from /usr/lib/libpython2.7.so.1.0
---Type <return> to continue, or q <return> to quit---
#11 0x00007ffff680e6b5 in PyEval_EvalCodeEx ()
from /usr/lib/libpython2.7.so.1.0
#12 0x00007ffff680e9e2 in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
#13 0x00007ffff680ea7c in PyRun_StringFlags ()
from /usr/lib/libpython2.7.so.1.0
#14 0x00007ffff6d323b2 in Base::InterpreterSingleton::runString(char const*) ()
from /usr/lib/freecad/lib/libFreeCADBase.so
#15 0x00007ffff75ddbc8 in Gui::Command::doCommand(Gui::Command::DoCmd_Type, char const*, ...) () from /usr/lib/freecad/lib/libFreeCADGui.so
#16 0x00007ffff75ed567 in StdCmdWorkbench::activated(int) ()
from /usr/lib/freecad/lib/libFreeCADGui.so
#17 0x00007ffff75dd643 in Gui::Command::invoke(int) ()
from /usr/lib/freecad/lib/libFreeCADGui.so
#18 0x00007ffff75d9ff2 in Gui::ActionGroup::onActivated(QAction*) ()
from /usr/lib/freecad/lib/libFreeCADGui.so
#19 0x00007ffff555c281 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#20 0x00007ffff5cabc9f in QActionGroup::triggered(QAction*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#21 0x00007ffff5cabd27 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#22 0x00007ffff555c281 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#23 0x00007ffff5ca9132 in QAction::triggered(bool) ()
---Type <return> to continue, or q <return> to quit---
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#24 0x00007ffff5ca931f in QAction::activate(QAction::ActionEvent) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#25 0x00007ffff55614ac in QObject::event(QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x00007ffff5caf894 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#27 0x00007ffff5cb4713 in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007ffff7599d87 in Gui::GUIApplication::notify(QObject*, QEvent*) ()
from /usr/lib/freecad/lib/libFreeCADGui.so
#29 0x00007ffff5547e9c in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#30 0x00007ffff554bc6a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#31 0x00007ffff5576f93 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#32 0x00007fffee510d13 in g_main_context_dispatch ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fffee511060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fffee511124 in g_main_context_iteration ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007ffff55773bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
---Type <return> to continue, or q <return> to quit---
#36 0x00007ffff5d57d9e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#37 0x00007ffff5546c82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#38 0x00007ffff5546ed7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#39 0x00007ffff554bf67 in QCoreApplication::exec() ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#40 0x00007ffff75963a3 in Gui::Application::runApplication() ()
from /usr/lib/freecad/lib/libFreeCADGui.so
#41 0x0000000000403e21 in main ()
(gdb)
User avatar
shoogen
Veteran
Posts: 2823
Joined: Thu Dec 01, 2011 5:24 pm

Re: Unknown C++ exception raised in activateWorkbench

Post by shoogen »

Probably your ~/.FreeCAD/user.cfg and ~/.FreeCAD/system.cfg got corrupted.
mesigua
Posts: 11
Joined: Wed Apr 09, 2014 4:40 pm

Re: Unknown C++ exception raised in activateWorkbench

Post by mesigua »

You are right shoogen.
I've renamed system.cfg and user.cfg then started freecad.

It works! Thanks so much!

You rocks :)
luigipacheco
Posts: 2
Joined: Tue Jul 29, 2014 4:36 am

Re: Unknown C++ exception raised in activateWorkbench

Post by luigipacheco »

Hello i have the same problem renaming thesystem.cfg and user.cfg wont solve the problem, i did install google earth wicj installed some packages for 32 bit systems on my 64 bit system since then i get the same error.
wmayer
Founder
Posts: 20310
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Unknown C++ exception raised in activateWorkbench

Post by wmayer »

So, first of all please post some relevant information like OS, FreeCAD version and so on. Then what exact message do get? Therefore you can copy/paste the messages of the output window.
And can you also check which files and where "google earth wicj" installed its files?
Post Reply