[osg-users] Loading textured meshes (obj+mtl) leads to crash in osg 3.4.1

'Tom Pollok' via OpenSceneGraph Users osg-users at googlegroups.com
Mon Jan 13 06:07:49 PST 2020


Hello Robert,

I added a minimal reproducer and a stracktrace (release). Unfortunately i 
only have release builds on this machine, but I could provide debug stack 
trace from another system later...

Best,
Tom



Am Montag, 13. Januar 2020 12:12:48 UTC+1 schrieb Tom Pollok:
>
> I added a zip file with the mesh. It happens when loading that obj file.
>
> https://owncloud.iosb.fraunhofer.de/owncloud/s/dc8dkbXrQz3gTuh
>
> Pw: osg
>
> I have to check for the stack trace again.
>
> osgDB::Options* opt = new osgDB::Options;opt->setOptionString("noRotation");osg::ref_ptr<osg::Node> node = osgDB::readNodeFile(pathToObjFile, opt);
>
> Im using two windows machines with intel processors (64bit). 
> OSG was built by ourselves. 
> One has an integrated intel graphics unit and one with a Nvidia 2080Ti.
>
>
> Am Freitag, 10. Januar 2020 19:45:26 UTC+1 schrieb Robert Osfield:
>>
>> On Friday, 10 January 2020 18:01:57 UTC, Tom Pollok wrote:
>>>
>>> When loading a textured mesh from an obj file with mtl + texture file, 
>>> openscenegraph crashes.
>>>
>>> I use openscenegraph 3.4.1. Does anybody know if that issue has been 
>>> fixed in newer versions?
>>>
>>
>> I don;t recall reports of crashes associated with .obj.
>>
>> Could you provide a link to the model that is causing the problem?
>>
>> Could you provide a stack trace?
>>
>> What platform are you working on?  Did you build the OSG yourself?  
>>
>> What hardware are you working on?
>>
>> Cheers,
>> Robert,
>>
>
>
> Am Freitag, 10. Januar 2020 19:45:26 UTC+1 schrieb Robert Osfield:
>>
>> On Friday, 10 January 2020 18:01:57 UTC, Tom Pollok wrote:
>>>
>>> When loading a textured mesh from an obj file with mtl + texture file, 
>>> openscenegraph crashes.
>>>
>>> I use openscenegraph 3.4.1. Does anybody know if that issue has been 
>>> fixed in newer versions?
>>>
>>
>> I don;t recall reports of crashes associated with .obj.
>>
>> Could you provide a link to the model that is causing the problem?
>>
>> Could you provide a stack trace?
>>
>> What platform are you working on?  Did you build the OSG yourself?  
>>
>> What hardware are you working on?
>>
>> Cheers,
>> Robert,
>>
>

