Hi,

Are you trying to report a bug? If so could you post to osg-users mailing
list/forum as this is the appropriate place.  When reporting crashes it's
best to provide a stack trace and ideally a means of recreating the problem
such as providing the files that can recreate the crash.

Robert.

On 10 July 2013 02:32, ChaosWong <[email protected]> wrote:

> Hi Robert,
>
> i develop osg application under windows. when i was loading a .shp file,
> my application was crashed. after i tracked, i found i miss a .bdf file, so
> code was crashed here:
>
> XBaseParser::XBaseParser(const std::string fileName):
>     _valid(false)
> {
>     int fd = 0;
>     if (fileName.empty() == false)
>     {
> #ifdef WIN32
>         if( (fd = open( fileName.c_str(), O_RDONLY | O_BINARY )) <= 0 )
> #else
>         if( (fd = ::open( fileName.c_str(), O_RDONLY )) <= 0 )
> #endif
>         {
>             perror( fileName.c_str() );
>             if (fd) close( fd );
>             return;
>         }
>     }
>
>     _valid = parse(fd);
> }
>
>
> thanks very much, and sorry about my english!
> chaoswong
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
>
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to