[Bf-committers] Libs on windows?
Chad Fraleigh
chadf at triularity.org
Thu Jan 24 23:15:33 CET 2013
On Thu, Jan 24, 2013 at 4:51 AM, Chad Fraleigh <chadf at triularity.org> wrote:
> The configure used was:
>
> cmake -G 'Visual Studio 9 2008' -DWITH_OPENCOLLADA:BOOL=ON
> -DWITH_LLVM:BOOL=ON -DWITH_CYCLES_OSL:BOOL=ON
> -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DWITH_INTERNATIONAL:BOOL=ON
> -DCMAKE_BUILD_TYPE:STRING=Debug ../blender
>
> Just to be sure I'm running another fresh build using only the svn'd
> libs (at least this time I can go sleep while it runs, rather than
> wait around for it like the rest [talk about tedious testing]).
I confirmed that an svn-only build does crash with those cmake
settings. Other env info:
- Visual Studio 2008 Express
- 32-bit compile
- VS Built-in SDK (so 6.0A).
- OS - Win7 x64.
The trunk/blender was r54059 and trunk/lib/windows was r54014 (but no
lib/windows changes occurred between the two revs).
If WITH_CYCLES_OSL is removed from the options then it runs fine.
Stack trace:
blender.exe!memcpy(unsigned char * dst=0x074c7d8c, unsigned char *
src=0xcdcdcdcd, unsigned long count=15) Line 314 Asm
blender.exe!memcpy_s(void * dst=0x074c7d8c, unsigned int
sizeInBytes=15, const void * src=0xcdcdcdcd, unsigned int count=15)
Line 67 + 0x11 bytes C
> blender.exe!std::char_traits<char>::_Copy_s(char * _First1=0x074c7d8c, unsigned int _Size_in_bytes=15, const char * _First2=0xcdcdcdcd, unsigned int _Count=15) Line 465 + 0x15 bytes C++
blender.exe!std::_Traits_helper::copy_s<std::char_traits<char>
>(char * _First1=0x074c7d8c, unsigned int _Size=15, const char *
_First2=0xcdcdcdcd, unsigned int _Count=15,
std::_Secure_char_traits_tag __formal={...}) Line 597 + 0x15
bytes C++
blender.exe!std::_Traits_helper::copy_s<std::char_traits<char>
>(char * _First1=0x074c7d8c, unsigned int _Size=15, const char *
_First2=0xcdcdcdcd, unsigned int _Count=15) Line 589 + 0x28 bytes C++
blender.exe!std::basic_string<char,std::char_traits<char>,std::allocator<char>
>::assign(const
std::basic_string<char,std::char_traits<char>,std::allocator<char> > &
_Right=<Bad Ptr>, unsigned int _Roff=0, unsigned int
_Count=4294967295) Line 1057 + 0x25 bytes C++
blender.exe!llvm::cl::opt_storage<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,1,1>::setLocation() + 0x4b bytes C++
blender.exe!llvm::cl::opt<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,1,llvm::cl::parser<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> > >::opt<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,1,llvm::cl::parser<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> > ><char const [17],llvm::cl::value_desc,llvm::cl::desc,enum
llvm::cl::OptionHidden,llvm::cl::LocationClass<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> > >() + 0x85 bytes C++
blender.exe!`anonymous namespace'::DefaultVLIWScheduler::`vector
deleting destructor'() + 0x32aa44 bytes C++
blender.exe!_cinit(int initFloatingPrecision=1) Line 307 + 0xf bytes C
blender.exe!__tmainCRTStartup() Line 249 + 0x7 bytes C
blender.exe!mainCRTStartup() Line 182 C
kernel32.dll!756533aa()
[Frames below may be incorrect and/or missing, no symbols loaded for
kernel32.dll]
ntdll.dll!77ea9ef2()
ntdll.dll!77ea9ec5()
The source line it crashed on:
static _Elem *__CLRCALL_OR_CDECL _Copy_s(_Out_cap_(_Size_in_bytes)
_Elem *_First1, size_t _Size_in_bytes, _In_count_(_Count) const _Elem
*_First2,
size_t _Count)
{ // copy [_First1, _First1 + _Count) to [_First2, ...)
// _DEBUG_POINTER(_First1);
// _DEBUG_POINTER(_First2);
_CRT_SECURE_MEMCPY(_First1, _Size_in_bytes, _First2, _Count);
<<-- This Line!
return _First1;
}
Debugger Local Vars:
+ _First1 0x074c7d8c " " char *
_Size_in_bytes 15 unsigned int
+ _First2 0xcdcdcdcd <Bad Ptr> const char *
_Count 15 unsigned int
-Chad
More information about the Bf-committers
mailing list