OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Please test OpenSceneGraph-3.4 in prep for 3.4.1

Goto page Previous  1, 2
 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
Raizel
User


Joined: 02 Jan 2016
Posts: 68

PostPosted: Thu Aug 17, 2017 8:48 pm    Post subject:
Reply with quote

I tested on osgviewer. Logs are attached.
Your last-revised boolean defines nothing to do with it. Before the changes, StatsHandler also did not work.

When i press 's', appears text with FrameRate. When I press 's' again, the program crashes.
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 11311

PostPosted: Thu Aug 17, 2017 9:05 pm    Post subject:
Please test OpenSceneGraph-3.4 in prep for 3.4.1
Reply with quote

Hi Nickolai,

On 17 August 2017 at 21:48, Nickolai Medvedev < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
I tested on osgviewer. Logs are attached.


It's a stack trace rather than console output is what we need to start looking at the cause of the crash.


 
Quote:
Your last-revised boolean defines nothing to do with it.


Do you mean the CMakeLists.txt changes relating to GL.in?  If so then you need to remove your CMakeCache.txt and done a fresh configure to force CMake to regenerate the GL header.


 
Quote:
Before the changes, StatsHandler also did not work.

When i press 's', appears text with FrameRate. When I press 's' again, the program crashes.


Did this happen with 3.4.0 or OSG master?


Robert.

 

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Raizel
User


Joined: 02 Jan 2016
Posts: 68

PostPosted: Thu Aug 17, 2017 9:35 pm    Post subject:
Reply with quote

Quote:
It's a stack trace rather than console output is what we need to start looking at the cause of the crash.


There is nothing in the console.

Quote:
Do you mean the CMakeLists.txt changes relating to GL.in?


Yes.

Quote:
Did this happen with 3.4.0 or OSG master?



No. With 3.4.1 branch.
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 11311

PostPosted: Fri Aug 18, 2017 6:48 am    Post subject:
Please test OpenSceneGraph-3.4 in prep for 3.4.1
Reply with quote

Hi Nickolai,
On 17 August 2017 at 22:35, Nickolai Medvedev < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:

Quote:
It's a stack trace rather than console output is what we need to start looking at the cause of the crash.


There is nothing in the console.


All three log files you created are console output, it's all output to std::cout an std::cerr.  I can only guess you used VIsulStudio to capture the output, it's all console output though, 


Again what I really need is a stack trace, at this point we only know that crashes on your system somewhere in the StatsHandler.cpp.


FYI, it doesn't crash for me under Linux, so I'm not able to recreate the crash myself, which means I need feedback from yourself and others in the community that can reproduce the crash.


 
Quote:

Quote:
Do you mean the CMakeLists.txt changes relating to GL.in?


Yes.


Did forcing the recreation of GL work?


 
Quote:
> Did this happen with 3.4.0 or OSG master?

No. With 3.4.1 branch.


I'll review StatsHandler.cpp changes between 3.4.1 and 3.4.0, this might provide some clues.



Robert.

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Raizel
User


Joined: 02 Jan 2016
Posts: 68

PostPosted: Fri Aug 18, 2017 10:07 am    Post subject:
Reply with quote

Do you mean this stack?


    > ntdll.dll!779315ee()
    [Указанные ниже фреймы могут быть неверны и (или) отсутствовать, символы для ntdll.dll не загружены]
    ntdll.dll!779315ee()
    ntdll.dll!7792015e()
    nvoglv32.dll!5e627fed()
    nvoglv32.dll!5dc2ea9d()
    osg.dll!54882912()
    osg.dll!5482aa94()
    osg.dll!5482fac2()
    osgViewer.dll!54bf6f3a()
    kernel32.dll!755d14dd()
    osg.dll!547f3901()
    osgUtil.dll!54a3d27e()
    osgUtil.dll!54a399a5()
    osgUtil.dll!54a3d8a3()
    osgUtil.dll!54a3ab9f()
    osgUtil.dll!54a3dc76()
    osgUtil.dll!54a4112c()
    osg.dll!5483ec8b()
    OpenThreads.dll!5529218b()
    msvcr100.dll!7226c556()
    msvcr100.dll!7226c600()
    kernel32.dll!755d33ca()
    ntdll.dll!77949ed2()
    ntdll.dll!77949ea5()