-- 
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/e8e0c207-93e6-49ff-accc-2f4e7ba1be6e%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200113/2be9d8ef/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osgTest.zip
Type: application/zip
Size: 2232 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200113/2be9d8ef/attachment.zip>
-------------- next part --------------
.  0  Id: 12bc.2d94 Suspend: 1 Teb: 00000062`5477d000 Unfrozen
Child-SP          RetAddr           Call Site
00000062`545ed090 00007ffd`400749f2 MSVCP140D!std::_Debug_message+0x46
00000062`545ed0d0 00007ffd`40094947 osgdb_objd+0x449f2
00000062`545ed110 00007ffd`40094c62 osgdb_objd+0x64947
00000062`545ed1f0 00007ffd`4005e7c4 osgdb_objd+0x64c62
00000062`545ed260 00007ffd`4005f18a osgdb_objd+0x2e7c4
00000062`545edc30 00007ffd`4005c0d7 osgdb_objd+0x2f18a
00000062`545ee1b0 00007ffd`256206a7 osgdb_objd+0x2c0d7
00000062`545ee650 00007ffd`255f8d44 osg131_osgDBd!osgDB::PropertyInputIterator::readBool+0x28b751
00000062`545ee690 00007ffd`255f9bb7 osg131_osgDBd!osgDB::PropertyInputIterator::readBool+0x263dee
00000062`545eeeb0 00007ffd`255f206f osg131_osgDBd!osgDB::PropertyInputIterator::readBool+0x264c61
00000062`545ef0e0 00007ffd`2544c39f osg131_osgDBd!osgDB::PropertyInputIterator::readBool+0x25d119
00000062`545ef180 00007ffd`255eb4f0 osg131_osgDBd!osgDB::PropertyInputIterator::readBool+0xb7449
00000062`545ef300 00007ff6`5dd52baa osg131_osgDBd!osgDB::PropertyInputIterator::readBool+0x25659a
00000062`545ef3c0 00007ff6`5dd59f4d osgTest!main(int argc = 0n1, char ** argv = 0x000001dc`a7b57b50)+0x36a
00000062`545ef710 00007ff6`5dd57bbd osgTest!WinMain(struct HINSTANCE__ * __formal = 0x00007ff6`5dd50000, struct HINSTANCE__ * __formal = 0x00000000`00000000, char * __formal = 0x000001dc`a7b45e07 "", int __formal = 0n10)+0xed [c:\users\qt\work\qt\qtbase\src\winmain\qtmain_win.cpp @ 104]
00000062`545ef790 00007ff6`5dd57a67 osgTest!invoke_main(void)+0x2d [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl @ 99]
00000062`545ef7d0 00007ff6`5dd5792e osgTest!__scrt_common_main_seh(void)+0x127 [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl @ 253]
00000062`545ef830 00007ff6`5dd57bd9 osgTest!__scrt_common_main(void)+0xe [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl @ 296]
00000062`545ef860 00007ffd`53598364 osgTest!WinMainCRTStartup(void)+0x9 [f:\dd\vctools\crt\vcstartup\src\startup\exe_winmain.cpp @ 17]
00000062`545ef890 00007ffd`53977091 KERNEL32!BaseThreadInitThunk+0x14
00000062`545ef8c0 00000000`00000000 ntdll!RtlUserThreadStart+0x21

   1  Id: 12bc.2a88 Suspend: 1 Teb: 00000062`5477f000 Unfrozen
Child-SP          RetAddr           Call Site
00000062`548ff5c8 00007ffd`5394354e ntdll!ZwWaitForWorkViaWorkerFactory+0x14
00000062`548ff5d0 00007ffd`53598364 ntdll!RtlReleaseSRWLockExclusive+0x1ade
00000062`548ff9d0 00007ffd`53977091 KERNEL32!BaseThreadInitThunk+0x14
00000062`548ffa00 00000000`00000000 ntdll!RtlUserThreadStart+0x21

   2  Id: 12bc.2f44 Suspend: 1 Teb: 00000062`54781000 Unfrozen
Child-SP          RetAddr           Call Site
00000062`549ff8f8 00007ffd`5394354e ntdll!ZwWaitForWorkViaWorkerFactory+0x14
00000062`549ff900 00007ffd`53598364 ntdll!RtlReleaseSRWLockExclusive+0x1ade
00000062`549ffd00 00007ffd`53977091 KERNEL32!BaseThreadInitThunk+0x14
00000062`549ffd30 00000000`00000000 ntdll!RtlUserThreadStart+0x21

   3  Id: 12bc.1ac8 Suspend: 1 Teb: 00000062`54783000 Unfrozen
Child-SP          RetAddr           Call Site
00000062`54aff9f8 00007ffd`5394354e ntdll!ZwWaitForWorkViaWorkerFactory+0x14
00000062`54affa00 00007ffd`53598364 ntdll!RtlReleaseSRWLockExclusive+0x1ade
00000062`54affe00 00007ffd`53977091 KERNEL32!BaseThreadInitThunk+0x14
00000062`54affe30 00000000`00000000 ntdll!RtlUserThreadStart+0x21


More information about the osg-users mailing list