close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 9 years ago

#1924 new defect

Fallo carga TolRInside Linux

Reported by: Jorge Owned by: Jorge
Priority: highest Milestone: API nativa de acceso a R
Component: Kernel Version: 3.3
Severity: blocker Keywords:
Cc:

Description

Al intentar cargar TolRInside en Linux (Fedora 20) obtengo el siguiente error:

11:02:28 TOL> #Require TolRInside
*** Error in `/usr/local/tol3.3/bin/tolsh': malloc(): memory corruption: 0x0000000002207da0 ***
*** Error in `/usr/local/tol3.3/bin/tolsh': malloc(): memory corruption: 0x0000000002207da0 ***
*** Error in `/usr/local/tol3.3/bin/tolsh': malloc(): memory corruption: 0x0000000002207da0 ***

Al profundizar con valgrind se obtiene:

10:27:33 TOL> #Require TolRInside
==4511== Invalid write of size 8
==4511==    at 0x1E78A229: RInside::RInside(int, char const* const*, bool, bool, bool) (RInside.cpp:98)
==4511==    by 0x210F8F13: GetDynLibNameBlockTolREmbedded (in /home/jsperez/.tol/TolPackage.4/Client/TolRInside#Linux64GNU.2.0/CppTools/Linux_64_GNU/TolREmbedded.so)
==4511==    by 0x5C3F858: BLoadDynLib::Evaluator(BList*) const (in /usr/local/tol3.3/lib/libtol.so)
==4511==    by 0x57F2231: BStandardOperator::Evaluate(List const*) (in /usr/local/tol3.3/lib/libtol.so)
==4511==    by 0x580281B: BGrammar::EvaluateTree(List const*, int, bool) (in /usr/local/tol3.3/lib/libtol.so)
==4511==    by 0x57C2556: EvPutValue(BGrammar*, List const*, unsigned char) (in /usr/local/tol3.3/lib/libtol.so)
==4511==    by 0x5803081: BGrammar::EvaluateTree(List const*, int, bool) (in /usr/local/tol3.3/lib/libtol.so)
==4511==    by 0x580329C: BGrammar::EvaluateTree(List const*, int, bool) (in /usr/local/tol3.3/lib/libtol.so)
==4511==    by 0x57BEBB1: EvIf(BGrammar*, List const*, unsigned char) (in /usr/local/tol3.3/lib/libtol.so)
==4511==    by 0x5803081: BGrammar::EvaluateTree(List const*, int, bool) (in /usr/local/tol3.3/lib/libtol.so)
==4511==    by 0x5803474: BGrammar::EvaluateTree(List const*, int, bool) (in /usr/local/tol3.3/lib/libtol.so)
==4511==    by 0x5803426: BGrammar::EvaluateTree(List const*, int, bool) (in /usr/local/tol3.3/lib/libtol.so)
==4511==  Address 0xcd45498 is 0 bytes after a block of size 24 alloc'd

Change History (0)

Note: See TracTickets for help on using tickets.