https://bugs.freedesktop.org/show_bug.cgi?id=75971
--- Comment #7 from Julien Nabet <[email protected]> --- With gdb I found that the problem was in sc/source/core/tool/interpr1.cxx: 7795 void ScInterpreter::ScLeft() 7796 { 7797 sal_uInt8 nParamCount = GetByte(); 7798 if ( MustHaveParamCount( nParamCount, 1, 2 ) ) 7799 { 7800 sal_Int32 n; 7801 if (nParamCount == 2) 7802 { 7803 double nVal = ::rtl::math::approxFloor(GetDouble()); // GIVES nan 7804 if ( nVal < 0.0 || nVal > SAL_MAX_UINT16 ) 7805 { 7806 PushIllegalArgument(); 7807 return ; 7808 } 7809 else 7810 n = (sal_Int32) nVal; // GIVES -2147483648 7811 } 7812 else 7813 n = 1; 7814 OUString aStr = GetString().getString(); 7815 n = std::min(n, aStr.getLength()); 7816 aStr = aStr.copy( 0, n ); 7817 PushString( aStr ); 7818 } 7819 } See http://opengrok.libreoffice.org/xref/core/sc/source/core/tool/interpr1.cxx#7795 About Valgrind, I'll give it a try. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
