← Back to team overview

yade-users team mailing list archive

problem while running YADE - Segmentation Fault

 

*Hi all*,


*I run with the debugger and when the segmentation fault has happened I got
this errors status list:*


*0x420158d4* in __libc_start_main () from /lib/i686/libc.so.6



*0x08102ad9* in main (argc=1, argv=0xbffff8b4) at yade.cpp:227

in File : yade-core/src/yade.cpp
dynamic_pointer_cast<FrontEnd>(ClassFactory::instance().createShared("NullGUI"));
     else
==>              frontEnd =
dynamic_pointer_cast<FrontEnd>(ClassFactory::instance().createShared(Omega::instance().preferences->defaultGUILibName));



*0x40077119* in ClassFactory::createShared(std::string) (this=0x815ff78,
name=Cannot access memory at address 0x8d22d2c
) at ClassFactory.cpp:80

In file : yade-libs/yade-lib-factory/src/ClassFactory.cpp
FactoryExceptions::ClassNotRegistered + name;
                       throw FactoryClassNotRegistered(error.c_str());
                 }
                 return createShared(name);
           }
           std::string error = FactoryExceptions::CantCreateClass + name;
 ==>             throw FactoryCantCreate(error.c_str());
     }
     return ( i -> second.createShared ) ();
}



*0x409fc176* in __cxa_throw () at
../../../../libstdc++-v3/libsupc++/eh_throw.cc:77


*0x409fc004* in std::terminate() () at
../../../../libstdc++-v3/libsupc++/eh_terminate.cc:57
When trying to open the file I got the message :
/usr/libstdc++-v3/libsupc++/eh_throw.cc : No such file or directory


*0x409fbfb7* in __cxxabiv1::__terminate() at eh_terminate.cc:47
When trying to open the file I got the message :
/usr/libstdc++-v3/libsupc++/eh_terminate.cc : No Such file or directory



*0x4202a019* in abort () from /lib/i686/libc.so.6

*0x42028ac8* in raise () from /lib/i686/libc.so.6

*0x42028cc1* in kill () from /lib/i686/libc.so.6



Do you have any clue of what should I do ?
Tal.

Follow ups