Quote:
Did forcing the recreation of GL work?


I did not understand this question.
Back to top
View user's profile Send private message
SMesserschmidt (Sebastian Messerschmidt)
Forum Moderator


Joined: 10 Sep 2013
Posts: 802

PostPosted: Fri Aug 18, 2017 10:26 am    Post subject:
Please test OpenSceneGraph-3.4 in prep for 3.4.1
Reply with quote

Hi Nickolai,

Robert wants something like this:

https://i.stack.imgur.com/SjnI9.png

It is called "Call stack" in VisualStudio.

Cheers
Sebastian

Quote:
Do you mean this stack?


Quote:
ntdll.dll!779315ee()
[Указанные ниже фреймы могут быть неверны и (или) отсутствовать, символы для ntdll.dll не загружены]
ntdll.dll!779315ee()
ntdll.dll!7792015e()
nvoglv32.dll!5e627fed()
nvoglv32.dll!5dc2ea9d()
osg.dll!54882912()
osg.dll!5482aa94()
osg.dll!5482fac2()
osgViewer.dll!54bf6f3a()
kernel32.dll!755d14dd()
osg.dll!547f3901()
osgUtil.dll!54a3d27e()
osgUtil.dll!54a399a5()
osgUtil.dll!54a3d8a3()
osgUtil.dll!54a3ab9f()
osgUtil.dll!54a3dc76()
osgUtil.dll!54a4112c()
osg.dll!5483ec8b()
OpenThreads.dll!5529218b()
msvcr100.dll!7226c556()
msvcr100.dll!7226c600()
kernel32.dll!755d33ca()
ntdll.dll!77949ed2()
ntdll.dll!77949ea5()



Quote:
Did forcing the recreation of GL work?


I did not understand this question.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=71446#71446









------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 11311

PostPosted: Fri Aug 18, 2017 2:18 pm    Post subject:
Please test OpenSceneGraph-3.4 in prep for 3.4.1
Reply with quote

Hi Nikolia,

On 18 August 2017 at 11:07, Nickolai Medvedev < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
Do you mean this stack?


Yes, although wa hoping for a bit but debug info.

Quote:

Quote:
       ntdll.dll!779315ee()
        [Указанные ниже фреймы могут быть неверны и (или) отсутствовать, символы для ntdll.dll не загружены]
        ntdll.dll!779315ee()
        ntdll.dll!7792015e()
        nvoglv32.dll!5e627fed()
        nvoglv32.dll!5dc2ea9d()
        osg.dll!54882912()
        osg.dll!5482aa94()
        osg.dll!5482fac2()
        osgViewer.dll!54bf6f3a()
        kernel32.dll!755d14dd()
        osg.dll!547f3901()
        osgUtil.dll!54a3d27e()
        osgUtil.dll!54a399a5()
        osgUtil.dll!54a3d8a3()
        osgUtil.dll!54a3ab9f()
        osgUtil.dll!54a3dc76()
        osgUtil.dll!54a4112c()
        osg.dll!5483ec8b()
        OpenThreads.dll!5529218b()
        msvcr100.dll!7226c556()
        msvcr100.dll!7226c600()
        kernel32.dll!755d33ca()
        ntdll.dll!77949ed2()
        ntdll.dll!77949ea5()


Looking at the above high library references it looks like the crash in the OpenGL driver, which in turn suggests that there is either a driver bug or the OSG is passing erroneous/incomplete data for some reason.  Given it's associated with stats it could be a vertex array or primitive set is not initialized correctly or something.



Quote:
> Did forcing the recreation of GL work?


