I started from a blank project, it has the 'osglogo' source code

On 11/6/06, Paul Martz <[EMAIL PROTECTED] > wrote:
I'm not familiar with "osgtestprogram", is that a new example recently checked into CVS?
 
Could you try osglogo, osganimate, or "osgvewer cow.osg" and past the call stack for a crash in one of those examples?
 
Check to make sure you're building with the correct C runtime libraries. It should be "multithreaded DLL" (and also "debug", if you're doing a debug build).
   -Paul
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Calin Negru
Sent: Monday, November 06, 2006 11:28 AM

To: osg users
Subject: Re: [osg-users] Problems running examples compiled with VS 2005

sure

>    msvcr80d.dll!memcpy(unsigned char * dst=0x00ed60f8, unsigned char * src="" unsigned long count=127)  Line 188    Asm
     msvcr80d.dll!memcpy_s(void * dst=0x00ed60f8, unsigned int sizeInBytes=127, const void * src="" unsigned int count=127)  Line 67 + 0x11 bytes    C
     msvcp80d.dll!std::char_traits<char>::_Copy_s(char * _First1=0x00ed60f8, unsigned int _Size_in_bytes=127, const char * _First2=0xcccccccc, unsigned int _Count=127)  Line 575 + 0x16 bytes    C++
     msvcp80d.dll!std::_Traits_helper::copy_s <std::char_traits<char> >(char * _First1=0x00ed60f8, unsigned int _Size=127, const char * _First2=0xcccccccc, unsigned int _Count=127, std::_Secure_char_traits_tag __formal={...})  Line 707 + 0x15 bytes    C++
     msvcp80d.dll!std::_Traits_helper::copy_s<std::char_traits<char> >(char * _First1=0x00ed60f8, unsigned int _Size=127, const char * _First2=0xcccccccc, unsigned int _Count=127)  Line 699 + 0x21 bytes    C++
     msvcp80d.dll!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 1021 + 0x25 bytes    C++
     msvcp80d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::basic_string<char,std::char_traits<char>,std::allocator<char> >(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _Right=<Bad Ptr>)  Line 607    C++
     msvcp80d.dll!std::operator+<char,std::char_traits<char>,std::allocator<char> >(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _Left=<Bad Ptr>, const char * _Right=0x0042df88)  Line 55 + 0x10 bytes    C++
     OSGTestProgram.exe!main(int argc=1, char * * argv=0x00ed6040)  Line 450 + 0x4a bytes    C++
     OSGTestProgram.exe!__tmainCRTStartup()  Line 586 + 0x19 bytes    C
     OSGTestProgram.exe!mainCRTStartup()  Line 403    C
     kernel32.dll!7c816fd7()    
     [Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]   



On 11/6/06, Paul Martz <[EMAIL PROTECTED]> wrote:
Calin -- Could you please post a call stack?

I am running VS8-built examples with the VS7-built dependencies and I'm not
experiencing any crashes. I suspect the VS7/VS8 differences are in things
like the .NET interface and/or the STL interface, neither of which are used
by the 3rd party dependencies. (However, if I were building a product for
shipment, I'd be sure to build everything with VS8 just to be sure).

Bottom line: I suspect something else is causing your crashes.
   -Paul


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto: [EMAIL PROTECTED]] On Behalf Of
> Robert Osfield
> Sent: Monday, November 06, 2006 6:51 AM
> To: osg users
> Subject: Re: [osg-users] Problems running examples compiled
> with VS 2005
>
> Hi Calin,
>
> Are you using VS7.x dependencies within VS8.x?  Have a look
> through the last few months  mailing list archives on this
> topic.  Basically you can't mix binaries between VS versions,
> they arn't binary compatible.
>
> Robert.
>
> On 11/6/06, Calin Negru <[EMAIL PROTECTED]> wrote:
> > I compiled a number of  OSG examples and they all crash
> when I try to
> > run them.  The debugger tracks down the problem to a line
> inside memcpy.asm:
> >
> >   rep     movsd           ;N - move all of our dwords
> >
> > Any help is appreciated.
> >
> >
> >
> > _______________________________________________
> > osg-users mailing list
> > [email protected]
> > http://openscenegraph.net/mailman/listinfo/osg-users
> > http://www.openscenegraph.org/
> >
> >
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to