Hi Carsten,

I could reproduce the crash and fixed it.

Andreas

>       Hi Johan,
> 
> On Thu, 2007-08-30 at 08:43 +0200, Johan Robben wrote:
>> I've installed the patch but my program crashed (access violation) as soon
>> as I tried to load a vrml file. I then downloaded a new daily build and
>> compiled it, but my program still crashes. I think there is something wrong
>> with the patch.
>> I couldn't figure out what though.
> 
> I'm sorry the patch is not working, but I need a bit more information to
> figure out what is going wrong.
> Can you share one of the vrml files that crash (or create a small one
> that reproduces the crash), or try to get a backtrace for the crash?
> The only idea I have is that
>  SceneFileHandler::the().getOptions("wrl") might return NULL and crash
> the std::string c'tor. Attached patch should fix that, but I'd really
> appreciate it if you could provide a bit more information, so we can
> find the problem.
> 
>       Thanks,
>               Carsten
> 
>> When I replaced the dll's with dll's from an old build, my program worked
>> just fine.
>>
>> Johan
>>
>>
>>
>> ______________________________________________________________________
>> This email has been scanned by the MessageLabs Email Security System.
>> For more information please visit http://www.messagelabs.com/email 
>> ______________________________________________________________________
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >>  http://get.splunk.com/
>> _______________________________________________
>> Opensg-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/opensg-users
>>
>> ------------------------------------------------------------------------
>>
>> Index: Source/System/FileIO/WRL/OSGVRMLNodeDescs.cpp
>> ===================================================================
>> RCS file: 
>> /cvsroot/opensg/OpenSG/Source/System/FileIO/WRL/OSGVRMLNodeDescs.cpp,v
>> retrieving revision 1.39
>> diff -u -r1.39 OSGVRMLNodeDescs.cpp
>> --- Source/System/FileIO/WRL/OSGVRMLNodeDescs.cpp    28 Aug 2007 15:15:08 
>> -0000      1.39
>> +++ Source/System/FileIO/WRL/OSGVRMLNodeDescs.cpp    30 Aug 2007 16:51:40 
>> -0000
>> @@ -2813,7 +2813,8 @@
>>          AttachmentContainerPtr attCon    = 
>> AttachmentContainerPtr::dcast(pFC);
>>          bool                   pushNames = false;
>>          std::string            optionStr =
>> -            SceneFileHandler::the().getOptions("wrl");
>> +            SceneFileHandler::the().getOptions("wrl") != NULL ?
>> +            SceneFileHandler::the().getOptions("wrl") : "";
>>          
>>          if(optionStr.find("pushNames=true") != std::string::npos)
>>              pushNames = true;
>>
>> ------------------------------------------------------------------------
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >>  http://get.splunk.com/
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Opensg-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/opensg-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to