call to rt_shootray freezes brlcad.dll (both 32 and 64 bit)
Open Source Solid Modeling CAD
Brought to you by:
brlcad
In some very rare cases a call to rt_shootray will result brlcad.dll to freeze. It performs an infinite loop. But it never crashes due to a stack overflow.
In our software we can reproduce this bug. Unfortunately there is currently no easy way to isolate the situation from our target models and simulation software.
That is incredibly surprising. If you are sure there is not some problem in the geometry (like a cycle in the hierarchy), then a stack trace may still be useful. Can you provide one?
You can just let it run in gdb for a while, break, obtain trace, continue, break again, obtain trace .. that should help pinpoint at least the code path where somehow stuck.
Do you see the infinite loop if you try to run the "gqa" command with a fine grid?
Hi Sean,
I don't know for sure if there's a cycle in the hierarchy. We need to sort that out.
Can you enlighten me on what gdb and gqa mean? I never use these commands.
At the moment I'm debugging with Visual Studio, but I do not have the symbol-file of brlcad.dll. Hence I can't get a proper stack trace. The stack ends at rt_shootray.
Wim
From: Sean Morrison [mailto:brlcad@users.sf.net]
Sent: Tuesday, October 15, 2013 7:16 AM
To: [brlcad:bugs]
Subject: [brlcad:bugs] #348 call to rt_shootray freezes brlcad.dll (both 32 and 64 bit)
That is incredibly surprising. If you are sure there is not some problem in the geometry (like a cycle in the hierarchy), then a stack trace may still be useful. Can you provide one?
You can just let it run in gdb for a while, break, obtain trace, continue, break again, obtain trace .. that should help pinpoint at least the code path where somehow stuck.
Do you see the infinite loop if you try to run the "gqa" command with a fine grid?
[bugs:#348]http://sourceforge.net/p/brlcad/bugs/348/ call to rt_shootray freezes brlcad.dll (both 32 and 64 bit)
Status: open
Created: Mon Oct 14, 2013 08:15 AM UTC by Wim Bokkers
Last Updated: Mon Oct 14, 2013 08:15 AM UTC
Owner: nobody
In some very rare cases a call to rt_shootray will result brlcad.dll to freeze. It performs an infinite loop. But it never crashes due to a stack overflow.
In our software we can reproduce this bug. Unfortunately there is currently no easy way to isolate the situation from our target models and simulation software.
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/brlcad/bugs/348/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Related
Bugs: #348