I'm talking about the problem include/osg/GL that is created by Cmake from the src/osg/GL.in when run do the initial cmake initialization.  Once CMakeCache.txt is created and with it the incliude/osg/GL header the later won't get recreated unless you force cmake to do a full initialization again.



Robert.

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Raizel
User


Joined: 02 Jan 2016
Posts: 68

PostPosted: Fri Aug 18, 2017 2:41 pm    Post subject:
Reply with quote

Hi, Robert.

Maybe, all problems in driver. Although, with OSG 3.4.0 everything works fine.

My computer data:

    NVidia GeForce 640M
    OpenGL Driver version: 365.19


It is necessary, that someone else has checked up a branch 3.4.1 on Visual Studio. If on another computer everything will work well, then the problem is with my drivers or configuration.
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 11311

PostPosted: Fri Aug 18, 2017 3:44 pm    Post subject:
Please test OpenSceneGraph-3.4 in prep for 3.4.1
Reply with quote

Hi Nickolai,

On 18 August 2017 at 15:41, Nickolai Medvedev < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
Maybe, all problems in driver. Although, with OSG 3.4.0 everything works fine.


I had some feedback from another user who's recreated it.



I've also been reviewing changes to StatsHandler.cpp in the 3.4 branch and master and spotted a fix that was in master relating to the BlockDrawCallback that wasn't in the 3.4 branch.  The fix was to introduce a dynamic_cast and a if (ptr) check to avoid a static_cast<> and DrawArrays::setCount().   This fix was relating to a crash as well, reviewing the wider code just now I've workout that this fix isn't the most appropriate way to address the issue - just removing the setCount() code completely looks to be right thing to do as the primitive set is now DrawElementsUShort rather a DrawArrays that is was back in 3.4.0.


Could you update to OpenSceneGraph-3.4 and let me know if this fixes the issue.  Fingers crossed.


Robert.

 
Quote:

My computer data:

NVidia GeForce 640M
OpenGL Driver version: 365.19

It is necessary, that someone else has checked up a branch 3.4.1 on Visual Studio. If on another computer everything will work well, then the problem is with my drivers or configuration.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=71452#71452





_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Raizel
User


Joined: 02 Jan 2016
Posts: 68

PostPosted: Fri Aug 18, 2017 4:11 pm    Post subject:
Reply with quote

Allright, let's see... Give me a hour, i rebuild all, then i will test.
Back to top
View user's profile Send private message
Raizel
User


Joined: 02 Jan 2016
Posts: 68

PostPosted: Fri Aug 18, 2017 5:12 pm    Post subject:
Reply with quote

You can unclench your fingers, now everything works. The error has been fixed.
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 11311

PostPosted: Fri Aug 18, 2017 8:30 pm    Post subject:
Please test OpenSceneGraph-3.4 in prep for 3.4.1
Reply with quote

On 18 August 2017 at 18:12, Nickolai Medvedev < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
You can unclench your fingers, now everything works. The error has been fixed.



Good to hear,  Thanks for the repeated testing, really helps improve the quality of the code.


Cheers,
Robert. 

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Raizel
User


Joined: 02 Jan 2016
Posts: 68

PostPosted: Fri Aug 18, 2017 9:45 pm    Post subject:
Reply with quote

You welcome. I would help more often if I had more free time.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Building OpenSceneGraph Windows Skaldi Build system [build] 2 Sun Dec 24, 2017 4:13 am View latest post
No new posts OpenSceneGraph-3.5.9 developer releas... robertosfield General 10 Wed Nov 29, 2017 3:52 pm View latest post
No new posts OpenSceneGraph-3.5.8 dev release tagged robertosfield General 0 Tue Nov 14, 2017 3:59 pm View latest post
No new posts New Defects reported by Coverity Scan... filnet General 0 Tue Oct 31, 2017 5:22 pm View latest post
No new posts OpenSceneGraph static linking for And... tanshihaj Build system [build] 1 Thu Sep 21, 2017 12:56 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP